mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-27 13:30:31 +01:00
Initial build
This commit is contained in:
19
.SRCINFO
Normal file
19
.SRCINFO
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# 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
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://plot.ly/python/
|
||||||
|
arch = i686
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
makedepends = git
|
||||||
|
makedepends = python
|
||||||
|
depends = python-requests
|
||||||
|
depends = python-pytz
|
||||||
|
source = git+https://github.com/plotly/plotly.py.git
|
||||||
|
md5sums = SKIP
|
||||||
|
|
||||||
|
pkgname = python-plotly
|
||||||
|
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.swp
|
||||||
35
PKGBUILD
Normal file
35
PKGBUILD
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
# Maintainer: fclad <fcladera at fcladera.com>
|
||||||
|
|
||||||
|
_pkgname=plotly.py
|
||||||
|
pkgname=python-plotly
|
||||||
|
pkgver=1.6.12.r715.g20102d6
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="An interactive, browser-based charting library for python"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://plot.ly/python/"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('python-requests' 'python-pytz')
|
||||||
|
makedepends=('git' 'python')
|
||||||
|
source=("git+https://github.com/plotly/plotly.py.git")
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "$srcdir/$_pkgname"
|
||||||
|
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$_pkgname"
|
||||||
|
|
||||||
|
#[ -d build ] && rm -rf build
|
||||||
|
#mkdir build
|
||||||
|
#cd build
|
||||||
|
|
||||||
|
#python config.py -auto
|
||||||
|
python setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$_pkgname"
|
||||||
|
python setup.py install --root="${pkgdir}" --prefix=/usr
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user