blob: 4ae0c433e22b1e37b2b246e9edf4484db1f30c90 (
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
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=python-baron
pkgver=0.10.1
pkgrel=2
pkgdesc="Full Syntax Tree for python to make writing refactoring code a realist task"
url="https://github.com/PyCQA/baron"
license=('LGPL')
arch=('any')
depends=('python-rply')
makedepends=('python-setuptools' 'python-pypandoc')
checkdepends=('python-pytest-runner')
source=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/baron/archive/$pkgver.tar.gz")
sha512sums=('01c3a69227d1de435dc466bc8e848e9d3d88f182cb404c2614bf868615af92a81c6379c872c36b9f28e63e0cec5757a5a8f6e9bb11eeccb9a75a408199448626')
build() {
cd baron-$pkgver
python setup.py build
}
check() {
cd baron-$pkgver
python setup.py pytest
}
package() {
cd baron-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
}
|