summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-11 22:28:45 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-11 23:05:07 +0200
commit822aa574c68e2024e743faf05561a7bb284b7d55 (patch)
tree5aa94f9be12b5f18d3e07860bfb0493f742596e2 /dev-python/pyasn1-modules
parentdev-python/pyasn1: Enable py3.11 (diff)
downloadgentoo-822aa574c68e2024e743faf05561a7bb284b7d55.tar.gz
gentoo-822aa574c68e2024e743faf05561a7bb284b7d55.tar.bz2
gentoo-822aa574c68e2024e743faf05561a7bb284b7d55.zip
dev-python/pyasn1-modules: EAPI 8, PEP517
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyasn1-modules')
-rw-r--r--dev-python/pyasn1-modules/pyasn1-modules-0.2.8-r2.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pyasn1-modules/pyasn1-modules-0.2.8-r2.ebuild b/dev-python/pyasn1-modules/pyasn1-modules-0.2.8-r2.ebuild
new file mode 100644
index 000000000000..380d8e31b4c5
--- /dev/null
+++ b/dev-python/pyasn1-modules/pyasn1-modules-0.2.8-r2.ebuild
@@ -0,0 +1,32 @@
+# 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
+
+DESCRIPTION="pyasn1 modules"
+HOMEPAGE="
+ https://pypi.org/project/pyasn1-modules/
+ https://github.com/etingof/pyasn1-modules/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+RDEPEND="
+ >=dev-python/pyasn1-0.4.6[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
+
+python_install_all() {
+ distutils-r1_python_install_all
+ insinto /usr/share/${P}
+ doins -r tools
+}