1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00

Update 3.3.0

This commit is contained in:
NicoHood
2018-10-01 17:48:55 +02:00
parent 25a3fe9c13
commit 3e9be3f8ab
3 changed files with 15 additions and 15 deletions

View File

@@ -1,5 +1,6 @@
pkgbase = python-plotly
pkgver = 2.7.0
pkgdesc = An interactive, browser-based graphing library for Python
pkgver = 3.3.0
pkgrel = 1
url = https://plot.ly/python/
arch = any
@@ -8,10 +9,8 @@ pkgbase = python-plotly
makedepends = python-setuptools
makedepends = python2
makedepends = python2-setuptools
source = python-plotly-2.7.0.tar.gz::https://pypi.org/packages/source/p/plotly/plotly-2.7.0.tar.gz
source = LICENSE
sha512sums = 208715263a768948a22bb4380853ea20a75dc46cf43d28cd3a5143f7183ab2155cb51d68e88b8188233aafb151cfe9985437ac08abf4e0866ea13794b1963ac6
sha512sums = 1f27d546f594955e443a3d8a72aa4f18afa9d946336a9fd0585de3c8120e3ef262ce109eea0ee8d97510616864b8d01f8e4d48ebc0fc1486fd490bf8ba3a7f89
source = python-plotly-3.3.0.tar.gz::https://pypi.org/packages/source/p/plotly/plotly-3.3.0.tar.gz
sha512sums = 9198673b268ab4e1fec25b46399e3af59e403a3aa0fb9063330d34e0b3179cedc61351f95f791c72cb80b62e4eb3521f8e7a8e03be7fcc5ae9c343a979468084
pkgname = python-plotly
pkgdesc = An interactive, browser-based graphing library for Python3
@@ -20,6 +19,7 @@ pkgname = python-plotly
depends = python-pytz
depends = python-six
depends = python-numpy
depends = python-retrying
pkgname = python2-plotly
pkgdesc = An interactive, browser-based graphing library for Python2
@@ -28,3 +28,5 @@ pkgname = python2-plotly
depends = python2-pytz
depends = python2-six
depends = python2-numpy
depends = python-retrying

1
.gitignore vendored
View File

@@ -1 +0,0 @@
*.swp

View File

@@ -6,16 +6,15 @@ _pkgname=python-plotly
_pypiname=plotly
pkgbase=python-plotly
pkgname=('python-plotly' 'python2-plotly')
pkgver=2.7.0
pkgdesc="An interactive, browser-based graphing library for Python"
pkgver=3.3.0
pkgrel=1
url="https://plot.ly/python/"
license=('MIT')
arch=("any")
makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
source=("${_pkgname}-${pkgver}.tar.gz::https://pypi.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.gz"
"LICENSE")
sha512sums=('208715263a768948a22bb4380853ea20a75dc46cf43d28cd3a5143f7183ab2155cb51d68e88b8188233aafb151cfe9985437ac08abf4e0866ea13794b1963ac6'
'1f27d546f594955e443a3d8a72aa4f18afa9d946336a9fd0585de3c8120e3ef262ce109eea0ee8d97510616864b8d01f8e4d48ebc0fc1486fd490bf8ba3a7f89')
source=("${_pkgname}-${pkgver}.tar.gz::https://pypi.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.gz")
sha512sums=('9198673b268ab4e1fec25b46399e3af59e403a3aa0fb9063330d34e0b3179cedc61351f95f791c72cb80b62e4eb3521f8e7a8e03be7fcc5ae9c343a979468084')
#validpgpkeys=('') # TODO https://github.com/plotly/plotly.py/issues/764
prepare() {
@@ -26,21 +25,21 @@ prepare() {
package_python-plotly() {
pkgdesc="An interactive, browser-based graphing library for Python3"
depends=('python' 'python-requests' 'python-pytz' 'python-six'
'python-numpy')
'python-numpy' 'python-retrying')
cd "${srcdir}/${_pypiname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "${srcdir}/${_pypiname}-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
package_python2-plotly() {
pkgdesc="An interactive, browser-based graphing library for Python2"
depends=('python2' 'python2-requests' 'python2-pytz' 'python2-six'
'python2-numpy')
'python2-numpy' 'python-retrying')
cd "${srcdir}/python2-${_pypiname}-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "${srcdir}/python2-${_pypiname}-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}