1 |
commit: cce769c5b0c327d98084cc88705f0a0a0c1d0761 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 29 06:56:14 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 29 07:18:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cce769c5 |
7 |
|
8 |
dev-python/Babel: Bump to 2.9.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/Babel/Babel-2.9.1.ebuild | 36 ++++++++++++++++++++++++++++++++++++ |
13 |
dev-python/Babel/Manifest | 1 + |
14 |
2 files changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/Babel/Babel-2.9.1.ebuild b/dev-python/Babel/Babel-2.9.1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..af4199f8493 |
19 |
--- /dev/null |
20 |
+++ b/dev-python/Babel/Babel-2.9.1.ebuild |
21 |
@@ -0,0 +1,36 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+PYTHON_COMPAT=( pypy3 python3_{7..9} ) |
28 |
+PYTHON_REQ_USE="threads(+)" |
29 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
30 |
+ |
31 |
+inherit distutils-r1 |
32 |
+ |
33 |
+DESCRIPTION="Collection of tools for internationalizing Python applications" |
34 |
+HOMEPAGE="https://babel.pocoo.org/ https://pypi.org/project/Babel/" |
35 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="BSD" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
40 |
+ |
41 |
+RDEPEND="dev-python/pytz[${PYTHON_USEDEP}] |
42 |
+ $(python_gen_cond_dep ' |
43 |
+ dev-python/backports-zoneinfo[${PYTHON_USEDEP}] |
44 |
+ ' python3_{7..8} pypy3)" |
45 |
+BDEPEND="test? ( dev-python/freezegun[${PYTHON_USEDEP}] )" |
46 |
+ |
47 |
+distutils_enable_sphinx docs |
48 |
+distutils_enable_tests pytest |
49 |
+ |
50 |
+python_test() { |
51 |
+ local -x TZ=UTC |
52 |
+ local deselect=() |
53 |
+ [[ ${EPYTHON} == pypy3 ]] && deselect+=( |
54 |
+ tests/messages/test_extract.py::ExtractPythonTestCase::test_extract_strip_comment_tags |
55 |
+ ) |
56 |
+ epytest ${deselect[@]/#/--deselect } |
57 |
+} |
58 |
|
59 |
diff --git a/dev-python/Babel/Manifest b/dev-python/Babel/Manifest |
60 |
index 3615a35606f..7fe56472581 100644 |
61 |
--- a/dev-python/Babel/Manifest |
62 |
+++ b/dev-python/Babel/Manifest |
63 |
@@ -1,2 +1,3 @@ |
64 |
DIST Babel-2.8.1.tar.gz 8471453 BLAKE2B bc2e66a3c1c77e5b190cdb3f53d149268b6f49adde3040cbe6a3dd8eb98f6caffb3988232e76083e606186a87b9ee6b2b5352de89b7bc43d4f72905f1f594127 SHA512 ed39ad01b873d40d0bc611739761d412ff442b2df3d4c2363ec24501547da678cb752f640a02470c8513073a76c468c27fc16248820c779ef7adbe14d0f07199 |
65 |
DIST Babel-2.9.0.tar.gz 8682986 BLAKE2B 0e1e8fe647fdd27230ee9c97f0994772bd5877f262f9cd00eb450445c5780b278249f87d50f98c5ca3fa5eca287c6b4fc74c5e082c522c250d640912f0ebc581 SHA512 250d1a19741eb0d1bda9d6b862f2d4779b6c67f10b8e045f450a271a16587e30f26f35ccccfea8ca13bb519582d2ef83569fa4381d0590fb9b61bf3ebf67e5f6 |
66 |
+DIST Babel-2.9.1.tar.gz 8683505 BLAKE2B e4c6fe7284f03cd9e3e712156d87a520a437316955679f765aa68ca941bf668c544c96598486f3dad1bbb1f1d9a0719ccd527f23a2b1fb0274e453bdba557bd7 SHA512 89a2ce18301b522907bb66ec5453cbcd4c6b2d494d6928c9c62dc07bd8b6983982db571a85e251a1ea413b6f76fbd515f65c67c9bccf5441c62d351a57f2f4d0 |