summaryrefslogtreecommitdiff
path: root/dev-vcs/git-pw
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/git-pw')
-rw-r--r--dev-vcs/git-pw/Manifest4
-rw-r--r--dev-vcs/git-pw/git-pw-2.5.0.ebuild46
-rw-r--r--dev-vcs/git-pw/git-pw-2.6.0.ebuild12
3 files changed, 9 insertions, 53 deletions
diff --git a/dev-vcs/git-pw/Manifest b/dev-vcs/git-pw/Manifest
index ca0bc971b387..624349aaecff 100644
--- a/dev-vcs/git-pw/Manifest
+++ b/dev-vcs/git-pw/Manifest
@@ -1,5 +1,3 @@
-DIST git-pw-2.5.0.tar.gz 35380 BLAKE2B 18b8e7eab4140b2e1010fb346e9dd3f39cf0c0b8d750c596590ecdb2693e8721834917680664ae166092addb6ea9d3bd67dc3060db7773ca488a8f714cfa248e SHA512 46d44187b4d5dd87b484461fa00fa805c475f32f40d2cb05fa3cdbeebd83f04636082af23e5cba7b07ecb89ad4ff81470da9b8fef3dccd50fbdcca48483c82e8
DIST git-pw-2.6.0.tar.gz 35628 BLAKE2B 6f6b5200776eb88c9ab4fcb5149b2e95f90a5d8dcd7bb18b07f326454e8a397266976a8f7f6b635857ebf3da876f9a0c75cd195d731406ef89ef45fe21672ef1 SHA512 b99efa89a5efcf34bd53b0fd691bb9c86f7585f352faab99a795f0902801c95310a7ea1414f8eb0bfac73f8d6af9b4cc7897d7d33cbeb4f3a5faedd35e62af4f
-EBUILD git-pw-2.5.0.ebuild 1120 BLAKE2B 4579a037c76860772ca49d4e5db3577fe6d756c020a5a2f52358dcfdca889f9eb23975481b5975a343e7ae49f10b7167ccbd0b092711589c62a19b782464f76c SHA512 428e5e8cb4c953e1f52efd65626bae38b0735e8eb69d9408853fac52300425f3ffdc787563eaa51beb472c2de0d39dd9336b72901d9f0c066a28f87c7f771553
-EBUILD git-pw-2.6.0.ebuild 1105 BLAKE2B 071899e9c658da9e014dfb6ed343a3a378e1057e9d209b5637458f24a71da625a8880ed584019e4fcaa2620e9a1c3d55a0589319a30cff82f65889e105e3c124 SHA512 aacb99954d3d7280c7aac4ab346d30c13c988e9f7c59c90e5285a3af4e159c5490804f3259702e23d853b14c60d2cc4ce54b49359a705d0d5b9785b820f2ff6d
+EBUILD git-pw-2.6.0.ebuild 1086 BLAKE2B 25a56f0ec2b2addfb2d93cc9683c8f866dfd09da3840d8d115ce28c671652b2fa861d009c81fc5d18da5aaebd1131801da6949bef21bb5b42c5dc51a1735534b SHA512 5b0a9d8c020efd07740407b7936f58739a1090ff4aa860bb7023736a2de62e1dd49bff8043bcacd0a422cba1b93281c00ed723f869397443658162045ab0aeaf
MISC metadata.xml 573 BLAKE2B ea8a1646462b2ff59f05531d1964c160216b7c19b17e261a75940e591106195050ad9ba65f3b5ea594d4a4ad53cfda7cf7dbb1894c6ac850a6b5c9e189093432 SHA512 cc0a718a6d9bd29c5a77dc3f23a4f4b691ab0c954c6c2a7266126c2cbc312aab73e5484120bad031e77abcf0c1cbff2c7af998700e45eebc51fd73facc988f8c
diff --git a/dev-vcs/git-pw/git-pw-2.5.0.ebuild b/dev-vcs/git-pw/git-pw-2.5.0.ebuild
deleted file mode 100644
index b6ff46dff532..000000000000
--- a/dev-vcs/git-pw/git-pw-2.5.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 2021-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-DISTUTILS_USE_PEP517=setuptools
-
-inherit distutils-r1
-if [[ "${PV}" == 9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/getpatchwork/git-pw.git"
-else
- SRC_URI="https://github.com/getpatchwork/git-pw/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="A tool for integrating Git with Patchwork"
-HOMEPAGE="https://github.com/getpatchwork/git-pw"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE=""
-
-RDEPEND="
- >=dev-python/arrow-0.10[${PYTHON_USEDEP}]
- >=dev-python/click-6.0[${PYTHON_USEDEP}]
- dev-python/pbr[${PYTHON_USEDEP}]
- <dev-python/requests-3.0[${PYTHON_USEDEP}]
- >=dev-python/tabulate-0.8[${PYTHON_USEDEP}]
- >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
-"
-BDEPEND="
- dev-python/pbr[${PYTHON_USEDEP}]
- test? (
- >=dev-python/mock-3.0.0[${PYTHON_USEDEP}]
- >=dev-python/pytest-3.0[${PYTHON_USEDEP}]
- >=dev-python/pytest-cov-2.5[${PYTHON_USEDEP}]
- )
-"
-
-src_compile() {
- export PBR_VERSION=${PV}
- distutils-r1_src_compile
-}
-distutils_enable_tests pytest
diff --git a/dev-vcs/git-pw/git-pw-2.6.0.ebuild b/dev-vcs/git-pw/git-pw-2.6.0.ebuild
index ccb909f73e2f..bab1464ff331 100644
--- a/dev-vcs/git-pw/git-pw-2.6.0.ebuild
+++ b/dev-vcs/git-pw/git-pw-2.6.0.ebuild
@@ -3,8 +3,8 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..12} )
DISTUTILS_USE_PEP517=pbr
+PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
if [[ "${PV}" == 9999 ]] ; then
@@ -33,13 +33,17 @@ BDEPEND="
dev-python/pbr[${PYTHON_USEDEP}]
test? (
>=dev-python/mock-3.0.0[${PYTHON_USEDEP}]
- >=dev-python/pytest-3.0[${PYTHON_USEDEP}]
- >=dev-python/pytest-cov-2.5[${PYTHON_USEDEP}]
)
"
+distutils_enable_tests pytest
+
src_compile() {
export PBR_VERSION=${PV}
distutils-r1_src_compile
}
-distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}