diff options
author | Erich Eckner <git@eckner.net> | 2019-04-09 14:22:21 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-04-09 14:22:21 +0200 |
commit | aebf9d75cf69fb52f742e2cbd43feba279cec055 (patch) | |
tree | 77cfab15e16d29296247238ce8b0c07530f6a951 /python2-pyepics/PKGBUILD | |
parent | 2b43913af526e35009e4e514b3741ce33c128f30 (diff) | |
download | archlinuxewe.git.save-aebf9d75cf69fb52f742e2cbd43feba279cec055.tar.xz |
python2-pyepics new
Diffstat (limited to 'python2-pyepics/PKGBUILD')
-rwxr-xr-x | python2-pyepics/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/python2-pyepics/PKGBUILD b/python2-pyepics/PKGBUILD new file mode 100755 index 00000000..8ad3b553 --- /dev/null +++ b/python2-pyepics/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +pkgname=python2-pyepics +pkgver=3.3.3 +pkgrel=1 +pkgdesc='Python Interface to the Epics Channel Access protocol of the Epics control system' +arch=('i686' 'x86_64') +url='https://pypi.python.org/pypi/pyepics' +license=('Epics Open License') +groups=() +depends=( + 'python2>=2.7' + 'python2<2.8' +) +makedepends=( + 'python2-setuptools' +) +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +source=( + "${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/e6/9a/68dbcdd21c857c396384343dddb7a2939cd7b61f3e851dda287e458e2e42/${pkgname#*-}-${pkgver}.tar.gz" +) +sha512sums=('522b59f678b2491ab4ddfa3863feac170c027a5abc545b93a82f73e4006f5b79544656e1f0fcb7bd080288cc271837b9cdd719c0104672bb70024d497a3f9c33') + +build() { + + cd ${pkgname#*-}-${pkgver} + python2 setup.py build + +} + +package() { + + cd ${pkgname#*-}-${pkgver} + python2 setup.py install --skip-build --root="${pkgdir}" --prefix=/usr + find "${pkgdir}" -type f -exec sed -si '1 s/ python$/ python2/' {} + + +} |