blob: 527d8c193ad8036158f38c7573ab809da4f1650d (
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
27
28
29
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=py3-astor
pkgver=0.8.1
pkgrel=0
pkgdesc="Easy manipulation of Python source via the AST"
url="https://github.com/berkerpeksag/astor"
arch="noarch"
license="BSD-3-Clause-Clear"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-nose"
source="$pkgname-$pkgver.tar.gz::https://github.com/berkerpeksag/astor/archive/$pkgver.tar.gz
"
builddir="$srcdir/astor-$pkgver"
build() {
python3 setup.py build
}
check() {
nosetests -v
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="8917898e284fb5e5855a05f8e3f1c8925c4128d2a87f67f0334914d4d3c54b53c4f0cadd04d632a7bcaf3438db7edf2d989b07a9576637c0dce6c16e85c60f83 py3-astor-0.8.1.tar.gz"
|