diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2020-01-19 21:00:28 +0100 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2020-02-09 20:43:49 +0800 |
commit | c5cb7e21825e9593b0bfa334cd6ce4273cc4a2e5 (patch) | |
tree | 058c2e2caf0673d0d389e93d7e6fda2bb062cc8f /dev-python/ordered-set | |
parent | dev-python/scikit-build: Improved build system generator for CPython (diff) | |
download | gentoo-c5cb7e21825e9593b0bfa334cd6ce4273cc4a2e5.tar.gz gentoo-c5cb7e21825e9593b0bfa334cd6ce4273cc4a2e5.tar.bz2 gentoo-c5cb7e21825e9593b0bfa334cd6ce4273cc4a2e5.zip |
dev-python/ordered-set: A MutableSet that remembers its order
so that every entry has an index
Bug: https://github.com/gentoo/gentoo/pull/14344
Bug: https://bugs.gentoo.org/705872
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'dev-python/ordered-set')
-rw-r--r-- | dev-python/ordered-set/Manifest | 1 | ||||
-rw-r--r-- | dev-python/ordered-set/metadata.xml | 9 | ||||
-rw-r--r-- | dev-python/ordered-set/ordered-set-3.1.1.ebuild | 22 |
3 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/ordered-set/Manifest b/dev-python/ordered-set/Manifest new file mode 100644 index 000000000000..1efe57b1cd0f --- /dev/null +++ b/dev-python/ordered-set/Manifest @@ -0,0 +1 @@ +DIST ordered-set-3.1.1.tar.gz 10520 BLAKE2B 885c24d5cb1db95d0056c9216bde16bc41b27e6489d8169ec2c60f93bf9fdf5e112b6183c4adc0d3a34209442db725d0afab3e53ac21420b223c9f4ddf2a9e49 SHA512 9a0d6c2fe1e678ebc5e4bb8229f2a97cfd0b579624f1f5e7153a9fe41937069a845271e431d626dff799136c3c90d8ecd7a7094de8b6f638c581ebe9c4e71ec6 diff --git a/dev-python/ordered-set/metadata.xml b/dev-python/ordered-set/metadata.xml new file mode 100644 index 000000000000..ca93985fb0db --- /dev/null +++ b/dev-python/ordered-set/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/ordered-set/ordered-set-3.1.1.ebuild b/dev-python/ordered-set/ordered-set-3.1.1.ebuild new file mode 100644 index 000000000000..a92064a27062 --- /dev/null +++ b/dev-python/ordered-set/ordered-set-3.1.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="A mutable set that remembers the order of its entries" +HOMEPAGE="https://github.com/LuminosoInsight/ordered-set" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +distutils_enable_tests pytest + +python_test() { + pytest -vv test.py || die "Tests fail with ${EPYTHON}" +} |