diff --git a/python/python-vulndb/slack-desc b/python/python-vulndb/slack-desc deleted file mode 100644 index ea1a6973ec..0000000000 --- a/python/python-vulndb/slack-desc +++ /dev/null @@ -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: diff --git a/python/python-vulndb/README b/python/python2-vulndb/README similarity index 100% rename from python/python-vulndb/README rename to python/python2-vulndb/README diff --git a/python/python-vulndb/do-not-commit-vulndb-to-upstream.diff b/python/python2-vulndb/do-not-commit-vulndb-to-upstream.diff similarity index 100% rename from python/python-vulndb/do-not-commit-vulndb-to-upstream.diff rename to python/python2-vulndb/do-not-commit-vulndb-to-upstream.diff diff --git a/python/python-vulndb/python-vulndb.SlackBuild b/python/python2-vulndb/python2-vulndb.SlackBuild similarity index 98% rename from python/python-vulndb/python-vulndb.SlackBuild rename to python/python2-vulndb/python2-vulndb.SlackBuild index 916bdff9d0..a6fbbfa64e 100644 --- a/python/python-vulndb/python-vulndb.SlackBuild +++ b/python/python2-vulndb/python2-vulndb.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=python-vulndb +PRGNAM=python2-vulndb SRCNAM=vulndb VERSION=${VERSION:-0.1.0} BUILD=${BUILD:-1} @@ -77,7 +77,7 @@ find -L . \ # /usr/lib/python2.7/site-packages/vulndb/db/ 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 install -Dm755 tools/update-db.sh $PKG/usr/bin/update-vulndb diff --git a/python/python-vulndb/python-vulndb.info b/python/python2-vulndb/python2-vulndb.info similarity index 93% rename from python/python-vulndb/python-vulndb.info rename to python/python2-vulndb/python2-vulndb.info index dd40c6685e..1b20581add 100644 --- a/python/python-vulndb/python-vulndb.info +++ b/python/python2-vulndb/python2-vulndb.info @@ -1,4 +1,4 @@ -PRGNAM="python-vulndb" +PRGNAM="python2-vulndb" VERSION="0.1.0" HOMEPAGE="https://github.com/vulndb/python-sdk/" DOWNLOAD="https://files.pythonhosted.org/packages/b6/8e/e5dc89c7d916615f44d8854d471e93965ab25282df2818d239ff8e759fed/vulndb-0.1.0.tar.gz" diff --git a/python/python2-vulndb/slack-desc b/python/python2-vulndb/slack-desc new file mode 100644 index 0000000000..514fe39db2 --- /dev/null +++ b/python/python2-vulndb/slack-desc @@ -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: