summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorgcarq2017-11-08 23:35:59 +0100
committergcarq2017-11-08 23:35:59 +0100
commita422df7f694154102d74946538903e8e3b6e2f2a (patch)
treee23fa4bdcb772f8bf639aeaea4717bd1418550eb /PKGBUILD
parent9168d552bb1ce7261fde542cf910d6251d2876ef (diff)
downloadaur-a422df7f694154102d74946538903e8e3b6e2f2a.tar.gz
upgpkg: python-freqtrade-git 0.13.0.r2.g3d61095
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index de6c0504763..75aca8f92e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Michael Egger <michael.egger at tsn at>
pkgname=python-freqtrade-git
-pkgver=0.13.0.r0.ge2eceaa
+pkgver=0.13.0.r2.g3d61095
pkgrel=1
pkgdesc="Simple High Frequency Trading Bot for crypto currencies"
url="https://github.com/gcarq/freqtrade/"
@@ -15,6 +15,7 @@ depends=('python-sqlalchemy'
'python-scipy' 'python-jsonschema' 'python-numpy' 'python-pytest'
'python-pytest-mock' 'python-pytest-cov' 'python-networkx'
'python-telegram-bot' 'python-bittrex' 'python-ta-lib'
+ 'python-tabulate'
# TODO: make proper package for hyperopt
)
_branch="master"
@@ -23,7 +24,9 @@ sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ version=$(git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g')
+ sed -i "s/^__version__.*$/__version__ = '$version'/g" freqtrade/__init__.py
+ echo $version
}
package() {