diff --git a/dev-python/hacking/Manifest b/dev-python/hacking/Manifest new file mode 100644 index 0000000000..9c844c8914 --- /dev/null +++ b/dev-python/hacking/Manifest @@ -0,0 +1,2 @@ +DIST hacking-3.0.1.tar.gz 52736 BLAKE2B 20d328dd78c4e115a3ccbe0e886be80d6b0f30d8cbf6bb02a93f41637e5f7e1c82174c8c9054cb1a354fa6c58ae2c0b5dd2491e841d6d8b0cb02b12560b0f8a0 SHA512 1ad6bcf7099f244dd96709d993939f979b461e4d9661adab071b7861243cb75cde9d33343165b5e636e7f3526755f717b891763f5af44aeabad49fa0972df391 +DIST hacking-4.1.0.tar.gz 61910 BLAKE2B 95ced5b2fbafbb890478b5ef598a836520b4d1a3f1f2a0e708aa3f3135f394aab9e1ca8eaafa9d2f9f8dfcd1043d925b0232228234021ac89d2882ad6c7918a5 SHA512 44741548b5031777b0a508255129893da63a076615dc4245fdcb2368711be0ff6e16702c12c75a7f2c6b13257e2257c58e6e95dfad6da6640ff077fbf2b507db diff --git a/dev-python/hacking/hacking-3.0.1.ebuild b/dev-python/hacking/hacking-3.0.1.ebuild new file mode 100644 index 0000000000..33b44877df --- /dev/null +++ b/dev-python/hacking/hacking-3.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +EPYTEST_DESELECT=( hacking/tests/test_doctest.py::HackingTestCase::test_flake8 ) +PYTHON_COMPAT=( python3_8 ) + +inherit distutils-r1 + +DESCRIPTION="hacking is a set of flake8 plugins that test and enforce the OpenStack StyleGuide" +HOMEPAGE=" + https://github.com/openstack-dev/hacking + https://pypi.org/project/hacking +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64" + +RDEPEND=" + >=dev-python/flake8-3.6.0[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/eventlet-0.18.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/hacking/hacking-4.1.0.ebuild b/dev-python/hacking/hacking-4.1.0.ebuild new file mode 100644 index 0000000000..f35e90c33f --- /dev/null +++ b/dev-python/hacking/hacking-4.1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_8 ) + +inherit distutils-r1 + +DESCRIPTION="hacking is a set of flake8 plugins that test and enforce the OpenStack StyleGuide" +HOMEPAGE=" + https://github.com/openstack-dev/hacking + https://pypi.org/project/hacking +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64" + +RDEPEND=" + >=dev-python/flake8-3.8.0[${PYTHON_USEDEP}] + + + + + comaintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + +Hacking pins its dependencies, as a new release of some dependency can break hacking based gating jobs. This is because new versions of dependencies can introduce new rules, or make existing rules stricter. + + hacking + openstack-dev/hacking + +