diff options
author | lesebas | 2022-02-02 21:53:26 +0100 |
---|---|---|
committer | lesebas | 2022-02-02 21:53:26 +0100 |
commit | 7f41657126c12df77d2839a1dc34f683487bfcf1 (patch) | |
tree | 29e2b434357fecf3e250bd4e0f88d8f6fa84f182 /PKGBUILD | |
parent | d8f5b2e36293b2ddb9ed8d913968bee06326ab42 (diff) | |
download | aur-7f41657126c12df77d2839a1dc34f683487bfcf1.tar.gz |
syntax correction to install with pip on line
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -2,17 +2,16 @@ pkgname=python-hurry-filesize pkgver=0.9 -pkgrel=5 +pkgrel=6 pkgdesc="A simple Python library for human readable file sizes (or anything sized in bytes)." arch=('any') url="http://pypi.python.org/pypi/hurry.filesize/" license=('GPL') depends=('python') makedepends=('python-pip' 'python-wheel') -source=("https://files.pythonhosted.org/packages/ee/5e/16e17bedcf54d5b618dc0771690deda77178e5c310402881c3d2d6c5f27c/hurry.filesize-0.9.tar.gz") -md5sums=('8549ccd09bb31b5ff1e8e8c1eacc7794') +source=() package() { - python -m pip install ./hurry.filesize-0.9.tar.gz + PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps hurry.filesize } |