summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselmo L. S. Melo2016-07-07 00:06:04 -0300
committerAnselmo L. S. Melo2016-07-07 00:07:34 -0300
commit035df08f15f212aa01231c63ceadf16d31c47f97 (patch)
tree0a82e18f4efc64b071f229056f9f53efa3bc7759
downloadaur-035df08f15f212aa01231c63ceadf16d31c47f97.tar.gz
Add PKGBUILD for python-ploty-git
-rw-r--r--.SRCINFO21
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD31
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..cf3a13cb15be
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Thu Jul 7 03:07:31 UTC 2016
+pkgbase = python-plotly-git
+ pkgdesc = an interactive, browser-based charting library for python
+ pkgver = r2079.a1c0a9c
+ pkgrel = 1
+ url = https://plot.ly/python/
+ arch = any
+ license = MIT
+ makedepends = git
+ makedepends = python-setuptools
+ depends = python
+ depends = python-requests
+ depends = python-pytz
+ provides = python-plotly
+ conflicts = python-plotly
+ source = python-plotly::git+https://github.com/plotly/plotly.py.git
+ md5sums = SKIP
+
+pkgname = python-plotly-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..7bec7b4a61b7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/src
+/pkg
+*.tar.*
+/python-*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..931dc49f0071
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Anselmo L. S. Melo <anselmolsm@gmail.com>
+pkgname=python-plotly-git
+pkgver=r2079.a1c0a9c
+pkgrel=1
+pkgdesc="an interactive, browser-based charting library for python"
+arch=('any')
+url="https://plot.ly/python/"
+license=('MIT')
+makedepends=('git' 'python-setuptools')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+depends=('python' 'python-requests' 'python-pytz')
+source=('python-plotly::git+https://github.com/plotly/plotly.py.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ python3 setup.py build
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ python3 setup.py install --root=$pkgdir --optimize=1 --skip-build
+}
+
+# vim:set sw=2 et: