diff options
author | 2024-04-24 17:00:01 +0200 | |
---|---|---|
committer | 2024-04-24 17:08:28 +0200 | |
commit | 1978dd1ad55e39bd5198732aef9c738b148faf7b (patch) | |
tree | 29dc5cad7bdc5d419e00ff6c294ae4dcf167f606 /dev-python/backports-tarfile | |
parent | dev-python/hishel: Bump to 0.0.26 (diff) | |
download | gentoo-1978dd1ad55e39bd5198732aef9c738b148faf7b.tar.gz gentoo-1978dd1ad55e39bd5198732aef9c738b148faf7b.tar.bz2 gentoo-1978dd1ad55e39bd5198732aef9c738b148faf7b.zip |
dev-python/backports-tarfile: Bump to 1.1.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/backports-tarfile')
-rw-r--r-- | dev-python/backports-tarfile/Manifest | 1 | ||||
-rw-r--r-- | dev-python/backports-tarfile/backports-tarfile-1.1.1.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/backports-tarfile/Manifest b/dev-python/backports-tarfile/Manifest index 16f3d9b62afd..a080ba8bda84 100644 --- a/dev-python/backports-tarfile/Manifest +++ b/dev-python/backports-tarfile/Manifest @@ -1 +1,2 @@ DIST backports.tarfile-1.0.0.tar.gz 32952 BLAKE2B 264f63406f0cbf053bcbbc2933317152cbe89e765b87449111cf3397b072d68b1671918a7e3549f9f96dfc62c540f36a7b4e263d5c3f3ea305093a992d68eb2b SHA512 c44907a9b5c9af5dbcc37ecd613dcd7e269b1eed71a757d4e6c32828cc703a3060943f67a0caf90680ade89df8a938b999ba64d30ebfb5b63fbb0c70a068d349 +DIST backports_tarfile-1.1.1.tar.gz 84734 BLAKE2B 7691aaf4bd66e6fd6ad32dc9f4c4c51887ab502d302dae4931c72076b97d55b7646a716fd0dcd04dfc955a8dbf195d3804800b79375ecac1631fd633aefe2d12 SHA512 59ff0f6d78a0b4b2d868026a2f82375a7bfa3b1a09a96c0d6eaf0620c99ec379c22e12e6222677ca9c430349d40714f265ad879390789d63b8d322a31a7c1923 diff --git a/dev-python/backports-tarfile/backports-tarfile-1.1.1.ebuild b/dev-python/backports-tarfile/backports-tarfile-1.1.1.ebuild new file mode 100644 index 000000000000..9fe92b79241f --- /dev/null +++ b/dev-python/backports-tarfile/backports-tarfile-1.1.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 2024 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 +PYPI_PN=${PN/-/.} +# This is a backport from Python 3.12. +PYTHON_COMPAT=( pypy3 python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Backport of CPython tarfile module (from Python 3.12)" +HOMEPAGE=" + https://github.com/jaraco/backports.tarfile/ + https://pypi.org/project/backports.tarfile/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86" + +BDEPEND=" + test? ( + dev-python/jaraco-test[${PYTHON_USEDEP}] + <dev-python/pytest-8.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +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 = "backports.tarfile" + version = "${PV}" + description = "Backport of CPython tarfile module" + EOF +} |