summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/pysvn/ChangeLog9
-rw-r--r--dev-python/pysvn/Manifest15
-rw-r--r--dev-python/pysvn/files/pysvn-1.7.7-respect_flags.patch95
-rw-r--r--dev-python/pysvn/pysvn-1.7.7.ebuild70
4 files changed, 187 insertions, 2 deletions
diff --git a/dev-python/pysvn/ChangeLog b/dev-python/pysvn/ChangeLog
index 27708c940e2b..e425e75e77e3 100644
--- a/dev-python/pysvn/ChangeLog
+++ b/dev-python/pysvn/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/pysvn
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pysvn/ChangeLog,v 1.31 2013/01/13 11:40:59 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pysvn/ChangeLog,v 1.32 2013/03/12 16:56:52 idella4 Exp $
+
+*pysvn-1.7.7 (12 Mar 2013)
+
+ 12 Mar 2013; Ian Delaney <idella4@gentoo.org>
+ +files/pysvn-1.7.7-respect_flags.patch, +pysvn-1.7.7.ebuild,
+ files/pysvn-1.7.6-respect_flags.patch, pysvn-1.7.6.ebuild:
+ bump, some test scripts fial, test restrited
13 Jan 2013; Agostino Sarubbo <ago@gentoo.org> pysvn-1.7.6.ebuild:
Stable for x86, wrt bug #449782
diff --git a/dev-python/pysvn/Manifest b/dev-python/pysvn/Manifest
index 43cd9ec6d2ee..d2d746199e64 100644
--- a/dev-python/pysvn/Manifest
+++ b/dev-python/pysvn/Manifest
@@ -1,7 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX pysvn-1.7.6-respect_flags.patch 4544 SHA256 b4f33dce10722b6b5a11d4018535cc9af418520f51af85b4059c636743c235fa SHA512 a8474fe2f99107b0e383aa89994fd63972b3733bb83ce332fed11ce05c84cff743ae7c3cb66a14f73eae889bf9c38df1a86ca4bfbd4c4dec0368822f7e009bf3 WHIRLPOOL a053a8100d4ef81bd6d5f9709fefd378fbdbd4b8388f61cf621b8fb32b1dc74138cacd6d19f7c0f61e9af62b72bfe31761b683a5aae4209b13aa3936c50aa8d2
+AUX pysvn-1.7.7-respect_flags.patch 4067 SHA256 3268411d7f0a188a52e3e54b281afa5e94ecb7721758b2755accc90545b62c1a SHA512 b4940cfdf17c5ed96673e170d06bd0003de52489452e15b30af2edd5189d623475c456cfd66f7ba695c987da25188ca1e272524c3bbbfde3574835253aa0b926 WHIRLPOOL 8b5b095029728257e88ecd8f8ec5cfc679d48801e8bbd4385bb808b1d303ba1d2cc9d69c671defaf4363412b1edbd409cf319bac164c4459706d20d2756ec522
DIST pysvn-1.7.5.tar.gz 333366 SHA256 cb9664de62a85adba8471eda1894c3831d3400131feeea0e7b9cdd7c15d671ef SHA512 439b39b3f4a46b77ee8b4e10f8bb3b45fe7e1f03e37a34c073b7cc14f47451199f184385222c7ff53798546a7d9870df60e2218bfd6b2df4f644d4f638742c25 WHIRLPOOL 26fbcd0ad804cbc9e9af9ff113c79bb546debf8725dd420aa2ad494d42f6c1eda7df3bf733c502734bca402dd97c5c937ff445a6b1b37b7f8710483383bda934
DIST pysvn-1.7.6.tar.gz 331549 SHA256 47252408a1b18add18634395108737eaca77d12fbb22e5f187280b9e074c8b73 SHA512 21c78521d34167ebb751c832ed2cc954f1afa1941caf073f1d3cca2d487dceffbf81feaf0761ed3a9fd94e7289d81228b54f556019b9851386bdbf7577320ed2 WHIRLPOOL b1e4cf890c658a83988d709deaded4fd5f4150f282d3d4c651fee89db4e7c4c7cbc50cf078ae4261409b61ec530b79ed302cb96b5f6d5fbd74c7777a6496d6db
+DIST pysvn-1.7.7.tar.gz 331956 SHA256 2f088e57df77c3779fc0060dab6d65b8f965a098beeaee91e45eb6b54c4d92cb SHA512 8dfdf4287c0216ec1437fa5f1f6af14df62c94ae08a4b182ffc008264fabc6036595081d05a7c41db70563bf2e740c281ff9c09aa2c6fcd0e05e7f3247fbe69d WHIRLPOOL d86feb4a08a1f28c9c119cd46b5482570c7ec260d6445b78a7b415366affc36f704888d424e36355e9d9ff4b829699418fae7576c3b4399349c6798964aec4a6
EBUILD pysvn-1.7.5.ebuild 2466 SHA256 17243e029b6dba653439e13fafdd9d89cb6cb38b4fa25fa9fe225b5e4876b70c SHA512 6a945cd85a42f4c8945a5f4b215f02b075d6597288d219ad4fecb889bd36ee80a3f9de497bcf20612f0fe27a3bf60db04ece2bd3ddb8312422456fe21a93d4ea WHIRLPOOL 1b7327ca2ebf36d0e16043978f085adc21c16cbeb501bda4fe2a25b595cb4a8457764c0bccafe1491b6b0a06f5cfcb68e986f348bdd642f7dc2685e1f3e58fab
EBUILD pysvn-1.7.6.ebuild 2307 SHA256 71525f81cf36fc8f51ecf98ca0866cb7afdd3c1ddd34c4f17ad333c38759e718 SHA512 4edf60b31aec012365db6f2f877a03b047b8bd0d2e4842ee1f60d8fda8481f6067c701ed76dbf629be6aaa57e2a4eab9b16489d88d1b9a240edbd65e7acfa9e6 WHIRLPOOL f813c71127490ea32297ced57d57b5fc91263f5ea96e5462466eb75f186f505c3e93825d3f2944c22d3c7d4b710f92d4b0125a38b67ad098bc717e199afd2541
-MISC ChangeLog 4533 SHA256 cae46dc17db15dfff7d62c7bfdca4f0afe5dc3f0870a84bf892dc6e72369b595 SHA512 088b2abcfcdc205aa4ad5fee90c34149673fa0b6000f7e7069b4e64de097956beae449aff21f18bba13219cdac3790f766c1f2ac67eacb21a77c1dda20a9d7ea WHIRLPOOL fa968e7e844c6715d836d4c9cc735b2b24d5907362cc174946ee1e941902dcebfd2df0d771a3526e43d29f97ba623c43cd56344dac4bbc6da5b9212de846a35a
+EBUILD pysvn-1.7.7.ebuild 1787 SHA256 86121fe3bfc8de7f69a99f7ca51d2b7048e29798069a6c1cbf7b239be1215335 SHA512 21c0a37bd92b94abf02a23e4c17c1395fa8144c057557f039ee4dd7fc6e3ec2f8ae73b4c93c66a1265cdf58d10ab12e891b3236028a89c2d63041a725bf1e971 WHIRLPOOL 39587d8499c478d561e1cc6815a9cdf312ae5ea015a4b223d691a75296450de4e6813808726e589a32a8ed30d6c43bc7d833fddd0df4a4c6cc7da9715dbf80f4
+MISC ChangeLog 4785 SHA256 4de95696b82f2d64227706f3d6b2df56a4e28e2de72ff58307e31be847914cf5 SHA512 a77e4f68f4300b1afaf7bd40f8b5c43b29aed0ca5c1a91f61395ddf4a718708f06bb87626be8ce9ce3f72e8f0faa40c990ec800facbdc20f545928e528468cf8 WHIRLPOOL d658ccd37668b9942fd7ba45360f1768183e6459d908a509f705d334368086aa2d48aa3373704db0a54cea9defa06580293a2bf1dbc55b8fbe344e082d7bfc9c
MISC metadata.xml 160 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a SHA512 7c02a1de1ddcb6b7c6378cceff0458da3a15d5381417f7cdf01874e7c372664b8899863f41b3a2fd8d6ad67ceb732dac6da0cc17575bf8e3e6d89480417c6628 WHIRLPOOL ed2795e4466eda8c804d5067c87386e269a59fe959393057ca5ddc36851e00f5210c4da1adf4bbdfdbb7d1d3d5c60aced25727ca12fdc8305d9e263a3aca9b13
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAlE/XmMACgkQso7CE7gHKw3lVACggRjj2nw+iEG0khDaiSoR9GM1
+6bgAniLRYPBIgGsAYPeRbpyGrSPDYTEx
+=k7PJ
+-----END PGP SIGNATURE-----
diff --git a/dev-python/pysvn/files/pysvn-1.7.7-respect_flags.patch b/dev-python/pysvn/files/pysvn-1.7.7-respect_flags.patch
new file mode 100644
index 000000000000..e36171baeda3
--- /dev/null
+++ b/dev-python/pysvn/files/pysvn-1.7.7-respect_flags.patch
@@ -0,0 +1,95 @@
+--- Source/setup_configure.py
++++ Source/setup_configure.py
+@@ -830,8 +830,8 @@
+ 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'
+@@ -948,8 +948,8 @@
+ 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' % pycxx_version,
+@@ -1014,12 +1014,12 @@
+
+ def setupUtilities( self ):
+ self._addVar( 'CCCFLAGS',
+- '-g '
++ '$(CXXFLAGS) '
+ '-no-long-double '
+ '-Wall -fPIC -fexceptions -frtti '
+ '-I. -I%(APR_INC)s -I%(SVN_INC)s '
+ '-D%(DEBUG)s' )
+- self._addVar( 'LDEXE', '%(CCC)s -g' )
++ self._addVar( 'LDEXE', '$(CXX) $(LDFLAGS)' )
+
+ def setupPySvn( self ):
+ self._pysvnModuleSetup()
+@@ -1031,7 +1031,7 @@
+ self._addVar( 'PYTHON_INC', distutils.sysconfig.get_python_inc() )
+
+ py_cflags_list = [
+- '-g',
++ '$(CXXFLAGS)',
+ '-no-long-double',
+ '-Wall -fPIC -fexceptions -frtti',
+ '-I. -I%(APR_INC)s -I%(SVN_INC)s',
+@@ -1058,13 +1058,12 @@
+
+ self._addVar( 'CCCFLAGS', ' '.join( py_cflags_list ) )
+ self._addVar( 'LDLIBS', ' '.join( py_ld_libs ) )
+- self._addVar( 'LDSHARED', '%(CCC)s -bundle -g '
++ self._addVar( 'LDSHARED', '$(CXX) $(LDFLAGS) -bundle '
+ '-framework System '
+ '%(PYTHON_FRAMEWORK)s '
+ '-framework CoreFoundation '
+ '-framework Kerberos '
+- '-framework Security '
+- '%(LDLIBS)s' )
++ '-framework Security' )
+
+ class UnixCompilerGCC(CompilerGCC):
+ def __init__( self, setup ):
+@@ -1124,11 +1123,11 @@
+
+ def setupUtilities( self ):
+ self._addVar( 'CCCFLAGS',
+- '-g '
++ '$(CXXFLAGS) '
+ '-Wall -fPIC -fexceptions -frtti '
+ '-I. -I%(APR_INC)s -I%(SVN_INC)s '
+ '-D%(DEBUG)s' )
+- self._addVar( 'LDEXE', '%(CCC)s -g' )
++ self._addVar( 'LDEXE', '$(CXX) $(LDFLAGS)' )
+
+ def setupPySvn( self ):
+ self._pysvnModuleSetup()
+@@ -1138,6 +1137,7 @@
+ self._addVar( 'PYTHON_INC', distutils.sysconfig.get_python_inc() )
+
+ py_cflags_list = [
++ '$(CXXFLAGS)',
+ '-Wall -fPIC -fexceptions -frtti',
+ '-I. -I%(APR_INC)s -I%(SVN_INC)s',
+ '-DPYCXX_PYTHON_2TO3 -I%(PYCXX)s -I%(PYCXX_SRC)s -I%(PYTHON_INC)s',
+@@ -1154,7 +1154,7 @@
+
+ self._addVar( 'CCCFLAGS', ' '.join( py_cflags_list ) )
+ self._addVar( 'LDLIBS', ' '.join( self._getLdLibs() ) )
+- self._addVar( 'LDSHARED', '%(CCC)s -shared -g' )
++ self._addVar( 'LDSHARED', '$(CXX) $(LDFLAGS) -shared' )
+
+ #--------------------------------------------------------------------------------
+ class LinuxCompilerGCC(UnixCompilerGCC):
diff --git a/dev-python/pysvn/pysvn-1.7.7.ebuild b/dev-python/pysvn/pysvn-1.7.7.ebuild
new file mode 100644
index 000000000000..cd832fc12bd8
--- /dev/null
+++ b/dev-python/pysvn/pysvn-1.7.7.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pysvn/pysvn-1.7.7.ebuild,v 1.1 2013/03/12 16:56:52 idella4 Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} )
+
+inherit eutils distutils-r1 toolchain-funcs
+
+DESCRIPTION="Object-oriented python bindings for subversion"
+HOMEPAGE="http://pysvn.tigris.org/"
+SRC_URI="http://pysvn.barrys-emacs.org/source_kits/${P}.tar.gz"
+
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE="doc examples"
+
+DEPEND="
+ >=dev-python/pycxx-6.2.0
+ <dev-vcs/subversion-1.8" # (bug #395533)
+RDEPEND="${DEPEND}"
+# Currently fail, no facility to add new issue upstream
+RESTRICT="test"
+
+python_prepare() {
+ # Don't use internal copy of dev-python/pycxx.
+ rm -fr Import
+
+ epatch "${FILESDIR}"/${PN}-1.7.7-respect_flags.patch
+
+ # http://pysvn.tigris.org/source/browse/pysvn?view=rev&revision=1469
+ sed -e "s/PYSVN_HAS_SVN_CLIENT_CTX_T__CONFLICT_FUNC_16/PYSVN_HAS_SVN_CLIENT_CTX_T__CONFLICT_FUNC_1_6/" -i Source/pysvn_svnenv.hpp
+
+ pushd Source > /dev/null
+ if [[ "${EPYTHON:6:3}" == "2.5" ]]; then
+ "${PYTHON}" setup.py backport || die "Backport failed"
+ fi
+}
+
+python_configure() {
+ cd Source
+ # all config options from 1.7.6 are all already set
+ "${PYTHON}" setup.py configure
+}
+
+python_compile() {
+ cd Source
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
+}
+
+python_test() {
+ cd Tests
+ LC_ALL="en_US.UTF-8" emake
+}
+
+python_install() {
+ cd Source/pysvn
+ exeinto "$(python_get_sitedir)"/pysvn
+ doexe _pysvn*$(get_modname)
+ insinto "$(python_get_sitedir)"/pysvn
+ doins __init__.py
+
+ use doc && dohtml -r Docs/
+
+ if use examples; then
+ docinto examples
+ dodoc Examples/Client/*
+ fi
+}