[arch-commits] Commit in python-ipycanvas/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Aug 27 13:50:07 UTC 2022
Date: Saturday, August 27, 2022 @ 13:50:07
Author: arojas
Revision: 1284798
archrelease: copy trunk to community-any
Added:
python-ipycanvas/repos/community-any/PKGBUILD
(from rev 1284797, python-ipycanvas/trunk/PKGBUILD)
Deleted:
python-ipycanvas/repos/community-any/PKGBUILD
----------+
PKGBUILD | 57 ++++++++++++++++++++++++++-------------------------------
1 file changed, 26 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-27 13:49:57 UTC (rev 1284797)
+++ PKGBUILD 2022-08-27 13:50:07 UTC (rev 1284798)
@@ -1,31 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=python-ipycanvas
-_pyname=${pkgname#python-}
-pkgver=0.12.0
-pkgrel=1
-pkgdesc="Interactive widgets library exposing the browser's Canvas API"
-url='https://github.com/martinRenou/ipycanvas'
-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=('3984339cef0c15674e347dd65ffb0cd1edc62e37869cbb5efea46f3259e976f3')
-
-prepare() {
- cd $_pyname-$pkgver
- sed -e 's|jupyter_packaging~=0.7.0|jupyter_packaging|' -i pyproject.toml # Drop version constraint
-}
-
-build() {
- cd $_pyname-$pkgver
- python -m build --wheel --no-isolation
-}
-
-package() {
- cd $_pyname-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- mv "$pkgdir"/{usr/,}etc
-}
Copied: python-ipycanvas/repos/community-any/PKGBUILD (from rev 1284797, python-ipycanvas/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-27 13:50:07 UTC (rev 1284798)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=python-ipycanvas
+_pyname=${pkgname#python-}
+pkgver=0.13.0
+pkgrel=1
+pkgdesc="Interactive widgets library exposing the browser's Canvas API"
+url='https://github.com/martinRenou/ipycanvas'
+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 python-setuptools)
+makedepends=(python-build python-installer python-jupyter_packaging jupyterlab)
+sha256sums=('7e66bd2e4be956ea1ffedde3f56c8557d60583165493ae511a1dc86f496d7354')
+
+build() {
+ cd $_pyname-$pkgver
+ python -m build --wheel --no-isolation --skip-dependency-check
+}
+
+package() {
+ cd $_pyname-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ mv "$pkgdir"/{usr/,}etc
+}
More information about the arch-commits
mailing list