summaryrefslogtreecommitdiff
path: root/python-pyepics/PKGBUILD
blob: acf3cbd32e67cf01109d552a9d596a40200be99e (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.0
pkgrel=29
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.1.0'
  'glibc>=2.31'
)
makedepends=(
  'python-setuptools')
depends=(
  "${_pinned_dependencies[@]}"
  'python>=3.9'
  'python<3.10')
source=(
    "https://pypi.python.org/packages/22/f2/3b15bc9b2d148a19686d5de8901a55f2bbd0a67a63681a0c1ef12c998fa2/${_pkgname}-${pkgver}.tar.gz"
)
sha512sums=('f46b5f2bede2358b6ab149e89ccf3ed792f8526612c45a432adcb2a610f29ca8aaa525faa2f4c086472a7384cf4688d668964b518f33ce6581eddd0558529f94')

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

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