diff --git a/dev-python/sortedcontainers/Manifest b/dev-python/sortedcontainers/Manifest new file mode 100644 index 0000000000000..158695a2b402a --- /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 0000000000000..3853ea8fb1f65 --- /dev/null +++ b/dev-python/sortedcontainers/metadata.xml @@ -0,0 +1,15 @@ + + + + + python@gentoo.org + Python + + + Python Sorted Container Types: SortedList, SortedDict, and SortedSet + + + sortedcontainers + grantjenks/sorted_containers + + 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 0000000000000..3bfb25bb8185b --- /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 +}