[arch-commits] Commit in (4 files)

Konstantin Gizdov kgizdov at gemini.archlinux.org
Sun Mar 6 12:09:01 UTC 2022


    Date: Sunday, March 6, 2022 @ 12:09:00
  Author: kgizdov
Revision: 1142319

initial release

Added:
  python-nbsphinx/
  python-nbsphinx/repos/
  python-nbsphinx/trunk/
  python-nbsphinx/trunk/PKGBUILD

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

Added: python-nbsphinx/trunk/PKGBUILD
===================================================================
--- python-nbsphinx/trunk/PKGBUILD	                        (rev 0)
+++ python-nbsphinx/trunk/PKGBUILD	2022-03-06 12:09:00 UTC (rev 1142319)
@@ -0,0 +1,26 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Contributor: Liam Timms <timms5000 at gmail.com>
+# Contributor: Michel Zou
+
+pkgname=python-nbsphinx
+pkgver=0.8.8
+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=('a95f920c1378d78f4ed1e07dd7ce97abe10b7f4c29a22fc17d02a4d0beaac97d')
+
+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"
+}



More information about the arch-commits mailing list