diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-04-29 08:56:14 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-04-29 09:18:18 +0200 |
commit | cce769c5b0c327d98084cc88705f0a0a0c1d0761 (patch) | |
tree | 143974d77433d273e59f093606d70a1c74179250 /dev-python/Babel | |
parent | dev-python/pandas: Remove old (diff) | |
download | gentoo-cce769c5b0c327d98084cc88705f0a0a0c1d0761.tar.gz gentoo-cce769c5b0c327d98084cc88705f0a0a0c1d0761.tar.bz2 gentoo-cce769c5b0c327d98084cc88705f0a0a0c1d0761.zip |
dev-python/Babel: Bump to 2.9.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/Babel')
-rw-r--r-- | dev-python/Babel/Babel-2.9.1.ebuild | 36 | ||||
-rw-r--r-- | dev-python/Babel/Manifest | 1 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/Babel/Babel-2.9.1.ebuild b/dev-python/Babel/Babel-2.9.1.ebuild new file mode 100644 index 000000000000..af4199f84933 --- /dev/null +++ b/dev-python/Babel/Babel-2.9.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{7..9} ) +PYTHON_REQ_USE="threads(+)" +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Collection of tools for internationalizing Python applications" +HOMEPAGE="https://babel.pocoo.org/ https://pypi.org/project/Babel/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND="dev-python/pytz[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/backports-zoneinfo[${PYTHON_USEDEP}] + ' python3_{7..8} pypy3)" +BDEPEND="test? ( dev-python/freezegun[${PYTHON_USEDEP}] )" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_test() { + local -x TZ=UTC + local deselect=() + [[ ${EPYTHON} == pypy3 ]] && deselect+=( + tests/messages/test_extract.py::ExtractPythonTestCase::test_extract_strip_comment_tags + ) + epytest ${deselect[@]/#/--deselect } +} diff --git a/dev-python/Babel/Manifest b/dev-python/Babel/Manifest index 3615a35606f0..7fe56472581e 100644 --- a/dev-python/Babel/Manifest +++ b/dev-python/Babel/Manifest @@ -1,2 +1,3 @@ DIST Babel-2.8.1.tar.gz 8471453 BLAKE2B bc2e66a3c1c77e5b190cdb3f53d149268b6f49adde3040cbe6a3dd8eb98f6caffb3988232e76083e606186a87b9ee6b2b5352de89b7bc43d4f72905f1f594127 SHA512 ed39ad01b873d40d0bc611739761d412ff442b2df3d4c2363ec24501547da678cb752f640a02470c8513073a76c468c27fc16248820c779ef7adbe14d0f07199 DIST Babel-2.9.0.tar.gz 8682986 BLAKE2B 0e1e8fe647fdd27230ee9c97f0994772bd5877f262f9cd00eb450445c5780b278249f87d50f98c5ca3fa5eca287c6b4fc74c5e082c522c250d640912f0ebc581 SHA512 250d1a19741eb0d1bda9d6b862f2d4779b6c67f10b8e045f450a271a16587e30f26f35ccccfea8ca13bb519582d2ef83569fa4381d0590fb9b61bf3ebf67e5f6 +DIST Babel-2.9.1.tar.gz 8683505 BLAKE2B e4c6fe7284f03cd9e3e712156d87a520a437316955679f765aa68ca941bf668c544c96598486f3dad1bbb1f1d9a0719ccd527f23a2b1fb0274e453bdba557bd7 SHA512 89a2ce18301b522907bb66ec5453cbcd4c6b2d494d6928c9c62dc07bd8b6983982db571a85e251a1ea413b6f76fbd515f65c67c9bccf5441c62d351a57f2f4d0 |