commit:     5f55303cb083c8dd5bcef6efdebcf75407f9bf07
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 26 20:23:46 2020 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sun Jan 26 20:24:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f55303c

dev-python/hacking: 2.0.0 bump

Bug: https://bugs.gentoo.org/643616
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 dev-python/hacking/Manifest              |  4 +-
 dev-python/hacking/hacking-0.10.3.ebuild | 71 --------------------------------
 dev-python/hacking/hacking-0.9.2.ebuild  | 61 ---------------------------
 dev-python/hacking/hacking-0.9.6.ebuild  | 61 ---------------------------
 dev-python/hacking/hacking-2.0.0.ebuild  | 59 ++++++++++++++++++++++++++
 5 files changed, 60 insertions(+), 196 deletions(-)

diff --git a/dev-python/hacking/Manifest b/dev-python/hacking/Manifest
index 184d9129504..da8ad358aff 100644
--- a/dev-python/hacking/Manifest
+++ b/dev-python/hacking/Manifest
@@ -1,4 +1,2 @@
-DIST hacking-0.10.3.tar.gz 41119 BLAKE2B 
fe43b31f356c9469925bf43ff381c1e24d6976961140e2e3f0988d2c693db87de98b27b38ce456b4fc681bfbaff428882e7fc072cd4511935585d789850b85a4
 SHA512 
020f58220d6c3d09dcc1b0ab886796087c9fe4e9eccae1e331f6f2056b5b106ffa4ba2545af086cf4ee53e21bcc124fef203c7bac36456ac86f09b4c6ff07417
-DIST hacking-0.9.2.tar.gz 43956 BLAKE2B 
f4bad9ca0ffaaaf05d9f0b8536ccc72c51de4547de8d38ea31f9bae1ebbb52362d75fc286075b13631362fa00e3a7081db6a128584067896bf4daf7b32f4bfeb
 SHA512 
76aa59b4cdfb8036d6471e35cba43d502de3a72edc3883a05822063cbb92eaa072cef3144d21ee82ac763c3385c65bc9dec4b66fda5a5a2090191ba5b6388d41
-DIST hacking-0.9.6.tar.gz 43287 BLAKE2B 
e67090fe103849fd9cb4cd4ea36065d49500448cc291ffa2c36273095a2de4a704af2f3a926aef0ffe4aa4689ef7f810f317f0ed46e9c7143039ab776b04bfe5
 SHA512 
e4225754a85ff474b724130a0c3d6a6b9c480a953ea35a18833378cf2a5df4687819f510b50a95f42890cc69836033a8af933bc0a5a4e330ae94532bcee189b4
 DIST hacking-1.1.0.tar.gz 55620 BLAKE2B 
6a6f30ef8a1eef3aa1b1b630dd43e1d2e9adff1623d8db19a545f186f60ce367e4b820582893e6444b7d58573b4a70a47a30cdc8d2ce1202666cf6e1b0e7456f
 SHA512 
d326995976c04469c9d164ff31d02471346af715730d97fee23261988100156c4598ea8968cb483e8f386ee3f94a6bdffb5f67d8a7dfc238f4607fb7fe09e128
+DIST hacking-2.0.0.tar.gz 53296 BLAKE2B 
50606d700c324acc8695499ee97cd592b051fe0cfc020efdfe7bf82b44d2f6ac858ed2f923ea08343066820c7da1686aa0b172bbab541cc564dc5ecc016cfac6
 SHA512 
d44d62f694c79af4c2044e745b140f0582fb5a6bbfa8050d45b17e8cb354198e8eac3a06586cf96d516844bb079d429d73ce9755a23e256857c4de19aca7ffe3

diff --git a/dev-python/hacking/hacking-0.10.3.ebuild 
b/dev-python/hacking/hacking-0.10.3.ebuild
deleted file mode 100644
index 70c5421423a..00000000000
--- a/dev-python/hacking/hacking-0.10.3.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit distutils-r1
-
-DESCRIPTION="A client for the OpenStack Nova API"
-HOMEPAGE="https://github.com/openstack-dev/hacking";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 x86 ~amd64-linux 
~x86-linux"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       >=dev-python/pbr-0.11.0[${PYTHON_USEDEP}]
-       test? (
-               >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
-               >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
-               >=dev-python/mock-1.0[${PYTHON_USEDEP}]
-               >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
-               >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
-               >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
-               >=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
-               !~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
-               ${RDEPEND}
-       )
-       doc? (
-               >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
-               <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
-               $(python_gen_cond_dep 
'dev-python/oslo-sphinx[${PYTHON_USEDEP}]' python2_7 )
-       )"
-RDEPEND="
-       ~dev-python/pep8-1.5.7[${PYTHON_USEDEP}]
-       ~dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}]
-       ~dev-python/flake8-2.2.5[${PYTHON_USEDEP}]
-       ~dev-python/mccabe-0.2.1[${PYTHON_USEDEP}]
-       >=dev-python/six-1.7.0[${PYTHON_USEDEP}]"
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_prepare_all() {
-       # Prevent d'loading and correct ?typo to oslosphinx in conf.py
-       sed -e 's:intersphinx_mapping:#&:' \
-               -e 's:oslosphinx:oslo.sphinx:' \
-               -i doc/source/conf.py || die
-       # relax deps
-       rm *requirements.txt hacking.egg-info/requires.txt || die
-       distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-       use doc && sphinx-build -b html -c doc/source/ doc/source/ 
doc/source/html
-}
-
-python_test() {
-       testr init || die "testr init died"
-       testr run || die "testsuite failed under ${EPYTHON}"
-       flake8 "${PN}"/tests || die "flake8 drew error on a run over 
${PN}/tests folder"
-}
-
-python_install_all() {
-       use doc && local HTML_DOCS=( doc/source/html/. )
-       distutils-r1_python_install_all
-}

diff --git a/dev-python/hacking/hacking-0.9.2.ebuild 
b/dev-python/hacking/hacking-0.9.2.ebuild
deleted file mode 100644
index b354c8fcd79..00000000000
--- a/dev-python/hacking/hacking-0.9.2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python3_6 )
-
-inherit distutils-r1
-
-DESCRIPTION="A client for the OpenStack Nova API"
-HOMEPAGE="https://github.com/openstack-dev/hacking";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="~dev-python/pep8-1.5.6[${PYTHON_USEDEP}]
-               ~dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}]
-               ~dev-python/flake8-2.1.0[${PYTHON_USEDEP}]
-               >=dev-python/six-1.6.0[${PYTHON_USEDEP}]"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-               >=dev-python/pbr-0.6[${PYTHON_USEDEP}]
-               !=dev-python/pbr-0.7[${PYTHON_USEDEP}]
-               <dev-python/pbr-1.0[${PYTHON_USEDEP}]
-       test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
-               >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
-               >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
-               >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
-               >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
-               >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
-               ${RDEPEND} )
-       doc? ( >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
-               <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
-               $(python_gen_cond_dep 
'dev-python/oslo-sphinx[${PYTHON_USEDEP}]' python2_7 ) )"
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_prepare_all() {
-       # Prevent d'loading and correct ?typo to oslosphinx in conf.py
-       sed -e 's:intersphinx_mapping:#&:' \
-               -e 's:oslosphinx:oslo.sphinx:' \
-               -i doc/source/conf.py || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-       use doc && sphinx-build -b html -c doc/source/ doc/source/ 
doc/source/html
-}
-
-python_test() {
-       testr init || die "testr init died"
-       testr run || die "testsuite failed under ${EPYTHON}"
-       flake8 "${PN}"/tests || die "flake8 drew error on a run over 
${PN}/tests folder"
-}
-
-python_install_all() {
-       use doc && local HTML_DOCS=( doc/source/html/. )
-       distutils-r1_python_install_all
-}

diff --git a/dev-python/hacking/hacking-0.9.6.ebuild 
b/dev-python/hacking/hacking-0.9.6.ebuild
deleted file mode 100644
index 82e43007dff..00000000000
--- a/dev-python/hacking/hacking-0.9.6.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit distutils-r1
-
-DESCRIPTION="A client for the OpenStack Nova API"
-HOMEPAGE="https://github.com/openstack-dev/hacking";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~hppa ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="~dev-python/pep8-1.5.6[${PYTHON_USEDEP}]
-               ~dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}]
-               ~dev-python/flake8-2.1.0[${PYTHON_USEDEP}]
-               >=dev-python/six-1.6.0[${PYTHON_USEDEP}]"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-               >=dev-python/pbr-0.11.0[${PYTHON_USEDEP}]
-               <dev-python/pbr-1.0[${PYTHON_USEDEP}]
-       test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
-               >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
-               >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
-               >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
-               >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
-               >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
-               ${RDEPEND} )
-       doc? ( >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
-               <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
-               $(python_gen_cond_dep 
'dev-python/oslo-sphinx[${PYTHON_USEDEP}]' python2_7 ) )"
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_prepare_all() {
-       # Prevent d'loading and correct ?typo to oslosphinx in conf.py
-       sed -e 's:intersphinx_mapping:#&:' \
-               -e 's:oslosphinx:oslo.sphinx:' \
-               -i doc/source/conf.py || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-       use doc && sphinx-build -b html -c doc/source/ doc/source/ 
doc/source/html
-}
-
-python_test() {
-       testr init || die "testr init died"
-       testr run || die "testsuite failed under ${EPYTHON}"
-       flake8 "${PN}"/tests || die "flake8 drew error on a run over 
${PN}/tests folder"
-}
-
-python_install_all() {
-       use doc && local HTML_DOCS=( doc/source/html/. )
-       distutils-r1_python_install_all
-}

diff --git a/dev-python/hacking/hacking-2.0.0.ebuild 
b/dev-python/hacking/hacking-2.0.0.ebuild
new file mode 100644
index 00000000000..3be16cad037
--- /dev/null
+++ b/dev-python/hacking/hacking-2.0.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="A client for the OpenStack Nova API"
+HOMEPAGE="https://github.com/openstack-dev/hacking";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=dev-python/flake8-3.6.0[${PYTHON_USEDEP}]
+       <dev-python/flake8-4.0.0[${PYTHON_USEDEP}]
+       >=dev-python/six-1.10.0[${PYTHON_USEDEP}]"
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
+       test? (
+               >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
+               !~dev-python/coverage-4.4[${PYTHON_USEDEP}]
+               >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+               >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
+               >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}]
+               >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}]
+               >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
+               >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
+               ${RDEPEND}
+       )
+       doc? (
+               >=dev-python/sphinx-1.8.0[${PYTHON_USEDEP}]
+               !~dev-python/sphinx-2.1.0[${PYTHON_USEDEP}]
+               >=dev-python/openstackdocstheme-1.18.1[${PYTHON_USEDEP}]
+               >=dev-python/reno-2.5.0[${PYTHON_USEDEP}]
+       )"
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_compile_all() {
+       use doc && sphinx-build -b html -c doc/source/ doc/source/ 
doc/source/html
+}
+
+python_test() {
+       stestr init || die "stestr init died"
+       stestr run || die "testsuite failed under ${EPYTHON}"
+       flake8 "${PN}"/tests || die "flake8 drew error on a run over 
${PN}/tests folder"
+}
+
+python_install_all() {
+       use doc && local HTML_DOCS=( doc/source/html/. )
+       distutils-r1_python_install_all
+}

Reply via email to