commit:     f4e58189a64eab22cc26b9b64b7a104a68a4f9bf
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  6 23:08:33 2017 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Tue Mar  7 00:17:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e58189

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(+)

diff --git a/dev-python/sortedcollections/Manifest 
b/dev-python/sortedcollections/Manifest
new file mode 100644
index 00000000000..dd970ae26e4
--- /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 00000000000..4c79be88416
--- /dev/null
+++ b/dev-python/sortedcollections/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="project">
+    <email>pyt...@gentoo.org</email>
+    <name>Python</name>
+  </maintainer>
+  <longdescription lang="en">
+    Pure python sorted collection library.
+  </longdescription>
+  <upstream>
+    <remote-id type="pypi">sortedcollections</remote-id>
+    <remote-id type="github">grantjenks/sortedcollections</remote-id>    
+  </upstream>
+</pkgmetadata>

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 00000000000..aafd52f890a
--- /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
+}

Reply via email to