1 |
commit: b3a791ce4d2681f2c5e93809ad01a413daf99684 |
2 |
Author: Matt Smith <matt <AT> offtopica <DOT> uk> |
3 |
AuthorDate: Sat Sep 25 13:52:19 2021 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 26 08:50:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3a791ce |
7 |
|
8 |
dev-vcs/git-pw: Bump to 2.1.1 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/804519 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/22398 |
12 |
Package-Manager: Portage-3.0.23, Repoman-3.0.3 |
13 |
Signed-off-by: Matt Smith <matt <AT> offtopica.uk> |
14 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
15 |
|
16 |
dev-vcs/git-pw/Manifest | 1 + |
17 |
dev-vcs/git-pw/git-pw-2.1.1.ebuild | 44 ++++++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 45 insertions(+) |
19 |
|
20 |
diff --git a/dev-vcs/git-pw/Manifest b/dev-vcs/git-pw/Manifest |
21 |
index 9911bd4fe41..20159044bf9 100644 |
22 |
--- a/dev-vcs/git-pw/Manifest |
23 |
+++ b/dev-vcs/git-pw/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST git-pw-2.0.0.tar.gz 32151 BLAKE2B f8ef04b31cb4457ac9bae333bae65deb7d17469cd25a3724a27201dab0c05f98151a5ec1066cb9d2de81d82360f4e46eaa59ebd08904dfa0d16106f589e17e4c SHA512 83ac4d56091bfe9b03733939fb3e4feab22ce4455eebe8508bc730705b69054a2f060cfb8a1ea469476d9519809a89116ff56210efe4cd76e50df5a5d40886fc |
26 |
+DIST git-pw-2.1.1.tar.gz 32489 BLAKE2B 516eb3b81c3798a455b7122a3b0ad9bf0d9722eb6f301ea58ed766cca94137f4da4eaf34a40ec7c5e108368aa6099f9401aba6d71d463913cd2b7fd9dc7aef09 SHA512 3cbf0670bf811d6b6ef0d4c5c7ad4321380d442c62fd15869758b26b4fc375c2d4bd2bdbf693a41d0cbe862bdef15fc02d04124a089f7786bd1b2e56f818e0c2 |
27 |
|
28 |
diff --git a/dev-vcs/git-pw/git-pw-2.1.1.ebuild b/dev-vcs/git-pw/git-pw-2.1.1.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..a27a91f9a2c |
31 |
--- /dev/null |
32 |
+++ b/dev-vcs/git-pw/git-pw-2.1.1.ebuild |
33 |
@@ -0,0 +1,44 @@ |
34 |
+# Copyright 2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python3_{8..9} ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+if [[ "${PV}" == 9999 ]] ; then |
43 |
+ inherit git-r3 |
44 |
+ EGIT_REPO_URI="https://github.com/getpatchwork/git-pw.git" |
45 |
+else |
46 |
+ SRC_URI="https://github.com/getpatchwork/git-pw/archive/${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ KEYWORDS="~amd64" |
48 |
+fi |
49 |
+ |
50 |
+DESCRIPTION="A tool for integrating Git with Patchwork" |
51 |
+HOMEPAGE="https://github.com/getpatchwork/git-pw" |
52 |
+ |
53 |
+LICENSE="MIT" |
54 |
+SLOT="0" |
55 |
+IUSE="" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ >=dev-python/arrow-0.10[${PYTHON_USEDEP}] |
59 |
+ <dev-python/click-8.0[${PYTHON_USEDEP}] |
60 |
+ dev-python/pbr[${PYTHON_USEDEP}] |
61 |
+ <dev-python/requests-3.0[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/tabulate-0.8[${PYTHON_USEDEP}] |
63 |
+" |
64 |
+BDEPEND=" |
65 |
+ dev-python/pbr[${PYTHON_USEDEP}] |
66 |
+ test? ( |
67 |
+ >=dev-python/mock-3.0.0[${PYTHON_USEDEP}] |
68 |
+ <dev-python/pytest-6.0[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/pytest-cov-2.5[${PYTHON_USEDEP}] |
70 |
+ ) |
71 |
+" |
72 |
+ |
73 |
+src_compile() { |
74 |
+ export PBR_VERSION=${PV} |
75 |
+ distutils-r1_src_compile |
76 |
+} |
77 |
+distutils_enable_tests pytest |