mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 12:40:30 +01:00
remove npm stuff and move etc/
This commit is contained in:
3
.SRCINFO
3
.SRCINFO
@@ -1,7 +1,7 @@
|
||||
pkgbase = python-plotly
|
||||
pkgdesc = An open-source, interactive graphing library
|
||||
pkgver = 5.12.0
|
||||
pkgrel = 3
|
||||
pkgrel = 4
|
||||
url = https://github.com/plotly/plotly.py
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
@@ -11,7 +11,6 @@ pkgbase = python-plotly
|
||||
makedepends = python-jupyter_core
|
||||
makedepends = python-tornado
|
||||
makedepends = jupyterlab
|
||||
makedepends = npm
|
||||
depends = python
|
||||
depends = python-tenacity
|
||||
optdepends = ipython
|
||||
|
||||
6
PKGBUILD
6
PKGBUILD
@@ -3,7 +3,7 @@
|
||||
|
||||
pkgname=python-plotly
|
||||
pkgver=5.12.0
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="An open-source, interactive graphing library"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/plotly/plotly.py"
|
||||
@@ -32,7 +32,6 @@ python-setuptools
|
||||
python-jupyter_core
|
||||
python-tornado
|
||||
jupyterlab
|
||||
npm
|
||||
)
|
||||
checkdepends=(
|
||||
python-requests
|
||||
@@ -44,7 +43,7 @@ sha256sums=('33548f8abc3310acde8ba7d74a57a652ed278ef5c4a999a61ae9fb45cb1961e4')
|
||||
|
||||
build() {
|
||||
cd plotly.py-${pkgver}/packages/python/plotly
|
||||
SKIP_NPM=1 NODE_OPTIONS=--openssl-legacy-provider python setup.py build
|
||||
SKIP_NPM=1 python setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
@@ -55,6 +54,7 @@ check() {
|
||||
package() {
|
||||
cd plotly.py-${pkgver}/packages/python/plotly
|
||||
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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user