Gentoo Archives: gentoo-commits

From: Horea Christian <horea.christ@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/num2words/
Date: Sun, 03 Jan 2021 04:32:25
Message-Id: 1609648251.70f8a2925272cb3e252372debe35b6ef791535da.chymera@gentoo
1 commit: 70f8a2925272cb3e252372debe35b6ef791535da
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Sat Jan 2 13:01:13 2021 +0000
4 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
5 CommitDate: Sun Jan 3 04:30:51 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=70f8a292
7
8 dev-python/num2words: version bump, fix tests
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12 Signed-off-by: Horea Christian <chr <AT> chymera.eu>
13
14 ...2words-0.5.9.ebuild => num2words-0.5.10.ebuild} | 20 ++++++++---------
15 dev-python/num2words/num2words-0.5.6.ebuild | 26 ----------------------
16 2 files changed, 9 insertions(+), 37 deletions(-)
17
18 diff --git a/dev-python/num2words/num2words-0.5.9.ebuild b/dev-python/num2words/num2words-0.5.10.ebuild
19 similarity index 51%
20 rename from dev-python/num2words/num2words-0.5.9.ebuild
21 rename to dev-python/num2words/num2words-0.5.10.ebuild
22 index 4ce161c21..7e62a328d 100644
23 --- a/dev-python/num2words/num2words-0.5.9.ebuild
24 +++ b/dev-python/num2words/num2words-0.5.10.ebuild
25 @@ -1,26 +1,24 @@
26 -# Copyright 1999-2020 Gentoo Authors
27 +# Copyright 1999-2021 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 EAPI=7
31
32 -PYTHON_COMPAT=( python3_{6..9} )
33 +PYTHON_COMPAT=( python3_{7..9} )
34
35 inherit distutils-r1
36
37 DESCRIPTION="Modules to convert numbers to words."
38 HOMEPAGE="https://github.com/savoirfairelinux/num2words"
39 -SRC_URI="https://github.com/savoirfairelinux/num2words/archive/${PV}.tar.gz -> ${P}.tar.gz"
40 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
41
42 LICENSE="MIT"
43 SLOT="0"
44 -KEYWORDS="~amd64"
45 -IUSE="test"
46 +KEYWORDS="~amd64 ~x86"
47
48 -DEPEND="
49 +RDEPEND="dev-python/docopt[${PYTHON_USEDEP}]"
50 +
51 +BDEPEND="
52 test? ( dev-python/delegator[${PYTHON_USEDEP}] )
53 - "
54 -RDEPEND=""
55 +"
56
57 -python_test() {
58 - ${EPYTHON} setup.py test || die
59 -}
60 +distutils_enable_tests pytest
61
62 diff --git a/dev-python/num2words/num2words-0.5.6.ebuild b/dev-python/num2words/num2words-0.5.6.ebuild
63 deleted file mode 100644
64 index 1e541df7d..000000000
65 --- a/dev-python/num2words/num2words-0.5.6.ebuild
66 +++ /dev/null
67 @@ -1,26 +0,0 @@
68 -# Copyright 1999-2020 Gentoo Authors
69 -# Distributed under the terms of the GNU General Public License v2
70 -
71 -EAPI=7
72 -
73 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
74 -
75 -inherit distutils-r1
76 -
77 -DESCRIPTION="Modules to convert numbers to words."
78 -HOMEPAGE="https://github.com/savoirfairelinux/num2words"
79 -SRC_URI="https://github.com/savoirfairelinux/num2words/archive/${PV}.tar.gz -> ${P}.tar.gz"
80 -
81 -LICENSE="MIT"
82 -SLOT="0"
83 -KEYWORDS="~amd64"
84 -IUSE=""
85 -
86 -DEPEND="
87 - dev-python/setuptools[${PYTHON_USEDEP}]
88 - "
89 -RDEPEND=""
90 -
91 -python_test() {
92 - ${EPYTHON} setup.py test || die
93 -}