summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/python2-pywebdav/PKGBUILD32
1 files changed, 17 insertions, 15 deletions
diff --git a/pcr/python2-pywebdav/PKGBUILD b/pcr/python2-pywebdav/PKGBUILD
index 5623f7cc0..2ae7e3339 100644
--- a/pcr/python2-pywebdav/PKGBUILD
+++ b/pcr/python2-pywebdav/PKGBUILD
@@ -1,22 +1,24 @@
-# Maintainer (Arch): Dan Serban (dserban01 => gmail)
-# Contributor (Arch): Gour <gour@gour-nitai.com>
+# Maintainer (Arch): Bidossessi Sodonon
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=python2-pywebdav
+_pkgname=PyWebDAV
pkgver=0.9.8
-pkgrel=2
-pkgdesc="A standards compliant WebDAV server and library written in Python"
+pkgrel=5
+pkgdesc="WebDAV library including a standalone server for python"
+url=http://code.google.com/p/pywebdav/
arch=('any')
-url="http://code.google.com/p/pywebdav/"
-license=('GPLv2')
-depends=('python2')
-conflicts=('python-pywebdav')
-makedepends=('python2-distribute')
-source=(http://pywebdav.googlecode.com/files/PyWebDAV-$pkgver.tar.gz)
-md5sums=('2fd2aca0074f0d0ac2701c9c0cadb89e')
-
+license=(GPL3)
+provides=("$_pkgname")
+depends=(
+ 'python2'
+ 'python2-setuptools'
+)
+source=("https://pypi.python.org/packages/source/P/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
package()
{
- cd $srcdir/PyWebDAV-$pkgver
- python2 setup.py install --root=$pkgdir/
- install -D doc/LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ # Force package data inclusion
+ python2 setup.py install --root="${pkgdir}"
}
+md5sums=('2fd2aca0074f0d0ac2701c9c0cadb89e')