1 |
commit: d0ad15ad06bb08cd5f4e9f22b22ea52637d7889a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 6 23:04:38 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 6 23:23:39 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0ad15ad |
7 |
|
8 |
app-portage/gentoopm: Bump to 0.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
app-portage/gentoopm/Manifest | 1 + |
13 |
app-portage/gentoopm/gentoopm-0.4.ebuild | 38 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/app-portage/gentoopm/Manifest b/app-portage/gentoopm/Manifest |
17 |
index f3c236ab7268..dde6c0d3e50f 100644 |
18 |
--- a/app-portage/gentoopm/Manifest |
19 |
+++ b/app-portage/gentoopm/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST gentoopm-0.3.3.tar.gz 38624 BLAKE2B 018be741c6970b17525e56d5acdb23e15c8f78016fddda50ef329ea65b84e085a928e1e5e95c69757530c067c28aa578e9c56b8bd7546d7249a75e9c3cc3b57f SHA512 91ea07035b25bdccd8072c5691690ae0b40b6220a2ea29e4b051aeb8455f200e94569036af42ff2f5d7714344d332e5d71e3ff8dfde811f2aa6b6c1b3a895b21 |
22 |
+DIST gentoopm-0.4.tar.gz 39123 BLAKE2B c8ea81e2d1aa09d3aa838ccb2a1d221e29ba6cf20c5539435a36da058733ee6814864f11a5a96742b371c6d0f2e1ffa269edf197cd30cf4bc7d517f9fa6623cc SHA512 7af0d4d8b3562b009d8897b70b8621d2004e22a16006ec84144544174724757b39e09cbde98ee876adc166947a58e4afa85f752c66d4dbb03ff1d3a52074720f |
23 |
|
24 |
diff --git a/app-portage/gentoopm/gentoopm-0.4.ebuild b/app-portage/gentoopm/gentoopm-0.4.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..ac0d89b5c90a |
27 |
--- /dev/null |
28 |
+++ b/app-portage/gentoopm/gentoopm-0.4.ebuild |
29 |
@@ -0,0 +1,38 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=flit |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="A common interface to Gentoo package managers" |
41 |
+HOMEPAGE="https://github.com/mgorny/gentoopm/" |
42 |
+SRC_URI=" |
43 |
+ https://github.com/mgorny/gentoopm/archive/v${PV}.tar.gz |
44 |
+ -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="BSD-2" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~sparc ~x86 ~x64-macos" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ || ( |
52 |
+ >=sys-apps/pkgcore-0.9.4[${PYTHON_USEDEP}] |
53 |
+ >=sys-apps/portage-2.1.10.3[${PYTHON_USEDEP}] )" |
54 |
+PDEPEND="app-eselect/eselect-package-manager" |
55 |
+ |
56 |
+distutils_enable_tests pytest |
57 |
+ |
58 |
+python_test() { |
59 |
+ if has_version ">=sys-apps/pkgcore-0.9.4[${PYTHON_USEDEP}]"; then |
60 |
+ einfo "Testing against pkgcore ..." |
61 |
+ PACKAGE_MANAGER=pkgcore epytest |
62 |
+ fi |
63 |
+ if has_version ">=sys-apps/portage-2.1.10.3[${PYTHON_USEDEP}]"; then |
64 |
+ einfo "Testing against portage ..." |
65 |
+ PACKAGE_MANAGER=portage epytest |
66 |
+ fi |
67 |
+} |