summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d13b5fd396c1692b17a8df3781f7a9e606b93457 (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
# Maintainer: Paul Irofti <paul@irofti.net>
_name=PyUtilib
pkgname="python-${_name,,}"
pkgver=6.0.0
pkgrel=1

pkgdesc="collection of Python utilities for Pyomo"
url="https://github.com/PyUtilib/pyutilib"
arch=('any')
license=('BSD')

depends=(python python-nose python-six)
makedepends=(python-setuptools)

source=("https://files.pythonhosted.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('d3c14f8ed9028a831b2bf51b8ab7776eba87e66cfc58a06b99c359aaa640f040')

build() {
  cd "$srcdir/$_name-$pkgver"
  python setup.py build
}

package() {
  cd "$srcdir/$_name-$pkgver"
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}

# vim:set sw=2 et: