summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzugno2020-07-06 21:39:32 +0200
committerzugno2020-07-06 21:39:32 +0200
commit75082fc0e3a447526abd50b26c72d0cb10ce7f4c (patch)
tree2218334db3c329f81aadded775aae1f92848f63b
parent782c964cb7292f3cb52ead0a9c06500f664c46cc (diff)
downloadaur-75082fc0e3a447526abd50b26c72d0cb10ce7f4c.tar.gz
Removed .python-version generating build problems with pyenv installed
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD23
2 files changed, 14 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 09bdb050a29..294994df688 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
+
diff --git a/PKGBUILD b/PKGBUILD
index cdf40e0305f..793376a5cae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}