summaryrefslogtreecommitdiff
path: root/app-portage/gentoopm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /app-portage/gentoopm
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'app-portage/gentoopm')
-rw-r--r--app-portage/gentoopm/Manifest6
-rw-r--r--app-portage/gentoopm/gentoopm-0.3.3.ebuild2
-rw-r--r--app-portage/gentoopm/gentoopm-0.4.ebuild38
-rw-r--r--app-portage/gentoopm/gentoopm-9999.ebuild15
4 files changed, 48 insertions, 13 deletions
diff --git a/app-portage/gentoopm/Manifest b/app-portage/gentoopm/Manifest
index 29e80c92a8e1..fc1397bd4130 100644
--- a/app-portage/gentoopm/Manifest
+++ b/app-portage/gentoopm/Manifest
@@ -1,4 +1,6 @@
DIST gentoopm-0.3.3.tar.gz 38624 BLAKE2B 018be741c6970b17525e56d5acdb23e15c8f78016fddda50ef329ea65b84e085a928e1e5e95c69757530c067c28aa578e9c56b8bd7546d7249a75e9c3cc3b57f SHA512 91ea07035b25bdccd8072c5691690ae0b40b6220a2ea29e4b051aeb8455f200e94569036af42ff2f5d7714344d332e5d71e3ff8dfde811f2aa6b6c1b3a895b21
-EBUILD gentoopm-0.3.3.ebuild 676 BLAKE2B 9063e8fe9479f21856a2c18a742313911f73eae15b28bd8c0ab0aa448206f1f1c3bcad4d2e11d0b74960ac7543b430f3204e0c07feecc1dc834263bbc22ca153 SHA512 8524a6a5268c11da7f5a1fe7d78c773b5b3f81febcc910a51d3a2355b39c88998f1c5c814419adb0091466f3ed40d68d12fafaef288036b04800592a53297b32
-EBUILD gentoopm-9999.ebuild 618 BLAKE2B a3bdad7c8ad96eeb9fcd123859c6868dd104e0130f76d9b5c21cf63a8d91e405b9b7527378de5e8715040525058be03dd92e812b781b96b7f379cf6a095c681c SHA512 1f4031557dd08aa9ab0da28e38e183843a58071bec302d3f85838747af69b65733b8a94c1fb8d03be2c7b09cd6695d199fdcb320000a083762e0100fba3f153e
+DIST gentoopm-0.4.tar.gz 39123 BLAKE2B c8ea81e2d1aa09d3aa838ccb2a1d221e29ba6cf20c5539435a36da058733ee6814864f11a5a96742b371c6d0f2e1ffa269edf197cd30cf4bc7d517f9fa6623cc SHA512 7af0d4d8b3562b009d8897b70b8621d2004e22a16006ec84144544174724757b39e09cbde98ee876adc166947a58e4afa85f752c66d4dbb03ff1d3a52074720f
+EBUILD gentoopm-0.3.3.ebuild 675 BLAKE2B 8af66cdd23576bad3a41a4ad80da0f0aedb3478686961a46bc16b0daf5d73f5f9238f46cf73d0cfaf836e8b8a6648b6e510924ac300fa3c1e20ea78dc51294a9 SHA512 eeee6a543f226e6863d0a05062a7c48f89ec18b03502dce02508d68c1183c82507cb947387587da4912588974866af3a69a63ba11d28956c9360323998e4cdf4
+EBUILD gentoopm-0.4.ebuild 978 BLAKE2B 8d070439fdfcd3a3c9fd714596ab5d2e0902206a35902df24fb030699c063775f4bf4a4664d5a5e8526b7b6881954cccd3d47d3cd5740d41f8f0640d31da7f6d SHA512 ad74ee11320840940595de21384fbb7f5f30ab467e676d5a7ae25ef64360d9b2e11c640620064cd761c68722b980135585faaffb0d24dcac361bdb6f3f02831a
+EBUILD gentoopm-9999.ebuild 581 BLAKE2B 0d122c8db7e9ac80223d46d62b4b2271154b534acd8f8d989e6355844e94f6a265398b3174731710415df95fea8b71805769083432e28641ce931b8b9eaac890 SHA512 dd9bccbeb7eb8894240aa8e2c36591b8b959167bd60e4f1c4bbd48cfa5c6652277ca889a4a82f4232f4762c075f06f5dab09d8fae4fe6621793ac291703004f5
MISC metadata.xml 553 BLAKE2B cb858f45f3796fbada74b9ea3b84333132741537e4d92cd47bdde947e2308d2688128dc23686689d0b9bea81bed15ba928aaafefde1b14c6ca8109966ccf541e SHA512 e849549624dc1fc0e87dd51c612942d178850d82498a329c92a9358acf807e9a3a09ac513f086e7affca35d70c58c4633721d8ac2f8b637b4623ac1b7bf7a477
diff --git a/app-portage/gentoopm/gentoopm-0.3.3.ebuild b/app-portage/gentoopm/gentoopm-0.3.3.ebuild
index e542bf8b6924..7cfa28e7b892 100644
--- a/app-portage/gentoopm/gentoopm-0.3.3.ebuild
+++ b/app-portage/gentoopm/gentoopm-0.3.3.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/mgorny/gentoopm/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="BSD-2"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ~sparc x86 ~x64-macos"
+KEYWORDS="amd64 arm arm64 hppa ~mips ~sparc x86 ~x64-macos"
IUSE=""
RDEPEND="
diff --git a/app-portage/gentoopm/gentoopm-0.4.ebuild b/app-portage/gentoopm/gentoopm-0.4.ebuild
new file mode 100644
index 000000000000..ac0d89b5c90a
--- /dev/null
+++ b/app-portage/gentoopm/gentoopm-0.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A common interface to Gentoo package managers"
+HOMEPAGE="https://github.com/mgorny/gentoopm/"
+SRC_URI="
+ https://github.com/mgorny/gentoopm/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+ || (
+ >=sys-apps/pkgcore-0.9.4[${PYTHON_USEDEP}]
+ >=sys-apps/portage-2.1.10.3[${PYTHON_USEDEP}] )"
+PDEPEND="app-eselect/eselect-package-manager"
+
+distutils_enable_tests pytest
+
+python_test() {
+ if has_version ">=sys-apps/pkgcore-0.9.4[${PYTHON_USEDEP}]"; then
+ einfo "Testing against pkgcore ..."
+ PACKAGE_MANAGER=pkgcore epytest
+ fi
+ if has_version ">=sys-apps/portage-2.1.10.3[${PYTHON_USEDEP}]"; then
+ einfo "Testing against portage ..."
+ PACKAGE_MANAGER=portage epytest
+ fi
+}
diff --git a/app-portage/gentoopm/gentoopm-9999.ebuild b/app-portage/gentoopm/gentoopm-9999.ebuild
index 840415f2aa12..f3f382633170 100644
--- a/app-portage/gentoopm/gentoopm-9999.ebuild
+++ b/app-portage/gentoopm/gentoopm-9999.ebuild
@@ -1,22 +1,19 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-DISTUTILS_USE_SETUPTOOLS=no
+DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{8..10} )
-EGIT_REPO_URI="https://github.com/mgorny/gentoopm.git"
inherit distutils-r1 git-r3
DESCRIPTION="A common interface to Gentoo package managers"
HOMEPAGE="https://github.com/mgorny/gentoopm/"
-SRC_URI=""
+EGIT_REPO_URI="https://github.com/mgorny/gentoopm.git"
LICENSE="BSD-2"
SLOT="0"
-KEYWORDS=""
-IUSE=""
RDEPEND="
|| (
@@ -24,6 +21,4 @@ RDEPEND="
>=sys-apps/portage-2.1.10.3[${PYTHON_USEDEP}] )"
PDEPEND="app-eselect/eselect-package-manager"
-python_test() {
- esetup.py test
-}
+distutils_enable_tests pytest