mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/babel: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST babel-2.16.0.tar.gz 9348104 BLAKE2B e8b674312140dca805b3faf4531493d613b663d4a04aa42a86438d49dd547b598eec9e3c3ca79d715d1c1589f7d416073fcf7e58df468e7c449fa05c70e7b776 SHA512 c80b52cd38eb2fb34b1d19ef3b6c50c16b129a4137d42eba900e3f77e81a5ad03ca319aa37dbdfd3bb7cbe31adbfa6007413962c348912dc9dca09d55fa4438b
|
||||
DIST babel-2.17.0.tar.gz 9951852 BLAKE2B 619cf4163c99bbfc5bbadf2e2ccfca277752f4b5ac97fd5b9fcaf29a11493e625f07bf9a3c4e060eefb2308921597f0556fcce8d688c6aefee29b29f1003e1dd SHA512 978ca79e9ce95ecfcfc8e3c6fe1b9b273088cc166490e64edd59c71f6793472d987ea982a67e8cf9d840b8e25f602639ad45e3a35c1482d39cbf09e0c21071ae
|
||||
DIST cldr-common-45.0.zip 31812363 BLAKE2B 031d08f2db4a6c75585488faf43196a912e348edc9ff582e9c507c8f1c8ae2cf7c86aaa8265a8fa60540c2b3f4844d0aa01dad516344195bd4d40926d65a48fc SHA512 638123882bd29911fc9492ec152926572fec48eb6c1f5dd706aee3e59cad8be4963a334bb7a09a645dbedc3356f60ef7ac2ef7ab4ccf2c8926b547782175603c
|
||||
DIST cldr-common-46.0.zip 34181233 BLAKE2B c54942576dc779ef07d62b791f67a9ca71f3ae4f6833cd3ce44b54ad94ec4a7e3b114f0d611fddf1f7238582180a1e701886f047c76d28070d1f2cfa74020d9d SHA512 316d644b79a4976d4da57d59ca57c689b339908fe61bb49110bfe1a9269c94144cb27322a0ea080398e6dc4c54a16752fd1ca837e14c054b3a6806b1ef9d3ec3
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..13} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
# see scripts/download_import_cldr.py
|
||||
CLDR_PV=45.0
|
||||
DESCRIPTION="Collection of tools for internationalizing Python applications"
|
||||
HOMEPAGE="
|
||||
https://babel.pocoo.org/
|
||||
https://pypi.org/project/babel/
|
||||
https://github.com/python-babel/babel/
|
||||
"
|
||||
SRC_URI+="
|
||||
https://unicode.org/Public/cldr/${CLDR_PV%.*}/cldr-common-${CLDR_PV}.zip
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
|
||||
|
||||
# RDEPEND in BDEPEND for import_cldr.py usage, bug #852158
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
rm babel/locale-data/*.dat || die
|
||||
rm babel/global.dat || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_configure() {
|
||||
if [[ ! -f babel/global.dat ]]; then
|
||||
"${EPYTHON}" scripts/import_cldr.py "${WORKDIR}"/common || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x TZ=UTC
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user