commit: a06e6a36af116d6178f3efb66712da7e99e376f8 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> AuthorDate: Mon Mar 6 22:30:20 2017 +0000 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> CommitDate: Tue Mar 7 00:17:18 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a06e6a36
dev-python/sortedcontainers: initial import Package-Manager: Portage-2.3.4, Repoman-2.3.2 dev-python/sortedcontainers/Manifest | 1 + dev-python/sortedcontainers/metadata.xml | 15 +++++++++++++ .../sortedcontainers/sortedcontainers-1.5.7.ebuild | 25 ++++++++++++++++++++++ 3 files changed, 41 insertions(+) diff --git a/dev-python/sortedcontainers/Manifest b/dev-python/sortedcontainers/Manifest new file mode 100644 index 00000000000..158695a2b40 --- /dev/null +++ b/dev-python/sortedcontainers/Manifest @@ -0,0 +1 @@ +DIST sortedcontainers-1.5.7.tar.gz 11970881 SHA256 0ff0442865e492bc50476b18000fb8400cf2472d14d21a92b27cd7c5184550ea SHA512 a9f2ba152c47eddfda6ad8ef7ecfbfa5d51b17afb4042b0b1e6d8b3dbc6caf6f8281af415dfcf1e356aaf80aa3212865ba926fe0d6e08961c8fbbc68adb34108 WHIRLPOOL ac1c64a49705b2a02d2eb05e8306a1ee21d494819b7331256fc8c17d5fda89c82eaf2267981408c9de92bde0c4569a0e87fa4d7d12297881c4b8b295b1df9788 diff --git a/dev-python/sortedcontainers/metadata.xml b/dev-python/sortedcontainers/metadata.xml new file mode 100644 index 00000000000..3853ea8fb1f --- /dev/null +++ b/dev-python/sortedcontainers/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"> + Python Sorted Container Types: SortedList, SortedDict, and SortedSet + </longdescription> + <upstream> + <remote-id type="pypi">sortedcontainers</remote-id> + <remote-id type="github">grantjenks/sorted_containers</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/sortedcontainers/sortedcontainers-1.5.7.ebuild b/dev-python/sortedcontainers/sortedcontainers-1.5.7.ebuild new file mode 100644 index 00000000000..3bfb25bb818 --- /dev/null +++ b/dev-python/sortedcontainers/sortedcontainers-1.5.7.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="" +DEPEND="${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + py.test -v || die +}