[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Tue Sep 18 13:53:47 UTC 2018


    Date: Tuesday, September 18, 2018 @ 13:53:47
  Author: felixonmars
Revision: 383058

addpkg: python-redbaron 0.7.1-1

Added:
  python-redbaron/
  python-redbaron/repos/
  python-redbaron/trunk/
  python-redbaron/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Added: python-redbaron/trunk/PKGBUILD
===================================================================
--- python-redbaron/trunk/PKGBUILD	                        (rev 0)
+++ python-redbaron/trunk/PKGBUILD	2018-09-18 13:53:47 UTC (rev 383058)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-redbaron
+pkgver=0.7.1
+pkgrel=1
+pkgdesc="Abstraction on top of baron, a FST for python to make writing refactoring code a realistic task"
+url="https://github.com/PyCQA/redbaron"
+license=('LGPL')
+arch=('any')
+depends=('python-baron')
+makedepends=('python-setuptools' 'python-pypandoc')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/redbaron/archive/$pkgver.tar.gz")
+sha512sums=('1de89c9127eb9ae3dc0c9ad972941018fad6907e4df3b8c4676be2c6d7809e7b2e81ae657f44f92e66ed81a2f70528665f13a1fad054af1781cf48affb0856f5')
+
+build() {
+  cd redbaron-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd redbaron-$pkgver
+  python setup.py pytest --addopts tests
+}
+
+package() {
+  cd redbaron-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list