[arch-commits] Commit in jupyter-nbconvert/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sat Apr 16 21:23:40 UTC 2022


    Date: Saturday, April 16, 2022 @ 21:23:39
  Author: arojas
Revision: 1186817

Update to 6.5.0

Modified:
  jupyter-nbconvert/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-16 21:15:00 UTC (rev 1186816)
+++ PKGBUILD	2022-04-16 21:23:39 UTC (rev 1186817)
@@ -2,8 +2,8 @@
 
 pkgname=jupyter-nbconvert
 _name=nbconvert
-pkgver=6.4.5
-pkgrel=5
+pkgver=6.5.0
+pkgrel=1
 pkgdesc="Jupyter Notebook Conversion"
 arch=('any')
 url="https://pypi.python.org/pypi/nbconvert"
@@ -20,7 +20,6 @@
   'python-pandocfilters'
   'python-mistune1'
   'python-pygments'
-  'python-testpath'
   'python-traitlets'
 )
 makedepends=('python-pyppeteer' 'python-build' 'python-installer' 'python-wheel')
@@ -28,8 +27,13 @@
 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=('7e61f0fe3b7c84acc403dd8e81cb300abb274f8026c3437842bc813621602599')
+sha256sums=('548bfb47a15ab12b7c68e6be7c702db791effa8d524707152249a562a019b8f5')
 
+prepare() {
+  cd nbconvert-$pkgver
+  sed -e 's|setuptools>=60.0|setuptools|' -i pyproject.toml
+}
+
 build() {
   cd nbconvert-$pkgver
   python -m build --wheel --no-isolation
@@ -39,10 +43,10 @@
   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 -vv -k 'TestWebPDFExporter and not (test_export or test_webpdf_without_pyppeteer)'
-  pytest -vv -k 'TestNbConvertApp and not test_webpdf_with_chromium'
+  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 -vv -k 'not TestWebPDFExporter and not TestNbConvertApp'
+  pytest -v -k 'not TestWebPDFExporter and not TestNbConvertApp' -W ignore::DeprecationWarning
 }
 
 package() {



More information about the arch-commits mailing list