From 70b430b9faceb393622375a3c4804417c07cf6b5 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 23 Jan 2017 05:11:18 -0500 Subject: python2-caldav: add new package to [pcr] --- pcr/python2-caldav/PKGBUILD | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pcr/python2-caldav/PKGBUILD 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 +# Maintainer: Omar Vega Ramos +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" +} -- cgit v1.2.3