diff options
author | Morten Linderud | 2018-03-22 09:50:30 +0100 |
---|---|---|
committer | Morten Linderud | 2018-03-22 09:50:30 +0100 |
commit | c9b3b37174030b4d0d3dcbd990a2e19c3239ef02 (patch) | |
tree | 2ef00ae070f8d83b2fbf27aa92d30a186db932cf | |
parent | c289b301952180c0e37cddc20b0bf382bb622f32 (diff) | |
download | aur-c9b3b37174030b4d0d3dcbd990a2e19c3239ef02.tar.gz |
upgpkg: python-giturlparse 0.0.5-3
Updated giturlparse
Signed-off-by: Morten Linderud <morten@linderud.pw>
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 12 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Mon Sep 4 08:40:36 UTC 2017 +# Thu Mar 22 08:50:30 UTC 2018 pkgbase = python-giturlparse pkgdesc = Parse & rewrite git urls (supports GitHub, Bitbucket, Assembla ...) pkgver = 0.0.5 - pkgrel = 2 + pkgrel = 3 url = https://github.com/FriendCode/giturlparse.py arch = any license = Apache @@ -1,9 +1,10 @@ # Maintainer: Morten Linderud <morten@linderud.pw> -_pkgname='giturlparse.py' + pkgbase="python-giturlparse" pkgname=("python-giturlparse" "python2-giturlparse") +_pkgname='giturlparse.py' pkgver=0.0.5 -pkgrel=2 +pkgrel=3 pkgdesc='Parse & rewrite git urls (supports GitHub, Bitbucket, Assembla ...)' url='https://github.com/FriendCode/giturlparse.py' arch=('any') @@ -13,9 +14,15 @@ makedepends=('python' 'python-setuptools' source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/FriendCode/giturlparse.py/archive/${pkgver}.tar.gz") sha256sums=('91e398db31d295ba75b25b74a80835e2e24d6bdb818201aa58169833551745ca') +prepare() { + cp -a ${_pkgname}-$pkgver{,-py2} +} + build() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py build + + cd "${srcdir}/${_pkgname}-${pkgver}-py2" python2 setup.py build } @@ -27,7 +34,7 @@ package_python-giturlparse() { package_python2-giturlparse() { depends=('python2') - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/${_pkgname}-${pkgver}-py2" python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build } # vim:set ft=sh ts=2 sw=2 et: |