diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2019-02-27 11:32:55 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2019-02-27 11:33:40 +0100 |
commit | 352ad6e1e27d1f163c4acee263f4c0925cfb3ae2 (patch) | |
tree | eb774d908dcf33a2b78d6998a4b2ed83f2164835 /pcr | |
parent | b29be84b1b8830c5153cfd89f21e754f634642b1 (diff) | |
download | abslibre-352ad6e1e27d1f163c4acee263f4c0925cfb3ae2.tar.gz abslibre-352ad6e1e27d1f163c4acee263f4c0925cfb3ae2.tar.bz2 abslibre-352ad6e1e27d1f163c4acee263f4c0925cfb3ae2.zip |
pcr/python-pywebdav3: moved from python2-pywebdav and updated
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/python-pywebdav3/PKGBUILD | 27 | ||||
-rw-r--r-- | pcr/python2-pywebdav/PKGBUILD | 24 |
2 files changed, 27 insertions, 24 deletions
diff --git a/pcr/python-pywebdav3/PKGBUILD b/pcr/python-pywebdav3/PKGBUILD new file mode 100644 index 000000000..75fd2492d --- /dev/null +++ b/pcr/python-pywebdav3/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Andreas Grapentin <oaken-source@parabola.nu> + +_pkgname=PyWebDAV3 +pkgname=(python{,2}-${_pkgname,,}) +pkgver=0.9.12 +pkgrel=1 +pkgdesc="WebDAV library including a standalone server for python" +arch=(any) +url=http://code.google.com/p/pywebdav/ +license=(GPL3) + +_depends=() +makedepends=(python{,2}-setuptools) +source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") +sha256sums=('866143ccc863283b3163b9022a15cd04aed8e736ac22204f3488d41944b7265e') + +_package() { + depends=("$1" "${_depends[@]/#/$1-}") + provides=("$1-pywebdav") + replaces=("$1-pywebdav") + cd "$srcdir"/$_pkgname-$pkgver + $1 setup.py install --root="$pkgdir" +} + +for _pkg in "${pkgname[@]}"; do + eval "package_$_pkg () { _package ${_pkg%%-*}; }" +done diff --git a/pcr/python2-pywebdav/PKGBUILD b/pcr/python2-pywebdav/PKGBUILD deleted file mode 100644 index 2ae7e3339..000000000 --- a/pcr/python2-pywebdav/PKGBUILD +++ /dev/null @@ -1,24 +0,0 @@ -# Maintainer (Arch): Bidossessi Sodonon -# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> - -pkgname=python2-pywebdav -_pkgname=PyWebDAV -pkgver=0.9.8 -pkgrel=5 -pkgdesc="WebDAV library including a standalone server for python" -url=http://code.google.com/p/pywebdav/ -arch=('any') -license=(GPL3) -provides=("$_pkgname") -depends=( - 'python2' - 'python2-setuptools' -) -source=("https://pypi.python.org/packages/source/P/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") -package() -{ - cd ${srcdir}/${_pkgname}-${pkgver} - # Force package data inclusion - python2 setup.py install --root="${pkgdir}" -} -md5sums=('2fd2aca0074f0d0ac2701c9c0cadb89e') |