diff --git a/dev-python/libarchive-c/Manifest b/dev-python/libarchive-c/Manifest index 06a41746f69f8..c504550e87d69 100644 --- a/dev-python/libarchive-c/Manifest +++ b/dev-python/libarchive-c/Manifest @@ -1 +1,2 @@ DIST python-libarchive-c-5.2.gh.tar.gz 48933 BLAKE2B b0654a2bed59f123714c93f84e7903fa13c4cb72a99066846766a998eb96c9dce19f2ffcb0e703ad833cbfc99ca3e3140f84156f3f1952999f6605639b222ba9 SHA512 c0e7f169e088f5ecd8de22109e8bef83e5669ca4d7fdbd069a9d23a62a0aee38d3d861199e593883f83ac0a9d00b656ba1b5cd2fe20311cddb75a6032b3cead7 +DIST python-libarchive-c-5.3.gh.tar.gz 50485 BLAKE2B 771a9f4373c1ac94a283e20f50ee0437934ab3e6adf961802e20841176cc36e8a4151fcc6951559db78ad90ea8f0a005b03596b8fc55df4db522b05bdc1dfe14 SHA512 0cd1f95bf0045ce882012e4b217d3deacb921fb34fd3395afddacba6b1a291cc5a5383cadd1c2c0edae86b52beff535b801cb4ade714f510762835fc314c3d72 diff --git a/dev-python/libarchive-c/libarchive-c-5.3.ebuild b/dev-python/libarchive-c/libarchive-c-5.3.ebuild new file mode 100644 index 0000000000000..930c9a5785e92 --- /dev/null +++ b/dev-python/libarchive-c/libarchive-c-5.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 + +MY_P=python-libarchive-c-${PV} +DESCRIPTION="A Python interface to libarchive" +HOMEPAGE=" + https://github.com/Changaco/python-libarchive-c/ + https://pypi.org/project/libarchive-c/ +" +SRC_URI=" + https://github.com/Changaco/python-libarchive-c/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + app-arch/libarchive +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o tmp_path_retention_policy=all +}