diff options
author | Carlos Aznarán Laos | 2022-10-26 21:34:59 -0500 |
---|---|---|
committer | Carlos Aznarán Laos | 2022-10-26 21:34:59 -0500 |
commit | 2d61efd223cdf0d18580bcb2cfa77dffb97d3ac7 (patch) | |
tree | 4c11cd002ade2aade2b75e780b261e498bb68e74 /PKGBUILD | |
parent | f9cf834ed7a241f2cd38bc3e65b32d563831715a (diff) | |
download | aur-2d61efd223cdf0d18580bcb2cfa77dffb97d3ac7.tar.gz |
Change python-install by python-installer
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,7 +8,7 @@ arch=(any) url="https://github.com/evalf/${_base}" license=(MIT) depends=(python-typing_extensions) -makedepends=(python-build python-flit-core python-install) +makedepends=(python-build python-flit-core python-installer) source=(https://pypi.org/packages/source/${_base::1}/${_base}/${_base}-${pkgver}.tar.gz) sha512sums=('e7268f21fea6dc3ab4320e210dc0e38e084b7a645e37de6b51250c865f15b4a495f90df50d4acbbf9a8d7e4bd4d1dbc543e9c033c151e4ab16d972c092875426') @@ -20,13 +20,13 @@ build() { check() { cd ${_base}-${pkgver} python -m venv --system-site-packages test-env - test-env/bin/python -m install --optimize=1 dist/*.whl + test-env/bin/python -m installer dist/*.whl test-env/bin/python -m unittest } package() { cd ${_base}-${pkgver} - PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m install --optimize=1 --destdir="${pkgdir}" dist/*.whl + PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl # Symlink license file local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") |