Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sortedcontainers/
Date: Mon, 09 May 2022 15:01:36
Message-Id: 1652108479.203bbca4da5fef507f55cb63e7ee8fad7ac390e9.mgorny@gentoo
1 commit: 203bbca4da5fef507f55cb63e7ee8fad7ac390e9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 9 14:35:46 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 9 15:01:19 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=203bbca4
7
8 dev-python/sortedcontainers: EAPI 8, PEP517
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../sortedcontainers-2.4.0-r1.ebuild | 32 ++++++++++++++++++++++
13 1 file changed, 32 insertions(+)
14
15 diff --git a/dev-python/sortedcontainers/sortedcontainers-2.4.0-r1.ebuild b/dev-python/sortedcontainers/sortedcontainers-2.4.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..2f98d6ff06e2
18 --- /dev/null
19 +++ b/dev-python/sortedcontainers/sortedcontainers-2.4.0-r1.ebuild
20 @@ -0,0 +1,32 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
28 +
29 +inherit distutils-r1
30 +
31 +MY_P=python-${P}
32 +DESCRIPTION="Python library to sort collections and containers"
33 +HOMEPAGE="
34 + http://www.grantjenks.com/docs/sortedcontainers/
35 + https://github.com/grantjenks/python-sortedcontainers/
36 + https://pypi.org/project/sortedcontainers/
37 +"
38 +SRC_URI="
39 + https://github.com/grantjenks/python-sortedcontainers/archive/v${PV}.tar.gz
40 + -> ${MY_P}.gh.tar.gz
41 +"
42 +S=${WORKDIR}/${MY_P}
43 +
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
47 +
48 +distutils_enable_tests pytest
49 +
50 +python_test() {
51 + epytest --ignore docs/conf.py
52 +}