diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
commit | 46eedbedafdb0040c37884982d4c775ce277fb7b (patch) | |
tree | db33a91259730be84999e13a8d8168c799f50ac0 /dev-python/pysvn | |
parent | e23a08d0c97a0cc415aaa165da840b056f93c997 (diff) |
gentoo resync : 20.10.2021
Diffstat (limited to 'dev-python/pysvn')
-rw-r--r-- | dev-python/pysvn/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pysvn/files/pysvn-1.9.13-respect-flags.patch | 124 | ||||
-rw-r--r-- | dev-python/pysvn/pysvn-1.9.13.ebuild | 74 |
3 files changed, 0 insertions, 201 deletions
diff --git a/dev-python/pysvn/Manifest b/dev-python/pysvn/Manifest index df2d81973a42..5611fa28362f 100644 --- a/dev-python/pysvn/Manifest +++ b/dev-python/pysvn/Manifest @@ -1,6 +1,3 @@ -AUX pysvn-1.9.13-respect-flags.patch 5843 BLAKE2B 0759be0ccdcdd96fb2d33591772ac399baf46b37186835ecc1f13cf51cbff85d552270afc30240299a1c27cca5df99e9d97a578b0b70c18f9227bec8fbfb245a SHA512 23c7f16f3e1fa9d1ae99360903736232d09ad66591e6c49ae342d33dbd0d27f5a85584d2a4652023425963480773a3b9c0d604905d91192f399c573b06f67fa0 -DIST pysvn-1.9.13.tar.gz 666722 BLAKE2B 4ada83f474026976309b8fc7876dd860fb68eb73dd0a4db0dd0c2838cc029976d5886462705c8b6aa85c5a6f8081f94df61bcbc1698879537fbeb3125154c1a0 SHA512 26ce9af363efb1aee25f8ed73e5bab56208523cb3e7cbe657a5f1145bc3500b2f370b4dfebf4eaace9f566f5676b053c41acb4d01458e4d6b79bd852ac260aa7 DIST pysvn-1.9.15.tar.gz 667161 BLAKE2B 35e9e0967d5c0b4cebf546e40df17b66c66406d0f8100c32e6e840220f60b0083c0ed3f3af5f54e2264d06905ea90970d6b7cbfad2bab872a14d5d4aea5900df SHA512 0809507134fd31f6bcc90217e7840eb166e2eb2ed56316010a549dd70f6f855599f596942574343cdefd5997947b12c847df2cd145669f50aa93f603e46a5ee0 -EBUILD pysvn-1.9.13.ebuild 1747 BLAKE2B 0f4d909740999fabc7782f6c4f1cb302d28387c3d176ad9dfd7961935aeb374e5e445be4b5c9af80f2280d9409426ef4bd6430cb98a4171e3e0038b5d5d41a24 SHA512 c5239333af3d09c63c1156359fcb2d07c5820a73a61e0f41af087e0bb0772186daecffa5dfafb96dd441ec323d47c82b10839b59788bf2f4600522bce97e745a EBUILD pysvn-1.9.15.ebuild 1272 BLAKE2B 0102cbd80681f495c9ebce636dbb417a2655a3ea3bba6f34298d82a5fb8ca3e0ed15ecb9a6d51a10fb5dd1b89c00a57b35d7f3375d16bd84ea84fffc86398bcc SHA512 1e847b4f98454ab1fa96eda0719dc80d18064271a6c02914851d3fc5e646eeff53764153908673c955639cc6868da6aa1815db0c140280be7e2f182326c4b068 MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 diff --git a/dev-python/pysvn/files/pysvn-1.9.13-respect-flags.patch b/dev-python/pysvn/files/pysvn-1.9.13-respect-flags.patch deleted file mode 100644 index 4070ba6487ad..000000000000 --- a/dev-python/pysvn/files/pysvn-1.9.13-respect-flags.patch +++ /dev/null @@ -1,124 +0,0 @@ -From 9f1d90d7b6ece865af2a23fa412e205cedba4fd4 Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping <sebastian@pipping.org> -Date: Sat, 3 Jul 2021 11:48:09 +0200 -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 72c2c8e..fbe6936 100644 ---- a/Source/setup_configure.py -+++ b/Source/setup_configure.py -@@ -891,8 +891,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' -@@ -1034,8 +1034,8 @@ class MacOsxCompilerGCC(CompilerGCC): - else: - arch_options = '' - -- self._addVar( 'CCC', 'g++ %s -mmacosx-version-min=%s' % (arch_options, self.macosx_deployment_target) ) -- self._addVar( 'CC', 'gcc %s -mmacosx-version-min=%s' % (arch_options, self.macosx_deployment_target) ) -+ self._addVar( 'CCC', '$(CXX) %s -mmacosx-version-min=%s' % (arch_options, self.macosx_deployment_target) ) -+ self._addVar( 'CC', '$(CC) %s -mmacosx-version-min=%s' % (arch_options, self.macosx_deployment_target) ) - - self._find_paths_pycxx_dir = [ - '../Import/pycxx-%d.%d.%d' % min_pycxx_version, -@@ -1101,11 +1101,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. -@@ -1129,7 +1128,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', -@@ -1159,7 +1157,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 ' -@@ -1167,7 +1165,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 ' -@@ -1240,11 +1238,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() -@@ -1272,8 +1269,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' ) -@@ -1282,7 +1278,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.32.0 - diff --git a/dev-python/pysvn/pysvn-1.9.13.ebuild b/dev-python/pysvn/pysvn-1.9.13.ebuild deleted file mode 100644 index 062d488acd68..000000000000 --- a/dev-python/pysvn/pysvn-1.9.13.ebuild +++ /dev/null @@ -1,74 +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 -DISTUTILS_USE_SETUPTOOLS=bdepend # see setup.py -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 - - # Build system mis-assumes that we have a local SVN checkout - # that we can query using command "svnversion -c ..". - # Revision 2061 is release 1.9.13 according to - # https://sourceforge.net/p/pysvn/code/2061/ - echo $'#! /bin/sh\necho 2061' > "${T}"/fake_svnversion.sh || die - chmod a+x "${T}"/fake_svnversion.sh || die -} - -python_compile() { - cd Source || die - emake \ - CC="$(tc-getCC)" \ - CXX="$(tc-getCXX)" \ - WC_SVNVERSION="${T}/fake_svnversion.sh" -} - -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 -} |