summaryrefslogtreecommitdiff
path: root/app-arch/patool
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-30 17:04:14 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-30 17:04:14 +0000
commitb34c45ec12e8676abfa39cddcf3448ac2bee1574 (patch)
tree9587fa672dfdc5a5f761d15c9689d2aca8d521b0 /app-arch/patool
parent18a69c52453e0db481bfa441cf1d9616c97c9928 (diff)
gentoo auto-resync : 30:11:2023 - 17:04:14
Diffstat (limited to 'app-arch/patool')
-rw-r--r--app-arch/patool/Manifest2
-rw-r--r--app-arch/patool/patool-2.0.0.ebuild129
2 files changed, 131 insertions, 0 deletions
diff --git a/app-arch/patool/Manifest b/app-arch/patool/Manifest
index a6d464aafb24..bd06a19de350 100644
--- a/app-arch/patool/Manifest
+++ b/app-arch/patool/Manifest
@@ -3,7 +3,9 @@ AUX patool-1.12_p20230424-map-vnd.android.package-archive.patch 1451 BLAKE2B 0d3
DIST patool-1.12_p20230424.gh.tar.gz 1990425 BLAKE2B dd0ae58fd26ef1849c26cb681839536b0499d666faf48cb7028adc12840055d72e70a85db99c615c79b076671f16e1371ee5ddbb24228248cd3c1b0daf2dc496 SHA512 c2974bad22ab57aca3aab32e51aeac0c2a2aa3ffee41241d3220151206b8a5d709ec72ea1b4a73a218c03b9fad64297ecd2ab44cc20da5f4d0e4a3ecd5589d43
DIST patool-1.14.1.tar.gz 1992559 BLAKE2B 3468c6b7779806ecb906830043964f2fa88384569af4cad857d8519568a7670a403ce17ca5b495fae6ad129f109bfac38693bfe651bad54dc5e6a46b5b58ea4f SHA512 df5ce0f5275fcc0b653775b9fbc36e11dfff1fcf30e5caf78bbebbf2c169125c7d27e71481c7ba108d39fb12cebdf3d84ab8c40f1a5f061dea5e5304e2306481
DIST patool-1.15.0.tar.gz 1993753 BLAKE2B 18dbbb6d73862778af9774b64f192e20d48f1454c078a2ab0bf9ccf12f3de988b7799c5e6116b1f49fe48b2512968789d363e37aa504d622a72c22a620398f5f SHA512 c7cbcd829a803025a99df67c8d4aca1d803d3bd8e06f2897c65bc0e2475fbd42e273654f978090fe4c2bbcac02e5d1f8e322cb90220e746ac9ef9d0755e0c717
+DIST patool-2.0.0.tar.gz 1987911 BLAKE2B a9c12f8083e82835792445f50e1e72f55e98c505f0019656cd00c1f882a860ae61c7484ea16c7744101b6a983c1934fad12dbb58af2a03e82d0ec4ceb417aa92 SHA512 c81a65fa89ff77ee80ae85fbc6868e5414d5141e47433028546273b3a231ce3240d6b30baae114247bc0ab0b3e4e91c6e127b8734eff9af8721abdae7f464ef5
EBUILD patool-1.12_p20230424.ebuild 2783 BLAKE2B 7e24abec2906e12e4c9034518b863b5e523ac6b6f42716142f2276f6901c157daf7bfc2b3b29e1c2635dc298e0fe12868df51df492202a2a3a47e69642a10f2d SHA512 d03c23ea66ebb2b416ef1ee6137f114b5a27271247925dd7f141da65f64a8fe8b70b4e93a050b745ded7a1c9257d29dae28bdf67ded01855c7c644c216f51ef5
EBUILD patool-1.14.1.ebuild 2488 BLAKE2B 503076932608ecccd2cc25a342bb2d2bd230b74722f3a241a1864eac96dc1b189d789b8c3239668be75a00b8de31d6294fa44ecba4256615d26f518fb1b049fe SHA512 846cebe0c38bb5d784db18766a8e31e96963999466a7099cd2451a4c8659f99bda3ee4cf4a696bdbf76d88e0ff36f53449b2612b65c4411d3871f88c3c0b222d
EBUILD patool-1.15.0.ebuild 2656 BLAKE2B 8e525a68e7d6915ba8d9d743ca94c61b8509d693d87318ea9d1b7c0f4388e6958b1d1de065644a924ee8aa2b7fc77d915121a73e69bf6e7a65f74238a738a1ad SHA512 e843cb880b91be55bc391c74e183c950f9d249683d51de9643c4ed79ab6e2a2a42c4f6209363b2e5c92435d627feff891507b042b92665b989a41fdb8ecaf86a
+EBUILD patool-2.0.0.ebuild 2656 BLAKE2B 8e525a68e7d6915ba8d9d743ca94c61b8509d693d87318ea9d1b7c0f4388e6958b1d1de065644a924ee8aa2b7fc77d915121a73e69bf6e7a65f74238a738a1ad SHA512 e843cb880b91be55bc391c74e183c950f9d249683d51de9643c4ed79ab6e2a2a42c4f6209363b2e5c92435d627feff891507b042b92665b989a41fdb8ecaf86a
MISC metadata.xml 539 BLAKE2B b19f1ad36967b42e152a23108851ad6eabcd7f44fd1faeeb4c345ff812b97d4b4079afc83653c1fd0dd005943a152cba44210132389e1ec956a434d24e97486d SHA512 b557ec32ca1211faa72e108a7f769f4ffb3a08075a4010aee2f9ced79a9f7f8c26f60bf26e2587d4a0cbb3cf6d52ea52d9102407ed548cdd41f53c67dd10d7bb
diff --git a/app-arch/patool/patool-2.0.0.ebuild b/app-arch/patool/patool-2.0.0.ebuild
new file mode 100644
index 000000000000..a8ab3a756588
--- /dev/null
+++ b/app-arch/patool/patool-2.0.0.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Portable archive file manager"
+HOMEPAGE="https://wummel.github.io/patool/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+ test? (
+ app-arch/arj
+ app-arch/bzip2
+ app-arch/bzip3
+ app-arch/cabextract
+ app-arch/cpio
+ app-arch/dpkg
+ app-arch/gzip
+ app-arch/lbzip2
+ app-arch/lcab
+ app-arch/lha
+ app-arch/libarchive
+ app-arch/lz4
+ app-arch/lzip
+ app-arch/lzop
+ app-arch/ncompress
+ app-arch/p7zip[rar]
+ app-arch/pbzip2
+ app-arch/pdlzip
+ app-arch/pigz
+ app-arch/plzip
+ app-arch/rpm
+ app-arch/rzip
+ app-arch/sharutils
+ app-arch/tar
+ app-arch/unace
+ app-arch/unadf
+ app-arch/unzip
+ app-arch/xdms
+ app-arch/xz-utils
+ app-arch/zip
+ app-arch/zpaq
+ app-arch/zstd
+ app-cdr/cdrtools
+ dev-libs/chmlib
+ media-libs/flac
+ media-sound/shorten
+ sys-apps/diffutils
+ sys-apps/file
+ sys-apps/grep
+ !elibc_musl? ( app-arch/rar )
+ !x86? (
+ app-arch/clzip
+ app-arch/lrzip
+ app-arch/unar
+ )
+ )
+"
+# Test dependencies which are packaged but can't be tested for various reasons.
+# app-arch/arc
+# app-arch/zoo
+# app-arch/zopfli
+# media-sound/mac
+
+# app-arch/rar is masked on musl
+# app-arch/clzip is unkeyworded on x86
+# app-arch/lrzip bug #916317 on x86
+# app-arch/unar is unkeyworded on x86
+
+# Unpackaged testable dependencies
+# archmage
+# genisoimage
+# lhasa
+# nomarch
+# pdzip2
+# py_{bz2,echo,gzip,tarfile,zipfile}
+# rpm2cpio
+# rzip
+# star
+# unalz
+# uncompress.real
+
+distutils_enable_tests pytest
+
+src_install() {
+ distutils-r1_src_install
+
+ newdoc doc/README.txt README.md
+ doman doc/patool.1
+}
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ # zoo emits a non-zero exit status on a possibly false consistency check
+ # Zoo: WARNING: Archive header failed consistency check.
+ "tests/archives/test_zoo.py"
+ # Doesn't accept long arguments, such as those that files in ${S} would have.
+ # Too long argument: /var/tmp/portage/app-arch/patool-1.12_p20230424/work/patool-ab64562c8cdac34dfd69fcb6e30c8c0014282d11/tests/data/p.arc.foo
+ "tests/archives/test_arc.py"
+ # Error: 1002 (invalid input file)
+ "tests/archives/test_mac.py"
+ # AttributeError: module 'patoolib.programs.zopfli' has no attribute 'extract_gzip'
+ "tests/archives/test_zopfli.py"
+ )
+
+ if use elibc_musl; then
+ EPYTEST_IGNORE+=(
+ "tests/archives/test_rar.py"
+ )
+ fi
+
+ if use x86; then
+ EPYTEST_IGNORE+=(
+ "tests/archives/test_clzip.py"
+ # bug #916317
+ "tests/archives/test_lrzip.py::TestLrzip::test_lrzip"
+ )
+ fi
+
+ epytest
+}