summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Heitzmann Gabrielli2022-06-05 20:46:41 -0300
committerLucas Heitzmann Gabrielli2022-06-05 20:46:41 -0300
commit4e8a03a9bf0a6fce6240c9024a6be9c2fbcd5f48 (patch)
treee1a08e80257dcd678909cb29832cdf107776dcb6
parenta8593c0470cefe3601350f88257b7ea8aa48d9fc (diff)
downloadaur-4e8a03a9bf0a6fce6240c9024a6be9c2fbcd5f48.tar.gz
Repo update
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD21
2 files changed, 19 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index da6de878b344..751b74be797e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
-
diff --git a/PKGBUILD b/PKGBUILD
index 7042e2b013a4..d36ecef23c15 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}