2019-05-28 19:05:39 +00:00
|
|
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - remove makedepend on python-pypandoc
|
|
|
|
|
|
|
|
pkgname=python-baron
|
2021-12-21 17:07:05 +00:00
|
|
|
pkgver=0.10
|
|
|
|
pkgrel=1
|
2019-05-28 19:05:39 +00:00
|
|
|
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')
|
|
|
|
checkdepends=('python-pytest-runner')
|
|
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/baron/archive/$pkgver.tar.gz")
|
2021-12-21 17:07:05 +00:00
|
|
|
sha512sums=('d010036b09424c37e3bde0e15403ffb407aef456c1004502b6e20101c5bfb8096fe415c77381d16131a72f5ce6b2ba09a4309ededa63cead4a42810aa3d59786')
|
2019-05-28 19:05:39 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|