Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
sage-notebook-exporter


Commits:
468713e7 by Antonio Rojas at 2023-08-01T21:32:16+02:00
upgpkg: 3.4-1: Update to 3.4

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -1,19 +1,23 @@
 # Maintainer: Antonio Rojas <[email protected]>
 
 pkgname=sage-notebook-exporter
-pkgver=3.3
-pkgrel=5
-pkgdesc="Jupyter extension to export notebooks from SageNB"
+pkgver=3.4
+pkgrel=1
+pkgdesc='Jupyter extension to export notebooks from SageNB'
 arch=(any)
-url="https://github.com/vbraun/ExportSageNB";
+url='https://github.com/vbraun/ExportSageNB'
 license=(GPL3)
 depends=(jupyter-nbconvert ipython python-six)
-makedepends=(python-setuptools)
-source=("http://mirrors.mit.edu/sage/spkg/upstream/sagenb_export/sagenb_export-$pkgver.tar.gz";)
-sha256sums=('b642321ccd94da4d04afa12f33b6cea7c8db289f3283c6e39b3a50131780bb5a')
+makedepends=(python-build python-installer python-setuptools python-wheel)
+source=(https://github.com/vbraun/ExportSageNB/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('a996464922d4894c0dc5184a23c1ac95c087c401e6fb9861cf57021cc5515a4a')
 
-package() {
-  cd sagenb_export-$pkgver
+build() {
+  cd ExportSageNB-$pkgver
+  python -m build --wheel --no-isolation
+}
 
-  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+package() {
+  cd ExportSageNB-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/sage-notebook-exporter/-/commit/468713e7937615161ceddc0c48b8a758aa033540

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/sage-notebook-exporter/-/commit/468713e7937615161ceddc0c48b8a758aa033540
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to