mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 09:26:58 +02:00
dev-python/trove-classifiers: Sync with Gentoo
It's from Gentoo commit ef637b7554d4a840103e588f3625ad5efb030c44.
This commit is contained in:
parent
3efe9eb277
commit
e4c719038a
@ -1,3 +1 @@
|
|||||||
DIST trove_classifiers-2025.4.11.15.tar.gz 16321 BLAKE2B b011b524d267506aef4d91ac6d365e08e419fb57b424259b080de8cb7205cd8c4c6df52e29532b9dc19ca36f41b0793ac25a8824e9d2328735357efa369b2157 SHA512 5eb5d892a751105319c003e4a370d2f69b614a1f2bea8904865b7da9f4d2648ffe57fba1cebc1ec21dab74d02b3223eb72af478ddd69635e45b0424621cefa9a
|
DIST trove_classifiers-2025.5.9.12.tar.gz 16940 BLAKE2B f6143f341d280eca611269c1a04b7f795d8f8733e97518d81d5872b8e1e13f745f7428737993a5c50285de24f56f899737d05fe073c683ddd69765b6081a6ebe SHA512 ee858f52c08b867fe4845ebb19f9b431308d216b5313e2bc030d63340860205d40125ef6cee218f734ccd49e5ae36011c8e3415f03d0ace182cb518ed5f2318d
|
||||||
DIST trove_classifiers-2025.4.28.22.tar.gz 16883 BLAKE2B 9598b19874f7deaeb15333a7f97cb91a7d82fe34d26d6d4e526bf857ed777539cad89949628196f2bbff187511fc5bca2327aeaacec4052611c5f2d82c4bb8a8 SHA512 4863ff031d9c83177099b5c1e04e2a22396055209b88e60dd44e22a8357889f27572444e0a1fbef65b7b37919cb9d7f8cb548b7007fd878d8fe92c9cd39b864e
|
|
||||||
DIST trove_classifiers-2025.5.1.12.tar.gz 16876 BLAKE2B 27ae91479d2a811978b3f1447568f5849341a7fda5c825ebf0dd0502d85f206d63f4687463708031637da4313d0182abc05b6b710a6f32fd714167ac766a587d SHA512 af3c0ee51e7ce3e7ec0eb1fd901ac3d0c02f6c0ba1c77d3ba66e0770bf5300144f636dcbf608f046a21789cfc780f651be222b7d23f359a672fde0210af966b5
|
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
# Copyright 2022-2025 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=flit
|
|
||||||
PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} python3_13t )
|
|
||||||
|
|
||||||
inherit distutils-r1 pypi
|
|
||||||
|
|
||||||
DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://github.com/pypa/trove-classifiers/
|
|
||||||
https://pypi.org/project/trove-classifiers/
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
grep -q 'build-backend = "setuptools' pyproject.toml ||
|
|
||||||
die "Upstream changed build-backend, recheck"
|
|
||||||
# write a custom pyproject.toml to ease hatchling bootstrap
|
|
||||||
cat > pyproject.toml <<-EOF || die
|
|
||||||
[build-system]
|
|
||||||
requires = ["flit_core >=3.2,<4"]
|
|
||||||
build-backend = "flit_core.buildapi"
|
|
||||||
|
|
||||||
[project]
|
|
||||||
name = "trove-classifiers"
|
|
||||||
version = "${PV}"
|
|
||||||
description = "Canonical source for classifiers on PyPI (pypi.org)."
|
|
||||||
|
|
||||||
[project.scripts]
|
|
||||||
trove-classifiers = "trove_classifiers.__main__:cli"
|
|
||||||
EOF
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
epytest
|
|
||||||
"${EPYTHON}" -m tests.lib || die
|
|
||||||
}
|
|
@ -1,45 +0,0 @@
|
|||||||
# Copyright 2022-2025 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=flit
|
|
||||||
PYTHON_COMPAT=( pypy3_11 python3_{11..13} python3_13t )
|
|
||||||
|
|
||||||
inherit distutils-r1 pypi
|
|
||||||
|
|
||||||
DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://github.com/pypa/trove-classifiers/
|
|
||||||
https://pypi.org/project/trove-classifiers/
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
grep -q 'build-backend = "setuptools' pyproject.toml ||
|
|
||||||
die "Upstream changed build-backend, recheck"
|
|
||||||
# write a custom pyproject.toml to ease hatchling bootstrap
|
|
||||||
cat > pyproject.toml <<-EOF || die
|
|
||||||
[build-system]
|
|
||||||
requires = ["flit_core >=3.2,<4"]
|
|
||||||
build-backend = "flit_core.buildapi"
|
|
||||||
|
|
||||||
[project]
|
|
||||||
name = "trove-classifiers"
|
|
||||||
version = "${PV}"
|
|
||||||
description = "Canonical source for classifiers on PyPI (pypi.org)."
|
|
||||||
|
|
||||||
[project.scripts]
|
|
||||||
trove-classifiers = "trove_classifiers.__main__:cli"
|
|
||||||
EOF
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
epytest
|
|
||||||
"${EPYTHON}" -m tests.lib || die
|
|
||||||
}
|
|
@ -4,7 +4,7 @@
|
|||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=flit
|
DISTUTILS_USE_PEP517=flit
|
||||||
PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} python3_13t )
|
PYTHON_COMPAT=( pypy3_11 python3_{11..14} python3_{13,14}t )
|
||||||
|
|
||||||
inherit distutils-r1 pypi
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
@ -33,6 +33,9 @@ src_configure() {
|
|||||||
name = "trove-classifiers"
|
name = "trove-classifiers"
|
||||||
version = "${PV}"
|
version = "${PV}"
|
||||||
description = "Canonical source for classifiers on PyPI (pypi.org)."
|
description = "Canonical source for classifiers on PyPI (pypi.org)."
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
trove-classifiers = "trove_classifiers.__main__:cli"
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user