# Maintainer: Jan Heczko pkgname=python-pyipopt pkgver=r146.cd3d96f pkgrel=1 pkgdesc="A Python connector to IPOPT" arch=('i686' 'x86_64') url="https://github.com/g-braeunlich/pyipopt" license=('BSD') groups=() depends=('coin-or-ipopt' 'python-numpy' 'gcc') makedepends=('git') optdepends=('python-algopy') provides=('python-pyipopt') conflicts=() replaces=() backup=() options=() install= source=('git+http://github.com/g-braeunlich/pyipopt.git') noextract=() md5sums=('SKIP') # Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for # a description of each element in the source array. pkgver() { cd pyipopt printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd pyipopt python setup.py build } package() { cd pyipopt python setup.py install --root=$pkgdir }