1 |
commit: bc181a415bcac400d0e78d55e2f338c002c4d9df |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 27 00:24:58 2022 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 27 00:36:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc181a41 |
7 |
|
8 |
dev-vcs/git-delete-merged-branches: DistutilsNonPEP517Build + MissingRemoteId |
9 |
|
10 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
11 |
|
12 |
.../git-delete-merged-branches-7.2.1-r1.ebuild | 42 ++++++++++++++++++++++ |
13 |
dev-vcs/git-delete-merged-branches/metadata.xml | 4 +++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.2.1-r1.ebuild b/dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.2.1-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..4c3741ca6cb1 |
19 |
--- /dev/null |
20 |
+++ b/dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.2.1-r1.ebuild |
21 |
@@ -0,0 +1,42 @@ |
22 |
+# Copyright 1999-2022 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+ |
27 |
+DISTUTILS_USE_PEP517=setuptools |
28 |
+PYTHON_COMPAT=( python3_{8..11} ) |
29 |
+ |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+DESCRIPTION="Command-line tool to delete merged Git branches" |
33 |
+HOMEPAGE="https://github.com/hartwork/git-delete-merged-branches" |
34 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="GPL-3+" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+IUSE="full-name-executable test" |
40 |
+ |
41 |
+COMMON_DEPEND=" |
42 |
+ >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] |
43 |
+ >=dev-python/prompt_toolkit-3.0.18[${PYTHON_USEDEP}] |
44 |
+" |
45 |
+DEPEND="${COMMON_DEPEND} |
46 |
+ test? ( dev-python/parameterized[${PYTHON_USEDEP}] ) |
47 |
+" |
48 |
+RDEPEND="${COMMON_DEPEND} |
49 |
+ full-name-executable? ( !dev-vcs/git-extras ) |
50 |
+ dev-vcs/git |
51 |
+" |
52 |
+ |
53 |
+RESTRICT="!test? ( test )" |
54 |
+ |
55 |
+distutils_enable_tests pytest |
56 |
+ |
57 |
+src_install() { |
58 |
+ distutils-r1_src_install |
59 |
+ |
60 |
+ if ! use full-name-executable; then |
61 |
+ rm "${D}"/usr/bin/git-delete-merged-branches || die |
62 |
+ fi |
63 |
+} |
64 |
|
65 |
diff --git a/dev-vcs/git-delete-merged-branches/metadata.xml b/dev-vcs/git-delete-merged-branches/metadata.xml |
66 |
index 6a9e92db49c6..9a4b39447300 100644 |
67 |
--- a/dev-vcs/git-delete-merged-branches/metadata.xml |
68 |
+++ b/dev-vcs/git-delete-merged-branches/metadata.xml |
69 |
@@ -8,4 +8,8 @@ |
70 |
<use> |
71 |
<flag name="full-name-executable">Install executable /usr/bin/git-delete-merged-branches that is in conflict with <pkg>dev-vcs/git-extras</pkg></flag> |
72 |
</use> |
73 |
+ <upstream> |
74 |
+ <remote-id type="github">hartwork/git-delete-merged-branches</remote-id> |
75 |
+ <remote-id type="pypi">git-delete-merged-branches</remote-id> |
76 |
+ </upstream> |
77 |
</pkgmetadata> |