diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-10-18 17:50:52 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-10-18 17:56:30 +0200 |
commit | 78a88310a6d59af298d4fced749f7fe5ed3ac70f (patch) | |
tree | aa96976cc1a2db3fd027b1d3744cd3a2bc114d56 /dev-python/rarfile | |
parent | dev-python/twisted: Remove old (diff) | |
download | gentoo-78a88310a6d59af298d4fced749f7fe5ed3ac70f.tar.gz gentoo-78a88310a6d59af298d4fced749f7fe5ed3ac70f.tar.bz2 gentoo-78a88310a6d59af298d4fced749f7fe5ed3ac70f.zip |
dev-python/rarfile: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/rarfile')
-rw-r--r-- | dev-python/rarfile/Manifest | 1 | ||||
-rw-r--r-- | dev-python/rarfile/files/rarfile-4.0-fix-pypy-datetime.patch | 19 | ||||
-rw-r--r-- | dev-python/rarfile/files/rarfile-4.0.patch | 22 | ||||
-rw-r--r-- | dev-python/rarfile/rarfile-4.0-r2.ebuild | 26 |
4 files changed, 0 insertions, 68 deletions
diff --git a/dev-python/rarfile/Manifest b/dev-python/rarfile/Manifest index a65b190bd0cc..4aa242146948 100644 --- a/dev-python/rarfile/Manifest +++ b/dev-python/rarfile/Manifest @@ -1,2 +1 @@ -DIST rarfile-4.0.tar.gz 148026 BLAKE2B 331548d54dcc3d81c690cc383e36e3f00515999c72abb54060e0dbb34691bb7e06736318a33ec349492e27e561ed2f4ff4446cc5254e9f341f4633adaab878aa SHA512 05e15acd749564288d4f069970ac196344c33fd2710e918b84afe4c388aa364a17c63f86577037524336e3a022f6db2c8619f9b526f89e00753a8ab0d89263d4 DIST rarfile-4.1.tar.gz 152826 BLAKE2B a64fbb036b33922ef99c73db3b32f3b08119ebc527d41751c2013ae05fb6d2f82523b818e7fe16983427094ab0baf15e93b356f1b19084fdfbec34cb2737780e SHA512 ca3ac26e02b8d7770c43fe70a06cf42b2183a34846d59c79d3478651e9d7ffc022fe7336be44b8df8fa6f0789bae055c1d057c21d87af78acccc43a927fd02e2 diff --git a/dev-python/rarfile/files/rarfile-4.0-fix-pypy-datetime.patch b/dev-python/rarfile/files/rarfile-4.0-fix-pypy-datetime.patch deleted file mode 100644 index 8973ce91dffb..000000000000 --- a/dev-python/rarfile/files/rarfile-4.0-fix-pypy-datetime.patch +++ /dev/null @@ -1,19 +0,0 @@ -https://github.com/markokr/rarfile/commit/cd9e650e5294f9c5cd4effcd9705c38a760afde6 - -From cd9e650e5294f9c5cd4effcd9705c38a760afde6 Mon Sep 17 00:00:00 2001 -From: Marko Kreen <markokr@gmail.com> -Date: Fri, 5 Aug 2022 19:02:09 +0300 -Subject: [PATCH] nsdatetime: support pypy internal use - ---- a/rarfile.py -+++ b/rarfile.py -@@ -3121,7 +3121,7 @@ class nsdatetime(datetime): - __slots__ = ("nanosecond",) - nanosecond: int #: Number of nanoseconds, 0 <= nanosecond < 999999999 - -- def __new__(cls, year, month, day, hour=0, minute=0, second=0, -+ def __new__(cls, year, month=None, day=None, hour=0, minute=0, second=0, - microsecond=0, tzinfo=None, *, fold=0, nanosecond=0): - usec, mod = divmod(nanosecond, 1000) if nanosecond else (microsecond, 0) - if mod == 0: - diff --git a/dev-python/rarfile/files/rarfile-4.0.patch b/dev-python/rarfile/files/rarfile-4.0.patch deleted file mode 100644 index e9d3251b6da2..000000000000 --- a/dev-python/rarfile/files/rarfile-4.0.patch +++ /dev/null @@ -1,22 +0,0 @@ -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/rarfile-4.0-r2.ebuild b/dev-python/rarfile/rarfile-4.0-r2.ebuild deleted file mode 100644 index 7080df4c13ce..000000000000 --- a/dev-python/rarfile/rarfile-4.0-r2.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# 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} pypy3 ) -inherit distutils-r1 pypi - -DESCRIPTION="Module for RAR archive reading" -HOMEPAGE="https://github.com/markokr/rarfile" - -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 - "${FILESDIR}"/${P}-fix-pypy-datetime.patch -) - -distutils_enable_tests pytest |