diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-01-16 09:26:05 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-01-16 10:52:53 +0100 |
commit | 839cb32f273131d425d6f6aea0d12b11752c2425 (patch) | |
tree | 6cead6a581bba2cb064bda040e439a2017aa99f8 /dev-python/ubelt | |
parent | dev-python/lz4: Bump to 3.1.2 (diff) | |
download | gentoo-839cb32f273131d425d6f6aea0d12b11752c2425.tar.gz gentoo-839cb32f273131d425d6f6aea0d12b11752c2425.tar.bz2 gentoo-839cb32f273131d425d6f6aea0d12b11752c2425.zip |
dev-python/ubelt: Bump to 0.9.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ubelt')
-rw-r--r-- | dev-python/ubelt/Manifest | 1 | ||||
-rw-r--r-- | dev-python/ubelt/ubelt-0.9.4.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/ubelt/Manifest b/dev-python/ubelt/Manifest index b909b356d43f..55ceac0bb136 100644 --- a/dev-python/ubelt/Manifest +++ b/dev-python/ubelt/Manifest @@ -1 +1,2 @@ DIST ubelt-0.9.1.tar.gz 174866 BLAKE2B d9825cc266945e76560be0afaeaf28ce2c7ca99a9313f519c9e83fc987599a4d8c2d262af4f13040f522b91e3c73170f8af7fc7dbe9e40128b707d9a571f4b1a SHA512 92edac331602ef292842d48cd03c3ae12aaaec7e5860fd47c83dbe0449dee584e95ce5dd157a0b84b557dc4f4b6a0ee66ccabb669c5923e9b9083daaa2eb92df +DIST ubelt-0.9.4.tar.gz 185601 BLAKE2B 09c236b6ecd0d434f8bec104afc89082fbdff9954d64b5063ba29f1ca456a6ab68937fd6e0db4cc672589135b99ea1a6448720dbea00acdbc2a3b441b1357682 SHA512 e562949fe27a19f6708dbc1f9e92a1d5a14857159f03840b525c1b77e660ce64f1ea2e2198c7068f9835343230ddee7fa66672c2e81126f9e4afddf729f19cb7 diff --git a/dev-python/ubelt/ubelt-0.9.4.ebuild b/dev-python/ubelt/ubelt-0.9.4.ebuild new file mode 100644 index 000000000000..1505cc0f7ac7 --- /dev/null +++ b/dev-python/ubelt/ubelt-0.9.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="A stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress" +HOMEPAGE="https://github.com/Erotemic/ubelt" +SRC_URI="https://github.com/Erotemic/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}] + dev-python/ordered-set[${PYTHON_USEDEP}]" + +DEPEND="test? ( dev-python/xdoctest[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # relies on passwd being equal to ${HOME} + ubelt/util_path.py::userhome:0 + ) + + pytest -vv ${deselect[@]/#/--deselect } tests || + die "Tests fail with ${EPYTHON}" +} |