Date: Monday, May 8, 2023 @ 18:57:19
  Author: arojas
Revision: 1459512

archrelease: copy trunk to community-any

Added:
  jupyter-nbconvert/repos/community-any/PKGBUILD
    (from rev 1459511, jupyter-nbconvert/trunk/PKGBUILD)
Deleted:
  jupyter-nbconvert/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   85 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-08 18:57:06 UTC (rev 1459511)
+++ PKGBUILD    2023-05-08 18:57:19 UTC (rev 1459512)
@@ -1,42 +0,0 @@
-# Maintainer: Antonio Rojas <[email protected]>
-# Contributor: Kyle Keen <[email protected]>
-
-pkgname=jupyter-nbconvert
-_name=nbconvert
-pkgver=7.3.1
-pkgrel=3
-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 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/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('a3113cddd4f578498d6f476375938d4dedbfd8f6036abe3926e72cf9e8e266d6')
-
-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-any/PKGBUILD (from rev 1459511, 
jupyter-nbconvert/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-05-08 18:57:19 UTC (rev 1459512)
@@ -0,0 +1,43 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Kyle Keen <[email protected]>
+
+pkgname=jupyter-nbconvert
+_name=nbconvert
+pkgver=7.4.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 python-pygments python-traitlets python-tinycss2 
python-lxml)
+makedepends=(python-build python-installer python-hatchling)
+checkdepends=(python-pytest python-ipywidgets python-pyppeteer)
+optdepends=('pandoc: non-html conversion output'
+            'python-pyppeteer: for webPDF conversion support')
+source=(https://github.com/jupyter/nbconvert/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('30b4562d4ce7804c93b29487d1423b46c420bc3b5d7c016966bd55c22bdcf9f7')
+
+build() {
+  cd nbconvert-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd nbconvert-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m pip install -e .
+  # disable tests that download chromium and (probably) require a graphical 
session
+  test-env/bin/python -m pytest -v -k 'TestWebPDFExporter and not (test_export 
or test_webpdf_without_pyppeteer)' -W ignore::DeprecationWarning
+  test-env/bin/python -m pytest -v -k 'TestNbConvertApp and not 
test_webpdf_with_chromium' -W ignore::DeprecationWarning
+  # run all remaining tests
+  test-env/bin/python -m 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
+}

Reply via email to