summaryrefslogtreecommitdiff
path: root/dev-python/git-review
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-01-04 01:27:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-01-04 01:27:12 +0000
commit3517852e3b8a68d1e997770fc0650c5053bafc6c (patch)
tree44068672445b1418489aed82de58df3c470289e7 /dev-python/git-review
parent0f15659d48c193027158492acb726297501202c5 (diff)
gentoo resync : 04.01.2022
Diffstat (limited to 'dev-python/git-review')
-rw-r--r--dev-python/git-review/Manifest5
-rw-r--r--dev-python/git-review/git-review-2.2.0.ebuild (renamed from dev-python/git-review/git-review-2.1.0.ebuild)13
-rw-r--r--dev-python/git-review/git-review-9999.ebuild30
3 files changed, 42 insertions, 6 deletions
diff --git a/dev-python/git-review/Manifest b/dev-python/git-review/Manifest
index 77af9e30b987..83e1ddfe12fa 100644
--- a/dev-python/git-review/Manifest
+++ b/dev-python/git-review/Manifest
@@ -1,3 +1,4 @@
-DIST git-review-2.1.0.tar.gz 62873 BLAKE2B 6685e43da07d4be0ffe3202a6a9be172257a8e665091b457318c118d95f571a9b97e555d4afea85fe590f264039bd86815c5a365fbc484a24b5c4ea748a340c2 SHA512 7beda9e704076285459c29ce2b7c0f07ab180212f24f62fa484430dfb323eb4473f9be030706eeca587d5cfb5cdbba6759aeaec6d377717ebf9a0f0157e1a190
-EBUILD git-review-2.1.0.ebuild 686 BLAKE2B ac3d85b4b0e085322ffdeb6b3ed63fe55af5035b79a23420187a4ff2e289435c3799da9825147f65a4ab5fc985319c1e6d8df91c2b7cb98e0a276261ff75e717 SHA512 64bd68021f24774e06f6bbf9452228c86e301d0b797cd02643bd5fe3d39e2c33e1100d927e2d01af2a896dd7a745a028bae31b7b8fb157441fc03e48c34ce388
+DIST git-review-2.2.0.tar.gz 64905 BLAKE2B a08b489bb4b53a9cc6510b11238bc947334a187e0ec7dad7e1240cf3efb110a5310cfe4f3278af9311108fcb0b915a9d1eabdd2aeabab3fed0a939cba9f88ae2 SHA512 9a33f6a1e60b0679b248db818a2a4559b4ee6a6b765f2e6a16fd566fd85587be363f837da2118e75bd3e6d54ba3dcc177d3d678d927d75cca6d8ad6ed4e8d4f7
+EBUILD git-review-2.2.0.ebuild 790 BLAKE2B f4e64e12b37ba704643ec5441aeee909271ad884492b3aee6852620c424716e9ff05f5c853312ca9f6a77d9a3a10a14d18399971d732dd104583d898aa62c444 SHA512 36863f3e68c2ccddb4f5dfcd2c921c842dc2738cdc0e86e59ad6a6cf8a216a825223e8f10b1d7ff88b955d33b25801df06b7e893315201a35885b9fe59909f40
+EBUILD git-review-9999.ebuild 792 BLAKE2B 190bad0efc23bd469f53127a732b636797b9b8be87a6e11d8784ae57eae1113956a2c5c1ad9f83af7cdefe24507c73ee1685a82de22dbacce907734d4e100a25 SHA512 c944645d4e8b346afaa1b7eab4a0d0105e409c746223185612219f3b07b15d742ba865f5032fdf16f6033ec2dceabff7c67a89de2d56565c80499032d5b5b719
MISC metadata.xml 338 BLAKE2B b891e2436716d179293d3a1844dc671cb2c4270887260921b04fa3674d999805d4845337b73d3e45a34b2105b900209c7630f85962ea59fa8b472946981b4b6d SHA512 b8e512c07502ddba83bd5012ca036fb364ecf433408e70f036290b4209f0f06bf085de7a7519f47f46f1e68df9e9c97349cc55454b48ccf9dbf57dddc1ec28fd
diff --git a/dev-python/git-review/git-review-2.1.0.ebuild b/dev-python/git-review/git-review-2.2.0.ebuild
index 864df6f43627..0619801846cf 100644
--- a/dev-python/git-review/git-review-2.1.0.ebuild
+++ b/dev-python/git-review/git-review-2.2.0.ebuild
@@ -1,19 +1,24 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
PYTHON_COMPAT=( python3_7 python3_8 python3_9 )
-DISTUTILS_USE_SETUPTOOLS=rdepend
+DISTUTILS_USE_SETUPTOOLS=
inherit distutils-r1
DESCRIPTION="Tool to submit code to Gerrit"
HOMEPAGE="https://git.openstack.org/cgit/openstack-infra/git-review"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+if [[ ${PV} == 9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://opendev.org/opendev/${PN}.git"
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="amd64 x86 ~x64-cygwin ~amd64-linux ~x86-linux"
+fi
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 x86 ~x64-cygwin ~amd64-linux ~x86-linux"
IUSE=""
DEPEND=">=dev-python/pbr-4.1.0[${PYTHON_USEDEP}]"
diff --git a/dev-python/git-review/git-review-9999.ebuild b/dev-python/git-review/git-review-9999.ebuild
new file mode 100644
index 000000000000..bd9c8e269e6b
--- /dev/null
+++ b/dev-python/git-review/git-review-9999.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_7 python3_8 python3_9 )
+DISTUTILS_USE_SETUPTOOLS=
+
+inherit distutils-r1
+
+DESCRIPTION="Tool to submit code to Gerrit"
+HOMEPAGE="https://git.openstack.org/cgit/openstack-infra/git-review"
+if [[ ${PV} == 9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://opendev.org/opendev/${PN}.git"
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86 ~x64-cygwin ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-python/pbr-4.1.0[${PYTHON_USEDEP}]"
+RDEPEND=">=dev-python/requests-1.1[${PYTHON_USEDEP}]"
+
+python_prepare_all() {
+ sed -i -e '/manpages/,+1d' setup.cfg || die
+ distutils-r1_python_prepare_all
+}