diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
commit | e23a08d0c97a0cc415aaa165da840b056f93c997 (patch) | |
tree | 4c5f7db60483518201fef36f8cc0712789a08db2 /dev-python/rarfile | |
parent | 391b5b359a346aff490103da7dddc85047f83830 (diff) |
gentoo resync : 08.10.2021
Diffstat (limited to 'dev-python/rarfile')
-rw-r--r-- | dev-python/rarfile/Manifest | 5 | ||||
-rw-r--r-- | dev-python/rarfile/files/rarfile-4.0.patch | 22 | ||||
-rw-r--r-- | dev-python/rarfile/metadata.xml | 4 | ||||
-rw-r--r-- | dev-python/rarfile/rarfile-4.0.ebuild | 23 |
4 files changed, 51 insertions, 3 deletions
diff --git a/dev-python/rarfile/Manifest b/dev-python/rarfile/Manifest index f4d530cf008f..1f4dda9fbe14 100644 --- a/dev-python/rarfile/Manifest +++ b/dev-python/rarfile/Manifest @@ -1,3 +1,6 @@ +AUX rarfile-4.0.patch 598 BLAKE2B bf53d965f61a693fd9e26d8d6f3c3305fe31371363ddfff6e21e48a98ea2386b7effdcce6f615c553b3a764da73b72791612b723e8432de1a156189e93e062f4 SHA512 2d3b37f7b58e04ac9f880eba0751f38486bfd17e3c96b6b6f4e08a6b8b70a5cb482af4b8b5ef3c46ccde8f7bb848c84e123d950687cb91930ab6304e7febba57 DIST rarfile-3.1.tar.gz 121579 BLAKE2B 3419eb0433866e060cc55fb94806a1ef0591c811e3b88eac97b05519e8e72cdb7da1e7f19fec1d5cadf60fa4caba4717cafe3fb1133556ef2d6f327da52c8c34 SHA512 eb910b0adfd1f28497163aa7994ab268d7780707e09931cb01014ffa51d985410b0bc17e5fb9ca133992b28115a0b5f443d01215624145d280f29e7065abb9d9 +DIST rarfile-4.0.tar.gz 148026 BLAKE2B 331548d54dcc3d81c690cc383e36e3f00515999c72abb54060e0dbb34691bb7e06736318a33ec349492e27e561ed2f4ff4446cc5254e9f341f4633adaab878aa SHA512 05e15acd749564288d4f069970ac196344c33fd2710e918b84afe4c388aa364a17c63f86577037524336e3a022f6db2c8619f9b526f89e00753a8ab0d89263d4 EBUILD rarfile-3.1.ebuild 487 BLAKE2B 06f912bce26e798371f40e466996652717aed95dfa5c90233674475732a73b45002e815274322acdb7c6d13abba57186af9b2ccb3c1e83e7579118a359d0fbda SHA512 0b95b61f3683ac4819fe8855af0a275402d1032cfdcd84d65c7ac045ba87dfaa5cfc86fb3a0507333fc7456ca81dc78d324943303d2ceb0dd2074e675871f433 -MISC metadata.xml 531 BLAKE2B 7d87793306496eea6771262e58f86d69b04407ebf5436c54dfe16116f3c256cfa099fb346c39c8588ea3ea02adb104b560f78b9ba1c80d699fece4059c49aff7 SHA512 07002bfa872ea63f391d7116f7b220f5eb60b32c599dbaf32b8f527b3e1d323c08027becddb91b6e5c88e921e4ccea880744dbf16c05fbb412249289bf29c8cf +EBUILD rarfile-4.0.ebuild 548 BLAKE2B 1a93a22caf04daeff48db7a48286d1c063f2b37ac7426550217c75f00cf3a3278962fb76f7de541d283d638f55a445b83aa08682527030443f5a13f718823c41 SHA512 75b55c53c75c381672a559bb4fb9782db45ef79753b73fff6a97b0a75308fad3216ee29fa0f15d1973a22fb101aebc657bb824542a59dfc51138cb273279261f +MISC metadata.xml 531 BLAKE2B fa977e37331b11cf627c551ca3d0e579338cd3ac43d761e5d6f120caf1386cc18d602770376f1b64360911642767cb4b3456d235270137ebc772fc02791e8665 SHA512 8d2d3de2fc185c657aed70818abadcac021c679e352774f941bf6fa908dfc383139c2343f5695e21197553724f75f853ed03cafc9413640ca6a4257c6e1867b6 diff --git a/dev-python/rarfile/files/rarfile-4.0.patch b/dev-python/rarfile/files/rarfile-4.0.patch new file mode 100644 index 000000000000..e9d3251b6da2 --- /dev/null +++ b/dev-python/rarfile/files/rarfile-4.0.patch @@ -0,0 +1,22 @@ +diff -r -U2 rarfile-4.0.orig/test/test_tool.py rarfile-4.0/test/test_tool.py +--- rarfile-4.0.orig/test/test_tool.py 2020-08-01 01:25:50.000000000 +0700 ++++ rarfile-4.0/test/test_tool.py 2021-10-03 22:35:22.329537879 +0700 +@@ -33,5 +33,5 @@ + + +-@pytest.mark.skipif(sys.platform == "win32", reason="unar not available on Windows") ++@pytest.mark.skip() + def test_unar_tool(): + install_unar_tool() +@@ -43,4 +43,5 @@ + + ++@pytest.mark.skip() + def test_bsdtar_tool(): + install_bsdtar_tool() +@@ -114,4 +115,5 @@ + + ++@pytest.mark.skip() + def test_cli_help(capsys): + assert cli("--help") == 0 diff --git a/dev-python/rarfile/metadata.xml b/dev-python/rarfile/metadata.xml index cd828adbe9db..e9097a4a98f3 100644 --- a/dev-python/rarfile/metadata.xml +++ b/dev-python/rarfile/metadata.xml @@ -2,8 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>thev00d00@gentoo.org</email> - <name>Ian Whyman</name> + <email>grozin@gentoo.org</email> + <name>Andrey Grozin</name> </maintainer> <use> <flag name="compressed">Enables the module to support compressed v3 archives by calling the <pkg>app-arch/unrar</pkg>.</flag> diff --git a/dev-python/rarfile/rarfile-4.0.ebuild b/dev-python/rarfile/rarfile-4.0.ebuild new file mode 100644 index 000000000000..31f35090b59c --- /dev/null +++ b/dev-python/rarfile/rarfile-4.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Module for RAR archive reading" +HOMEPAGE="https://github.com/markokr/rarfile" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="+compressed test" +REQUIRED_USE="test? ( compressed )" + +RDEPEND="compressed? ( app-arch/unrar )" + +PATCHES=( "${FILESDIR}"/${P}.patch ) + +distutils_enable_tests pytest |