summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sautier.louis@gmail.com>2016-04-12 14:59:34 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-04-12 18:55:28 +0000
commitea12b4769fd94229dde125c6904b2176d4e251aa (patch)
treef8408ef0bec284917efef9d1e1969462a352fde6 /dev-python/humanize
parentdev-python/httpauth: new package, needed for www-apps/klaus (diff)
downloadgentoo-ea12b4769fd94229dde125c6904b2176d4e251aa.tar.gz
gentoo-ea12b4769fd94229dde125c6904b2176d4e251aa.tar.bz2
gentoo-ea12b4769fd94229dde125c6904b2176d4e251aa.zip
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@gentoo.org>
Diffstat (limited to 'dev-python/humanize')
-rw-r--r--dev-python/humanize/Manifest1
-rw-r--r--dev-python/humanize/humanize-0.5.1.ebuild25
-rw-r--r--dev-python/humanize/metadata.xml18
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest
new file mode 100644
index 000000000000..62805b7ad505
--- /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 000000000000..cc375552f052
--- /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 000000000000..abab48e71c89
--- /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>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>