dev-python/fluent-runtime: new package, add 0.4.0
Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
1 parent
ac261bced0
commit
c0467011f5
3 files changed
+48
No files matched your search
@@ -0,0 +1 @@
|
||||
DIST fluent.runtime-0.4.0.tar.gz 17591 BLAKE2B 10a867111d304347bd1aff52161e2116cae6e17be87abca3d9bb07f2634e788b73f5cef5aa35bf5de5c0025383553fa9926003d216a6f1feb6f5d59fa54bc33c SHA512 b2e8080117f638d5391eba8dfb103ffaf3bc5b9282dd3957a0e524dd0a0ff33c6ddf22568d93e9b589d47080dc8fda7eb8b4829876726bfd3a2fe69116fcdf3a
|
||||
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYPI_PN="fluent.runtime"
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Localization library for expressive translations"
|
||||
HOMEPAGE="https://github.com/projectfluent/python-fluent"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
# The PyPI sdist ships an incomplete test suite: tests/ has no __init__.py or
|
||||
# utils.py, so the relative imports fail. The full suite runs only from the
|
||||
# upstream git checkout.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/fluent-syntax-0.17[${PYTHON_USEDEP}]
|
||||
<dev-python/fluent-syntax-0.20[${PYTHON_USEDEP}]
|
||||
dev-python/attrs[${PYTHON_USEDEP}]
|
||||
dev-python/babel[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Silence the setuptools deprecation warnings (License classifier,
|
||||
# test_suite, bdist_wheel.universal) that trip the QA setuptools gate.
|
||||
sed -i -e "/License :: OSI Approved/d" -e "/test_suite=/d" setup.py || die
|
||||
sed -i -e "/^\[bdist_wheel\]/d" -e "/^universal = 1/d" setup.cfg || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">projectfluent/python-fluent</remote-id>
|
||||
<remote-id type="pypi">fluent.runtime</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in new issue
Block a user