dev-python/humanize: new package, needed for www-apps/klaus
authorLouis Sautier <sautier.louis@gmail.com>
Tue, 12 Apr 2016 12:59:34 +0000 (14:59 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 12 Apr 2016 18:55:28 +0000 (18:55 +0000)
Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1248

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
dev-python/humanize/Manifest [new file with mode: 0644]
dev-python/humanize/humanize-0.5.1.ebuild [new file with mode: 0644]
dev-python/humanize/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest
new file mode 100644 (file)
index 0000000..62805b7
--- /dev/null
@@ -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 (file)
index 0000000..cc37555
--- /dev/null
@@ -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 (file)
index 0000000..abab48e
--- /dev/null
@@ -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>sautier.louis@gmail.com</email>
+               <name>Louis Sautier</name>
+               <description>Proxied maintainer; set to assignee in all bugs</description>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</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>