summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-01-16 17:00:26 +0100
committerBenda Xu <heroxbd@gentoo.org>2020-02-09 20:43:47 +0800
commitcb8d035a393ec04a1d0e708e40b017a833689552 (patch)
treed9991cb5052379ff2ca700c28fd5af631d986c4c /dev-python/ubelt
parentdev-python/memory_profiler: Fix ebuild (diff)
downloadgentoo-cb8d035a393ec04a1d0e708e40b017a833689552.tar.gz
gentoo-cb8d035a393ec04a1d0e708e40b017a833689552.tar.bz2
gentoo-cb8d035a393ec04a1d0e708e40b017a833689552.zip
dev-python/ubelt: A stdlib like feel, and extra batteries. Hashing,
Caching, Timing, Progress 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/ubelt')
-rw-r--r--dev-python/ubelt/Manifest1
-rw-r--r--dev-python/ubelt/metadata.xml9
-rw-r--r--dev-python/ubelt/ubelt-0.8.8.ebuild30
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/ubelt/Manifest b/dev-python/ubelt/Manifest
new file mode 100644
index 000000000000..f7a01d309942
--- /dev/null
+++ b/dev-python/ubelt/Manifest
@@ -0,0 +1 @@
+DIST ubelt-0.8.8.tar.gz 172347 BLAKE2B 94435bf8b5a5f67011540c43dd767393cda6bccf95b963ca74cf3ee72444de43828b87bd2e6aa93001fc2c7cd49e245c459b0bc8f2617f12da906ae4e3f194aa SHA512 f63b3a9de51176d00a12999d540080e381266bb43b15942580f7f60b230b2e52021937b0cb4b31e084e0b77c141ae5cb3b8ae000d7af196e0c2f293a960e7438
diff --git a/dev-python/ubelt/metadata.xml b/dev-python/ubelt/metadata.xml
new file mode 100644
index 000000000000..ca93985fb0db
--- /dev/null
+++ b/dev-python/ubelt/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/ubelt/ubelt-0.8.8.ebuild b/dev-python/ubelt/ubelt-0.8.8.ebuild
new file mode 100644
index 000000000000..b38c32e6365a
--- /dev/null
+++ b/dev-python/ubelt/ubelt-0.8.8.ebuild
@@ -0,0 +1,30 @@
+# 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 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"
+
+IUSE="doc"
+
+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
+distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme dev-python/sphinxcontrib-napoleon
+
+python_test() {
+ pytest -vv tests || die "Tests fail with ${EPYTHON}"
+}