mirror of
https://github.com/flatcar/scripts.git
synced 2026-03-27 00:01:55 +01:00
dev-python/setuptools-scm: Sync with Gentoo
It's from Gentoo commit 87c3ea92759f8f27fab328a2eb46554a1a4e20a1. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
0c46849ad6
commit
635b75df96
@ -1,6 +1,4 @@
|
||||
DIST setuptools_scm-8.3.1.tar.gz 78088 BLAKE2B 6cedb55fc16830d12a28fe5b662c371b134bc4d7ef0e6de446b71152e5d83a031cf763b0753042c96745e82bf9dc42fa7cfee05a9a7e7824a4cf659b0a401a51 SHA512 e924abf81c7ee466241c5d66c39b416c8b308f01df9e1498c55ad6ed9812fbf883d8bcafd6fdcdcb96c5ec42b868ae04088de1870ca09a650fa07eb3ea9901c8
|
||||
DIST setuptools_scm-9.2.0.tar.gz 201229 BLAKE2B b2633c1a4f5a8a4b0ff23bf9b866e9bcb5f5c7b3a5fff9159d207b7405f8e3d76efddf3dda6a3083efdbd83bd3ff9d3399ebd2bcbe87598a93d36494ac169753 SHA512 da76f5440d03cadc545d0ed4275476c2d5b42013a100ee3948e77a05fdb61087fe208785bbb460d96423da7f6849b5eab45914f0054b21fd1d0c36ce0eac1795
|
||||
DIST setuptools_scm-9.2.1.tar.gz 202821 BLAKE2B 5780ac8ad0e1c35b9a1d34ecfba6d7c8a0776153356d66371aa24700ba2b1849ee7097652d8566123fc975bd81fd69e7201e636dfa06bb3aa05b8d79ce0fabe8 SHA512 a50559e6d12474056a30dec8276c637302ce33e54f88ce508ef0a93158ed8b15d07e108dc907e3ad2e315444643639177ef049759003ef34d6cc1243d21e312e
|
||||
DIST setuptools_scm-9.2.1.tar.gz.provenance 9513 BLAKE2B d885e11b12bf8087fbf1f134c11f05210f5fc25a2b0b3e2084d7a48da07eeb62ee5b68df229eff2fd3c00856e56216d4e1c2c2220b4ae7c7870020723aa314b5 SHA512 2c0bb8ade54e92d304333e04cacdc40ecb35cad2a5f024a0b349dc2a295ea327fdb93cc24ba155e71cd308cfca404f7288c4e5f2dd1b6eab2daafed24669f676
|
||||
DIST setuptools_scm-10.0.1.tar.gz 54065 BLAKE2B 101089b650b73cb65588f084ad62713b55e786222a84ce48364c40489e348b0ec5cd744af74464db4764a6f580e29e30ada533583e0aae4f86ddf2b3836fffb3 SHA512 542cab6eed6153e0436911b35c0f5cac9d1e23218370e2e36e47507387e181346857ae15ba9a8e54cbc3f0335e58d0fa7ded13592e93e9d43d22cb427b4884ea
|
||||
DIST setuptools_scm-10.0.1.tar.gz.provenance 10019 BLAKE2B 5513038b1a39ed43cbff58cc492eccb42df96077fdf8c9820f9e5e177ec3bb646a04b6d4d1ed8bd4d109af9bbaf6048a0043262d2fe41b78ad487503756a33e5 SHA512 a7f6b4e606133d9c62d20c85250cf5b03232828cd52f19e082cf0f794013e23437bbf535bd461ff776d9741d33917a9a871609cd0ede45bac13be6ddef7ba9c9
|
||||
DIST setuptools_scm-9.2.2.tar.gz 203385 BLAKE2B 8577c4c6265ae851212be04b245b3da8b49d541174f5e675dea916c76b3cba5b5ab9f6264a97904e2d5ca02dee4e3f8eb88c9e8badbba2ed53bed531fe9f6b6c SHA512 757ca11a3d13601606b6914ea70e3d271d287f26ada976ec77334fc0f611208669585d2580994f1ddff830cd698a837d3e882dd5cdccdaf9f8eba34fdd8cb708
|
||||
DIST setuptools_scm-9.2.2.tar.gz.provenance 9705 BLAKE2B b710df7f8cbb324aa2927243ab0416869319813016d64f589b7a9f565576fff58c1aee18da4ea9bc3fb5a969cf74c1fcaa1332812bf88267ec9f2bf437876e53 SHA512 6ac563d0ab5f1afce28976eb030364a451508ec7d47b6e99668c37b8ba09e3b56500b104d62ad6047fad9f6be0b2b6ebea66b561041485b9d15b84c39fe92313
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
|
||||
@ -18,15 +18,17 @@ HOMEPAGE="
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~amd64 ~s390"
|
||||
|
||||
# there's an optional dep on rich for cute logs
|
||||
RDEPEND="
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-64[${PYTHON_USEDEP}]
|
||||
>=dev-python/vcs-versioning-1.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/vcs-versioning-1.0.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/build[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
@ -35,19 +37,23 @@ BDEPEND="
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-timeout )
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# the usual nondescript gpg-agent failure
|
||||
testing/test_git.py::test_git_getdate_signed_commit
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# Internet
|
||||
testing_scm/test_functions.py::test_dump_version_mypy
|
||||
testing_scm/test_integration.py::test_xmlsec_download_regression
|
||||
testing_scm/test_regressions.py::test_pip_download
|
||||
)
|
||||
|
||||
# fetching from the Internet
|
||||
testing/test_integration.py::test_xmlsec_download_regression
|
||||
testing/test_regressions.py::test_pip_download
|
||||
if ! has_version "dev-python/pip[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_DESELECT+=(
|
||||
testing_scm/test_integration.py::test_editable_install_without_env_var
|
||||
testing_scm/test_integration.py::test_editable_install_version_file
|
||||
)
|
||||
fi
|
||||
|
||||
# calls flake8, unpredictable
|
||||
testing/test_functions.py::test_dump_version_flake8
|
||||
|
||||
# incompatible with current mypy version
|
||||
testing/test_functions.py::test_dump_version_mypy
|
||||
)
|
||||
epytest
|
||||
}
|
||||
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=standalone
|
||||
PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Manage versions by scm tags via setuptools"
|
||||
HOMEPAGE="
|
||||
https://github.com/pypa/setuptools-scm/
|
||||
https://pypi.org/project/setuptools-scm/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
# there's an optional dep on rich for cute logs
|
||||
RDEPEND="
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-61[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/build[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# the usual nondescript gpg-agent failure
|
||||
testing/test_git.py::test_git_getdate_signed_commit
|
||||
|
||||
# fetching from the Internet
|
||||
testing/test_regressions.py::test_pip_download
|
||||
|
||||
# calls flake8, unpredictable
|
||||
testing/test_functions.py::test_dump_version_flake8
|
||||
)
|
||||
|
||||
if has_version dev-python/nose; then
|
||||
EPYTEST_DESELECT+=(
|
||||
# https://bugs.gentoo.org/892639
|
||||
testing/test_integration.py::test_pyproject_support
|
||||
)
|
||||
fi
|
||||
|
||||
epytest
|
||||
}
|
||||
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=standalone
|
||||
PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Manage versions by scm tags via setuptools"
|
||||
HOMEPAGE="
|
||||
https://github.com/pypa/setuptools-scm/
|
||||
https://pypi.org/project/setuptools-scm/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
# there's an optional dep on rich for cute logs
|
||||
RDEPEND="
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-64[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/build[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-timeout )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# the usual nondescript gpg-agent failure
|
||||
testing/test_git.py::test_git_getdate_signed_commit
|
||||
|
||||
# fetching from the Internet
|
||||
testing/test_integration.py::test_xmlsec_download_regression
|
||||
testing/test_regressions.py::test_pip_download
|
||||
|
||||
# calls flake8, unpredictable
|
||||
testing/test_functions.py::test_dump_version_flake8
|
||||
|
||||
# incompatible with current mypy version
|
||||
testing/test_functions.py::test_dump_version_mypy
|
||||
)
|
||||
Loading…
x
Reference in New Issue
Block a user