commit: ea12b4769fd94229dde125c6904b2176d4e251aa Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com> AuthorDate: Tue Apr 12 12:59:34 2016 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Tue Apr 12 18:55:28 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea12b476
dev-python/humanize: new package, needed for www-apps/klaus Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1248 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> dev-python/humanize/Manifest | 1 + dev-python/humanize/humanize-0.5.1.ebuild | 25 +++++++++++++++++++++++++ dev-python/humanize/metadata.xml | 18 ++++++++++++++++++ 3 files changed, 44 insertions(+) diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest new file mode 100644 index 0000000..62805b7 --- /dev/null +++ b/dev-python/humanize/Manifest @@ -0,0 +1 @@ +DIST humanize-0.5.1.tar.gz 20507 SHA256 e3f3ac75e647f75eec48c3950385ab7585c1c1cde2a6c1479c1f58e055a3e868 SHA512 dd7ad7f3c564cc6abcb6b128e50dbea7f19f7f418bfd936aae2472961c53ec71202133c5c2b5b930ef41ef807b51d6ba1210565627ed32c0b41acc0abd32a2d5 WHIRLPOOL 37a43b9dc5e7d4b2054453f45d663af630b598f017e18b937aaa7265ca97e75dd8219eaab276710d3f906ffb0330b69eb9642046f17d7f5a321c3e214fb65617 diff --git a/dev-python/humanize/humanize-0.5.1.ebuild b/dev-python/humanize/humanize-0.5.1.ebuild new file mode 100644 index 0000000..cc37555 --- /dev/null +++ b/dev-python/humanize/humanize-0.5.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +DESCRIPTION="Common humanization utilities" +HOMEPAGE="https://github.com/jmoiron/humanize/" +# Tests are not included in PyPI tarballs +# https://github.com/jmoiron/humanize/issues/33 +SRC_URI="https://github.com/jmoiron/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + esetup.py test || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/humanize/metadata.xml b/dev-python/humanize/metadata.xml new file mode 100644 index 0000000..abab48e --- /dev/null +++ b/dev-python/humanize/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Louis Sautier</name> + <description>Proxied maintainer; set to assignee in all bugs</description> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="pypi">humanize</remote-id> + <remote-id type="github">jmoiron/humanize</remote-id> + <bugs-to>https://github.com/jmoiron/humanize/issues</bugs-to> + </upstream> +</pkgmetadata>
