[arch-commits] Commit in python-baron/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 20:16:17 UTC 2019
Date: Friday, October 25, 2019 @ 20:16:17
Author: foutrelis
Revision: 519827
archrelease: copy trunk to community-staging-any
Added:
python-baron/repos/community-staging-any/
python-baron/repos/community-staging-any/PKGBUILD
(from rev 519826, python-baron/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-baron/repos/community-staging-any/PKGBUILD (from rev 519826, python-baron/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 20:16:17 UTC (rev 519827)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-baron
+pkgver=0.9
+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=('ed31bad1442b8d868ab9872f057db31ad8730654a7e8d49119c75d5631c881b074baf5754b0b0b5023dad62eda1f40461e4445321695248cfa3530b608d48c8e')
+
+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
+}
More information about the arch-commits
mailing list