blob: ae64b4252be1863ef0b7f716a4eae14863ce5e30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
_pkgname='python-binance'
pkgname="$_pkgname-git"
_majmin='0.6.2'
pkgver=0.6.2.745ca91
pkgrel=1
pkgdesc="A simple python interface to binance.com's web API."
arch=('any')
url='https://github.com/sammchardy/python-binance'
license=('MIT')
depends=('python' 'python-requests')
makedepends=('python-setuptools')
source=('git+https://github.com/ewtoombs/python-calc.git')
md5sums=('SKIP')
pkgver () {
#_date="$(date '+%Y%m%d')"
cd "$srcdir/$_pkgname"
echo "$_majmin.$(git rev-parse --short master)"
}
package () {
cd "$srcdir/$_pkgname"
python setup.py install --root="$pkgdir/"
install -D 'LICENSE' "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}
|