commit:     f9d49732e3e1dbe62a9ba835e166f3b70040eb86
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Wed May 23 00:23:22 2018 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Wed May 23 00:23:22 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=f9d49732

dev-python/num2words: new package (pybids dep)

Package-Manager: Portage-2.3.38, Repoman-2.3.9

 dev-python/num2words/metadata.xml           | 21 +++++++++++++++++++++
 dev-python/num2words/num2words-0.5.6.ebuild | 26 ++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/num2words/metadata.xml 
b/dev-python/num2words/metadata.xml
new file mode 100644
index 000000000..c98623ef2
--- /dev/null
+++ b/dev-python/num2words/metadata.xml
@@ -0,0 +1,21 @@
+<?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>Horea Christian</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+       <longdescription lang="en">
+               The num2words library converts numbers like 42 to words like 
forty-two.
+               It supports multiple languages (see the list below for full 
list of
+               languages) and can even generate ordinal numbers like 
forty-second
+               (although this last feature is a bit buggy for some languages 
at the moment).
+       </longdescription>
+       <upstream>
+               <remote-id type="github">savoirefairelinux/num2words</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-python/num2words/num2words-0.5.6.ebuild 
b/dev-python/num2words/num2words-0.5.6.ebuild
new file mode 100644
index 000000000..57069dc58
--- /dev/null
+++ b/dev-python/num2words/num2words-0.5.6.ebuild
@@ -0,0 +1,26 @@
+# 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} )
+
+inherit distutils-r1
+
+DESCRIPTION="Modules to convert numbers to words."
+HOMEPAGE="https://github.com/savoirfairelinux/num2words";
+SRC_URI="https://github.com/savoirfairelinux/num2words/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       "
+RDEPEND=""
+
+python_test() {
+       ${EPYTHON} setup.py test || die
+}

Reply via email to