python/python-vulndb: Renamed python2-vulndb.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2021-05-14 21:34:47 +01:00 committed by Willy Sudiarto Raharjo
parent f994f105c6
commit bfc0b9d82a
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
6 changed files with 22 additions and 22 deletions

View File

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
python-vulndb: python-vulndb (vulndb Python SDK)
python-vulndb:
python-vulndb: Python-vulndb is a Python SDK to access the (vulndb) vulnerability
python-vulndb: database. vulndb is a user, contributor, and developer friendly
python-vulndb: database.
python-vulndb:
python-vulndb: Home page: https://github.com/vulndb/python-sdk/
python-vulndb:
python-vulndb:
python-vulndb:
python-vulndb:

View File

@ -22,7 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-vulndb PRGNAM=python2-vulndb
SRCNAM=vulndb SRCNAM=vulndb
VERSION=${VERSION:-0.1.0} VERSION=${VERSION:-0.1.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
@ -77,7 +77,7 @@ find -L . \
# /usr/lib/python2.7/site-packages/vulndb/db/ # /usr/lib/python2.7/site-packages/vulndb/db/
patch -p1 --verbose < $CWD/do-not-commit-vulndb-to-upstream.diff patch -p1 --verbose < $CWD/do-not-commit-vulndb-to-upstream.diff
python setup.py install --root=$PKG python2 setup.py install --root=$PKG
# Installs update-db.sh and renames it to update-vulndb # Installs update-db.sh and renames it to update-vulndb
install -Dm755 tools/update-db.sh $PKG/usr/bin/update-vulndb install -Dm755 tools/update-db.sh $PKG/usr/bin/update-vulndb

View File

@ -1,4 +1,4 @@
PRGNAM="python-vulndb" PRGNAM="python2-vulndb"
VERSION="0.1.0" VERSION="0.1.0"
HOMEPAGE="https://github.com/vulndb/python-sdk/" HOMEPAGE="https://github.com/vulndb/python-sdk/"
DOWNLOAD="https://files.pythonhosted.org/packages/b6/8e/e5dc89c7d916615f44d8854d471e93965ab25282df2818d239ff8e759fed/vulndb-0.1.0.tar.gz" DOWNLOAD="https://files.pythonhosted.org/packages/b6/8e/e5dc89c7d916615f44d8854d471e93965ab25282df2818d239ff8e759fed/vulndb-0.1.0.tar.gz"

View File

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
python2-vulndb: python2-vulndb (vulndb Python SDK)
python2-vulndb:
python2-vulndb: Python-vulndb is a Python SDK to access the (vulndb) vulnerability
python2-vulndb: database. vulndb is a user, contributor, and developer friendly
python2-vulndb: database.
python2-vulndb:
python2-vulndb: Home page: https://github.com/vulndb/python-sdk/
python2-vulndb:
python2-vulndb:
python2-vulndb:
python2-vulndb: