summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-10-05 09:03:35 +0200
committerMichał Górny <mgorny@gentoo.org>2021-10-05 10:27:14 +0200
commit084076a2cf6485f60688db5daa7a0400d701249c (patch)
tree2057d7a3b5d1207ad7e152781bff8bb363e87e2c /dev-python/apipkg
parentapp-admin/awscli: Bump to 1.20.54 (diff)
downloadgentoo-084076a2cf6485f60688db5daa7a0400d701249c.tar.gz
gentoo-084076a2cf6485f60688db5daa7a0400d701249c.tar.bz2
gentoo-084076a2cf6485f60688db5daa7a0400d701249c.zip
dev-python/apipkg: Bump to 2.0.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.0.1.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/apipkg/Manifest b/dev-python/apipkg/Manifest
index 403db0b6dfaf..1f964828f94e 100644
--- a/dev-python/apipkg/Manifest
+++ b/dev-python/apipkg/Manifest
@@ -1 +1,2 @@
DIST apipkg-2.0.0.gh.tar.gz 11724 BLAKE2B 3ad0ab8915bef0632b522de662c9c2424e0ba9c13c0d9bb415d66112ccd0621a226b546c9d248939e83f16311069fbe8170224b8e2e373f194df8d6654671347 SHA512 d1c336f835d28a11640904a6ae63b15a01c3bde2e100eb2ed31877fc7037e538e0fe1d107556d48fb288c3b72a53586122c4ec17e089179aadc222ae80938c53
+DIST apipkg-2.0.1.gh.tar.gz 12683 BLAKE2B 6c918bf4dcea7cfdf57a181a41abe9fec4d166fb0be56f24a5195dc665115100012aadf57c0aad887ffad0f76ebf13d77e3855fcd5e775abbb922f535eaa3bc3 SHA512 8366d23528216421d094f79d9b97a560e7fe449552761d3f5a3e3308bc80c3a963aebb2475ec4218bef45816ce2fc014cafa60db3af304e2a7c9eae09ef28600
diff --git a/dev-python/apipkg/apipkg-2.0.1.ebuild b/dev-python/apipkg/apipkg-2.0.1.ebuild
new file mode 100644
index 000000000000..521b20593649
--- /dev/null
+++ b/dev-python/apipkg/apipkg-2.0.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+MY_P=${P/_/}
+DESCRIPTION="Namespace control and lazy-import mechanism"
+HOMEPAGE="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}