Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pysvn/
Date: Fri, 30 Jul 2021 20:31:06
Message-Id: 1627677054.5da997c5eb250d08b634b561353fab3b66db3d8a.sping@gentoo
1 commit: 5da997c5eb250d08b634b561353fab3b66db3d8a
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 30 20:28:33 2021 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 30 20:30:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5da997c5
7
8 dev-python/pysvn: 1.9.15
9
10 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12
13 dev-python/pysvn/Manifest | 1 +
14 dev-python/pysvn/pysvn-1.9.15.ebuild | 64 ++++++++++++++++++++++++++++++++++++
15 2 files changed, 65 insertions(+)
16
17 diff --git a/dev-python/pysvn/Manifest b/dev-python/pysvn/Manifest
18 index deee675c45e..a1a1a103ecc 100644
19 --- a/dev-python/pysvn/Manifest
20 +++ b/dev-python/pysvn/Manifest
21 @@ -1,2 +1,3 @@
22 DIST pysvn-1.9.11.tar.gz 624408 BLAKE2B 2ca13388717cc82b68509843e3b1780bceb5c088c41fadc81206c909eb185ec7c73d0a7453fc4e0c1a78a5186e21d382c79af0fb666edce7f5e72c0cf63e25db SHA512 078dc0e19a1f29d40571de002734943415594bcbe132a4d0e6bf8e8781175345ca1b3a4967a183a15efb1462871a40d8e3879a22c913a649555ca593fb99db89
23 DIST pysvn-1.9.13.tar.gz 666722 BLAKE2B 4ada83f474026976309b8fc7876dd860fb68eb73dd0a4db0dd0c2838cc029976d5886462705c8b6aa85c5a6f8081f94df61bcbc1698879537fbeb3125154c1a0 SHA512 26ce9af363efb1aee25f8ed73e5bab56208523cb3e7cbe657a5f1145bc3500b2f370b4dfebf4eaace9f566f5676b053c41acb4d01458e4d6b79bd852ac260aa7
24 +DIST pysvn-1.9.15.tar.gz 667161 BLAKE2B 35e9e0967d5c0b4cebf546e40df17b66c66406d0f8100c32e6e840220f60b0083c0ed3f3af5f54e2264d06905ea90970d6b7cbfad2bab872a14d5d4aea5900df SHA512 0809507134fd31f6bcc90217e7840eb166e2eb2ed56316010a549dd70f6f855599f596942574343cdefd5997947b12c847df2cd145669f50aa93f603e46a5ee0
25
26 diff --git a/dev-python/pysvn/pysvn-1.9.15.ebuild b/dev-python/pysvn/pysvn-1.9.15.ebuild
27 new file mode 100644
28 index 00000000000..9e8fecfbe0e
29 --- /dev/null
30 +++ b/dev-python/pysvn/pysvn-1.9.15.ebuild
31 @@ -0,0 +1,64 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{7,8,9} )
38 +DISTUTILS_IN_SOURCE_BUILD=true
39 +DISTUTILS_USE_SETUPTOOLS=bdepend # see setup.py
40 +inherit distutils-r1 toolchain-funcs
41 +
42 +DESCRIPTION="Object-oriented python bindings for subversion"
43 +HOMEPAGE="https://pysvn.sourceforge.io/"
44 +SRC_URI="mirror://sourceforge/project/pysvn/pysvn/V${PV}/${P}.tar.gz"
45 +
46 +LICENSE="Apache-1.1"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
49 +IUSE="doc examples"
50 +
51 +DEPEND="
52 + >=dev-python/pycxx-7.0.2[${PYTHON_USEDEP}]
53 + >=dev-vcs/subversion-1.9"
54 +RDEPEND="${DEPEND}"
55 +
56 +python_prepare_all() {
57 + # Don't use internal copy of dev-python/pycxx.
58 + rm -r Import || die
59 +
60 + distutils-r1_python_prepare_all
61 +}
62 +
63 +python_configure() {
64 + cd Source || die
65 + # all config options from 1.7.6 are all already set
66 + esetup.py configure
67 +}
68 +
69 +python_compile() {
70 + cd Source || die
71 + emake \
72 + CC="$(tc-getCC)" \
73 + CCC="$(tc-getCXX)"
74 +}
75 +
76 +python_test() {
77 + cd Tests || die
78 + emake
79 +}
80 +
81 +python_install() {
82 + cd Source || die
83 + python_domodule pysvn
84 +}
85 +
86 +python_install_all() {
87 + use doc && local HTML_DOCS=( Docs/. )
88 + if use examples; then
89 + docinto examples
90 + dodoc -r Examples/Client/.
91 + docompress -x /usr/share/doc/${PF}/examples
92 + fi
93 +
94 + distutils-r1_python_install_all
95 +}