summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-09 14:44:33 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-09 14:44:33 +0000
commitb1c82d4a8f402a13125a3bd6e3b848f105026f0e (patch)
treea098533a18f65d237446c35c06abec8b90f00101 /dev-python
parentVersion bump, fixes security issue #354197, thank Paweł Hajdan, Jr. for repo... (diff)
downloadhistorical-b1c82d4a8f402a13125a3bd6e3b848f105026f0e.tar.gz
historical-b1c82d4a8f402a13125a3bd6e3b848f105026f0e.tar.bz2
historical-b1c82d4a8f402a13125a3bd6e3b848f105026f0e.zip
Version bump.
Package-Manager: portage-2.2.0_alpha26_p10/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pysvn/ChangeLog8
-rw-r--r--dev-python/pysvn/Manifest14
-rw-r--r--dev-python/pysvn/pysvn-1.7.5.ebuild106
3 files changed, 116 insertions, 12 deletions
diff --git a/dev-python/pysvn/ChangeLog b/dev-python/pysvn/ChangeLog
index 5b507f910768..a26de9526a4f 100644
--- a/dev-python/pysvn/ChangeLog
+++ b/dev-python/pysvn/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pysvn
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pysvn/ChangeLog,v 1.18 2011/02/05 22:49:58 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pysvn/ChangeLog,v 1.19 2011/03/09 14:44:33 arfrever Exp $
+
+*pysvn-1.7.5 (09 Mar 2011)
+
+ 09 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +pysvn-1.7.5.ebuild:
+ Version bump.
05 Feb 2011; Markus Meier <maekke@gentoo.org> pysvn-1.7.4.ebuild:
add ~arm, bug #350648
diff --git a/dev-python/pysvn/Manifest b/dev-python/pysvn/Manifest
index a602e3b21f51..741b3ed2ff7b 100644
--- a/dev-python/pysvn/Manifest
+++ b/dev-python/pysvn/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST pysvn-1.7.4.tar.gz 330984 RMD160 d08c71d7ee3702f39f4fe168a8cb8ca59793f8ca SHA1 6d75f96f756161653b13f73f09fa8310e572f59a SHA256 88ecdbe7fdbb31b74108a318e4b53f85b770ca4f88ca32fcc89ab4e39e44a7a4
+DIST pysvn-1.7.5.tar.gz 333366 RMD160 d412aab74737d371a184a327ceadc971a00340ab SHA1 912d7081a8294a578f822e03d60747154cf8532d SHA256 cb9664de62a85adba8471eda1894c3831d3400131feeea0e7b9cdd7c15d671ef
EBUILD pysvn-1.7.4.ebuild 2340 RMD160 ff1bd4234e73ed5575f070dc5bd9f3548dd486bc SHA1 20b060dd2027913bf0ba404606de928b8bf740d2 SHA256 6d3cf2c52df9b767af18e777694a2a8ab527e1a9569067e23ad4cff6eba0d815
-MISC ChangeLog 2863 RMD160 8ce5a88c425324faca156252c0240cf68852f685 SHA1 6f4175926922e3488df7aaafeb97e958ef3cf181 SHA256 e05f10835037fa3d85f2fdfebf424a3033f852da56c39ef68604012e22ce3e9b
+EBUILD pysvn-1.7.5.ebuild 2439 RMD160 9dc175700f2fdf63958652f9a8774dc2d9037720 SHA1 6af61f9182d87cd08a0e838a322e06d317e827e9 SHA256 16b46f785c65b70670ffc62dfc0758e982919c28bffc48bdf86d09d064c347fa
+MISC ChangeLog 3006 RMD160 3b453f556433c87fb75eaa3b8ede3db0559f8908 SHA1 e48f57e9111534b5f309ba7703cf2e833043010d SHA256 918eda594d7dcd3ecc1134dd6e719ab7ce9944a66ee0794930a4b26d8227706e
MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iEYEARECAAYFAk1N1FwACgkQkKaRLQcq0GI2wgCcDMd28xLiPPaitnbYGygKtBNJ
-P7EAn3icg6fTEUQx2k1OQg5rGss9XeJI
-=5aOG
------END PGP SIGNATURE-----
diff --git a/dev-python/pysvn/pysvn-1.7.5.ebuild b/dev-python/pysvn/pysvn-1.7.5.ebuild
new file mode 100644
index 000000000000..340c0e4a058a
--- /dev/null
+++ b/dev-python/pysvn/pysvn-1.7.5.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pysvn/pysvn-1.7.5.ebuild,v 1.1 2011/03/09 14:44:33 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="*"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="*-jython"
+
+inherit python 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 ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE="doc examples"
+
+RDEPEND=">=dev-python/pycxx-6.2.0
+ dev-vcs/subversion"
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
+
+src_prepare() {
+ # Don't use internal copy of dev-python/pycxx.
+ rm -fr Import
+
+ # Fix harmless SyntaxErrors with Python 3.
+ sed -e "/^DISTDIR=/d" -i Source/pysvn_common.mak
+
+ python_copy_sources
+
+ preparation() {
+ cd Source
+ if has "${PYTHON_ABI}" 2.4 2.5; then
+ "$(PYTHON)" setup.py backport || die "Backport failed"
+ fi
+ }
+ python_execute_function -s preparation
+}
+
+src_configure() {
+ configuration() {
+ cd Source
+ "$(PYTHON)" setup.py configure \
+ --pycxx-src-dir="${EPREFIX}/usr/share/python$(python_get_version)/CXX" \
+ --apr-inc-dir="${EPREFIX}/usr/include/apr-1" \
+ --svn-root-dir="${EPREFIX}/usr" || return 1
+
+ sed \
+ -e 's:^\(CCFLAGS=\)\(.*\):\1$(CFLAGS) \2:g' \
+ -e 's:^\(CCCFLAGS=\)\(.*\):\1$(CXXFLAGS) \2:g' \
+ -e "/^CCC=/s:g++:$(tc-getCXX):" \
+ -e "/^CC=/s:gcc:$(tc-getCC):" \
+ -e "/^LDSHARED=/s:g++:$(tc-getCXX) ${LDFLAGS}:" \
+ -i Makefile || die "sed failed"
+ }
+ python_execute_function -s configuration
+}
+
+src_compile() {
+ building() {
+ cd Source
+ emake
+ }
+ python_execute_function -s building
+}
+
+src_test() {
+ testing() {
+ cd Source
+ emake test || return 1
+ emake -C ../Tests || return 1
+ }
+ python_execute_function -s testing
+}
+
+src_install() {
+ installation() {
+ cd Source/pysvn
+ exeinto "$(python_get_sitedir)/pysvn"
+ doexe _pysvn*$(get_modname) || die "doexe failed"
+ insinto "$(python_get_sitedir)/pysvn"
+ doins __init__.py || die "doins failed"
+ }
+ python_execute_function -s installation
+
+ if use doc; then
+ dohtml -r Docs/ || die "dohtml failed"
+ fi
+
+ if use examples; then
+ docinto examples
+ dodoc Examples/Client/* || die "dodoc examples failed"
+ fi
+}
+
+pkg_postinst() {
+ python_mod_optimize pysvn
+}
+
+pkg_postrm() {
+ python_mod_cleanup pysvn
+}