commit:     203bbca4da5fef507f55cb63e7ee8fad7ac390e9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May  9 14:35:46 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May  9 15:01:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=203bbca4

dev-python/sortedcontainers: EAPI 8, PEP517

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../sortedcontainers-2.4.0-r1.ebuild               | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/dev-python/sortedcontainers/sortedcontainers-2.4.0-r1.ebuild 
b/dev-python/sortedcontainers/sortedcontainers-2.4.0-r1.ebuild
new file mode 100644
index 000000000000..2f98d6ff06e2
--- /dev/null
+++ b/dev-python/sortedcontainers/sortedcontainers-2.4.0-r1.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
+
+MY_P=python-${P}
+DESCRIPTION="Python library to sort collections and containers"
+HOMEPAGE="
+       http://www.grantjenks.com/docs/sortedcontainers/
+       https://github.com/grantjenks/python-sortedcontainers/
+       https://pypi.org/project/sortedcontainers/
+"
+SRC_URI="
+       
https://github.com/grantjenks/python-sortedcontainers/archive/v${PV}.tar.gz
+               -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+distutils_enable_tests pytest
+
+python_test() {
+       epytest --ignore docs/conf.py
+}

Reply via email to