diff options
author | Carlos Aznarán Laos | 2023-05-01 17:26:33 -0500 |
---|---|---|
committer | Carlos Aznarán Laos | 2023-05-01 17:26:33 -0500 |
commit | abbd424bfa007c7f0f5da6e95df47ca232cb4bc2 (patch) | |
tree | c576197d2d0dd9ffbd2d4988a3a8dddc92489e67 | |
download | aur-abbd424bfa007c7f0f5da6e95df47ca232cb4bc2.tar.gz |
Bump version to 3.4.0
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 33 |
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7a2f85014bdb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = python-loky + pkgdesc = Robust and reusable Executor for joblib + pkgver = 3.4.0 + pkgrel = 1 + url = https://github.com/joblib/loky + arch = x86_64 + license = custom:BSD-3-clause + checkdepends = python-pytest + checkdepends = python-psutil + checkdepends = python-numpy + makedepends = python-build + makedepends = python-installer + makedepends = python-setuptools + makedepends = python-wheel + depends = python-cloudpickle + optdepends = python-psutil: allow early memory leak detections + source = https://pypi.org/packages/source/l/loky/loky-3.4.0.tar.gz + sha512sums = 7b211999baec47bb5aefd967d0962a463da98ca0355f88b9bea871dfa562e13c445a4553417608b677078e70ca2172941223f45c95021f88fb8253458d1476f0 + +pkgname = python-loky diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f59ec20aabf5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*
\ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..64205127c9d9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Carlos Aznarán <caznaranl@uni.pe> +_base=loky +pkgname=python-${_base} +pkgver=3.4.0 +pkgrel=1 +pkgdesc="Robust and reusable Executor for joblib" +arch=('x86_64') +url="https://github.com/joblib/${_base}" +license=('custom:BSD-3-clause') +depends=(python-cloudpickle) +makedepends=(python-build python-installer python-setuptools python-wheel) +checkdepends=(python-pytest python-psutil python-numpy) +optdepends=('python-psutil: allow early memory leak detections') +source=(https://pypi.org/packages/source/${_base::1}/${_base}/${_base}-${pkgver}.tar.gz) +sha512sums=('7b211999baec47bb5aefd967d0962a463da98ca0355f88b9bea871dfa562e13c445a4553417608b677078e70ca2172941223f45c95021f88fb8253458d1476f0') + +build() { + cd ${_base}-${pkgver} + python -m build --wheel --skip-dependency-check --no-isolation +} + +check() { + cd ${_base}-${pkgver} + python -m venv --system-site-packages test-env + test-env/bin/python -m installer dist/*.whl + test-env/bin/python -m pytest tests +} + +package() { + cd ${_base}-${pkgver} + PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl + install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" +} |