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