From 8ae39372d750788337992a2aeee6b49d3423defb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 9 Nov 2020 09:09:40 +0100 Subject: [PATCH] dev-python/sortedcontainers: Bump to 2.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/sortedcontainers/Manifest | 1 + .../sortedcontainers-2.3.0.ebuild | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 dev-python/sortedcontainers/sortedcontainers-2.3.0.ebuild diff --git a/dev-python/sortedcontainers/Manifest b/dev-python/sortedcontainers/Manifest index 5f453bad5fcf9..8963ca2c913f9 100644 --- a/dev-python/sortedcontainers/Manifest +++ b/dev-python/sortedcontainers/Manifest @@ -1 +1,2 @@ DIST python-sortedcontainers-2.2.2.gh.tar.gz 9228894 BLAKE2B 358a2028a00748c89046069ed7ff075350d4a93f98521b48a72ba466719fd8b1eaa023f4c9d93beec1538315518f7fcc8b5b02478b1506c65fafa3840081b668 SHA512 413212aa35a80d24ec208caf19314dcc42dae207ec4ea8fdd7dc240c6fbf17372cb4c3e2209f6e40094419fa3eeb2fc9b23ad8bd7fb4e6fdaca46fd2fb248281 +DIST python-sortedcontainers-2.3.0.gh.tar.gz 9228968 BLAKE2B cdff8230d4e4ac42a89ed3192666ebf22cd48a4475f1dc173cffb0339c7f27e9cdfde1fb631daadf04adf2c00bed8a924e1202712d0ebcbd591f5542de863461 SHA512 0488e2f9f07ea7e4737ade69441f02614b63cfccb32a71af4e5953001bfa840d2e113a36a0a0a6d4c1e7fdd920ac3937b0baaea522d742547a4d81a99b8d1a6c diff --git a/dev-python/sortedcontainers/sortedcontainers-2.3.0.ebuild b/dev-python/sortedcontainers/sortedcontainers-2.3.0.ebuild new file mode 100644 index 0000000000000..3ca102a10999d --- /dev/null +++ b/dev-python/sortedcontainers/sortedcontainers-2.3.0.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=( 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 ~riscv ~s390 ~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}" +}