summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rwxr-xr-xPKGBUILD7
2 files changed, 4 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4c1171cfd9c..87130a6f4d5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,12 @@
pkgbase = python-hurry-filesize
pkgdesc = A simple Python library for human readable file sizes (or anything sized in bytes).
pkgver = 0.9
- pkgrel = 4
+ pkgrel = 6
url = http://pypi.python.org/pypi/hurry.filesize/
arch = any
license = GPL
makedepends = python-pip
makedepends = python-wheel
depends = python
- source = https://files.pythonhosted.org/packages/ee/5e/16e17bedcf54d5b618dc0771690deda77178e5c310402881c3d2d6c5f27c/hurry.filesize-0.9.tar.gz
- md5sums = 8549ccd09bb31b5ff1e8e8c1eacc7794
pkgname = python-hurry-filesize
diff --git a/PKGBUILD b/PKGBUILD
index 613a38d7728..721ffdaf110 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,16 @@
pkgname=python-hurry-filesize
pkgver=0.9
-pkgrel=4
+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
}