mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 22:51:03 +02:00
dev-python/trove-classifiers: Sync with Gentoo
It's from Gentoo commit 28f33ae77f9336e58f2387ee08615311494311c3.
This commit is contained in:
parent
ec9630ffb8
commit
c874458d36
@ -1,2 +1 @@
|
|||||||
DIST trove_classifiers-2025.3.19.19.tar.gz 16280 BLAKE2B be2679f7ea31e9cafa1e161e6b5932a1ba05f84c3ad2e74ca8a1711c75ddb99016e82b72e1fbdd0193fb2c59c96af53edb5a01747c580893adec5b865b211cc9 SHA512 2e531939642f0436650cbd12b8d40faa2a32211575c39a23508194ea65c2d0b01ade63fe2c59d6098e6e92f2a6648ded3b55a3d359ff5d5b056722f1af9291cc
|
|
||||||
DIST trove_classifiers-2025.4.11.15.tar.gz 16321 BLAKE2B b011b524d267506aef4d91ac6d365e08e419fb57b424259b080de8cb7205cd8c4c6df52e29532b9dc19ca36f41b0793ac25a8824e9d2328735357efa369b2157 SHA512 5eb5d892a751105319c003e4a370d2f69b614a1f2bea8904865b7da9f4d2648ffe57fba1cebc1ec21dab74d02b3223eb72af478ddd69635e45b0424621cefa9a
|
DIST trove_classifiers-2025.4.11.15.tar.gz 16321 BLAKE2B b011b524d267506aef4d91ac6d365e08e419fb57b424259b080de8cb7205cd8c4c6df52e29532b9dc19ca36f41b0793ac25a8824e9d2328735357efa369b2157 SHA512 5eb5d892a751105319c003e4a370d2f69b614a1f2bea8904865b7da9f4d2648ffe57fba1cebc1ec21dab74d02b3223eb72af478ddd69635e45b0424621cefa9a
|
||||||
|
@ -1,42 +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)."
|
|
||||||
EOF
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
epytest
|
|
||||||
"${EPYTHON}" -m tests.lib || die
|
|
||||||
}
|
|
@ -16,7 +16,7 @@ HOMEPAGE="
|
|||||||
|
|
||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
SLOT="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"
|
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
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user