diff options
author | vejnar | 2021-10-11 09:58:17 -0400 |
---|---|---|
committer | vejnar | 2021-10-11 09:58:17 -0400 |
commit | d45c3fb66f3396199da9d8d6c6ea2ffe116f5bb8 (patch) | |
tree | b36b5ea10fb69da969774935df7d5c02e8cd2240 | |
parent | d99b0e21fa92dd51e40c6f2615989bbf8918e21c (diff) | |
download | aur-d45c3fb66f3396199da9d8d6c6ea2ffe116f5bb8.tar.gz |
Pip install. Updating to 1.3
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 25 insertions, 19 deletions
@@ -1,14 +1,14 @@ pkgbase = python-pyfnutils - pkgdesc = Small utility functions for Python. - pkgver = 1.1 + pkgdesc = Small utility functions for Python: logging, parallel tasks, zstd. + pkgver = 1.3 pkgrel = 1 - url = https://gitlab.com/vejnar/pyfnutils + url = https://github.com/vejnar/pyfnutils arch = any license = MPLv2 makedepends = python-setuptools + makedepends = python-pip depends = python - source = https://gitlab.com/vejnar/pyfnutils/-/archive/v1.1/pyfnutils-v1.1.tar.gz - sha1sums = 366875df4b91f89f4786810102560ed27c94ff27 + source = https://github.com/vejnar/pyfnutils/archive/refs/tags/v1.3.tar.gz + sha1sums = 055825e6dbeebde50e955535c22a7af973ea4d41 pkgname = python-pyfnutils - @@ -1,23 +1,29 @@ # Maintainer: Charles Vejnar pkgname=python-pyfnutils -pkgver=1.1 +pkgver=1.3 pkgrel=1 -pkgdesc="Small utility functions for Python." +pkgdesc="Small utility functions for Python: logging, parallel tasks, zstd." arch=("any") -url="https://gitlab.com/vejnar/pyfnutils" +url="https://github.com/vejnar/pyfnutils" license=("MPLv2") depends=("python") -makedepends=("python-setuptools") -source=("https://gitlab.com/vejnar/pyfnutils/-/archive/v$pkgver/pyfnutils-v$pkgver.tar.gz") -sha1sums=("366875df4b91f89f4786810102560ed27c94ff27") - -build() { - cd "$srcdir/pyfnutils-v$pkgver" - python setup.py build -} +makedepends=("python-setuptools" "python-pip") +source=("https://github.com/vejnar/pyfnutils/archive/refs/tags/v$pkgver.tar.gz") +sha1sums=("055825e6dbeebde50e955535c22a7af973ea4d41") package() { - cd "$srcdir/pyfnutils-v$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 + cd "$srcdir/pyfnutils-$pkgver" + pip install --disable-pip-version-check \ + --ignore-installed \ + --isolated \ + --no-deps \ + --no-build-isolation \ + --no-index \ + --no-cache-dir \ + --no-warn-script-location \ + --root="$pkgdir" \ + . + cd "${pkgdir}" + python -O -m compileall "usr/lib" } |