diff options
author | zugno | 2020-07-06 21:39:32 +0200 |
---|---|---|
committer | zugno | 2020-07-06 21:39:32 +0200 |
commit | 75082fc0e3a447526abd50b26c72d0cb10ce7f4c (patch) | |
tree | 2218334db3c329f81aadded775aae1f92848f63b | |
parent | 782c964cb7292f3cb52ead0a9c06500f664c46cc (diff) | |
download | aur-75082fc0e3a447526abd50b26c72d0cb10ce7f4c.tar.gz |
Removed .python-version generating build problems with pyenv installed
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 14 insertions, 12 deletions
@@ -1,7 +1,7 @@ pkgbase = stig-git pkgdesc = TUI and CLI client for the Transmission daemon pkgver = 0.11.2a0.r0.7ab3df0c - pkgrel = 1 + pkgrel = 2 url = https://github.com/rndusr/stig arch = any license = GPL @@ -22,3 +22,4 @@ pkgbase = stig-git sha256sums = SKIP pkgname = stig-git + @@ -2,14 +2,14 @@ pkgname=stig-git pkgver=0.11.2a0.r0.7ab3df0c -pkgrel=1 +pkgrel=2 pkgdesc='TUI and CLI client for the Transmission daemon' url='https://github.com/rndusr/stig' depends=('python' 'python-urwid' 'python-urwidtrees' 'python-aiohttp' - 'python-pyxdg' 'python-blinker' 'python-natsort') + 'python-pyxdg' 'python-blinker' 'python-natsort') makedepends=('git' 'python-setuptools') optdepends=('python-pprofile: profiling' - 'python-setproctitle: prettifies the process name') + 'python-setproctitle: prettifies the process name') license=('GPL') arch=('any') provides=('stig') @@ -20,21 +20,22 @@ source=("git+https://github.com/rndusr/stig.git") sha256sums=('SKIP') pkgver() { - cd stig - printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/^v//')" + cd stig + printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/^v//')" } prepare(){ - cd stig - sed -i 's/urwidtrees>=1.0.3dev0/urwidtrees>=1.0.2/' setup.py + cd stig + sed -i 's/urwidtrees>=1.0.3dev0/urwidtrees>=1.0.2/' setup.py + rm .python-version } build() { - cd stig - python setup.py build + cd stig + python setup.py build } package() { - cd stig - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + cd stig + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build } |