gentoo/dev-python/ordered-set/ordered-set-3.1.1.ebuild
Andrew Ammerlaan c5cb7e2182
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>
2020-02-09 20:43:49 +08:00

23 lines
501 B
Bash

# 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}"
}