Gentoo Archives: gentoo-commits

From: "Mike Gilbert (floppym)" <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pysvn: pysvn-1.7.8.ebuild ChangeLog
Date: Wed, 28 Aug 2013 00:33:30
Message-Id: 20130828003327.0793F2004C@flycatcher.gentoo.org
1 floppym 13/08/28 00:33:26
2
3 Modified: ChangeLog
4 Added: pysvn-1.7.8.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
9
10 Revision Changes Path
11 1.35 dev-python/pysvn/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysvn/ChangeLog?rev=1.35&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysvn/ChangeLog?rev=1.35&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysvn/ChangeLog?r1=1.34&r2=1.35
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pysvn/ChangeLog,v
20 retrieving revision 1.34
21 retrieving revision 1.35
22 diff -u -r1.34 -r1.35
23 --- ChangeLog 10 May 2013 03:53:45 -0000 1.34
24 +++ ChangeLog 28 Aug 2013 00:33:26 -0000 1.35
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/pysvn
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pysvn/ChangeLog,v 1.34 2013/05/10 03:53:45 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pysvn/ChangeLog,v 1.35 2013/08/28 00:33:26 floppym Exp $
30 +
31 +*pysvn-1.7.8 (28 Aug 2013)
32 +
33 + 28 Aug 2013; Mike Gilbert <floppym@g.o> +pysvn-1.7.8.ebuild:
34 + Version bump.
35
36 10 May 2013; Patrick Lauer <patrick@g.o> -pysvn-1.7.5.ebuild:
37 Removing 1.7.5 as it depends on removed svn version
38
39
40
41 1.1 dev-python/pysvn/pysvn-1.7.8.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysvn/pysvn-1.7.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysvn/pysvn-1.7.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pysvn-1.7.8.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/pysvn/pysvn-1.7.8.ebuild,v 1.1 2013/08/28 00:33:26 floppym Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
54
55 inherit eutils distutils-r1 toolchain-funcs
56
57 DESCRIPTION="Object-oriented python bindings for subversion"
58 HOMEPAGE="http://pysvn.tigris.org/"
59 SRC_URI="http://pysvn.barrys-emacs.org/source_kits/${P}.tar.gz"
60
61 LICENSE="Apache-1.1"
62 SLOT="0"
63 KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
64 IUSE="doc examples"
65
66 DEPEND="
67 >=dev-python/pycxx-6.2.0[${PYTHON_USEDEP}]
68 <dev-vcs/subversion-1.8" # (bug #395533)
69 RDEPEND="${DEPEND}"
70 # Currently fail, no facility to add new issue upstream
71 RESTRICT="test"
72
73 python_prepare() {
74 # Don't use internal copy of dev-python/pycxx.
75 rm -r Import || die
76
77 epatch "${FILESDIR}"/${PN}-1.7.7-respect_flags.patch
78
79 # http://pysvn.tigris.org/source/browse/pysvn?view=rev&revision=1469
80 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
81
82 if [[ ${EPYTHON} == python2.5 ]]; then
83 cd Source || die
84 "${PYTHON}" setup.py backport || die "Backport failed"
85 fi
86 }
87
88 python_configure() {
89 cd Source || die
90 # all config options from 1.7.6 are all already set
91 "${PYTHON}" setup.py configure
92 }
93
94 python_compile() {
95 cd Source || die
96 emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
97 }
98
99 python_test() {
100 cd Tests || die
101 LC_ALL="en_US.UTF-8" emake
102 }
103
104 python_install() {
105 cd Source || die
106 python_domodule pysvn
107 }
108
109 python_install_all() {
110 use doc && local HTML_DOCS=( Docs/ )
111 use examples && local EXAMPLES=( Examples/Client/. )
112 distutils-r1_python_install_all
113 }