blob: 9e3bd19ff1eb0b668fc98cc93e2ba909215f91c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Lari Tikkanen <lartza@wippies.com>
pkgname=python2-namedlist
pkgver=1.8
pkgrel=1
pkgdesc="Like namedtuples, but mutable"
arch=(any)
url="https://pypi.python.org/pypi/namedlist"
license=('Apache')
depends=('python2')
makedepends=('python2-setuptools')
source=("https://pypi.python.org/packages/source/n/namedlist/namedlist-$pkgver.tar.gz")
sha256sums=('34f89fc992592c80b39a709e136edcf41ea17f24ba31eaf84a314a02c8b9bcef')
build() {
cd "$srcdir/namedlist-$pkgver"
python2 setup.py build
}
package() {
cd "$srcdir/namedlist-$pkgver"
python2 setup.py install --root=$pkgdir --optimize=1
}
|