blob: a5373ff109e1a472f5db2ce8d1874e194f09ca04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Adam Goldsmith <contact@adamgoldsmith.name>
# Former Maintainer: Barry Smith <brrtsm at gmail dot com>
# Contributor: Viacheslav Chimishuk <voice@root.ua>
pkgname=python-pysvn
_name=${pkgname#python-}
pkgver=1.9.23
pkgrel=1
pkgdesc="The Pythonic interface to Subversion"
url="https://pysvn.sourceforge.io/"
depends=('apr' 'python' 'subversion')
makedepends=('python-pycxx' 'python-setuptools')
arch=('i686' 'x86_64')
license=('Apache')
source=("https://downloads.sourceforge.net/project/pysvn/pysvn/V${pkgver}/pysvn-${pkgver}.tar.gz"
"fix-setup.py.patch")
sha256sums=('001aeed679e0d516987d9c1ed19d0dc44f74ad4fc9da1fc1873527be0adab029'
'59b56272570bdf957570cafb57680a4516f8f0dfbf94c301f133410130b0a8be')
prepare() {
cd "$_name-$pkgver"
# Remove bundled libs
rm -rf Import
# build with fixed module name and no RPATH
patch -p1 -i "$srcdir/fix-setup.py.patch"
}
build() {
cd "$_name-$pkgver"
python setup.py build
}
check() {
cd "$_name-$pkgver/Tests"
LC_ALL=en_US.UTF-8 make
}
package() {
cd "$_name-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
# vim: set ts=2 sw=2 et:
|