summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-09 10:09:53 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-09 10:56:57 +0200
commit0d1cec02441fdda2a3927e9d75eba2700fdd52d2 (patch)
tree2aed476a7b354f4565c0f3c8935bf461361b77e2 /dev-python/apipkg
parentdev-python/json5: Bump to 0.9.8 (diff)
downloadgentoo-0d1cec02441fdda2a3927e9d75eba2700fdd52d2.tar.gz
gentoo-0d1cec02441fdda2a3927e9d75eba2700fdd52d2.tar.bz2
gentoo-0d1cec02441fdda2a3927e9d75eba2700fdd52d2.zip
dev-python/apipkg: Bump to 2.1.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/apipkg')
-rw-r--r--dev-python/apipkg/Manifest1
-rw-r--r--dev-python/apipkg/apipkg-2.1.1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/apipkg/Manifest b/dev-python/apipkg/Manifest
index 811043478cbd..05744dab1b03 100644
--- a/dev-python/apipkg/Manifest
+++ b/dev-python/apipkg/Manifest
@@ -1 +1,2 @@
DIST apipkg-2.1.0.gh.tar.gz 13489 BLAKE2B 2ad670c6971b3fd6f56e35d3dceed25cd3950efbd9fb562595ea4313d50e9711a6099458eba3720dd5405335bef0ad1932bb2ad1e6db65c93df9f3b57b5caf56 SHA512 af74217f283be6dd1a674e12a2fc95739f90d9783caa095eccdea814a1da70b3cc1f756c2e150e5e5e75d1207857071aff97aa10bb2eadc83e04c42954c47df5
+DIST apipkg-2.1.1.gh.tar.gz 13541 BLAKE2B bba34b21d967512e2b08a1726dd97dfb432c3f4083661fd9f237948e5c962ebacf7ddf73ef7a34b24ee0a8481d203496504146b5b7627b195f1654fad338061e SHA512 be403398361bd88e04a676346e92df51fb410340858ca446a6a50af565183f15a88efd3d3bdcaa4d042680db35633c780466f4e8b4c9523cd0956fd04f84947a
diff --git a/dev-python/apipkg/apipkg-2.1.1.ebuild b/dev-python/apipkg/apipkg-2.1.1.ebuild
new file mode 100644
index 000000000000..3a05796a69c1
--- /dev/null
+++ b/dev-python/apipkg/apipkg-2.1.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+MY_P=${P/_/}
+DESCRIPTION="Namespace control and lazy-import mechanism"
+HOMEPAGE="
+ https://github.com/pytest-dev/apipkg/
+ https://pypi.org/project/apipkg/
+"
+SRC_URI="
+ https://github.com/pytest-dev/apipkg/archive/v${PV/_/}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+BDEPEND="
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}