mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/dulwich: Bump to 0.24.6
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -2,6 +2,8 @@ DIST autocfg-1.5.0.crate 18729 BLAKE2B 27580e39b366c6fca02c9db09997b6415c409f120
|
||||
DIST dulwich-0.23.2.tar.gz 704361 BLAKE2B 2ba377c86a96069efa93f0e227297ba679bf04b346fe799f7b36a54bb38b51b9178c407d373a5f3e4adc4188d268ac3705a16ef98e84758cc3b8c2eaff1f5ecd SHA512 b3da400f7b89b0afd1ad14623a2a8765f2c36131f2b401ed2267637d961a65e9be32c6bb56c555d7c649d8d828088a83b433a66669b48e2a295b782fffcf9c22
|
||||
DIST dulwich-0.24.5.tar.gz 913018 BLAKE2B 68c111fb5e08c57ad6a5829f48ba9c83400d7d71d952e3a400a8350410ef838886dc0fca78100fb7f32db3a89e9dfbad96b3c22012d4386fd0e827f0c5e89a68 SHA512 450aba2f77108f1221159bb5e41289f3eebb5750295047b07df2adc9295bba07766b628ac0b28c24082eb4f5d4bdf123bf5ddb89f7ae1f1374df4bb52f945659
|
||||
DIST dulwich-0.24.5.tar.gz.provenance 9673 BLAKE2B 5660ee4813676825980a103cbf4d6f342eab3d60a831a4d40005247f0f3d0dd4f28e571ecafe172963a5a531306ea4bf875b1ae77c620bd022bb8cc16b636408 SHA512 e32ca85ef1bcbd92ff9f0cb8e3e5d8b4796d20b50f2bac046099740a236f73782ec5af7d1fe9a7488054bc6c6636d4fb2ba846a101f6cd5d34b9f46301584e69
|
||||
DIST dulwich-0.24.6.tar.gz 946625 BLAKE2B 76522ea32796b8db0fc1873f7ad555de79b11d63420459cefe43ccb67ab4fa81587a8b00b38c2f0df2b9c34cb5d439f1b53ea2430ca8e7174fea168e14a506ba SHA512 90eaad4ae75b7f6bfd41bdbbd4c6907eea0b0426003d8d3a0d37959c7b7bf518ef49e74bd82fcee19109d7e134868ac77a175b769be323ccdc07a24382cdb3d7
|
||||
DIST dulwich-0.24.6.tar.gz.provenance 9391 BLAKE2B 9168157d0059a622c603d46d0768379ceb709e580789ce5c83e73d8596a7174138f5efcb32da01288211225f3310088d88a8456b2a628cbc0f67df02141a8f50 SHA512 4d9a5cd1d2f07e21cb298d8d9adc461c4ffe7ba1057f70c5ff1894e99ee986b0923e95560dc532080741f4991d6efa30579edf5b5664b7045e48afd97e5427b9
|
||||
DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76
|
||||
DIST indoc-2.0.6.crate 17164 BLAKE2B 1a6cff95bc12ea885ef36b935bf4f1c7870d65be0ff31ffc67dcab904fa80215c1254c1803c5d0c5686252addfad3512e9e1ec79d3edcba026a879f4706926d1 SHA512 e2ea2e5c8226c802bbe0631c1a99d2edd088cbafbf978b2a7b71c7c7f47754c6d4653f466e286441b61cc46def1c7f7a02d4785caab93a61dd785211dba7d1a9
|
||||
DIST libc-0.2.174.crate 779933 BLAKE2B 20ffcbbcad6961e732521940f0595039dc0576d85b2d3b2ad3f1decd37571132a4cd7505b2e108078a4379fc4cec46290b5633bcbcc6e7009c3b474c1a852628 SHA512 243f2ffd5741ef859e4dc5b7ee0396071943b1d10429efcaecb322957e256c4be88a7a649029dfd47e6456acc73ee257893fb6c4e8b4d0fe66a12bc5d1c13c73
|
||||
@@ -27,6 +29,7 @@ DIST quote-1.0.40.crate 31063 BLAKE2B 09036ff3e5ebbd775c466bb936de91d4c070481eb4
|
||||
DIST quote-1.0.41.crate 31408 BLAKE2B 9d496e0878fc329ac9492ecbd470e762bd807ec8ca4e17a856b4d1c776351434778f519977137a67b8c143ee60b20774c09768d480cff51b22f2cfcb364a20d9 SHA512 64374d70eb29f7d7e02e535ba383586d93f68a9b6464c79840fa6c42a1ac47be7ba14e415a40e158f845e486ed33d5c564c882913780d296360b30a56301ff7e
|
||||
DIST syn-2.0.104.crate 299699 BLAKE2B f64d2267abe9140456dd31d52ada0c75bfa3e4e0112ca77491245e9e84a0530f6c7cdc7428b73cf567a65ef6e7727f814fb9cb34db0ecc9cc3afd05b69fd36f7 SHA512 da532fa362266161b5604c821c913f8f990eb32c18e18c0a360b7147b9f71ae008e208f377cb203e85818bd5db926951122a971fa97563a10678f0ba4671e64f
|
||||
DIST syn-2.0.106.crate 301514 BLAKE2B 6b28b30ee067c23dc4bd1b38365d14c1700245c974e785173965b0822301966d642b36bdda25210d61f17a99fc71eb81e29a56c89d1649773908bae32778fb1f SHA512 e07e1058770fa3f1039eaf335340cefb597c0dd11bb90fec9fa777ca5815d0e0bb1711bb4db52cac77e205dd68fbe2bce0e1aa9895c2a52a1ea6d7758d13424c
|
||||
DIST syn-2.0.107.crate 301716 BLAKE2B 76ae71e40724b7ab0912df8c5d9ff571a21b6da1ed8f849395ca8565535c245894bbb1927952fa2c81891ce08d5e19336138f80c6374ca4a46c8bc8ed1ff53c7 SHA512 6c65589ad86a01307defcbfcb62d95b342135ad22636b899195784e56d476fe5eb5c7f2b54f827166e573f0a4af0ca834f4a107700417fd68edce7e423467f4a
|
||||
DIST target-lexicon-0.13.2.crate 27923 BLAKE2B 0761f0ffdc23b9c9df86b384d59611c7b8b5e29ff068f03367ad2fe84cfb6d11e1af149b9338236978e9566fedc51387db9f239d2a602db41045ac3db907faec SHA512 d25e3cc3d679cb6b6f24c03e0c24db9d6ca31b8ed42ac9531bd7637557fbba225a6c8ac4f68a8eaf3569195814d599e668a968afbc73b940a77cbc27552cc90a
|
||||
DIST target-lexicon-0.13.3.crate 28498 BLAKE2B 397315667737abde41949081f8377f704c3a1105790162249a9f0c08b60f012e67d66550e9063d900ac98f5191d13c5ed23d1a8045f99373e7a673a3cfc029e7 SHA512 23422df6edb2a8cb0a9f048864faf76ccb27d6e97fbed7b208b77206941b196f155896a0381150e387142e976439a0a296dcf4cbb4df6bc0e11c65f97f979443
|
||||
DIST unicode-ident-1.0.18.crate 47743 BLAKE2B 517ab42a847020515b2b871844d0571ea672340f89a762631a791eac18935ac122122fa5566e58b99ab47de179eadb5298e8ff1d05b123c4e93b7fa989c8e31f SHA512 d11f89fb696f9e2953c96a40b5478832651b268c83b9c7a700b07e768e795d6e8dc346597d1226df21219d36866768d1f640bd8edb68db8bd3d5d437b2bfd324
|
||||
|
||||
122
dev-python/dulwich/dulwich-0.24.6.ebuild
Normal file
122
dev-python/dulwich/dulwich-0.24.6.ebuild
Normal file
@@ -0,0 +1,122 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CARGO_OPTIONAL=1
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_VERIFY_REPO=https://github.com/jelmer/dulwich
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
CRATES="
|
||||
autocfg@1.5.0
|
||||
heck@0.5.0
|
||||
indoc@2.0.6
|
||||
libc@0.2.177
|
||||
memchr@2.7.6
|
||||
memoffset@0.9.1
|
||||
once_cell@1.21.3
|
||||
portable-atomic@1.11.1
|
||||
proc-macro2@1.0.101
|
||||
pyo3-build-config@0.26.0
|
||||
pyo3-ffi@0.26.0
|
||||
pyo3-macros-backend@0.26.0
|
||||
pyo3-macros@0.26.0
|
||||
pyo3@0.26.0
|
||||
quote@1.0.41
|
||||
syn@2.0.107
|
||||
target-lexicon@0.13.3
|
||||
unicode-ident@1.0.19
|
||||
unindent@0.2.4
|
||||
"
|
||||
|
||||
inherit cargo distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Pure-Python implementation of the Git file formats and protocols"
|
||||
HOMEPAGE="
|
||||
https://github.com/jelmer/dulwich/
|
||||
https://pypi.org/project/dulwich/
|
||||
"
|
||||
SRC_URI+="
|
||||
native-extensions? (
|
||||
${CARGO_CRATE_URIS}
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="GPL-2+ Apache-2.0"
|
||||
LICENSE+=" native-extensions? ("
|
||||
# Dependent crate licenses
|
||||
LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0"
|
||||
LICENSE+=" )"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="doc examples +native-extensions test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/urllib3-2.2.2[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}]
|
||||
' 3.11)
|
||||
"
|
||||
BDEPEND="
|
||||
native-extensions? (
|
||||
${RUST_DEPEND}
|
||||
dev-python/setuptools-rust[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/fastimport[${PYTHON_USEDEP}]
|
||||
dev-python/gpgmepy[${PYTHON_USEDEP}]
|
||||
dev-python/merge3[${PYTHON_USEDEP}]
|
||||
dev-python/paramiko[${PYTHON_USEDEP},server(+)]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
|
||||
QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/dulwich/_.*.so"
|
||||
|
||||
pkg_setup() {
|
||||
# avoid rust_pkg_setup which will die when there's no Rust found
|
||||
if use native-extensions ; then
|
||||
rust_pkg_setup # implicitly inherited through cargo
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
pypi_src_unpack
|
||||
cargo_src_unpack
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
# make extension build errors fatal
|
||||
local -x CIBUILDWHEEL=1
|
||||
unset PURE
|
||||
if ! use native-extensions; then
|
||||
local -x PURE=1
|
||||
fi
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# remove interference from the tests that do stuff like user.name
|
||||
unset GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE
|
||||
unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_COMMITTER_DATE
|
||||
unset EMAIL
|
||||
# Do not use make check which rebuilds the extension and uses -Werror,
|
||||
# causing unexpected failures.
|
||||
"${EPYTHON}" -m unittest -v tests.test_suite ||
|
||||
die "tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
docompress -x "/usr/share/doc/${PF}/examples"
|
||||
dodoc -r examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
Reference in New Issue
Block a user