summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f2ac0f700ef126394882d76b5f6b8d8350a5fe2 (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
# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
# Contributor: Michel Zou <xantares09@hotmail.com>
_base=ppft
pkgname=python-${_base}
pkgdesc="distributed and parallel python"
pkgver=1.7.6.5
pkgrel=1
url="https://github.com/uqfoundation/${_base}"
arch=(any)
license=('custom:BSD-3-clause')
depends=(python-six)
makedepends=(python-setuptools)
optdepends=('python-dill: for serialization support')
source=(${url}/archive/${_base}-${pkgver}.tar.gz)
sha512sums=('1ca664208afe7003f114dc2f5be3d54f0ef87c40c70dab43a04d586962965d82911ba41c515eb9a9fa84acacef01462759899ea1a7b73928784ab11886d9335c')

build() {
  cd "${_base}-${_base}-${pkgver}"
  python setup.py build
}

package() {
  cd "${_base}-${_base}-${pkgver}"
  PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}