1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00

remove npm stuff and move etc/

This commit is contained in:
Greyson Christoforo
2023-01-13 18:39:03 +00:00
parent b76f4c52af
commit 95cd6fc020
2 changed files with 4 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
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.12.0
pkgrel = 3 pkgrel = 4
url = https://github.com/plotly/plotly.py url = https://github.com/plotly/plotly.py
arch = x86_64 arch = x86_64
license = MIT license = MIT
@@ -11,7 +11,6 @@ pkgbase = python-plotly
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

View File

@@ -3,7 +3,7 @@
pkgname=python-plotly pkgname=python-plotly
pkgver=5.12.0 pkgver=5.12.0
pkgrel=3 pkgrel=4
pkgdesc="An open-source, interactive graphing library" pkgdesc="An open-source, interactive graphing library"
arch=('x86_64') arch=('x86_64')
url="https://github.com/plotly/plotly.py" url="https://github.com/plotly/plotly.py"
@@ -32,7 +32,6 @@ python-setuptools
python-jupyter_core python-jupyter_core
python-tornado python-tornado
jupyterlab jupyterlab
npm
) )
checkdepends=( checkdepends=(
python-requests python-requests
@@ -44,7 +43,7 @@ sha256sums=('33548f8abc3310acde8ba7d74a57a652ed278ef5c4a999a61ae9fb45cb1961e4')
build() { build() {
cd plotly.py-${pkgver}/packages/python/plotly 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() { check() {
@@ -55,6 +54,7 @@ check() {
package() { package() {
cd plotly.py-${pkgver}/packages/python/plotly cd plotly.py-${pkgver}/packages/python/plotly
SKIP_NPM=1 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"
} }