commit:     f166c547e384268fb76d916634df63eb990e4b40
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  8 16:10:00 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun  8 16:55:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f166c547

dev-python/sortedcontainers: Bump to 2.2.2

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

 dev-python/sortedcontainers/Manifest               |  1 +
 .../sortedcontainers/sortedcontainers-2.2.2.ebuild | 28 ++++++++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/dev-python/sortedcontainers/Manifest 
b/dev-python/sortedcontainers/Manifest
index c9ed13d4b33..0c77b354fb4 100644
--- a/dev-python/sortedcontainers/Manifest
+++ b/dev-python/sortedcontainers/Manifest
@@ -1,2 +1,3 @@
 DIST python-sortedcontainers-2.1.0.gh.tar.gz 9220860 BLAKE2B 
a667fa817f0b240b8af9758d5d3942710cfe6a39109c41e6e66d0dd464b300d2201a679335e418442aaa6e1953e38a43b46c2bd6ce631b7c168d6173ca36998e
 SHA512 
1c56daea5d491dbeea9c677677a79ef5c4805325ea3d5da97005cd3b269003a99459550a793dfe65820f152c774371472ba471a7daf61c9d97b36744bafb013b
 DIST python-sortedcontainers-2.2.1.gh.tar.gz 9228694 BLAKE2B 
ccbcaf8ef1582c3229cfd82699b642c9cd86db69f68cca56d35fab05fe6b8bef5281af53eae3b697b1a8d7aaad9140d2f3de611eeb5774319a64ff9c5fc602be
 SHA512 
d4a45c4db9ec86c83c71506525a452fd5716818326635f69fb6e830d86803c5d39821678cb67e142ddd1ae9d093f9bb583c29b6bdc59a18a5ec0213eea4a1e29
+DIST python-sortedcontainers-2.2.2.gh.tar.gz 9228894 BLAKE2B 
358a2028a00748c89046069ed7ff075350d4a93f98521b48a72ba466719fd8b1eaa023f4c9d93beec1538315518f7fcc8b5b02478b1506c65fafa3840081b668
 SHA512 
413212aa35a80d24ec208caf19314dcc42dae207ec4ea8fdd7dc240c6fbf17372cb4c3e2209f6e40094419fa3eeb2fc9b23ad8bd7fb4e6fdaca46fd2fb248281

diff --git a/dev-python/sortedcontainers/sortedcontainers-2.2.2.ebuild 
b/dev-python/sortedcontainers/sortedcontainers-2.2.2.ebuild
new file mode 100644
index 00000000000..e70f737c3eb
--- /dev/null
+++ b/dev-python/sortedcontainers/sortedcontainers-2.2.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+MY_P=python-${P}
+DESCRIPTION="Python library to sort collections and containers"
+HOMEPAGE="http://www.grantjenks.com/docs/sortedcontainers/
+       https://pypi.org/project/sortedcontainers/
+       https://github.com/grantjenks/python-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 ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
+
+distutils_enable_tests pytest
+
+python_test() {
+       local -x PYTHONPATH=.
+       pytest -vv --ignore docs/conf.py || die "Tests fail with ${EPYTHON}"
+}

Reply via email to