1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/py3-jupyter_core/APKBUILD
2022-02-02 06:28:57 +00:00

37 lines
1.2 KiB
Text

# Contributor: Aiden Grossman <agrossman154@yahoo.com>
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=py3-jupyter_core
pkgver=4.9.1
pkgrel=1
pkgdesc="Core Jupyter functionality"
url="https://github.com/jupyter/jupyter_core"
arch="noarch"
license="BSD-3-Clause"
depends="py3-traitlets"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/jupyter_core/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/jupyter_core-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest \
--deselect jupyter_core/tests/test_command.py::test_not_on_path \
--deselect jupyter_core/tests/test_command.py::test_path_priority \
--deselect jupyter_core/tests/test_paths.py::test_jupyter_path_prefer_env \
--deselect jupyter_core/tests/test_paths.py::test_jupyter_path_user_site \
--deselect jupyter_core/tests/test_paths.py::test_jupyter_path_no_user_site
cd ./docs
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
dc4af5edc393950d813b784d1dadfea267fd8a8cf8667a09d5fe523efe85e8f58863302a07e5330f95d8fbe41e2f2930209155b519d6bf2739cb5b8d61b03fb8 py3-jupyter_core-4.9.1.tar.gz
"