mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/rarfile: bump to 4.0
Package-Manager: Portage-3.0.24, Repoman-3.0.3 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST rarfile-3.1.tar.gz 121579 BLAKE2B 3419eb0433866e060cc55fb94806a1ef0591c811e3b88eac97b05519e8e72cdb7da1e7f19fec1d5cadf60fa4caba4717cafe3fb1133556ef2d6f327da52c8c34 SHA512 eb910b0adfd1f28497163aa7994ab268d7780707e09931cb01014ffa51d985410b0bc17e5fb9ca133992b28115a0b5f443d01215624145d280f29e7065abb9d9
|
||||
DIST rarfile-4.0.tar.gz 148026 BLAKE2B 331548d54dcc3d81c690cc383e36e3f00515999c72abb54060e0dbb34691bb7e06736318a33ec349492e27e561ed2f4ff4446cc5254e9f341f4633adaab878aa SHA512 05e15acd749564288d4f069970ac196344c33fd2710e918b84afe4c388aa364a17c63f86577037524336e3a022f6db2c8619f9b526f89e00753a8ab0d89263d4
|
||||
|
||||
22
dev-python/rarfile/files/rarfile-4.0.patch
Normal file
22
dev-python/rarfile/files/rarfile-4.0.patch
Normal file
@@ -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
|
||||
@@ -1,7 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person">
|
||||
<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>
|
||||
</use>
|
||||
|
||||
23
dev-python/rarfile/rarfile-4.0.ebuild
Normal file
23
dev-python/rarfile/rarfile-4.0.ebuild
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user