blob: bdc5168569951590f5a0516a87d4e53b3d5b55c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Antonio Bartalesi <antonio.bartalesi@gmail.com>
_name=taurus
pkgname="python-${_name}"
pkgver=5.3.2
pkgrel=2
pkgdesc="A framework for scientific/industrial CLIs and GUIs"
arch=("any")
url="https://gitlab.com/taurus-org/${_name}"
license=("LicenseRef-custom" "LGPL-3.0-or-later")
depends=(python python-pygments python-pyqt5 python-lxml python-click python-pint python-ply)
makedepends=(python-setuptools python-build python-installer)
optdepends=("python-pytango: for integration with TANGO control system"
"python-sardana: for integration with Sardana"
"python-epics: for integration with EPICS control system"
"python-taurus-pyqtgraph: for pyqtgraph based trends"
"python-pymca5: for extra pymca5 widgets"
"python-guiqwt: for extra guiqwt widgets"
"python-pyqtgraph: for extra graph widgets"
"spyder: for a qt based editor within taurus"
"python-pytest: for testing")
source=("$_name-$pkgver.tar.gz::https://gitlab.com/taurus-org/${_name}/-/archive/${pkgver}/${_name}-${pkgver}.tar.gz")
sha256sums=("5077b19cb1231d92c9df315250ee155f04de7958b5794427e5eaef43624df2f8")
build() {
cd "${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${_name}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
}
|