commit: 83dc3c87cc1e8d55866420c8a7c9581db48adf5a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 20 04:28:09 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct 20 04:52:49 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83dc3c87
dev-python/dulwich: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/dulwich/Manifest | 5 --
dev-python/dulwich/dulwich-0.24.1.ebuild | 119 ---------------------------
dev-python/dulwich/dulwich-0.24.2.ebuild | 123 ----------------------------
dev-python/dulwich/dulwich-0.24.3-r1.ebuild | 119 ---------------------------
dev-python/dulwich/dulwich-0.24.3.ebuild | 118 --------------------------
dev-python/dulwich/dulwich-0.24.4.ebuild | 121 ---------------------------
6 files changed, 605 deletions(-)
diff --git a/dev-python/dulwich/Manifest b/dev-python/dulwich/Manifest
index 6912993918b5..2ea7b03500db 100644
--- a/dev-python/dulwich/Manifest
+++ b/dev-python/dulwich/Manifest
@@ -1,10 +1,5 @@
DIST autocfg-1.5.0.crate 18729 BLAKE2B
27580e39b366c6fca02c9db09997b6415c409f12068f1249184268bf96fd85ba659e25ec730f99e10caf452f96c486f3d7442bf09c4552b5f39519b21d6f88cc
SHA512
f279856f234d39d369623576acf9546a1ca24d7fe449f36d4fb93ea75a7efaf2c4015b9616a69bbbed358c5e5882e16b045352f046aa4c049b3d13b1e8257b08
DIST dulwich-0.23.2.tar.gz 704361 BLAKE2B
2ba377c86a96069efa93f0e227297ba679bf04b346fe799f7b36a54bb38b51b9178c407d373a5f3e4adc4188d268ac3705a16ef98e84758cc3b8c2eaff1f5ecd
SHA512
b3da400f7b89b0afd1ad14623a2a8765f2c36131f2b401ed2267637d961a65e9be32c6bb56c555d7c649d8d828088a83b433a66669b48e2a295b782fffcf9c22
-DIST dulwich-0.24.1.tar.gz 806136 BLAKE2B
fc8f8534c8df24cdd3c2ec6b8ce0a8c85d68fbc12aba057d1853973ea7b4a2cc0637dafa8e7c4d369b08e2d2cf5e145d323af1f23ea2afd95195072e421b3963
SHA512
705096f4822fbf8530deed78bbf2c41bf9143b19432e93a428343d0faf1ae25f6865fa777c0f1c35c94f3e6bc8fd12ab1b6f6bdaa80694bde4926846ec4f1934
-DIST dulwich-0.24.2.tar.gz 883284 BLAKE2B
4ab3488c864c835b97a60d73bad69ec3fab9303770b8edfb672aa1a3f7ee2d7331e473a194fab0dc6c6cd5c7f8be39291e00a82ee2c97be0b787fb082f644db2
SHA512
baff0ecd16669c442f567f295ec4a459af47ee59c47f6f1cf79f0b619e9774d92504b9b0e6f0d1b64fb5a4038df9522251d2f34aada2d56c217ea401df22c22f
-DIST dulwich-0.24.3.tar.gz 911540 BLAKE2B
b315d4387573c6723ad3fac4e29d7af60c956f22923d1d3c24d700fb11f916ac5bfa56b3ae61d10a37a9a2e1f5262471b66da0ec33b00cddc6074e807cce28a4
SHA512
3662dd2024241695f21d6d146dbe37efe0143d0965c0f93bd5d334a46718744ab561799e1aeee6d7b75abd8de1579c6a4b958b99850ac946d22a9004ee0dd9be
-DIST dulwich-0.24.4.tar.gz 911727 BLAKE2B
6c9dd91a8fadd819180b57b42a0822487693e1d33b44600017d0d1cb07baf18b10d41a0f60d914c135df72b9bda5142a9b2782d1efdb3a1c0bba7b2fef8809db
SHA512
67477820d6b13eb93a645e4e390ae52d0fe5af1118620dbddb3e4bf86b797b6aed042b74d4a8418003bef6a6619230e7b3458d2496f21baca1399f1809a574cd
-DIST dulwich-0.24.4.tar.gz.provenance 9583 BLAKE2B
9ae12f5f0778f29349cce27d5de52e7ae0ad7c30fc5fcda2d80f21b86673c70ba8f1e497ea855126ddc8b3c1ea46d8ef4e4da1b9162a11eb3cc149cb79bb9634
SHA512
f8ffa810329897f926d92e9a8f20ea40dc44f9f8f1859fb123c1202909ebb311c6e715df7422570ed23342d153466d8e0006251a384dfc6f2f6e4b96399c3e7c
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 heck-0.5.0.crate 11517 BLAKE2B
5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835
SHA512
f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76
diff --git a/dev-python/dulwich/dulwich-0.24.1.ebuild
b/dev-python/dulwich/dulwich-0.24.1.ebuild
deleted file mode 100644
index 2aea185ab3a8..000000000000
--- a/dev-python/dulwich/dulwich-0.24.1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# 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
-PYTHON_COMPAT=( python3_{11..13} )
-
-CRATES="
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
-"
-
-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 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86
~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="doc examples +native-extensions test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-python/urllib3-1.25[${PYTHON_USEDEP}]
-"
-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/paramiko[${PYTHON_USEDEP},server(+)]
- )
-"
-
-distutils_enable_sphinx docs
-
-PATCHES=(
- "${FILESDIR}/${P}-test.patch"
-)
-
-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() {
- cargo_src_unpack
-}
-
-python_compile() {
- unset PURE
- # TODO: enable Rust extensions
- 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
-}
diff --git a/dev-python/dulwich/dulwich-0.24.2.ebuild
b/dev-python/dulwich/dulwich-0.24.2.ebuild
deleted file mode 100644
index ec8abb78a190..000000000000
--- a/dev-python/dulwich/dulwich-0.24.2.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# 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
-PYTHON_COMPAT=( python3_{11..14} )
-
-CRATES="
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
-"
-
-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 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86
~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
-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/paramiko[${PYTHON_USEDEP},server(+)]
- )
-"
-
-distutils_enable_sphinx docs
-
-QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/dulwich/_.*.so"
-
-PATCHES=(
- # https://github.com/jelmer/dulwich/pull/1906
- "${FILESDIR}/${P}-test-path.patch"
-)
-
-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() {
- cargo_src_unpack
-}
-
-python_compile() {
- unset PURE
- # TODO: enable Rust extensions
- 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
-}
diff --git a/dev-python/dulwich/dulwich-0.24.3-r1.ebuild
b/dev-python/dulwich/dulwich-0.24.3-r1.ebuild
deleted file mode 100644
index fff1f3a3f5b8..000000000000
--- a/dev-python/dulwich/dulwich-0.24.3-r1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# 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
-PYTHON_COMPAT=( python3_{11..14} )
-
-CRATES="
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
-"
-
-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 ~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() {
- cargo_src_unpack
-}
-
-python_compile() {
- unset PURE
- # TODO: enable Rust extensions
- 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
-}
diff --git a/dev-python/dulwich/dulwich-0.24.3.ebuild
b/dev-python/dulwich/dulwich-0.24.3.ebuild
deleted file mode 100644
index f5441727f654..000000000000
--- a/dev-python/dulwich/dulwich-0.24.3.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# 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
-PYTHON_COMPAT=( python3_{11..14} )
-
-CRATES="
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
-"
-
-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 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86
~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
-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/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() {
- cargo_src_unpack
-}
-
-python_compile() {
- unset PURE
- # TODO: enable Rust extensions
- 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
-}
diff --git a/dev-python/dulwich/dulwich-0.24.4.ebuild
b/dev-python/dulwich/dulwich-0.24.4.ebuild
deleted file mode 100644
index 61ce3c188c65..000000000000
--- a/dev-python/dulwich/dulwich-0.24.4.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# 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="
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
-"
-
-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 ~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() {
- unset PURE
- # TODO: enable Rust extensions
- 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
-}