mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/zipp: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST zipp-3.23.1.tar.gz 25965 BLAKE2B 85295931762190d0d76247ae4219a730c4415cf13a79a30f3cb7b7025d60b9d59aca251c488baae0b9dffa3e6b56b26ed9439cd3359660085bc96390f2334379 SHA512 7461e5cc8e090e99b32595f05259c61b9a2865c9e5056e81c537020fe550f4d0bcc844df63cac3e096eed2c9754284830cdb104e4e625f9bf3f302b17b7e0fd0
|
||||
DIST zipp-4.1.0.tar.gz 26214 BLAKE2B 8ef46c33c39adb1894599278307bfea4c1b9fbede22bff698585185fe3bc814a5460502896f8cdb38beb99d37a83e881cdded0db8686d0a25e4fccdb56bb4bbe SHA512 1648ee2581e958ff11472357784b34111f86fd2c2281bb35ca8122f238c721c5a1e54332ffe1fb03208dfee2706adb39ede5389b2d3612c9134f3662bef54ffa
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files"
|
||||
HOMEPAGE="
|
||||
https://github.com/jaraco/zipp/
|
||||
https://pypi.org/project/zipp/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris"
|
||||
|
||||
# big_o is only used in test_complexity, that we ignore
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jaraco-functools[${PYTHON_USEDEP}]
|
||||
dev-python/jaraco-itertools[${PYTHON_USEDEP}]
|
||||
dev-python/jaraco-test[${PYTHON_USEDEP}]
|
||||
dev-python/more-itertools[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# performance tests are flaky by design
|
||||
tests/test_complexity.py
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user