diff options
author | Greyson Christoforo | 2023-01-13 18:39:03 +0000 |
---|---|---|
committer | Greyson Christoforo | 2023-01-13 18:39:03 +0000 |
commit | 95cd6fc02061e4d2191d44089cc8baeb482f7e98 (patch) | |
tree | d0078651f41409fb2ad8953fa33d8ad55d7b344b | |
parent | b76f4c52af2c5bb2bf147411f64ead1d19d1273f (diff) | |
download | aur-95cd6fc02061e4d2191d44089cc8baeb482f7e98.tar.gz |
remove npm stuff and move etc/
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 5 deletions
@@ -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 @@ -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" } |