[arch-commits] Commit in python-jupyter_packaging/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Fri Mar 25 19:14:54 UTC 2022


    Date: Friday, March 25, 2022 @ 19:14:53
  Author: arojas
Revision: 1176594

Don't install tests under site-packages (FS#74236)

Modified:
  python-jupyter_packaging/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-25 19:05:25 UTC (rev 1176593)
+++ PKGBUILD	2022-03-25 19:14:53 UTC (rev 1176594)
@@ -3,7 +3,7 @@
 _pipname=jupyter_packaging
 pkgname=python-jupyter_packaging
 pkgver=0.12.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Jupyter Packaging Utilities'
 arch=(any)
 url='https://jupyter.org/'
@@ -11,9 +11,15 @@
 depends=(python-packaging python-deprecation python-wheel python-tomlkit)
 makedepends=(python-build python-installer python-setuptools)
 checkdepends=(python-pytest-mock)
-source=(https://pypi.io/packages/source/j/$_pipname/$_pipname-$pkgver.tar.gz)
-sha256sums=('b27455d60adc93a7baa2e0b8f386be81b932bb4e3c0116046df9ed230cd3faac')
+source=(https://pypi.io/packages/source/j/$_pipname/$_pipname-$pkgver.tar.gz
+        https://github.com/jupyter/jupyter-packaging/commit/a3b4c9b9.patch)
+sha256sums=('b27455d60adc93a7baa2e0b8f386be81b932bb4e3c0116046df9ed230cd3faac'
+            '281f1b6a727835673d7f812991f98a2cb399fae9b79730ac428724ef09fceb75')
 
+prepare() {
+  patch -d $_pipname-$pkgver -p1 < a3b4c9b9.patch # Don't install tests in site-packages
+}
+
 build() {
   cd $_pipname-$pkgver
   python -m build --wheel --no-isolation



More information about the arch-commits mailing list