Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
python-ipycanvas


Commits:
a81f0344 by Antonio Rojas at 2024-04-25T22:23:44+02:00
upgpkg: 0.13.2-1: Update to 0.13.2

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,18 +1,23 @@
 pkgbase = python-ipycanvas
        pkgdesc = Interactive widgets library exposing the browser's Canvas API
-       pkgver = 0.13.1
-       pkgrel = 3
-       url = https://github.com/martinRenou/ipycanvas
+       pkgver = 0.13.2
+       pkgrel = 1
+       url = https://ipycanvas.readthedocs.io/en/latest/
        arch = any
-       license = BSD
+       license = BSD-3-Clause
+       makedepends = git
+       makedepends = jupyterlab
        makedepends = python-build
+       makedepends = python-hatch-jupyter-builder
+       makedepends = python-hatchling
        makedepends = python-installer
-       makedepends = python-jupyter_packaging
-       makedepends = jupyterlab
+       makedepends = yarn
+       depends = python
        depends = python-ipywidgets
-       depends = python-pillow
        depends = python-numpy
-       source = 
https://files.pythonhosted.org/packages/source/i/ipycanvas/ipycanvas-0.13.1.tar.gz
-       sha256sums = 
f9c3940681bc38383390f8c46ea5d8445d6e11c6da6484c37d89df5ae1dac131
+       depends = python-pillow
+       depends = python-traitlets
+       source = 
git+https://github.com/jupyter-widgets-contrib/ipycanvas#tag=0.13.2
+       sha256sums = 
4bef2708b92261b7b00b914b5fc21b7f2c029eb6e1e13f40de83db66422daf1f
 
 pkgname = python-ipycanvas


=====================================
PKGBUILD
=====================================
@@ -1,25 +1,35 @@
 # Maintainer: Antonio Rojas <aro...@archlinux.org>
 
-pkgname=python-ipycanvas
-_pyname=${pkgname#python-}
-pkgver=0.13.1
-pkgrel=3
+_pyname=ipycanvas
+pkgname=python-$_pyname
+pkgver=0.13.2
+pkgrel=1
 pkgdesc="Interactive widgets library exposing the browser's Canvas API"
-url='https://github.com/martinRenou/ipycanvas'
+url='https://ipycanvas.readthedocs.io/en/latest/'
 arch=(any)
-license=(BSD)
-source=(https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz)
-depends=(python-ipywidgets python-pillow python-numpy)
-makedepends=(python-build python-installer python-jupyter_packaging jupyterlab)
-sha256sums=('f9c3940681bc38383390f8c46ea5d8445d6e11c6da6484c37d89df5ae1dac131')
+license=(BSD-3-Clause)
+source=(git+https://github.com/jupyter-widgets-contrib/ipycanvas#tag=$pkgver)
+depends=(python
+         python-ipywidgets
+         python-numpy
+         python-pillow
+         python-traitlets)
+makedepends=(git
+             jupyterlab
+             python-build
+             python-hatch-jupyter-builder
+             python-hatchling
+             python-installer
+             yarn)
+sha256sums=('4bef2708b92261b7b00b914b5fc21b7f2c029eb6e1e13f40de83db66422daf1f')
 
 build() {
-  cd $_pyname-$pkgver
+  cd $_pyname
   python -m build --wheel --no-isolation --skip-dependency-check
 }
 
 package() {
-  cd $_pyname-$pkgver
+  cd $_pyname
   python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
   mv "$pkgdir"/{usr/,}etc



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-ipycanvas/-/commit/a81f03448421f677cfe211f8584626279559326d

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-ipycanvas/-/commit/a81f03448421f677cfe211f8584626279559326d
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to