summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f37dcb49c3fd6243d282b2448a431f1129869d2 (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
# Maintainer: Paul Irofti <paul@irofti.net>
_name=pytypes
pkgname="python-$_name"
pkgver=1.0b10
pkgrel=1
pkgdesc="typing toolbox w.r.t. PEP 484"
arch=('any')
url="https://github.com/Stewori/pytypes"
license=('Apache')
depends=('python')
makedepends=('python-setuptools-scm')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('f9264041c18d8b4779623bc9c10d978e2d2ab73d190fe028f978b3dfcc85256a')

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: