Date: Wednesday, November 23, 2022 @ 00:07:08
  Author: kgizdov
Revision: 1351978

archrelease: copy trunk to community-any

Added:
  python-nbsphinx/repos/community-any/PKGBUILD
    (from rev 1351977, python-nbsphinx/trunk/PKGBUILD)
Deleted:
  python-nbsphinx/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   52 ++++++++++++++++++++++++++--------------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-23 00:07:01 UTC (rev 1351977)
+++ PKGBUILD    2022-11-23 00:07:08 UTC (rev 1351978)
@@ -1,26 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-# Contributor: Liam Timms <[email protected]>
-# Contributor: Michel Zou
-
-pkgname=python-nbsphinx
-pkgver=0.8.9
-pkgrel=1
-pkgdesc="Jupyter Notebook Tools for Sphinx"
-url="http://nbsphinx.rtfd.org/";
-arch=(any)
-license=('MIT')
-depends=('python-docutils' 'python-jinja' 'jupyter-nbconvert' 
'jupyter-nbformat' 'python-sphinx')
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/spatialaudio/nbsphinx/archive/${pkgver}.tar.gz";)
-sha256sums=('f66e4ef55e3cc39fb3db32af4f2e2cb682203b67a18436c6e1305595ba6fa979')
-
-build() {
-  cd "${srcdir}"/nbsphinx-$pkgver
-  python setup.py build
-}
-
-package() {
-  cd "${srcdir}/nbsphinx-$pkgver"
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: python-nbsphinx/repos/community-any/PKGBUILD (from rev 1351977, 
python-nbsphinx/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-11-23 00:07:08 UTC (rev 1351978)
@@ -0,0 +1,26 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Contributor: Liam Timms <[email protected]>
+# Contributor: Michel Zou
+
+pkgname=python-nbsphinx
+pkgver=0.8.10
+pkgrel=1
+pkgdesc="Jupyter Notebook Tools for Sphinx"
+url="http://nbsphinx.rtfd.org/";
+arch=(any)
+license=('MIT')
+depends=('python-docutils' 'python-jinja' 'jupyter-nbconvert' 
'jupyter-nbformat' 'python-sphinx')
+makedepends=('python-build' 'python-installer' 'python-wheel' 
'python-setuptools-scm')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/spatialaudio/nbsphinx/archive/${pkgver}.tar.gz";)
+sha256sums=('568de199d1c42e74679f3a42feead828b43de48273079b6e05a228cc3a48b2f0')
+
+build() {
+  cd "${srcdir}"/nbsphinx-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd "${srcdir}/nbsphinx-$pkgver"
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Reply via email to