summaryrefslogtreecommitdiff
path: root/pcr/python2-pywebdav/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-01-17 23:42:14 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-01-17 23:42:14 -0500
commit42863a2100455b02ec0f84402b4dc77ff3a4aa71 (patch)
tree61027a9a0dca39e74416c5e9015a3d2d2f6d5ca2 /pcr/python2-pywebdav/PKGBUILD
parentdce79d94ed7c55cc43da16aa55dfe686f71d8c98 (diff)
python2-pywebdav-0.9.8-5: rebuild
Diffstat (limited to 'pcr/python2-pywebdav/PKGBUILD')
-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')