summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgcarq2017-11-01 18:19:41 +0100
committergcarq2017-11-01 18:19:41 +0100
commit9168d552bb1ce7261fde542cf910d6251d2876ef (patch)
tree42fcae935211e86b8b3cd7398162ad3d565aa706
downloadaur-9168d552bb1ce7261fde542cf910d6251d2876ef.tar.gz
initial commit
-rw-r--r--.SRCINFO36
-rw-r--r--PKGBUILD39
2 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9518da64ff6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,36 @@
+# Generated by mksrcinfo v8
+# Wed Nov 1 17:14:27 UTC 2017
+pkgbase = python-freqtrade-git
+ pkgdesc = Simple High Frequency Trading Bot for crypto currencies
+ pkgver = 0.13.0.r0.ge2eceaa
+ pkgrel = 1
+ url = https://github.com/gcarq/freqtrade/
+ arch = any
+ license = GPLv3
+ makedepends = python
+ makedepends = python-setuptools
+ depends = python-sqlalchemy
+ depends = python-arrow
+ depends = python-requests
+ depends = ta-lib
+ depends = python-pip
+ depends = python-urllib3
+ depends = python-wrapt
+ depends = python-pandas
+ depends = python-scikit-learn
+ depends = python-scipy
+ depends = python-jsonschema
+ depends = python-numpy
+ depends = python-pytest
+ depends = python-pytest-mock
+ depends = python-pytest-cov
+ depends = python-networkx
+ depends = python-telegram-bot
+ depends = python-bittrex
+ depends = python-ta-lib
+ provides = python-freqtrade
+ source = python-freqtrade-git::git://github.com/gcarq/freqtrade.git#branch=master
+ sha256sums = SKIP
+
+pkgname = python-freqtrade-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..de6c0504763
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Michael Egger <michael.egger at tsn at>
+
+pkgname=python-freqtrade-git
+pkgver=0.13.0.r0.ge2eceaa
+pkgrel=1
+pkgdesc="Simple High Frequency Trading Bot for crypto currencies"
+url="https://github.com/gcarq/freqtrade/"
+arch=('any')
+license=('GPLv3')
+provides=('python-freqtrade')
+makedepends=('python' 'python-setuptools')
+depends=('python-sqlalchemy'
+ 'python-arrow' 'python-requests' 'ta-lib' 'python-pip'
+ 'python-urllib3' 'python-wrapt' 'python-pandas' 'python-scikit-learn'
+ 'python-scipy' 'python-jsonschema' 'python-numpy' 'python-pytest'
+ 'python-pytest-mock' 'python-pytest-cov' 'python-networkx'
+ 'python-telegram-bot' 'python-bittrex' 'python-ta-lib'
+ # TODO: make proper package for hyperopt
+)
+_branch="master"
+source=("$pkgname"::"git://github.com/gcarq/freqtrade.git#branch=${_branch}")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+ # Install hyperopt
+ pip install --prefix=/usr --root="hyperopt" hyperopt
+
+ cd "$srcdir/$pkgname"
+ python setup.py build
+ python setup.py install --prefix=/usr --root="$pkgdir"
+
+ install -D -m644 LICENSE \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}