[arch-commits] Commit in jupyter-server-mathjax/repos/community-any (2 files)
Antonio Rojas
arojas at archlinux.org
Sun Apr 11 19:18:31 UTC 2021
Date: Sunday, April 11, 2021 @ 19:18:30
Author: arojas
Revision: 915791
archrelease: copy trunk to community-any
Added:
jupyter-server-mathjax/repos/community-any/PKGBUILD
(from rev 915790, jupyter-server-mathjax/trunk/PKGBUILD)
Deleted:
jupyter-server-mathjax/repos/community-any/PKGBUILD
----------+
PKGBUILD | 56 ++++++++++++++++++++++++++++----------------------------
1 file changed, 28 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-11 19:18:21 UTC (rev 915790)
+++ PKGBUILD 2021-04-11 19:18:30 UTC (rev 915791)
@@ -1,28 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=jupyter-server-mathjax
-pkgver=0.2.0
-pkgrel=1
-pkgdesc="MathJax resources as a Jupyter Server Extension"
-arch=(any)
-url="https://jupyter.org/"
-license=(BSD)
-depends=(jupyter-server mathjax2)
-makedepends=(python-setuptools python-jupyter_packaging)
-source=(https://pypi.io/packages/source/j/${pkgname//-/_}/${pkgname//-/_}-$pkgver.tar.gz)
-sha256sums=('61d6842b3cc2f019826f43f3bbda8ce76963d4798e4f5c75b269718abded2402')
-
-build() {
- cd ${pkgname//-/_}-$pkgver
- python setup.py build
-}
-
-package() {
- cd ${pkgname//-/_}-$pkgver
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
- _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
- rm -r "$pkgdir"/$_pythonpath/jupyter_server_mathjax/static
- ln -s /usr/share/mathjax2 "$pkgdir"/$_pythonpath/jupyter_server_mathjax/static
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}
Copied: jupyter-server-mathjax/repos/community-any/PKGBUILD (from rev 915790, jupyter-server-mathjax/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-11 19:18:30 UTC (rev 915791)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=jupyter-server-mathjax
+pkgver=0.2.2
+pkgrel=1
+pkgdesc="MathJax resources as a Jupyter Server Extension"
+arch=(any)
+url="https://jupyter.org/"
+license=(BSD)
+depends=(jupyter-server mathjax2)
+makedepends=(python-setuptools python-jupyter_packaging)
+source=(https://pypi.io/packages/source/j/${pkgname//-/_}/${pkgname//-/_}-$pkgver.tar.gz)
+sha256sums=('0f75fc1ed6fc3a6d94ea9c87932cfd7a43b8c11721b7c3f01281116469280011')
+
+build() {
+ cd ${pkgname//-/_}-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd ${pkgname//-/_}-$pkgver
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+ _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
+# rm -r "$pkgdir"/$_pythonpath/jupyter_server_mathjax/static
+ ln -s /usr/share/mathjax2 "$pkgdir"/$_pythonpath/jupyter_server_mathjax/static
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list