mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-27 21:40:31 +01:00
bump version and drop python2
This commit is contained in:
43
.SRCINFO
43
.SRCINFO
@@ -1,39 +1,20 @@
|
|||||||
pkgbase = python-plotly
|
pkgbase = python-plotly
|
||||||
pkgdesc = An interactive, browser-based graphing library for Python
|
pkgdesc = An open-source, interactive graphing library
|
||||||
pkgver = 4.1.0
|
pkgver = 4.5.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://plot.ly/python/
|
url = https://github.com/coin3d/pivy
|
||||||
arch = any
|
arch = any
|
||||||
license = MIT
|
license = MIT
|
||||||
makedepends = python
|
|
||||||
makedepends = python-setuptools
|
makedepends = python-setuptools
|
||||||
makedepends = python2
|
depends = python
|
||||||
makedepends = python2-setuptools
|
depends = python-matplotlib
|
||||||
makedepends = python-numpy
|
depends = python-numpy
|
||||||
makedepends = python-pytz
|
depends = python-six
|
||||||
makedepends = python-requests
|
depends = python-retrying
|
||||||
makedepends = python-retrying
|
optdepends = ipython
|
||||||
makedepends = python2-numpy
|
optdepends = python-ipywidgets
|
||||||
makedepends = python2-pytz
|
source = https://github.com/plotly/plotly.py/archive/v4.5.0.tar.gz
|
||||||
makedepends = python2-requests
|
md5sums = 3f02b2337e062b6d367a1476c2300921
|
||||||
source = python-plotly-4.1.0.tar.gz::https://pypi.org/packages/source/p/plotly/plotly-4.1.0.tar.gz
|
|
||||||
sha512sums = b7249ce8acc98d642ede4eec3f18cdd251969d8da9a1dba467afed40d84b568ac2f3c8471bb98b386dde82d027c1f9f03cdab6d8271fa85349a428f1a507dde1
|
|
||||||
|
|
||||||
pkgname = python-plotly
|
pkgname = python-plotly
|
||||||
pkgdesc = An interactive, browser-based graphing library for Python3
|
|
||||||
depends = python
|
|
||||||
depends = python-requests
|
|
||||||
depends = python-pytz
|
|
||||||
depends = python-six
|
|
||||||
depends = python-numpy
|
|
||||||
depends = python-retrying
|
|
||||||
|
|
||||||
pkgname = python2-plotly
|
|
||||||
pkgdesc = An interactive, browser-based graphing library for Python2
|
|
||||||
depends = python2
|
|
||||||
depends = python2-requests
|
|
||||||
depends = python2-pytz
|
|
||||||
depends = python2-six
|
|
||||||
depends = python2-numpy
|
|
||||||
depends = python-retrying
|
|
||||||
|
|
||||||
|
|||||||
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
src/
|
||||||
|
pkg/
|
||||||
|
*.tar.gz
|
||||||
|
*.tar.xz
|
||||||
55
PKGBUILD
55
PKGBUILD
@@ -1,45 +1,26 @@
|
|||||||
# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
|
# Maintainer: Grey Christoforo <first name at last name dot net>
|
||||||
# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
|
|
||||||
# Contributor: fclad <fcladera at fcladera.com>
|
|
||||||
|
|
||||||
_pkgname=python-plotly
|
pkgname=python-plotly
|
||||||
_pypiname=plotly
|
pkgver=4.5.0
|
||||||
pkgbase=python-plotly
|
|
||||||
pkgname=('python-plotly' 'python2-plotly')
|
|
||||||
pkgdesc="An interactive, browser-based graphing library for Python"
|
|
||||||
pkgver=4.1.0
|
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
url="https://plot.ly/python/"
|
pkgdesc="An open-source, interactive graphing library"
|
||||||
|
url="https://github.com/coin3d/pivy"
|
||||||
|
depends=('python' 'python-matplotlib' 'python-numpy' 'python-six' 'python-retrying')
|
||||||
|
optdepends=('ipython' 'python-ipywidgets')
|
||||||
|
makedepends=('python-setuptools')
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
arch=("any")
|
arch=('any')
|
||||||
makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools' 'python-numpy' 'python-pytz' 'python-requests' 'python-retrying' 'python2-numpy' 'python2-pytz' 'python2-requests')
|
source=("https://github.com/plotly/plotly.py/archive/v${pkgver}.tar.gz")
|
||||||
source=("${_pkgname}-${pkgver}.tar.gz::https://pypi.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.gz")
|
md5sums=('3f02b2337e062b6d367a1476c2300921')
|
||||||
sha512sums=('b7249ce8acc98d642ede4eec3f18cdd251969d8da9a1dba467afed40d84b568ac2f3c8471bb98b386dde82d027c1f9f03cdab6d8271fa85349a428f1a507dde1')
|
|
||||||
#validpgpkeys=('') # TODO https://github.com/plotly/plotly.py/issues/764
|
|
||||||
|
|
||||||
prepare() {
|
build() {
|
||||||
# Create a copy for the python2 package
|
cd plotly.py-${pkgver}/packages/python/plotly
|
||||||
cp -r "${_pypiname}-${pkgver}" "python2-${_pypiname}-${pkgver}"
|
python setup.py build
|
||||||
}
|
}
|
||||||
|
|
||||||
package_python-plotly() {
|
package() {
|
||||||
pkgdesc="An interactive, browser-based graphing library for Python3"
|
cd plotly.py-${pkgver}/packages/python/plotly
|
||||||
depends=('python' 'python-requests' 'python-pytz' 'python-six'
|
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||||
'python-numpy' 'python-retrying')
|
|
||||||
|
|
||||||
cd "${srcdir}/${_pypiname}-${pkgver}"
|
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
python setup.py install --root="${pkgdir}" --optimize=1
|
|
||||||
|
|
||||||
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' 'python-retrying')
|
|
||||||
|
|
||||||
cd "${srcdir}/python2-${_pypiname}-${pkgver}"
|
|
||||||
python2 setup.py install --root="${pkgdir}" --optimize=1
|
|
||||||
|
|
||||||
install -Dm644 "${srcdir}/python2-${_pypiname}-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user