mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
32 lines
872 B
Bash
32 lines
872 B
Bash
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - remove makedepend on python-pypandoc
|
|
|
|
pkgname=python-baron
|
|
pkgver=0.10
|
|
pkgrel=1
|
|
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")
|
|
sha512sums=('d010036b09424c37e3bde0e15403ffb407aef456c1004502b6e20101c5bfb8096fe415c77381d16131a72f5ce6b2ba09a4309ededa63cead4a42810aa3d59786')
|
|
|
|
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
|
|
}
|