Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-nbval
Commits:
7d9937fd by Felix Yan at 2026-03-04T05:20:41+08:00
upgpkg: 0.11.0-4
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-nbval
pkgdesc = A py.test plugin to validate Jupyter notebooks
pkgver = 0.11.0
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/computationalmodelling/nbval
arch = any
license = BSD-3-Clause
@@ -9,6 +9,7 @@ pkgbase = python-nbval
checkdepends = python-pytest
checkdepends = python-pytest-mock
checkdepends = python-sympy
+ makedepends = git
makedepends = python-build
makedepends = python-nbdime
makedepends = python-installer
@@ -20,7 +21,7 @@ pkgbase = python-nbval
depends = python-ipykernel
depends = python-coverage
optdepends = python-nbdime: for --nbdime option
- source =
https://github.com/computationalmodelling/nbval/archive/0.11.0/python-nbval-0.11.0.tar.gz
- sha512sums =
8565f5d3683f202042f927e606e8c28df3ba6341e3efc03c6cd75f25984a4c883df1c3f11d70972de2effd04a1cb48a1f72ebd7eb36bf652d2ab6ab96516ba8c
+ source =
git+https://github.com/computationalmodelling/nbval.git#tag=0.11.0
+ sha512sums =
0649b958eda9f21108a3647da60d54047101bab8035f4663e7da6aaefa58c8b67ae58852c492b5c11c2541251c21eed98932e1ad0d2ef974a4ce518f1f2f12ff
pkgname = python-nbval
=====================================
PKGBUILD
=====================================
@@ -3,28 +3,28 @@
pkgname=python-nbval
pkgver=0.11.0
-pkgrel=3
+pkgrel=4
pkgdesc="A py.test plugin to validate Jupyter notebooks"
url="https://github.com/computationalmodelling/nbval"
license=('BSD-3-Clause')
arch=('any')
depends=('python-pytest' 'python-jupyter_client' 'jupyter-nbformat'
'python-ipykernel'
'python-coverage')
-makedepends=('python-build' 'python-nbdime' 'python-installer'
'python-setuptools' 'python-wheel')
+makedepends=('git' 'python-build' 'python-nbdime' 'python-installer'
'python-setuptools' 'python-wheel')
checkdepends=('python-matplotlib' 'python-pytest' 'python-pytest-mock'
'python-sympy')
optdepends=(
'python-nbdime: for --nbdime option'
)
-source=("https://github.com/computationalmodelling/nbval/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('8565f5d3683f202042f927e606e8c28df3ba6341e3efc03c6cd75f25984a4c883df1c3f11d70972de2effd04a1cb48a1f72ebd7eb36bf652d2ab6ab96516ba8c')
+source=("git+https://github.com/computationalmodelling/nbval.git#tag=$pkgver")
+sha512sums=('0649b958eda9f21108a3647da60d54047101bab8035f4663e7da6aaefa58c8b67ae58852c492b5c11c2541251c21eed98932e1ad0d2ef974a4ce518f1f2f12ff')
build() {
- cd nbval-$pkgver
+ cd nbval
python -m build --wheel --no-isolation
}
check() {
- cd nbval-$pkgver
+ cd nbval
python -m venv --system-site-packages test_env
test_env/bin/python -m installer dist/*.whl
# https://github.com/computationalmodelling/nbval/blob/0.10.0/dodo.py#L25
@@ -32,7 +32,7 @@ check() {
}
package() {
- cd nbval-$pkgver
+ cd nbval
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-nbval/-/commit/7d9937fd32f861230207c93cb524efc0b793cc95
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-nbval/-/commit/7d9937fd32f861230207c93cb524efc0b793cc95
You're receiving this email because of your account on gitlab.archlinux.org.