summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 490ac003ccff5dcc13b33fc120c0b222f3cbe0c5 (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: Renato Lui Geh <renatogeh at gmail dot com>

pkgname=python-pyro-api
_pypiname=${pkgname/python-/}
pkgver=0.1.2
pkgrel=1
pkgdesc="Generic API for dispatch to Pyro backends."
arch=('any')
url="http://pyro.ai/"
license=('MIT')
depends=('python')
optdepends=('flake8' 'python-sphinx' 'python-sphinx_rtd_theme' 'python-pytest' 'ipython')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/25/d7/a0812f5c16b0d4464f80a64a44626c5fe200098070be0f32436dbb662775/${_pypiname}-${pkgver}.tar.gz")
sha256sums=('a1b900d9580aa1c2fab3b123ab7ff33413744da7c5f440bd4aadc4d40d14d920')

build() {
  cd $srcdir/${_pypiname}-${pkgver}
  python3 setup.py build
}

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