Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/inflect/
Date: Fri, 28 Feb 2020 15:37:19
Message-Id: 1582904220.0db1ac0e5a6e1900a2edb90f131a61b99d87b8d9.sbraz@gentoo
1 commit: 0db1ac0e5a6e1900a2edb90f131a61b99d87b8d9
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 28 14:35:49 2020 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 28 15:37:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0db1ac0e
7
8 dev-python/inflect: bump to 4.1.0
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
12
13 dev-python/inflect/Manifest | 1 +
14 dev-python/inflect/inflect-4.1.0.ebuild | 39 +++++++++++++++++++++++++++++++++
15 2 files changed, 40 insertions(+)
16
17 diff --git a/dev-python/inflect/Manifest b/dev-python/inflect/Manifest
18 index eba690cbdce..c77e757b200 100644
19 --- a/dev-python/inflect/Manifest
20 +++ b/dev-python/inflect/Manifest
21 @@ -1,3 +1,4 @@
22 DIST inflect-0.2.5.tar.gz 109756 BLAKE2B ecb64b0fea04602f112dfba11ade6828eae7a7f3f44d4c4fb15c2300ac18025ea4c51f9c36aae5e7e92bd09e24d08091ce096b888a520fd2d4c40374356333d5 SHA512 68371158ac90d9662c19657cbf697f44ee9ceac090286d53e29ee04252efbb7d0bfbd99ae6847e6eec1991ef4ef670eff60693d1f0a301885bab2a09c7ce4616
23 DIST inflect-3.0.2.tar.gz 71546 BLAKE2B 951eb818ba1645a9e426468811ad449378aa5a7341575ac2aff5e9d1e06237fe8e96fa64cd678665cd6c05e1dc5e477a65b261b9d8bd170be4fb923d5fb90e9c SHA512 5858548e947f742b91630fc584f568a2221057ada7cd4a55f39de1b52a82c97884d6a78c2f32e5995e354fd1c4eae4d5b3d30491ef57dd5187fd6baca93d2779
24 DIST inflect-4.0.0.tar.gz 71091 BLAKE2B 597db3d84cce1660ea92b84af5d07d77f537b2d738caedbe132ed9cb074a3c80c2f9e1cab321f0e231b2a29803f3b25206f27b78672c4917873007f3a56f1a8a SHA512 7d9ef9389b9301e596165fcb1774467ddeb421636094a0f0cebbcaa11558b4529ccb90644e1097f91cff3316911c98f4bb1df92180193a5313ca7da91a282e5c
25 +DIST inflect-4.1.0.tar.gz 72200 BLAKE2B c15f6b0d5d93050283dfc4d691e9fdbc26bb2f71573d6b397834e87af62f3afb8f5cdb0448c531de37e84729c0c6ae0cf4ea7a7b081a9dd784f7c06b962d7def SHA512 9a2ba4777f01475390976f3ac28f046d39d1f86cfdafd161cc7c8d33526aca35d44e6598ccf2a0b68d3511a64b67ed0991b51c78bda8f279cd706fd29a3fa514
26
27 diff --git a/dev-python/inflect/inflect-4.1.0.ebuild b/dev-python/inflect/inflect-4.1.0.ebuild
28 new file mode 100644
29 index 00000000000..6c7a9a01eb8
30 --- /dev/null
31 +++ b/dev-python/inflect/inflect-4.1.0.ebuild
32 @@ -0,0 +1,39 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
39 +# [options.entry_points] is present in setup.cfg but it is empty
40 +DISTUTILS_USE_SETUPTOOLS=manual
41 +
42 +inherit distutils-r1
43 +
44 +DESCRIPTION="Correctly inflect words and numbers"
45 +HOMEPAGE="https://github.com/jazzband/inflect"
46 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
51 +IUSE="test"
52 +RESTRICT="!test? ( test )"
53 +
54 +RDEPEND="
55 + $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' pypy3 python3_{6,7})
56 +"
57 +BDEPEND="
58 + dev-python/setuptools[${PYTHON_USEDEP}]
59 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
60 + dev-python/toml[${PYTHON_USEDEP}]
61 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )
62 +"
63 +
64 +distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-3.2' \
65 + '>=dev-python/rst-linker-1.9' dev-python/alabaster
66 +
67 +python_test() {
68 + # Override pytest options to skip flake8
69 + pytest -vv tests --override-ini="addopts=--doctest-modules" \
70 + || die "tests failed with ${EPYTHON}"
71 +}