mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
we never use pip in the venv manually made for tests- this might break 1-2 things unexpectedly, but - those should be looked at anyway - this has a severe speedup- even on a desktop machine with nvme, this makes an arbitrary venv go from 2.6s to <100ms(!) to make. a nice small optimisation.
54 lines
1.3 KiB
Text
54 lines
1.3 KiB
Text
# Contributor: Aiden Grossman <agrossman154@yahoo.com>
|
|
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
|
|
pkgname=py3-ipyparallel
|
|
pkgver=8.4.1
|
|
pkgrel=2
|
|
pkgdesc="Interactive parallel python computing"
|
|
url="https://github.com/ipython/ipyparallel"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="
|
|
py3-traitlets
|
|
py3-pyzmq
|
|
py3-decorator
|
|
ipython
|
|
py3-tornado
|
|
py3-jupyter_client
|
|
py3-entrypoints
|
|
py3-psutil
|
|
py3-tqdm
|
|
py3-jedi
|
|
py3-matplotlib-inline
|
|
py3-ipykernel
|
|
"
|
|
makedepends="py3-gpep517 py3-installer py3-hatchling"
|
|
checkdepends="py3-pytest py3-pytest-asyncio"
|
|
options="!check" # has a circular dependency with py3-ipykernel
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/ipython/ipyparallel/archive/refs/tags/$pkgver.tar.gz"
|
|
builddir="$srcdir/ipyparallel-$pkgver"
|
|
|
|
build() {
|
|
IPP_DISABLE_JS=1 python3 -m build --wheel --no-isolation --skip-dependency-check
|
|
}
|
|
|
|
build() {
|
|
IPP_DISABLE_JS=1 \
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages testenv
|
|
testenv/bin/python3 -m installer dist/*.whl
|
|
testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
29e25e518f70a6922ddb09a756032a5ca858dd44b518196e62074b036d4ac2029b19f198be268fd7f4c2941927ff118e2f25dbcc71700346a9eb79c4cd7a58dd py3-ipyparallel-8.4.1.tar.gz
|
|
"
|