summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/python2-caldav/PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/python2-caldav/PKGBUILD b/pcr/python2-caldav/PKGBUILD
new file mode 100644
index 000000000..5e0ab2213
--- /dev/null
+++ b/pcr/python2-caldav/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer (Arch): Elena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+pkgname=python2-caldav
+pkgver=0.4.0
+pkgrel=2
+pkgdesc="Caldav client library"
+arch=('any')
+url='https://bitbucket.org/cyrilrbt/caldav/wiki/Home'
+license=('GPL')
+depends=('python2' 'python2-lxml' 'python2-vobject' 'python2-dateutil'
+ 'python2-distribute' 'python2-six' 'python2-requests')
+options=(!emptydirs)
+source=("http://pypi.python.org/packages/source/c/caldav/caldav-${pkgver}.tar.gz")
+sha256sums=('1e512f2989901d853ba43a3e98b1daff77569663ac3a7e29492fcecf4e86f858')
+
+package() {
+ cd "$srcdir/caldav-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ rm -r "$pkgdir/usr/lib/python2.7/site-packages/tests"
+}