From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 06D2D1382C5 for ; Wed, 23 May 2018 00:25:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0B49E09AD; Wed, 23 May 2018 00:25:05 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C3CA6E0986 for ; Wed, 23 May 2018 00:25:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0DCFE335C60 for ; Wed, 23 May 2018 00:25:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 657EC291 for ; Wed, 23 May 2018 00:25:02 +0000 (UTC) From: "Horea Christian" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horea Christian" Message-ID: <1527035002.f9d49732e3e1dbe62a9ba835e166f3b70040eb86.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/num2words/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/num2words/metadata.xml dev-python/num2words/num2words-0.5.6.ebuild X-VCS-Directories: dev-python/num2words/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: f9d49732e3e1dbe62a9ba835e166f3b70040eb86 X-VCS-Branch: master Date: Wed, 23 May 2018 00:25:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7e14a06d-0718-4853-8d52-5432535e44d9 X-Archives-Hash: 1de45f6923c85fa7f3e2cb027a31713b commit: f9d49732e3e1dbe62a9ba835e166f3b70040eb86 Author: Horea Christian yandex com> AuthorDate: Wed May 23 00:23:22 2018 +0000 Commit: Horea Christian gmail 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 @@ + + + + + horea.christ@gmail.com + Horea Christian + + + sci@gentoo.org + Gentoo Science Project + + + 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). + + + savoirefairelinux/num2words + + 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 +}