[arch-commits] Commit in jupyter-nbconvert/repos/community-staging-any (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Aug 27 09:28:47 UTC 2022
Date: Saturday, August 27, 2022 @ 09:28:46
Author: arojas
Revision: 1284599
archrelease: copy trunk to community-staging-any
Added:
jupyter-nbconvert/repos/community-staging-any/PKGBUILD
(from rev 1284598, jupyter-nbconvert/trunk/PKGBUILD)
Deleted:
jupyter-nbconvert/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-27 09:28:37 UTC (rev 1284598)
+++ PKGBUILD 2022-08-27 09:28:46 UTC (rev 1284599)
@@ -1,54 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyter-nbconvert
-_name=nbconvert
-pkgver=7.0.0
-pkgrel=1
-pkgdesc="Jupyter Notebook Conversion"
-arch=('any')
-url="https://pypi.python.org/pypi/nbconvert"
-license=('BSD')
-depends=(
- 'jupyter-nbformat'
- 'jupyter-nbclient'
-# 'jupyterlab_pygments'
- 'python-beautifulsoup4'
- 'python-bleach'
- 'python-defusedxml'
- 'python-entrypoints'
- 'python-jinja'
- 'python-pandocfilters'
- 'python-mistune>=2'
- 'python-pygments'
- 'python-traitlets'
- 'python-tinycss2'
- 'python-lxml'
-)
-makedepends=('python-build' 'python-installer' 'python-hatchling')
-checkdepends=('python-pytest' 'python-ipywidgets')
-optdepends=('pandoc: non-html conversion output'
- 'python-pyppeteer: for webPDF conversion support')
-source=("https://github.com/jupyter/nbconvert/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('c5b94e2858ada941006c0018817bac4abb47415ca491dec3e20ebd2735fa17d3')
-
-build() {
- cd nbconvert-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd nbconvert-$pkgver
- export PYTHONPATH="$PWD" # Make sure system nbconvert is not used
- # disable tests that download chromium and (probably) require a graphical session
-# pytest -v -k 'TestWebPDFExporter and not (test_export or test_webpdf_without_pyppeteer)' -W ignore::DeprecationWarning
-# pytest -v -k 'TestNbConvertApp and not test_webpdf_with_chromium' -W ignore::DeprecationWarning
- # run all remaining tests
-# pytest -v -k 'not TestWebPDFExporter and not TestNbConvertApp' -W ignore::DeprecationWarning
-}
-
-package() {
- cd nbconvert-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}
Copied: jupyter-nbconvert/repos/community-staging-any/PKGBUILD (from rev 1284598, jupyter-nbconvert/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-27 09:28:46 UTC (rev 1284599)
@@ -0,0 +1,54 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter-nbconvert
+_name=nbconvert
+pkgver=7.0.0
+pkgrel=2
+pkgdesc="Jupyter Notebook Conversion"
+arch=('any')
+url="https://pypi.python.org/pypi/nbconvert"
+license=('BSD')
+depends=(
+ 'jupyter-nbformat'
+ 'jupyter-nbclient'
+ 'jupyterlab_pygments'
+ 'python-beautifulsoup4'
+ 'python-bleach'
+ 'python-defusedxml'
+ 'python-entrypoints'
+ 'python-jinja'
+ 'python-pandocfilters'
+ 'python-mistune>=2'
+ 'python-pygments'
+ 'python-traitlets'
+ 'python-tinycss2'
+ 'python-lxml'
+)
+makedepends=('python-build' 'python-installer' 'python-hatchling' 'python-pyppeteer')
+checkdepends=('python-pytest' 'python-ipywidgets')
+optdepends=('pandoc: non-html conversion output'
+ 'python-pyppeteer: for webPDF conversion support')
+source=("https://github.com/jupyter/nbconvert/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('c5b94e2858ada941006c0018817bac4abb47415ca491dec3e20ebd2735fa17d3')
+
+build() {
+ cd nbconvert-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd nbconvert-$pkgver
+ export PYTHONPATH="$PWD" # Make sure system nbconvert is not used
+ # disable tests that download chromium and (probably) require a graphical session
+ pytest -v -k 'TestWebPDFExporter and not (test_export or test_webpdf_without_pyppeteer)' -W ignore::DeprecationWarning
+ pytest -v -k 'TestNbConvertApp and not test_webpdf_with_chromium' -W ignore::DeprecationWarning
+ # run all remaining tests
+ pytest -v -k 'not TestWebPDFExporter and not TestNbConvertApp' -W ignore::DeprecationWarning
+}
+
+package() {
+ cd nbconvert-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list