diff options
Diffstat (limited to 'testing/py-svn')
-rw-r--r-- | testing/py-svn/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/py-svn/APKBUILD b/testing/py-svn/APKBUILD new file mode 100644 index 0000000000..6950ea4c65 --- /dev/null +++ b/testing/py-svn/APKBUILD @@ -0,0 +1,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" |