summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2bc0ee384ca72f08d7754d2d93ac581bebf864d3 (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=attrdict3
pkgname="python-$_name"
pkgver=2.0.2
pkgrel=1
pkgdesc="A dict with attribute-style access"
arch=('any')
url="https://github.com/pirofti/AttrDict3"
license=('BSD')
depends=('python' 'python-six')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('004c171ca1120cc1755701db99d7fa4944afb1e68950434efdaa542513335fe8')

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: