diff options
Diffstat (limited to 'dev-python/pysvn')
-rw-r--r-- | dev-python/pysvn/Manifest | 5 | ||||
-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 | ||||
-rw-r--r-- | dev-python/pysvn/pysvn-1.9.22.ebuild | 2 |
4 files changed, 2 insertions, 104 deletions
diff --git a/dev-python/pysvn/Manifest b/dev-python/pysvn/Manifest index 3762f014b911..81014c4883eb 100644 --- a/dev-python/pysvn/Manifest +++ b/dev-python/pysvn/Manifest @@ -1,6 +1,3 @@ -AUX pysvn-1.9.18-tests-3.11.patch 1031 BLAKE2B 3886df331cbacedb7046b78a914b29cd65dd52854a12eeed91a83cd18997d2d8887ab099576b35f98f200d5a4bb726b38f155b9df36b7f8d676dd470962a6012 SHA512 ec1e83e905f0e1e0666e01d8cdf688c0fc04cef4a4e222b92abcdf777f7ed7884c68a742676cdc2f4642731d5d0a8abc5ca01f0fbf8c68a2a8b481726c22d858 -DIST pysvn-1.9.18.tar.gz 667827 BLAKE2B cd32b4ec55118becd496a9aab6f4dd2b9d57c82e12d5a08b18d36d0caffbafe7066ff45c9493a36499979e759d38dd6b15a68e7bb5819464362c2691e7599160 SHA512 0ca2924223cdc5f29e961e879db6b0f88e82b5c4c40df50169468dd5a72cbccddea9f0d1680ef4a54d45e89b4b2b2c3c22f5e76c66196783a89cac8b583b6623 DIST pysvn-1.9.22.tar.gz 669169 BLAKE2B b6f5e2aedd902daa29d5e634263e21de134b73f72e17bb9363f415ac0696063457579af8778c72ca9852b5ee33142250d6a46700181b11ec2ec0a4e90db60525 SHA512 68b4fdb8a5de7cd0fb868ef56ac4d17938561a7f2c37db4089a3a2f4fc256043c80d7331befc013e6141be70722c843665c59c36d455e372ecb3ecc4587cba41 -EBUILD pysvn-1.9.18.ebuild 1284 BLAKE2B dc70f41f3927ad28ed7ca04f669970fa081ef1afc6a31d170ed7b327ed10d1356ee5e802c1a56222366fe9e651b0bdb81c617ad0b9eae90d4521d70d591db4d7 SHA512 4bb3ad3a03ccbfbeb834f59e2e7cf69633e8ad6d5702767393a9bd16bd713d4357d441d07857303d69d26ef9a77334cf93900d3250458d1f3aa15d3194769071 -EBUILD pysvn-1.9.22.ebuild 1229 BLAKE2B a9d28b7fe66cca68a44d8820b5d0e0612e3347d5daab091746538f1a16f7ce435f65f999d56f316835ad3ddc53862a4cdc6a41482cdaef97e90897b672688495 SHA512 d407f8cdbe33e4a777fdc09d6bbdb195034bf842a1168fdde0b7730cbae3889d5d4bdd44868757aef1ee54cd0906fbeff7eb90752c922ab22a6b680451af2877 +EBUILD pysvn-1.9.22.ebuild 1226 BLAKE2B dd20d1d018e33b1e50febe392679938a5e8aa1d0f86395467f76e015939f300b09e09851399f83071b6a22971b860fe5ee0dd5985174a04c5cba2c496d05ef98 SHA512 4af9daad95ee7e9de7363a2c5d4cb9c959789bb8d21ae013d5e4a320b4f5ce14ba2a80ef32cdf5042a86bdb2b5d90a06053fc3a0153627e2b2f3bef3f48ce61e MISC metadata.xml 243 BLAKE2B 4132ce663bce50db1d38951262df3581c535d89fd1e1c93fdfedf56306e5ef58043e5a915f871c76cd90c6e6425948192f384e4c8c20497b31a8a4ef5b90f5d2 SHA512 8f977e63a83b2460455f500646d19ed142090ad20acd5ff08a24d9b39f23e69efe6706834380abbd31cca705e3623b14e482cdd8f8a6323315a08fa11bd54951 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 -} diff --git a/dev-python/pysvn/pysvn-1.9.22.ebuild b/dev-python/pysvn/pysvn-1.9.22.ebuild index 6e6d1762769f..30365cdf88c4 100644 --- a/dev-python/pysvn/pysvn-1.9.22.ebuild +++ b/dev-python/pysvn/pysvn-1.9.22.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://downloads.sourceforge.net/project/pysvn/pysvn/V${PV}/${P}.tar.g LICENSE="Apache-1.1" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="doc examples" DEPEND=" |