From f4e58189a64eab22cc26b9b64b7a104a68a4f9bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Fabbro?= Date: Mon, 6 Mar 2017 23:08:33 +0000 Subject: [PATCH] dev-python/sortedcollections: initial import Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- dev-python/sortedcollections/Manifest | 1 + dev-python/sortedcollections/metadata.xml | 15 +++++++++++ .../sortedcollections-0.4.2.ebuild | 25 +++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 dev-python/sortedcollections/Manifest create mode 100644 dev-python/sortedcollections/metadata.xml create mode 100644 dev-python/sortedcollections/sortedcollections-0.4.2.ebuild diff --git a/dev-python/sortedcollections/Manifest b/dev-python/sortedcollections/Manifest new file mode 100644 index 0000000000000..dd970ae26e435 --- /dev/null +++ b/dev-python/sortedcollections/Manifest @@ -0,0 +1 @@ +DIST sortedcollections-0.4.2.tar.gz 111533 SHA256 8aefd6cf0bb0a89888f192859c3dbf997b906b33cd4ce175d568fb972cfdb489 SHA512 53a3c9228c13bf25faedd11058413269d26e51209a5f454851aae067679e64ca3897ab78632a620f1f88c8c6407c5b723974d3a6aa4185e7e12b166d55f6559a WHIRLPOOL 16196d2bf09baab0ff68ac7c7f74ce27f409d229cc414b9f62fb1319f5edcebd5e8244453956308c07d3d950fd23195f7606d6bef71e38152b745b0fec6cfd0d diff --git a/dev-python/sortedcollections/metadata.xml b/dev-python/sortedcollections/metadata.xml new file mode 100644 index 0000000000000..4c79be8841699 --- /dev/null +++ b/dev-python/sortedcollections/metadata.xml @@ -0,0 +1,15 @@ + + + + + python@gentoo.org + Python + + + Pure python sorted collection library. + + + sortedcollections + grantjenks/sortedcollections + + diff --git a/dev-python/sortedcollections/sortedcollections-0.4.2.ebuild b/dev-python/sortedcollections/sortedcollections-0.4.2.ebuild new file mode 100644 index 0000000000000..aafd52f890a6a --- /dev/null +++ b/dev-python/sortedcollections/sortedcollections-0.4.2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) + +inherit distutils-r1 + +DESCRIPTION="Python library to sort collections and containers" +HOMEPAGE="http://www.grantjenks.com/docs/sortedcontainers/" +SRC_URI="mirror://pypi/$(echo ${PN} | cut -c 1)/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="dev-python/sortedcontainers[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + py.test -v || die +}