[arch-commits] Commit in python2-cmd2/repos (community-any community-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Sep 29 16:49:23 UTC 2018


    Date: Saturday, September 29, 2018 @ 16:49:23
  Author: felixonmars
Revision: 387923

archrelease: copy trunk to community-any

Added:
  python2-cmd2/repos/community-any/
  python2-cmd2/repos/community-any/PKGBUILD
    (from rev 387922, python2-cmd2/trunk/PKGBUILD)

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

Copied: python2-cmd2/repos/community-any/PKGBUILD (from rev 387922, python2-cmd2/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-09-29 16:49:23 UTC (rev 387923)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python2-cmd2
+pkgver=0.8.9
+pkgrel=1
+pkgdesc="A tool for building interactive command line applications in Python"
+arch=('any')
+url="https://github.com/python-cmd2/cmd2"
+license=('MIT')
+depends=('python2-pyparsing' 'python2-pyperclip' 'python2-six' 'python2-wcwidth'
+         'python2-contextlib2' 'python2-enum34' 'python2-subprocess32')
+makedepends=('python2-setuptools')
+checkdepends=('python2-pytest-runner' 'python2-pytest-xdist' 'python2-mock' 'vi')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/python-cmd2/cmd2/archive/$pkgver.tar.gz")
+sha512sums=('1d88e98ced08760f745a426dbf7031e2f8132484e0be833fb7afbbe0b02a0d5416ef7c852dd816cba0329d10356714cfc73fb303bdc885e982223b717d4508cc')
+
+build() {
+  cd cmd2-$pkgver
+  python2 setup.py build
+}
+
+check() {
+  cd cmd2-$pkgver
+  python2 setup.py pytest
+}
+
+package() {
+  cd cmd2-$pkgver
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list