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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B6AA1158010 for ; Mon, 6 Feb 2023 04:31:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5676E07D0; Mon, 6 Feb 2023 04:31:48 +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 9A51BE07D0 for ; Mon, 6 Feb 2023 04:31:48 +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 B88B4340BE8 for ; Mon, 6 Feb 2023 04:31:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E81D18A3 for ; Mon, 6 Feb 2023 04:31:44 +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: <1675657896.a6aebe3834d10c3e38e53b210387c2e628dff12f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zipp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/zipp/Manifest dev-python/zipp/zipp-3.12.1.ebuild X-VCS-Directories: dev-python/zipp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a6aebe3834d10c3e38e53b210387c2e628dff12f X-VCS-Branch: master Date: Mon, 6 Feb 2023 04:31:44 +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: 1f7bbbb2-0c54-4f99-8910-90a67a44efc6 X-Archives-Hash: 42a3744f68ccc6c5513e3bac5bab379c commit: a6aebe3834d10c3e38e53b210387c2e628dff12f Author: Michał Górny gentoo org> AuthorDate: Mon Feb 6 04:10:50 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Feb 6 04:31:36 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6aebe38 dev-python/zipp: Bump to 3.12.1 Signed-off-by: Michał Górny gentoo.org> dev-python/zipp/Manifest | 1 + dev-python/zipp/zipp-3.12.1.ebuild | 58 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index 8c37ca1720b2..1a4748f7f71e 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1,2 +1,3 @@ DIST zipp-3.11.0.tar.gz 16799 BLAKE2B 96cbb86e4c112a2cc0bbd8cf8f7a6d0e7b5a5b4af0857bfea87583341e7d08c9f0879f8455131f81e21ffb75bb362fb312c5575a8ccb2e2996313fe3f95ffe36 SHA512 10e1eca131063d9e34db18320152ea5e2445585802e7814fcb0a0aeddd8eb5481c60c2eaca1f7f2729826aafd4004fc4a0b8ee26896c833f789752a501f77e86 DIST zipp-3.12.0.tar.gz 17705 BLAKE2B 7159d45deb7e22625a270c7f6a5610f64c511ebde11b42769730245befc679750390928c89cfe2ef979df081b07f87e35eea9d82d7063513ac420afc8e60cf79 SHA512 922d293dbfdc1871d339a6ebc0176cb5147518f281daf685318d08f6bb4057eb4c49380e49a220c6fa17d749eb8a32b9fa90070acb953f17595d1e509bc6cdf4 +DIST zipp-3.12.1.tar.gz 17987 BLAKE2B c3c9f9d3243a2863c4b310e825d9862f379386fc05d0053a10b25fc6706f1bedd5fbb65e44fa9d4ba595b87de89c7f1aa98a4e2911dfde3ce9cad71a8571a1e9 SHA512 3a7aae6f377736711bfdb7667b40dc03b32cbb765aee2a36fb5848458469c175fd7fea5811d962b97a0779d63d39d0d42a59d7174db318fc6c32ff6bb58416c1 diff --git a/dev-python/zipp/zipp-3.12.1.ebuild b/dev-python/zipp/zipp-3.12.1.ebuild new file mode 100644 index 000000000000..ea6301a426b0 --- /dev/null +++ b/dev-python/zipp/zipp-3.12.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files" +HOMEPAGE=" + https://github.com/jaraco/zipp/ + https://pypi.org/project/zipp/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +BDEPEND=" + test? ( + dev-python/jaraco-functools[${PYTHON_USEDEP}] + dev-python/jaraco-itertools[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # speed tests are flaky by design + tests/test_zipp.py::TestPath::test_implied_dirs_performance +) + +src_prepare() { + # dep of disabled test + sed -i -e '/func_timeout/d' tests/test_zipp.py || die + distutils-r1_src_prepare +} + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "zipp" + version = "${PV}" + description = "Backport of pathlib-compatible object wrapper for zip files" + EOF +}