# Maintainer: Erich Eckner pkgname=python-pyepics _pkgname="${pkgname#*-}" pkgver=3.5.1 pkgrel=4 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=12.1.1' '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 }