# Maintainer: Erich Eckner 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 }