summaryrefslogtreecommitdiff
path: root/python-pyepics/PKGBUILD
blob: a697f25b677c4fc2e10c0f4967a5c248b4f0ebbb (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: Erich Eckner <arch at eckner dot net>
pkgname=python-pyepics
_pkgname="${pkgname#*-}"
pkgver=3.5.1
pkgrel=2
pkgdesc='Python Interface to the Epics Channel Access protocol of the Epics control system'
arch=('i686' 'pentium4' 'x86_64')
url='https://pypi.python.org/pypi/pyepics'
license=('Epics Open License')
groups=()
_pinned_dependencies=(
  'gcc-libs=11.2.0'
  'glibc>=2.31'
)
makedepends=(
  'python-setuptools')
depends=(
  "${_pinned_dependencies[@]}"
  'python>=3.10'
  'python<3.11')
source=(
    "https://pypi.python.org/packages/6c/cd/f97b676b6903e6f88bfced3817964559c20a1e3c6cd5244fa188f76fff75/${_pkgname}-${pkgver}.tar.gz"
)
sha512sums=('e80472b68549594f7c496ae11d257abbba6056f511146c556c360fb3f88bb1ce9c50d3ca7f23c4ac093847d529e99e955180dede2bdef1116a7feda846c26ebd')

build() {
  cd ${_pkgname}-${pkgver}
  python setup.py build
}

package() {
  cd ${_pkgname}-${pkgver}
  python setup.py install --skip-build --root="${pkgdir}" --prefix=/usr
}