mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-27 21:40:31 +01:00
Compare commits
27 Commits
57a2770e27
...
f8f2f5b042
| Author | SHA1 | Date | |
|---|---|---|---|
| f8f2f5b042 | |||
| a524ebbbe3 | |||
| 7e7f4b68e7 | |||
|
|
95cd6fc020 | ||
|
|
b76f4c52af | ||
|
|
032a38db2f | ||
|
|
22623b4424 | ||
|
|
4e2a5b9f54 | ||
| a05f1f5b0d | |||
| 173cc62ad8 | |||
| 0013b218e2 | |||
| d5c4423030 | |||
| b50706e114 | |||
| 342c43ce51 | |||
| c0bb5ee950 | |||
| 5c116cce23 | |||
| 62fce4f26e | |||
| 29d909cb96 | |||
| 84b9b8e697 | |||
| ab94d1ec06 | |||
| ef61bc5e0c | |||
| ea7fb871e3 | |||
| b743bea3c8 | |||
| 510c9f9fc5 | |||
| 5586b3678e | |||
| 598c2dc4ff | |||
| f7060367ef |
@@ -1,15 +1,16 @@
|
|||||||
pkgbase = python-plotly
|
pkgbase = python-plotly
|
||||||
pkgdesc = An open-source, interactive graphing library
|
pkgdesc = An open-source, interactive graphing library
|
||||||
pkgver = 5.12.0
|
pkgver = 5.13.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/plotly/plotly.py
|
url = https://github.com/plotly/plotly.py
|
||||||
arch = any
|
arch = x86_64
|
||||||
license = MIT
|
license = MIT
|
||||||
|
checkdepends = python-requests
|
||||||
|
checkdepends = python-pytest
|
||||||
makedepends = python-setuptools
|
makedepends = python-setuptools
|
||||||
makedepends = python-jupyter_core
|
makedepends = python-jupyter_core
|
||||||
makedepends = python-tornado
|
makedepends = python-tornado
|
||||||
makedepends = jupyterlab
|
makedepends = jupyterlab
|
||||||
makedepends = npm
|
|
||||||
depends = python
|
depends = python
|
||||||
depends = python-tenacity
|
depends = python-tenacity
|
||||||
optdepends = ipython
|
optdepends = ipython
|
||||||
@@ -19,8 +20,13 @@ pkgbase = python-plotly
|
|||||||
optdepends = python-matplotlib
|
optdepends = python-matplotlib
|
||||||
optdepends = python-pillow
|
optdepends = python-pillow
|
||||||
optdepends = python-scipy
|
optdepends = python-scipy
|
||||||
|
optdepends = python-ipykernel
|
||||||
|
optdepends = python-pandas
|
||||||
|
optdepends = python-colorcet
|
||||||
|
optdepends = python-inflect
|
||||||
|
optdepends = python-psutil
|
||||||
options = !strip
|
options = !strip
|
||||||
source = python-plotly-5.12.0.tar.gz::https://github.com/plotly/plotly.py/archive/v5.12.0.tar.gz
|
source = python-plotly-5.13.0.tar.gz::https://github.com/plotly/plotly.py/archive/v5.13.0.tar.gz
|
||||||
sha256sums = bb0145d46b8fc94d341222e0435c93e0f371bf56ea82d2a5d22e951fd726e379
|
sha256sums = 53fb583f82b72bdd4e8feb9919cb440f6c92fe644c4d9253f93d1a3ab8a8ce91
|
||||||
|
|
||||||
pkgname = python-plotly
|
pkgname = python-plotly
|
||||||
|
|||||||
@@ -2,40 +2,59 @@
|
|||||||
# Co-Maintainer: Bert Peters <bert@bertptrs.nl>
|
# Co-Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||||
|
|
||||||
pkgname=python-plotly
|
pkgname=python-plotly
|
||||||
pkgver=5.12.0
|
pkgver=5.13.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="An open-source, interactive graphing library"
|
pkgdesc="An open-source, interactive graphing library"
|
||||||
|
arch=('x86_64')
|
||||||
url="https://github.com/plotly/plotly.py"
|
url="https://github.com/plotly/plotly.py"
|
||||||
depends=(python
|
license=('MIT')
|
||||||
python-tenacity)
|
depends=(
|
||||||
|
python
|
||||||
|
python-tenacity
|
||||||
|
)
|
||||||
# optdepends based on optional_requirements.txt
|
# optdepends based on optional_requirements.txt
|
||||||
optdepends=(
|
optdepends=(
|
||||||
'ipython'
|
ipython
|
||||||
'jupyterlab'
|
jupyterlab
|
||||||
'python-ipywidgets'
|
python-ipywidgets
|
||||||
'python-numpy'
|
python-numpy
|
||||||
'python-matplotlib'
|
python-matplotlib
|
||||||
'python-pillow'
|
python-pillow
|
||||||
'python-scipy')
|
python-scipy
|
||||||
makedepends=(python-setuptools
|
python-ipykernel
|
||||||
|
python-pandas
|
||||||
|
python-colorcet
|
||||||
|
python-inflect
|
||||||
|
python-psutil
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
python-setuptools
|
||||||
python-jupyter_core
|
python-jupyter_core
|
||||||
python-tornado
|
python-tornado
|
||||||
jupyterlab
|
jupyterlab
|
||||||
npm)
|
)
|
||||||
license=('MIT')
|
checkdepends=(
|
||||||
arch=('any')
|
python-requests
|
||||||
|
python-pytest
|
||||||
|
)
|
||||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/plotly/plotly.py/archive/v${pkgver}.tar.gz")
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/plotly/plotly.py/archive/v${pkgver}.tar.gz")
|
||||||
options=(!strip) # strip isn't useful for python files and takes forever
|
options=(!strip) # strip isn't useful for python files and takes forever
|
||||||
sha256sums=('bb0145d46b8fc94d341222e0435c93e0f371bf56ea82d2a5d22e951fd726e379')
|
sha256sums=('53fb583f82b72bdd4e8feb9919cb440f6c92fe644c4d9253f93d1a3ab8a8ce91')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd plotly.py-${pkgver}/packages/python/plotly
|
cd plotly.py-${pkgver}/packages/python/plotly
|
||||||
NODE_OPTIONS=--openssl-legacy-provider python setup.py build
|
SKIP_NPM=1 python setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd plotly.py-${pkgver}/packages/python/plotly
|
||||||
|
pytest plotly/tests/test_core
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd plotly.py-${pkgver}/packages/python/plotly
|
cd plotly.py-${pkgver}/packages/python/plotly
|
||||||
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
SKIP_NPM=1 python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||||
|
mv ${pkgdir}/usr/etc ${pkgdir}
|
||||||
|
|
||||||
install -Dm644 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