diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-05-17 15:14:08 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-05-17 16:25:54 +0200 |
commit | c874ad16fc3969368cada531214fa9802c6706a1 (patch) | |
tree | 86fb0bacf7e5c20b041212980e8799280d826467 /dev-python/pysvn | |
parent | package.mask: Last rite dev-python/cached-property (diff) | |
download | gentoo-c874ad16fc3969368cada531214fa9802c6706a1.tar.gz gentoo-c874ad16fc3969368cada531214fa9802c6706a1.tar.bz2 gentoo-c874ad16fc3969368cada531214fa9802c6706a1.zip |
dev-python/pysvn: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pysvn')
-rw-r--r-- | dev-python/pysvn/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pysvn/files/pysvn-1.9.18-tests-3.11.patch | 33 | ||||
-rw-r--r-- | dev-python/pysvn/pysvn-1.9.18.ebuild | 66 |
3 files changed, 0 insertions, 100 deletions
diff --git a/dev-python/pysvn/Manifest b/dev-python/pysvn/Manifest index 38dbec166f84..9f7c0f0a8836 100644 --- a/dev-python/pysvn/Manifest +++ b/dev-python/pysvn/Manifest @@ -1,2 +1 @@ -DIST pysvn-1.9.18.tar.gz 667827 BLAKE2B cd32b4ec55118becd496a9aab6f4dd2b9d57c82e12d5a08b18d36d0caffbafe7066ff45c9493a36499979e759d38dd6b15a68e7bb5819464362c2691e7599160 SHA512 0ca2924223cdc5f29e961e879db6b0f88e82b5c4c40df50169468dd5a72cbccddea9f0d1680ef4a54d45e89b4b2b2c3c22f5e76c66196783a89cac8b583b6623 DIST pysvn-1.9.22.tar.gz 669169 BLAKE2B b6f5e2aedd902daa29d5e634263e21de134b73f72e17bb9363f415ac0696063457579af8778c72ca9852b5ee33142250d6a46700181b11ec2ec0a4e90db60525 SHA512 68b4fdb8a5de7cd0fb868ef56ac4d17938561a7f2c37db4089a3a2f4fc256043c80d7331befc013e6141be70722c843665c59c36d455e372ecb3ecc4587cba41 diff --git a/dev-python/pysvn/files/pysvn-1.9.18-tests-3.11.patch b/dev-python/pysvn/files/pysvn-1.9.18-tests-3.11.patch deleted file mode 100644 index 06a0bec16720..000000000000 --- a/dev-python/pysvn/files/pysvn-1.9.18-tests-3.11.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 0f4a2071dfeb90357a3eba947d6dd7cc879675ce Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping <sebastian@pipping.org> -Date: Tue, 29 Nov 2022 01:08:49 +0100 -Subject: [PATCH] Examples/Client/svn_cmd.py: Stop DeprecationWarning from - breaking tests with Python 3.11 - ---- - Examples/Client/svn_cmd.py | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/Examples/Client/svn_cmd.py b/Examples/Client/svn_cmd.py -index 42e4c87..b8ef4ff 100644 ---- a/Examples/Client/svn_cmd.py -+++ b/Examples/Client/svn_cmd.py -@@ -72,7 +72,14 @@ def initLocale(): - locale.setlocale( locale.LC_ALL, '' ) - - else: -- language_code, encoding = locale.getdefaultlocale() -+ import warnings -+ -+ with warnings.catch_warnings(): -+ if sys.version_info >= (3, 11): -+ warnings.filterwarnings("ignore", category=DeprecationWarning) -+ -+ language_code, encoding = locale.getdefaultlocale() -+ - if language_code is None: - language_code = 'en_GB' - --- -2.38.1 - diff --git a/dev-python/pysvn/pysvn-1.9.18.ebuild b/dev-python/pysvn/pysvn-1.9.18.ebuild deleted file mode 100644 index c658b7e404a0..000000000000 --- a/dev-python/pysvn/pysvn-1.9.18.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 toolchain-funcs - -DESCRIPTION="Object-oriented python bindings for subversion" -HOMEPAGE="https://pysvn.sourceforge.io/" -SRC_URI="https://downloads.sourceforge.net/project/pysvn/pysvn/V${PV}/${P}.tar.gz" - -LICENSE="Apache-1.1" -SLOT="0" -KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="doc examples" - -DEPEND=" - >=dev-python/pycxx-7.0.2[${PYTHON_USEDEP}] - >=dev-vcs/subversion-1.9" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-1.9.18-tests-3.11.patch -) - -python_prepare_all() { - # Don't use internal copy of dev-python/pycxx. - rm -r Import || die - - distutils-r1_python_prepare_all -} - -python_configure() { - cd Source || die - CC="$(tc-getCC)" CCC="$(tc-getCXX)" \ - esetup.py configure -} - -python_compile() { - cd Source || die - emake -} - -python_test() { - cd Tests || die - emake -} - -python_install() { - cd Source || die - python_domodule pysvn -} - -python_install_all() { - use doc && local HTML_DOCS=( Docs/. ) - if use examples; then - docinto examples - dodoc -r Examples/Client/. - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} |