diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-08-08 08:21:38 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-08-08 08:33:22 +0200 |
commit | b08b2a56f136bcbe7f266031097ab2db2d23c319 (patch) | |
tree | b646a8eda2fe2a0263048b1c1f0839c3865fd806 /dev-python | |
parent | dev-python/bitarray: Remove old (diff) | |
download | gentoo-b08b2a56f136bcbe7f266031097ab2db2d23c319.tar.gz gentoo-b08b2a56f136bcbe7f266031097ab2db2d23c319.tar.bz2 gentoo-b08b2a56f136bcbe7f266031097ab2db2d23c319.zip |
dev-python/pysvn: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pysvn/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pysvn/files/pysvn-1.9.11-respect-flags.patch | 124 | ||||
-rw-r--r-- | dev-python/pysvn/pysvn-1.9.11.ebuild | 63 |
3 files changed, 0 insertions, 188 deletions
diff --git a/dev-python/pysvn/Manifest b/dev-python/pysvn/Manifest index a1a1a103ecc7..4fa6852d7044 100644 --- a/dev-python/pysvn/Manifest +++ b/dev-python/pysvn/Manifest @@ -1,3 +1,2 @@ -DIST pysvn-1.9.11.tar.gz 624408 BLAKE2B 2ca13388717cc82b68509843e3b1780bceb5c088c41fadc81206c909eb185ec7c73d0a7453fc4e0c1a78a5186e21d382c79af0fb666edce7f5e72c0cf63e25db SHA512 078dc0e19a1f29d40571de002734943415594bcbe132a4d0e6bf8e8781175345ca1b3a4967a183a15efb1462871a40d8e3879a22c913a649555ca593fb99db89 DIST pysvn-1.9.13.tar.gz 666722 BLAKE2B 4ada83f474026976309b8fc7876dd860fb68eb73dd0a4db0dd0c2838cc029976d5886462705c8b6aa85c5a6f8081f94df61bcbc1698879537fbeb3125154c1a0 SHA512 26ce9af363efb1aee25f8ed73e5bab56208523cb3e7cbe657a5f1145bc3500b2f370b4dfebf4eaace9f566f5676b053c41acb4d01458e4d6b79bd852ac260aa7 DIST pysvn-1.9.15.tar.gz 667161 BLAKE2B 35e9e0967d5c0b4cebf546e40df17b66c66406d0f8100c32e6e840220f60b0083c0ed3f3af5f54e2264d06905ea90970d6b7cbfad2bab872a14d5d4aea5900df SHA512 0809507134fd31f6bcc90217e7840eb166e2eb2ed56316010a549dd70f6f855599f596942574343cdefd5997947b12c847df2cd145669f50aa93f603e46a5ee0 diff --git a/dev-python/pysvn/files/pysvn-1.9.11-respect-flags.patch b/dev-python/pysvn/files/pysvn-1.9.11-respect-flags.patch deleted file mode 100644 index 9a9bcd7f44ec..000000000000 --- a/dev-python/pysvn/files/pysvn-1.9.11-respect-flags.patch +++ /dev/null @@ -1,124 +0,0 @@ -From 73655a682b69fd514f7060eb67e60ecb617c5f27 Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping <sebastian@pipping.org> -Date: Sun, 1 Mar 2020 14:16:13 +0100 -Subject: [PATCH] Respect CC, CXX, LDFLAGS - ---- - Patches/test_proplist.mak | 4 ++-- - Source/setup_configure.py | 24 ++++++++++-------------- - 2 files changed, 12 insertions(+), 16 deletions(-) - -diff --git a/Patches/test_proplist.mak b/Patches/test_proplist.mak -index 9d9a58a..02e7a68 100644 ---- a/Patches/test_proplist.mak -+++ b/Patches/test_proplist.mak -@@ -2,7 +2,7 @@ CCCFLAGS=-fPIC -fexceptions -frtti -I$(SVN_INC) -I$(APR_INC) - LDLIBS=-L$(SVN_LIB) -lsvn_client-1 -lapr-0 - - test_proplist: test_proplist.o -- g++ -g -o test_proplist test_proplist.o $(LDLIBS) -+ $(CXX) $(LDFLAGS) -o test_proplist test_proplist.o $(LDLIBS) - - test_proplist.o: test_proplist.cpp -- g++ -c -g $(CCCFLAGS) -o $@ $< -+ $(CXX) -c $(LDFLAGS) $(CCCFLAGS) -o $@ $< -diff --git a/Source/setup_configure.py b/Source/setup_configure.py -index e02a6a5..bbe7ec7 100644 ---- a/Source/setup_configure.py -+++ b/Source/setup_configure.py -@@ -900,8 +900,8 @@ class CompilerGCC(Compiler): - def __init__( self, setup ): - Compiler.__init__( self, setup ) - -- self._addVar( 'CCC', 'g++' ) -- self._addVar( 'CC', 'gcc' ) -+ self._addVar( 'CCC', '$(CXX)' ) -+ self._addVar( 'CC', '$(CC)' ) - - def getPythonExtensionFileExt( self ): - return '.so' -@@ -1037,8 +1037,8 @@ class MacOsxCompilerGCC(CompilerGCC): - else: - arch_options = '' - -- self._addVar( 'CCC', 'g++ %s' % (arch_options,) ) -- self._addVar( 'CC', 'gcc %s' % (arch_options,) ) -+ self._addVar( 'CCC', '$(CXX) %s' % (arch_options,) ) -+ self._addVar( 'CC', '$(CC) %s' % (arch_options,) ) - - self._find_paths_pycxx_dir = [ - '../Import/pycxx-%d.%d.%d' % min_pycxx_version, -@@ -1104,11 +1104,10 @@ class MacOsxCompilerGCC(CompilerGCC): - - def setupUtilities( self ): - self._addVar( 'CCCFLAGS', -- '-g ' - '-Wall -fPIC -fexceptions -frtti ' - '-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s ' - '-D%(DEBUG)s' ) -- self._addVar( 'LDEXE', '%(CCC)s -g' ) -+ self._addVar( 'LDEXE', '%(CCC)s $(LDFLAGS)' ) - - def setupPySvn( self ): - # Support building in a virtualenv. -@@ -1132,7 +1131,6 @@ class MacOsxCompilerGCC(CompilerGCC): - self._addVar( 'PYTHON_INC', distutils.sysconfig.get_python_inc() ) - - py_cflags_list = [ -- '-g', - '-Wall -fPIC', - '-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s', - '-DPYCXX_PYTHON_2TO3 -I%(PYCXX)s -I%(PYCXX_SRC)s -I%(PYTHON_INC)s', -@@ -1166,7 +1164,7 @@ class MacOsxCompilerGCC(CompilerGCC): - - if self.options.hasOption( '--link-python-framework-via-dynamic-lookup' ): - # preferred link method on homebrew for pysvn -- self._addVar( 'LDSHARED', '%(CCC)s -bundle -g ' -+ self._addVar( 'LDSHARED', '%(CCC)s -bundle $(LDFLAGS) ' - '-framework System ' - '-framework CoreFoundation ' - '-framework Kerberos ' -@@ -1174,7 +1172,7 @@ class MacOsxCompilerGCC(CompilerGCC): - '-undefined dynamic_lookup ' - '%(LDLIBS)s' ) - else: -- self._addVar( 'LDSHARED', '%(CCC)s -bundle -g ' -+ self._addVar( 'LDSHARED', '%(CCC)s -bundle $(LDFLAGS) ' - '-framework System ' - '%(PYTHON_FRAMEWORK)s ' - '-framework CoreFoundation ' -@@ -1247,11 +1245,10 @@ class UnixCompilerGCC(CompilerGCC): - - def setupUtilities( self ): - self._addVar( 'CCCFLAGS', -- '-g ' - '-Wall -fPIC -fexceptions -frtti ' - '-I. -I%(APR_INC)s -I%(APU_INC)s -I%(SVN_INC)s ' - '-D%(DEBUG)s' ) -- self._addVar( 'LDEXE', '%(CCC)s -g' ) -+ self._addVar( 'LDEXE', '%(CCC)s $(LDFLAGS)' ) - - def setupPySvn( self ): - self._pysvnModuleSetup() -@@ -1279,8 +1276,7 @@ class UnixCompilerGCC(CompilerGCC): - py_cflags_list.extend( self._getDefines( '-D%s' ) ) - - if self.options.hasOption( '--enable-debug' ): -- print( 'Info: Debug enabled' ) -- py_cflags_list.append( '-g' ) -+ print( 'Info: --enable-debug ignored' ) - - if self.options.hasOption( '--disable-deprecated-functions-warnings' ): - print( 'Info: Disable deprecated functions warnings' ) -@@ -1289,7 +1285,7 @@ class UnixCompilerGCC(CompilerGCC): - self._addVar( 'CCFLAGS', ' '.join( py_cflags_list ) ) - self._addVar( 'CCCFLAGS', ' '.join( py_cflags_list+['-fexceptions -frtti'] ) ) - self._addVar( 'LDLIBS', ' '.join( self._getLdLibs() ) ) -- self._addVar( 'LDSHARED', '%(CCC)s -shared -g' ) -+ self._addVar( 'LDSHARED', '%(CCC)s -shared $(LDFLAGS)' ) - - #-------------------------------------------------------------------------------- - class LinuxCompilerGCC(UnixCompilerGCC): --- -2.24.1 - diff --git a/dev-python/pysvn/pysvn-1.9.11.ebuild b/dev-python/pysvn/pysvn-1.9.11.ebuild deleted file mode 100644 index 94cf5b5d4488..000000000000 --- a/dev-python/pysvn/pysvn-1.9.11.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -DISTUTILS_IN_SOURCE_BUILD=true -inherit distutils-r1 toolchain-funcs - -DESCRIPTION="Object-oriented python bindings for subversion" -HOMEPAGE="https://pysvn.sourceforge.io/" -SRC_URI="mirror://sourceforge/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 ~x86-solaris" -IUSE="doc examples" - -DEPEND=" - >=dev-python/pycxx-7.0.2[${PYTHON_USEDEP}] - >=dev-vcs/subversion-1.9" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/${P}-respect-flags.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 - # all config options from 1.7.6 are all already set - esetup.py configure -} - -python_compile() { - cd Source || die - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -} - -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 -} |