[arch-commits] Commit in jupyter-nbconvert/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Mar 11 17:43:54 UTC 2022
Date: Friday, March 11, 2022 @ 17:43:54
Author: arojas
Revision: 1148482
archrelease: copy trunk to community-any
Added:
jupyter-nbconvert/repos/community-any/PKGBUILD
(from rev 1148481, jupyter-nbconvert/trunk/PKGBUILD)
Deleted:
jupyter-nbconvert/repos/community-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-11 17:43:44 UTC (rev 1148481)
+++ PKGBUILD 2022-03-11 17:43:54 UTC (rev 1148482)
@@ -1,54 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyter-nbconvert
-_name=nbconvert
-pkgver=6.4.2
-pkgrel=1
-pkgdesc="Jupyter Notebook Conversion"
-arch=('any')
-url="https://pypi.python.org/pypi/nbconvert"
-license=('BSD')
-depends=(
- 'jupyter'
- 'jupyter-nbclient'
- 'jupyter-nbformat'
- 'jupyterlab_pygments'
- 'python-bleach'
- 'python-defusedxml'
- 'python-entrypoints'
- 'python-jinja'
- 'python-pandocfilters'
- 'python-mistune1'
- 'python-pygments'
- 'python-testpath'
- 'python-traitlets'
-)
-# really depends on jupyter-client, not jupyter
-makedepends=('python-pyppeteer' 'python-setuptools')
-checkdepends=('chromium' 'python-pytest')
-optdepends=('pandoc: non-html conversion output'
- 'python-pyppeteer: for webPDF conversion support')
-source=("https://github.com/jupyter/nbconvert/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('0d9e1d4214fc93b416fec12066b13131452c3412bdc6511b707527cabece6b8bbaa75ccb9ac269125a87940f60e52d4c475c3db4dbc41c25a0f448015d1f0970')
-b2sums=('cb1bc75f2e85cb70d8da1e3f1fc733e550407dde693a3725e7a50bddb8906e44c89b8331867ea2ecdfd9bcffb7793a422226b1b25077b3698f8dda945ee5a688')
-
-build() {
- cd nbconvert-$pkgver
- python setup.py build
-}
-
-check() {
- cd "${_name}-${pkgver}"
- # disable tests that download chromium and (probably) require a graphical session
- pytest -vv -k 'TestWebPDFExporter and not (test_export or test_webpdf_without_pyppeteer)'
- pytest -vv -k 'TestNbConvertApp and not test_webpdf_with_chromium'
- # run all remaining tests
- pytest -vv -k 'not TestWebPDFExporter and not TestNbConvertApp'
-}
-
-package() {
- cd "nbconvert-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=0
-
- install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: jupyter-nbconvert/repos/community-any/PKGBUILD (from rev 1148481, jupyter-nbconvert/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-11 17:43:54 UTC (rev 1148482)
@@ -0,0 +1,54 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter-nbconvert
+_name=nbconvert
+pkgver=6.4.3
+pkgrel=1
+pkgdesc="Jupyter Notebook Conversion"
+arch=('any')
+url="https://pypi.python.org/pypi/nbconvert"
+license=('BSD')
+depends=(
+ 'jupyter'
+ 'jupyter-nbclient'
+ 'jupyter-nbformat'
+ 'jupyterlab_pygments'
+ 'python-bleach'
+ 'python-defusedxml'
+ 'python-entrypoints'
+ 'python-jinja'
+ 'python-pandocfilters'
+ 'python-mistune1'
+ 'python-pygments'
+ 'python-testpath'
+ 'python-traitlets'
+)
+# really depends on jupyter-client, not jupyter
+makedepends=('python-pyppeteer' 'python-setuptools')
+checkdepends=('chromium' 'python-pytest')
+optdepends=('pandoc: non-html conversion output'
+ 'python-pyppeteer: for webPDF conversion support')
+source=("https://github.com/jupyter/nbconvert/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('a1c3a563544c9ecf641efcc2d30eb2dfb0ebc14f9832bf95603302385614c3c083bd94f7b548c606dccf73a7179cef2521f3523ed66243bdb4464ab927ad74a1')
+b2sums=('7a9cc17b25937956a0a9538858b66d37893e393266f4c7af4b8afc774320987748acd5703418191dcb753becbae24b1f430a04b53cf2a176b18be6daab18452b')
+
+build() {
+ cd nbconvert-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "${_name}-${pkgver}"
+ # disable tests that download chromium and (probably) require a graphical session
+ pytest -vv -k 'TestWebPDFExporter and not (test_export or test_webpdf_without_pyppeteer)'
+ pytest -vv -k 'TestNbConvertApp and not test_webpdf_with_chromium'
+ # run all remaining tests
+ pytest -vv -k 'not TestWebPDFExporter and not TestNbConvertApp'
+}
+
+package() {
+ cd "nbconvert-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=0
+
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list