From 7d22d0ea788600ef7bfe76076abf4d45c3ee907b Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 12 Mar 2019 22:19:56 +1100 Subject: [PATCH] dev-python/tqdm: added tqdm-4.31.1 --- dev-python/tqdm/Manifest | 1 + dev-python/tqdm/tqdm-4.31.1.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 dev-python/tqdm/Manifest create mode 100644 dev-python/tqdm/tqdm-4.31.1.ebuild diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest new file mode 100644 index 0000000..1ed24d3 --- /dev/null +++ b/dev-python/tqdm/Manifest @@ -0,0 +1 @@ +DIST tqdm-4.31.1.tar.gz 101159 BLAKE2B ed09d57c148549b9e31eff64f3d2f6d42f00e161699e5833611235d1e975e47a867bbc55948f4b6c6a3e86b14445f7a99c538f254833c0bcab6e5ec3f1827d34 SHA512 50b39f2604a54e663963500013e26399e76c689d309f8dcb7439077f70585af998ebc49cbcfa8ebb0375324d1238b291e1ecf05ef646d791328a420ed0b69714 diff --git a/dev-python/tqdm/tqdm-4.31.1.ebuild b/dev-python/tqdm/tqdm-4.31.1.ebuild new file mode 100644 index 0000000..2bb3781 --- /dev/null +++ b/dev-python/tqdm/tqdm-4.31.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) + +inherit distutils-r1 + +DESCRIPTION="Add a progress meter to your loops in a second" +HOMEPAGE="https://github.com/tqdm/tqdm" +SRC_URI="https://github.com/tqdm/tqdm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="examples" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s#man/man1#share/man/man1#" setup.py || die + distutils-r1_src_prepare +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +}