diff options
author | Narrat | 2019-10-21 22:40:34 +0200 |
---|---|---|
committer | Narrat | 2019-10-21 22:40:34 +0200 |
commit | 9c7640e5128469a4f2d8adbf88230699e41a2320 (patch) | |
tree | 7f98da3a550cb987470f5488f6dd44f90d5daa06 | |
parent | e122ff5ec120fc16c21d258f46168cfbd29084dc (diff) | |
download | aur-9c7640e5128469a4f2d8adbf88230699e41a2320.tar.gz |
patool: Switch download source
There seems to be a problem with a pre existing egg-info directory with wrong permissions.
See the comments from bmwinger for more details.
Changed the download to the github source. Another possibility would be to remove in prepare() the directory from the pypi archive.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 9 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = patool pkgdesc = portable command line archive file manager pkgver = 1.12 - pkgrel = 3 + pkgrel = 4 url = https://wummel.github.io/patool/ arch = any license = GPL @@ -10,8 +10,8 @@ pkgbase = patool optdepends = tar: extracting TAR files optdepends = unrar: extracting RAR files optdepends = p7zip: extracting ZIP and 7z files - source = https://pypi.python.org/packages/source/p/patool/patool-1.12.tar.gz - sha256sums = e3180cf8bfe13bedbcf6f5628452fca0c2c84a3b5ae8c2d3f55720ea04cb1097 + source = patool-1.12.tar.gz::https://github.com/wummel/patool/archive/upstream/1.12.tar.gz + sha256sums = 582fd4b87c263325958c1550400504799018c88bc3444f249bba304ae1747f1f pkgname = patool pkgdesc = portable command line archive file manager (Python3) @@ -4,7 +4,7 @@ pkgbase=patool pkgname=('patool' 'patool-py2') pkgver=1.12 -pkgrel=3 +pkgrel=4 pkgdesc="portable command line archive file manager" arch=('any') url="https://wummel.github.io/patool/" @@ -13,16 +13,16 @@ makedepends=('python-setuptools' 'python2-setuptools') optdepends=("tar: extracting TAR files" "unrar: extracting RAR files" "p7zip: extracting ZIP and 7z files") -source=("https://pypi.python.org/packages/source/p/$pkgbase/$pkgbase-$pkgver.tar.gz") -sha256sums=('e3180cf8bfe13bedbcf6f5628452fca0c2c84a3b5ae8c2d3f55720ea04cb1097') +#source=("https://pypi.python.org/packages/source/p/$pkgbase/$pkgbase-$pkgver.tar.gz") +source=("$pkgbase-$pkgver.tar.gz::https://github.com/wummel/patool/archive/upstream/1.12.tar.gz") +sha256sums=('582fd4b87c263325958c1550400504799018c88bc3444f249bba304ae1747f1f') package_patool() { pkgdesc+=" (Python3)" depends=('python') - cd "$srcdir/${pkgbase}-${pkgver}" - + cd "${pkgbase}-upstream-${pkgver}" python setup.py install --root=$pkgdir --prefix=/usr --optimize=1 } @@ -31,7 +31,6 @@ package_patool-py2() { depends=('python2') conflicts=('patool') - cd "$srcdir/${pkgbase}-${pkgver}" - + cd "${pkgbase}-upstream-${pkgver}" python2 setup.py install --root=$pkgdir --prefix=/usr --optimize=1 } |