droopescan: py3 fix

This commit is contained in:
Guido Kroon 2020-06-02 21:43:52 +02:00
parent 35e45501af
commit c3fea76cc2
No known key found for this signature in database
GPG key ID: 394C398C531EFAB0
12 changed files with 97 additions and 42 deletions

View file

@ -0,0 +1,2 @@
DIST cement-2.10.tar.gz 180432 BLAKE2B 7fd489c5eec7adb62543febbfea499120a0b37e80e672a72fe701b14e97fdae164f6cb921de56d1b17fb70041fb988d0332ff88f3935991838c911ce9ab59e81 SHA512 f7c70b1d17e42e71916b3425287d44dd0e0c0e12ae4de057d9d72863e4391e87f4594b8e0dcff4118ddf3d4b8266677fad7f129f7395616f3c9147fb9d52b6c7
DIST cement-3.0.4.tar.gz 429122 BLAKE2B b5d97b72209c614efd3bf4ae9bc7de8faff694e181352c8578bf2c9f19b9c4bfef6596160086c0e0a4ed600029d230dbb3613bec5249e09a3dca76a61ea852a7 SHA512 6a134ae494e9b392cbe585171cb585f528e58a4b370e2af9b4812ea99636c8bc5f959bb977f42e511e790a5acaa1246a554d53b29fc20580681da54fd30e0ee1

View file

@ -0,0 +1,29 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/datafolklabs/cement.git"
else
HASH_COMMIT="${PV}"
SRC_URI="https://github.com/datafolklabs/cement/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
fi
DESCRIPTION="Application Framework for Python"
HOMEPAGE="https://github.com/datafolklabs/cement"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_prepare() {
eapply "${FILESDIR}/${P}-no-examples.patch"
eapply_user
}

View file

@ -0,0 +1,11 @@
--- a/setup.py 2020-06-02 21:35:06.878788116 +0200
+++ b/setup.py 2020-06-02 21:35:48.923792232 +0200
@@ -33,7 +33,7 @@
author_email='team@datafolklabs.com',
url='http://builtoncement.com',
license='BSD',
- packages=find_packages(exclude=['ez_setup', 'tests*']),
+ packages=find_packages(exclude=['ez_setup', 'tests*', 'examples']),
include_package_data=True,
zip_safe=False,
test_suite='nose.collector',

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View file

@ -0,0 +1 @@
DIST pystache-0.5.4.tar.gz 243666 BLAKE2B f1c15df6dbb3a2acd8a05050edefcc9d27ba856bd92c0c60ac29d2705ce60a47c004bc37173f9dec06c7e917265f48d929c0be1bad11b83ac2ac794b2c83555d SHA512 2a65c2de457bd2666d40697a4ae709030a1c0fc9583554065c0f04478f247b460ce4c27374fdd1efa620cd7dc4b760d5752ccadc429ddd155ab3b7da8360835a

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View file

@ -0,0 +1,24 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=bdepend
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/defunkt/pystache.git"
else
HASH_COMMIT="v${PV}"
SRC_URI="https://github.com/defunkt/pystache/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
fi
DESCRIPTION="Mustache in Python"
HOMEPAGE="https://github.com/defunkt/pystache"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"

View file

@ -1,2 +1 @@
DIST droopescan-1.41.2.tar.gz 378098 BLAKE2B f00ad2a86ae277ae6e6fa6893cc8d9c4b9d393e273ed8037a55530c8531fcfcf93d18bc4ca79b4a9e3eb120e927416ace6bcb89b93b783cfefbd95707593ae4a SHA512 2863dc97ee76e51283d00293d5aeaff1e42f65d45bd6ef973759a093eea72c42f2683fcb43f28b77d95e451289efd7ba8d8de61a77172ff8efe5e0636e202c0a
DIST droopescan-1.41.3.tar.gz 378569 BLAKE2B e77d58a3db1178f246cf707563fd968f7b7470421706d9aa9047aa02e2749534115c2ba319f1e2f605071fe37d70c468304513f27a9c8b7ac8311539e5c4ccc8 SHA512 9fee608a1b32bf0719a2adb2bd9c05752a4c2fae3777c78fedefb128bfea669185ccd029ae38cff46b698f4b32ca862fb7a3554e251d1af38769487e51cbec6b

View file

@ -3,7 +3,8 @@
EAPI=6
PYTHON_COMPAT=( python2_7 )
DISTUTILS_USE_SETUPTOOLS=bdepend
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="A scanner that helps identifying issues in Drupal, SilverStripe, and Wordpress"
@ -16,12 +17,10 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=">=dev-python/cement-2.6[${PYTHON_USEDEP}]
RDEPEND="=dev-python/cement-2*[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/pystache[${PYTHON_USEDEP}]
virtual/python-futures[${PYTHON_USEDEP}]"
dev-python/pystache[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/mock
dev-python/nose

View file

@ -1,34 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="A scanner that helps identifying issues in Drupal, SilverStripe, and Wordpress"
HOMEPAGE="https://github.com/droope/droopescan"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/droope/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=">=dev-python/cement-2.6[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/pystache[${PYTHON_USEDEP}]
virtual/python-futures[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/mock
dev-python/nose
dev-python/responses
dev-python/lxml
dev-python/beautifulsoup:4
dev-python/coverage
dev-python/wheel
dev-python/retrying
)"

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View file

@ -276,8 +276,8 @@ dev-python/PyVirtualDisplay
~dev-python/dnspython-1.16.0
#required by net-analyzer/droopescan
~dev-python/cement-2.10.0
~dev-python/humanize-0.5.1
~dev-python/cement-2.10
~dev-python/pystache-0.5.4
# required by dev-util/objection
~dev-python/delegator-0.1.1