mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 17:06:58 +02:00
dev-python/setuptools-scm: Sync with Gentoo
It's from Gentoo commit c3d272bdcc38ef6d9e4bbc854f8fe7df0ce0776e.
This commit is contained in:
parent
baf188e8ed
commit
01c95e4b35
@ -1,3 +1 @@
|
|||||||
DIST setuptools_scm-8.2.1.tar.gz 78075 BLAKE2B e026c02cd172b6a7cbcea93c2ceeeaaff9912722063523b1f12039b7d9c147a9b5d1267e907867e27d8c8deb14e9d32e4c48cdf5683ec796a0c1fc01dabf1843 SHA512 4afa1bba1a9e3791be5b2cda945ee9c6a0d3b085a528ec9d74ca4e3649522d947594aade9e146164df3548a853aed96c62a14c617d38b50a7797f8e1f53f7ab1
|
|
||||||
DIST setuptools_scm-8.3.0.tar.gz 78025 BLAKE2B e500924090316b94a0c3c67794eba1d0ebbe65ffa2ba0a37636fc9c3f82e66ad36e50e5ec09a44b17631285ee17fa473a3c2e408b60144efc3ef8a9f9ba3473d SHA512 11c401b6075b1da5cbf0108a1d6464f885b0086960643cc7dd4750f20879a6cc9af947ecb80bb5f4e3aaa4e2b6c98301d6207cd466e49b7bcdf55fe995299783
|
|
||||||
DIST setuptools_scm-8.3.1.tar.gz 78088 BLAKE2B 6cedb55fc16830d12a28fe5b662c371b134bc4d7ef0e6de446b71152e5d83a031cf763b0753042c96745e82bf9dc42fa7cfee05a9a7e7824a4cf659b0a401a51 SHA512 e924abf81c7ee466241c5d66c39b416c8b308f01df9e1498c55ad6ed9812fbf883d8bcafd6fdcdcb96c5ec42b868ae04088de1870ca09a650fa07eb3ea9901c8
|
DIST setuptools_scm-8.3.1.tar.gz 78088 BLAKE2B 6cedb55fc16830d12a28fe5b662c371b134bc4d7ef0e6de446b71152e5d83a031cf763b0753042c96745e82bf9dc42fa7cfee05a9a7e7824a4cf659b0a401a51 SHA512 e924abf81c7ee466241c5d66c39b416c8b308f01df9e1498c55ad6ed9812fbf883d8bcafd6fdcdcb96c5ec42b868ae04088de1870ca09a650fa07eb3ea9901c8
|
||||||
|
@ -1,61 +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_{10..13} python3_13t pypy3 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 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-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}]
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/tomli-2.0.2[${PYTHON_USEDEP}]
|
|
||||||
' 3.10)
|
|
||||||
"
|
|
||||||
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,61 +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_{10..13} python3_13t pypy3 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 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-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}]
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/tomli-2.0.2[${PYTHON_USEDEP}]
|
|
||||||
' 3.10)
|
|
||||||
"
|
|
||||||
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
|
|
||||||
}
|
|
@ -5,7 +5,7 @@
|
|||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=standalone
|
DISTUTILS_USE_PEP517=standalone
|
||||||
PYTHON_COMPAT=( python3_{10..13} python3_13t pypy3 pypy3_11 )
|
PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 )
|
||||||
|
|
||||||
inherit distutils-r1 pypi
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
@ -17,15 +17,12 @@ HOMEPAGE="
|
|||||||
|
|
||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
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"
|
||||||
|
|
||||||
# there's an optional dep on rich for cute logs
|
# there's an optional dep on rich for cute logs
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
dev-python/packaging[${PYTHON_USEDEP}]
|
dev-python/packaging[${PYTHON_USEDEP}]
|
||||||
>=dev-python/setuptools-61[${PYTHON_USEDEP}]
|
>=dev-python/setuptools-61[${PYTHON_USEDEP}]
|
||||||
$(python_gen_cond_dep '
|
|
||||||
>=dev-python/tomli-2.0.2[${PYTHON_USEDEP}]
|
|
||||||
' 3.10)
|
|
||||||
"
|
"
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
Loading…
Reference in New Issue
Block a user