archrelease: copy trunk to community-any
[ArchLinux/community.git] / python-serpent / trunk / PKGBUILD
blob441360215930cd3af2861632c26dd4ec38f21a73
1 # Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
2 # Contributor: razer <razer@neuf.fr>
4 pkgname=python-serpent
5 pkgver=1.41
6 pkgrel=3
7 pkgdesc='Serializer for literal Python expressions'
8 url='https://github.com/irmen/Serpent'
9 arch=(any)
10 license=(MIT)
11 depends=(python)
12 makedepends=(git)
13 checkdepends=(python-attrs python-nose python-pytz python-testtools)
14 source=("git+$url#commit=83d06d779c05e259bf1e020aca9b850d3c6f010b") # tag: serpent-1.41
15 b2sums=(SKIP)
17 check() {
18   cd Serpent
19   nosetests
22 package() {
23   cd Serpent
24   python setup.py install --root="$pkgdir" --optimize=1
25   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"