[arch-commits] Commit in python-pytest-jupyter (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Thu Mar 3 08:09:32 UTC 2022


    Date: Thursday, March 3, 2022 @ 08:09:32
  Author: arojas
Revision: 1140353

archrelease: copy trunk to community-any

Added:
  python-pytest-jupyter/repos/
  python-pytest-jupyter/repos/community-any/
  python-pytest-jupyter/repos/community-any/PKGBUILD
    (from rev 1140352, python-pytest-jupyter/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-pytest-jupyter/repos/community-any/PKGBUILD (from rev 1140352, python-pytest-jupyter/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2022-03-03 08:09:32 UTC (rev 1140353)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=python-pytest-jupyter
+pkgver=0.0.3
+pkgrel=1
+pkgdesc='A pytest plugin for testing Jupyter core libraries and extensions'
+arch=(any)
+license=(BSD)
+url='https://github.com/jupyter-server/pytest-jupyter'
+depends=(python-pytest)
+makedepends=(python-build python-installer python-setuptools python-jupyter_packaging)
+source=(https://github.com/jupyter-server/pytest-jupyter/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('67ebebb726cd178c729a10ecac1b457f75feb1e66a1bf3d0b50660daa5830ec0')
+
+prepare() {
+# Remove jupyter_packaging version constraint
+  sed -e 's|~=0.7.5||' -i pytest-jupyter-$pkgver/pyproject.toml
+}
+
+build() {
+  cd pytest-jupyter-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd pytest-jupyter-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list