diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-08-28 00:33:26 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-08-28 00:33:26 +0000 |
commit | 7d6e09eec30e2e714dc4dbadce005ea80d8923e8 (patch) | |
tree | 23de4c31f459ef6e7f5ecb74cbeaa88d9ae2f1db | |
parent | Version bump. Convert to distutils-r1. (diff) | |
download | gentoo-2-7d6e09eec30e2e714dc4dbadce005ea80d8923e8.tar.gz gentoo-2-7d6e09eec30e2e714dc4dbadce005ea80d8923e8.tar.bz2 gentoo-2-7d6e09eec30e2e714dc4dbadce005ea80d8923e8.zip |
Version bump.
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
-rw-r--r-- | dev-python/pysvn/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/pysvn/pysvn-1.7.8.ebuild | 66 |
2 files changed, 72 insertions, 1 deletions
diff --git a/dev-python/pysvn/ChangeLog b/dev-python/pysvn/ChangeLog index ca16334e13c8..51273b5612f8 100644 --- a/dev-python/pysvn/ChangeLog +++ b/dev-python/pysvn/ChangeLog @@ -1,6 +1,11 @@ # 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.34 2013/05/10 03:53:45 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pysvn/ChangeLog,v 1.35 2013/08/28 00:33:26 floppym Exp $ + +*pysvn-1.7.8 (28 Aug 2013) + + 28 Aug 2013; Mike Gilbert <floppym@gentoo.org> +pysvn-1.7.8.ebuild: + Version bump. 10 May 2013; Patrick Lauer <patrick@gentoo.org> -pysvn-1.7.5.ebuild: Removing 1.7.5 as it depends on removed svn version diff --git a/dev-python/pysvn/pysvn-1.7.8.ebuild b/dev-python/pysvn/pysvn-1.7.8.ebuild new file mode 100644 index 000000000000..a03717d3f106 --- /dev/null +++ b/dev-python/pysvn/pysvn-1.7.8.ebuild @@ -0,0 +1,66 @@ +# 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.8.ebuild,v 1.1 2013/08/28 00:33:26 floppym Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} ) + +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[${PYTHON_USEDEP}] + <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 -r Import || die + + 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 + + if [[ ${EPYTHON} == python2.5 ]]; then + cd Source || die + "${PYTHON}" setup.py backport || die "Backport failed" + fi +} + +python_configure() { + cd Source || die + # all config options from 1.7.6 are all already set + "${PYTHON}" setup.py configure +} + +python_compile() { + cd Source || die + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" +} + +python_test() { + cd Tests || die + LC_ALL="en_US.UTF-8" emake +} + +python_install() { + cd Source || die + python_domodule pysvn +} + +python_install_all() { + use doc && local HTML_DOCS=( Docs/ ) + use examples && local EXAMPLES=( Examples/Client/. ) + distutils-r1_python_install_all +} |