diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-04 11:28:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-04 11:28:04 +0100 |
commit | 47a1d2f184696819152c003a600beb058fbc4420 (patch) | |
tree | a85ea2840d8bb2bfaea292c4e2f363b663cc1ea1 /dev-python/dulwich | |
parent | 42564959cad787b3e82c0ebd8a8a6a59958e1370 (diff) |
gentoo auto-resync : 04:05:2023 - 11:28:04
Diffstat (limited to 'dev-python/dulwich')
-rw-r--r-- | dev-python/dulwich/Manifest | 2 | ||||
-rw-r--r-- | dev-python/dulwich/dulwich-0.21.5.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/dulwich/Manifest b/dev-python/dulwich/Manifest index effc7a970ab3..2a7762b07201 100644 --- a/dev-python/dulwich/Manifest +++ b/dev-python/dulwich/Manifest @@ -1,3 +1,5 @@ DIST dulwich-0.21.3.tar.gz 437815 BLAKE2B 889bb20800bbf45da6ddd688ed1e8ff2ca76fc3671409bb4bee4ed7604f008610adcd68feda9bf50bdd6432d3ad400e381506369d6411905a8388884093d5540 SHA512 ffe89535bd48709e68bff6b299034ab6ccd28960cc32b3717d9779c84c87548d8366dfadfb0699c99b99f8e599d91284e05dcc3c1f9ae4d7b208500856eb33ac +DIST dulwich-0.21.5.tar.gz 441948 BLAKE2B a65aaa3611de6b18a3f63bd195d3831733bea726f634964c14bb817954147e45753868982fb0c3dcf57dec5a2ed8c985229d110234fd6cae8c783367a06bc20c SHA512 5966a4df8ef94d4c61c4e0a2aebbf11b7f9072139f11357e5194e58dc4edfbe83eb76f7b7aa3a52f96f97c5b7908850fcef5de2aa4bccb212126bb21fdc53934 EBUILD dulwich-0.21.3.ebuild 1472 BLAKE2B 649c51be32d4498bf160138bdd7928c856c6f313bb6491e8ed3346046c13fc225f515396fdb17321e0ece37112e805ab7d93370652d0abbaf1de018ee3e6f22c SHA512 315aeead4f458df8c70a3c7468a2fa71d1a5a79febbc3146bc6fd5d4f388cad4a1638bbe87770702f06dfe5ca134a109604e154e9413dd6b0740a7ace9031b1b +EBUILD dulwich-0.21.5.ebuild 1509 BLAKE2B 89a3b970c8128a626e18b3d41a905c809b10c5f8c5cd7cde36846b71bd347b92fed574b67a103c74b255e05e17753929dcfdc9944552de29a144bc9a826074c9 SHA512 cfd3a63bc71e35e3e4a7dd267f377503db54a2c21c5e232d2278a5b94f1f168abbc45da1f87afa24f967793fca9626e11c9372822ffcb03d1db3f8c7b8a4c6f2 MISC metadata.xml 556 BLAKE2B 240554ff522160e9508bf6debadafcc44b5ccc4074dd4c9d3ce82358963084c60a1afae9fafee6ab1e6e5d898940ccb4d1b524cebff155e61bf6707c9396b647 SHA512 a7cdca224a01d5bd26bf4a5adb0273977ddff61f75cd02f5642132656fd0c6608114617efcb068d834f107804666cf4fb3725967e804b73d2ddcb67342dc30de diff --git a/dev-python/dulwich/dulwich-0.21.5.ebuild b/dev-python/dulwich/dulwich-0.21.5.ebuild new file mode 100644 index 000000000000..2404f4ccf5cd --- /dev/null +++ b/dev-python/dulwich/dulwich-0.21.5.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit 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/ +" + +LICENSE="GPL-2+ Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + app-crypt/gpgme[python,${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/fastimport[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs + +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 dulwich.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 +} |