aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/py-svn/APKBUILD
blob: 6950ea4c65669616ae275ab2f5cbddd393917ae4 (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-svn
_pkgname=pysvn
pkgver=1.7.8
pkgrel=0
pkgdesc="Python SVN Extension and WorkBench GUI"
url="http://pysvn.tigris.org/"
arch="all"
license="APACHE"
depends=""
depends_dev="py-setuptools python-dev subversion-dev apr-util-dev openssl-dev"
makedepends="$depends_dev"
install=""
subpackages=""
source="http://pysvn.barrys-emacs.org/source_kits/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver/Source

build() {
	cd "$_builddir"
	python setup.py configure
	make || return 1
}

package() {
	cd "$_builddir"
	 _pyver=$(python -V 2>&1|sed -e 's/.* 2\.\([0-9]\).*/\1/')
	install -D -m644 pysvn/__init__.py $pkgdir/usr/lib/python2.${_pyver}/site-packages/pysvn/__init__.py
	install -D -m755 pysvn/_pysvn_2_${_pyver}.so $pkgdir/usr/lib/python2.${_pyver}/site-packages/pysvn/_pysvn_2_${_pyver}.so
}

md5sums="1e03badde472a6f1e7a11365c1ab9063  pysvn-1.7.8.tar.gz"
sha256sums="60936e30e73f8909034d8b51ee2aabbdd8dec04df480b6d271c12f45815367e2  pysvn-1.7.8.tar.gz"
sha512sums="f54bd05ec4d429b99ef1c27167989edd96df73d1fe970bb4fa7669523f6f15c35584bc9252a74bbc7cbdb5fd846bb370a10d625546a50c9be49eedcc85916167  pysvn-1.7.8.tar.gz"