blob: 2cd4f82437cd0ddd92cb583f79b9100b10c6cf9c (
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
35
36
37
38
|
# Maintainer: Kirill Pshenichnyi <pshcyrill@mail.ru>
# Maintainer: Antonio Bartalesi <antonio.bartalesi@gmail.com>
# Contributor: The Tango Controls community
# (https://tango-controls.org) <info@tango-controls.org>
_name=pytango
pkgname=python-${_name}
pkgver=9.5.1
_tag=v${pkgver}
pkgrel=1
pkgdesc="A python binding for the Tango control system"
arch=('x86_64' 'armv7h' 'aarch64')
url='https://pytango.readthedocs.io/en/stable/'
license=('LGPL3')
groups=('tango-controls')
depends=('tango-cpp>=9.4.0' 'boost' 'python-numpy1' 'python-six'
'python-gevent' 'python-pytest' 'python-psutil')
makedepends=(python-build python-installer python-sphinx python-sphinx_rtd_theme python-numpy python-scikit-build-core)
source=("${_name}-${_tag}.tar.gz::https://gitlab.com/tango-controls/${_name}/-/archive/v${pkgver}/${_name}-${_tag}.tar.gz" pyproject.patch)
sha256sums=('b6d55c7e3843726ad29c7f7587af7cb356c49fdd61085b6c4de76811ab01f4ed'
'0d878261df397ae698759a06d9494c06f94ee48cbe799282f6721013d2c78e7f')
prepare() {
cd "${_name}-${_tag}"
patch -N -p1 --input="${srcdir}/pyproject.patch"
}
build() {
cd "${_name}-${_tag}"
python -m build --wheel --no-isolation
}
package() {
cd "${_name}-${_tag}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|