diff options
author | Lucas Heitzmann Gabrielli | 2022-06-05 20:46:41 -0300 |
---|---|---|
committer | Lucas Heitzmann Gabrielli | 2022-06-05 20:46:41 -0300 |
commit | 4e8a03a9bf0a6fce6240c9024a6be9c2fbcd5f48 (patch) | |
tree | e1a08e80257dcd678909cb29832cdf107776dcb6 | |
parent | a8593c0470cefe3601350f88257b7ea8aa48d9fc (diff) | |
download | aur-4e8a03a9bf0a6fce6240c9024a6be9c2fbcd5f48.tar.gz |
Repo update
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 19 insertions, 15 deletions
@@ -1,14 +1,13 @@ pkgbase = python-toptica-lasersdk pkgdesc = Easy control of TOPTICA laser products using Python - pkgver = 2.1.0 - pkgrel = 1 - url = https://www.gnu.org/software/patch/patch.html + pkgver = 3.0.1 + pkgrel = 0 + url = https://toptica.github.io/python-lasersdk/ arch = any license = MIT - makedepends = python-pip + makedepends = python-setuptools depends = python-pyserial - source = https://files.pythonhosted.org/packages/py3/t/toptica-lasersdk/toptica_lasersdk-2.1.0-py3-none-any.whl - sha256sums = d42b7013d751b5517b75b1a60189812dc2aefd9ff086de383bb631f6870f6c75 + source = https://files.pythonhosted.org/packages/source/t/toptica-lasersdk/toptica_lasersdk-3.0.1.tar.gz + sha256sums = b465b9f6787135e6a44b2eb88771bd047b7d4094ca4f59121d1452a32aa1cf06 pkgname = python-toptica-lasersdk - @@ -1,18 +1,23 @@ # Maintainer: heitzmann <heitzmann@gmail.com> pkgname=python-toptica-lasersdk _name=${pkgname#python-} -pkgver=2.1.0 -pkgrel=1 +pkgver=3.0.1 +pkgrel=0 pkgdesc="Easy control of TOPTICA laser products using Python" arch=('any') -url="https://www.gnu.org/software/patch/patch.html" +url='https://toptica.github.io/python-lasersdk/' license=('MIT') depends=('python-pyserial') -makedepends=('python-pip') -source=("https://files.pythonhosted.org/packages/py3/${_name::1}/$_name/${_name/-/_}-$pkgver-py3-none-any.whl") -sha256sums=('d42b7013d751b5517b75b1a60189812dc2aefd9ff086de383bb631f6870f6c75') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/${_name/-/_}-$pkgver.tar.gz") +sha256sums=('b465b9f6787135e6a44b2eb88771bd047b7d4094ca4f59121d1452a32aa1cf06') + +build() { + cd "${_name/-/_}-$pkgver" + python setup.py build +} package() { - PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps --no-warn-script-location *.whl - #python -O -m compileall "${pkgdir}/usr/lib" + cd "${_name/-/_}-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 } |