Bert Peters pushed to branch main at Arch Linux / Packaging / Packages / 
python-plotly


Commits:
9e331e7d by Bert Peters at 2025-02-01T12:50:03+01:00
upgpkg: 6.0.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-plotly
        pkgdesc = An open-source, interactive graphing library
-       pkgver = 5.24.1
-       pkgrel = 2
+       pkgver = 6.0.0
+       pkgrel = 1
        url = https://github.com/plotly/plotly.py
        arch = any
        license = MIT
@@ -17,7 +17,7 @@ pkgbase = python-plotly
        makedepends = python-tornado
        makedepends = jupyterlab<4.0
        depends = python
-       depends = python-tenacity
+       depends = python-narwhals
        optdepends = ipython
        optdepends = jupyterlab
        optdepends = python-ipywidgets
@@ -32,7 +32,7 @@ pkgbase = python-plotly
        optdepends = python-psutil
        options = !strip
        options = !debug
-       source = 
python-plotly::git+https://github.com/plotly/plotly.py#tag=v5.24.1
-       sha256sums = 
495e0bc42ea89db4b92c78d4e153a55864546d2561ea9a257d911c7514517c3a
+       source = 
python-plotly::git+https://github.com/plotly/plotly.py#tag=v6.0.0
+       sha256sums = 
0c2465660369eb087064c0a64f894363194cc69904060ccff9722ed0f2636714
 
 pkgname = python-plotly


=====================================
PKGBUILD
=====================================
@@ -2,15 +2,15 @@
 # Contributor: Grey Christoforo <first name at last name dot net>
 
 pkgname=python-plotly
-pkgver=5.24.1
-pkgrel=2
+pkgver=6.0.0
+pkgrel=1
 pkgdesc="An open-source, interactive graphing library"
 arch=('any')
 url="https://github.com/plotly/plotly.py";
 license=('MIT')
 depends=(
     python
-    python-tenacity
+       python-narwhals
 )
 # optdepends based on optional_requirements.txt
 optdepends=(
@@ -45,7 +45,7 @@ checkdepends=(
 source=(
      "${pkgname}::git+https://github.com/plotly/plotly.py#tag=v$pkgver";
 )
-sha256sums=('495e0bc42ea89db4b92c78d4e153a55864546d2561ea9a257d911c7514517c3a')
+sha256sums=('0c2465660369eb087064c0a64f894363194cc69904060ccff9722ed0f2636714')
 options=(!strip !debug) # strip and debug aren't useful for python files and 
take forever
 
 prepare() {
@@ -57,8 +57,6 @@ prepare() {
 build() {
   cd python-plotly/packages/python/plotly
 
-  # Skip the dependency check as the version bounds on jupyterlab are too tight
-  # and don't allow 4.x, which Arch currently ships.
   python -m build --wheel --no-isolation --skip-dependency-check
 }
 
@@ -70,12 +68,5 @@ check() {
 package() {
   cd python-plotly/packages/python/plotly
   python -m installer --destdir="$pkgdir"/ dist/*.whl
-  mv "${pkgdir}/usr/etc" "${pkgdir}"
-
-  # symlink the path where static assets are installed, otherwise jupyterlab
-  # will not be able to load the extension properly
-  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  ln -s "$site_packages/jupyterlab_plotly/labextension/static" 
"$pkgdir/usr/share/jupyter/labextensions/jupyterlab-plotly/"
-
   install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-plotly/-/commit/9e331e7d63f0aa2dc8f66c2288eb9f2aaed1c088

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-plotly/-/commit/9e331e7d63f0aa2dc8f66c2288eb9f2aaed1c088
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to