From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AC0DF158042 for ; Sat, 2 Nov 2024 06:32:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8ABD6E08DA; Sat, 2 Nov 2024 06:32:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6EE64E08DA for ; Sat, 2 Nov 2024 06:32:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0AF9B3430F0 for ; Sat, 2 Nov 2024 06:32:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9396C22DB for ; Sat, 2 Nov 2024 06:32:14 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1730529127.b54f23d37d2c5f9afed3a882b3ec44330d98dfdc.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dulwich/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/dulwich/Manifest dev-python/dulwich/dulwich-0.22.4.ebuild X-VCS-Directories: dev-python/dulwich/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b54f23d37d2c5f9afed3a882b3ec44330d98dfdc X-VCS-Branch: master Date: Sat, 2 Nov 2024 06:32:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4016f220-6be0-4fd2-bbbc-c8a2021b88e9 X-Archives-Hash: bce73d3c56eb364eb1aaf7e87feddcbc commit: b54f23d37d2c5f9afed3a882b3ec44330d98dfdc Author: Michał Górny gentoo org> AuthorDate: Sat Nov 2 06:13:12 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Nov 2 06:32:07 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b54f23d3 dev-python/dulwich: Bump to 0.22.4 Signed-off-by: Michał Górny gentoo.org> dev-python/dulwich/Manifest | 1 + dev-python/dulwich/dulwich-0.22.4.ebuild | 61 ++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/dev-python/dulwich/Manifest b/dev-python/dulwich/Manifest index 2a5990124616..3ed207f4775f 100644 --- a/dev-python/dulwich/Manifest +++ b/dev-python/dulwich/Manifest @@ -1 +1,2 @@ DIST dulwich-0.21.7.tar.gz 448028 BLAKE2B 8ceace901ce4b444d6f40f7071b7a95a04d27a63b9076fd82c97b7fb551dd769c38940d0ec42ebfd6592154df912139f0ca58801ba2fa0ef412d6a749253500a SHA512 56ddf8db21088b264623c568f28caa80d8687d26e5127093daaa4d556b0f49218ac51491a47ced00e9af073bd7ca05b2eb8b29d64aae8b93dd4bd47ca67ee443 +DIST dulwich-0.22.4.tar.gz 449939 BLAKE2B 2b2609db8106cab6315d137187a52e4133d318af0d7b51ecd3dc60dac64766eb5439c5fccad73be94ec351ed163a18263ac245e16de9d3adc48095ddae92925b SHA512 d84e5b74fc3691593b5d7e4add26956800d71656d60362bca56c12bd44fdcbbd319d6153c31805948322b94d5bce9986ac27f1bc4df26ce45c26fcddd3dfb5b5 diff --git a/dev-python/dulwich/dulwich-0.22.4.ebuild b/dev-python/dulwich/dulwich-0.22.4.ebuild new file mode 100644 index 000000000000..1160f609b587 --- /dev/null +++ b/dev-python/dulwich/dulwich-0.22.4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 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_{10..13} ) + +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 ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/urllib3-1.25[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + app-crypt/gpgme[python,${PYTHON_USEDEP}] + dev-python/fastimport[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs + +python_compile() { + # TODO: enable Rust extensions + local -x PURE=1 + + 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 +}