diff options
author | Fernando Cladera | 2016-04-21 16:05:53 -0300 |
---|---|---|
committer | Fernando Cladera | 2016-04-21 16:05:53 -0300 |
commit | 3dd780d92064bda85abebbbde4af597764078298 (patch) | |
tree | 7e28bc03fccde67d017462bb8219083a8840c29b | |
parent | 48fb80d6507f35ee742b9391cb76c9c10a3dc73d (diff) | |
download | aur-3dd780d92064bda85abebbbde4af597764078298.tar.gz |
Use Pypi instead of git
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 12 insertions, 25 deletions
@@ -1,18 +1,16 @@ -# Generated by mksrcinfo v8 -# Mon Dec 7 14:54:40 UTC 2015 pkgbase = python-plotly pkgdesc = An interactive, browser-based charting library for python - pkgver = 1.6.12.r715.g20102d6 + pkgver = 1.9.9 pkgrel = 1 url = https://plot.ly/python/ - arch = i686 - arch = x86_64 + arch = any license = MIT makedepends = git makedepends = python + makedepends = python-setuptools depends = python-requests depends = python-pytz - source = git+https://github.com/plotly/plotly.py.git + source = https://pypi.python.org/packages/source/p/plotly/plotly-1.9.9.tar.gz md5sums = SKIP pkgname = python-plotly @@ -1,35 +1,24 @@ # Maintainer: fclad <fcladera at fcladera.com> -_pkgname=plotly.py +_pkgname=plotly pkgname=python-plotly -pkgver=r1780.d88c5d0 +pkgver=1.9.9 pkgrel=1 pkgdesc="An interactive, browser-based charting library for python" -arch=('i686' 'x86_64') +arch=('any') url="https://plot.ly/python/" license=('MIT') depends=('python-requests' 'python-pytz') makedepends=('git' 'python' 'python-setuptools') -source=("git+https://github.com/plotly/plotly.py.git") +source=('https://pypi.python.org/packages/source/p/'$_pkgname'/'$_pkgname'-'$pkgver'.tar.gz') md5sums=('SKIP') -pkgver() { - cd "$srcdir/$_pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - build() { - cd "$srcdir/$_pkgname" - - #[ -d build ] && rm -rf build - #mkdir build - #cd build - - #python config.py -auto - python setup.py build + cd $srcdir/$_pkgname-$pkgver + python setup.py build } package() { - cd "$srcdir/$_pkgname" - python setup.py install --root="${pkgdir}" --prefix=/usr + cd $srcdir/$_pkgname-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 } |