aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-svn
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2014-01-08 16:49:13 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2014-01-08 16:49:13 +0000
commit1689430f6f0d0905140b2bf2de2e5edccc11ab06 (patch)
treeb47d2b10454b0358702aa699c0894e1624361a98 /testing/py-svn
parent300ded1ba88e3b3e8c932f5026e7bf4230c33e0e (diff)
downloadaports-1689430f6f0d0905140b2bf2de2e5edccc11ab06.tar.bz2
aports-1689430f6f0d0905140b2bf2de2e5edccc11ab06.tar.xz
testing/py-svn: new aport
Diffstat (limited to 'testing/py-svn')
-rw-r--r--testing/py-svn/APKBUILD34
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"