mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 12:40:30 +01:00
build with SKIP_NPM=1
This commit is contained in:
2
.SRCINFO
2
.SRCINFO
@@ -1,7 +1,7 @@
|
||||
pkgbase = python-plotly
|
||||
pkgdesc = An open-source, interactive graphing library
|
||||
pkgver = 5.12.0
|
||||
pkgrel = 2
|
||||
pkgrel = 3
|
||||
url = https://github.com/plotly/plotly.py
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
|
||||
6
PKGBUILD
6
PKGBUILD
@@ -3,7 +3,7 @@
|
||||
|
||||
pkgname=python-plotly
|
||||
pkgver=5.12.0
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="An open-source, interactive graphing library"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/plotly/plotly.py"
|
||||
@@ -44,7 +44,7 @@ sha256sums=('33548f8abc3310acde8ba7d74a57a652ed278ef5c4a999a61ae9fb45cb1961e4')
|
||||
|
||||
build() {
|
||||
cd plotly.py-${pkgver}/packages/python/plotly
|
||||
NODE_OPTIONS=--openssl-legacy-provider python setup.py build
|
||||
SKIP_NPM=1 NODE_OPTIONS=--openssl-legacy-provider python setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
@@ -54,7 +54,7 @@ check() {
|
||||
|
||||
package() {
|
||||
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
|
||||
|
||||
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user