Date: Wednesday, April 4, 2018 @ 18:54:17
  Author: felixonmars
Revision: 314229

archrelease: copy trunk to community-any

Added:
  python-cmd2/repos/community-any/PKGBUILD
    (from rev 314228, python-cmd2/trunk/PKGBUILD)
Deleted:
  python-cmd2/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  107 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-04 18:53:51 UTC (rev 314228)
+++ PKGBUILD    2018-04-04 18:54:17 UTC (rev 314229)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-cmd2
-pkgname=(python-cmd2 python2-cmd2)
-pkgver=0.8.0
-pkgrel=1
-pkgdesc="Extra features for standard library's cmd module"
-arch=('any')
-url="https://github.com/python-cmd2/cmd2";
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 
'python2-pyparsing'
-             'python-pyperclip' 'python2-pyperclip' 'python2-subprocess32' 
'python2-contextlib2')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 
'python2-mock' 'vi')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-cmd2/cmd2/archive/$pkgver.tar.gz";)
-sha512sums=('05e89e0dc8937adc598d0e5e45363b2b0dafc9715d4e6e38f21ab17bb22afb7ea6a8fd0895bb07a851d25e26cb2c403d548e5c47b9eaf9bbd6d187166734d13b')
-
-prepare() {
-  cp -a cmd2-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/cmd2-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/cmd2-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/cmd2-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/cmd2-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-cmd2() {
-  depends=('python-pyparsing' 'python-pyperclip')
-
-  cd "$srcdir"/cmd2-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-cmd2() {
-  depends=('python2-pyparsing' 'python2-pyperclip' 'python2-subprocess32' 
'python2-contextlib2')
-
-  cd "$srcdir"/cmd2-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-cmd2/repos/community-any/PKGBUILD (from rev 314228, 
python-cmd2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-04-04 18:54:17 UTC (rev 314229)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-cmd2
+pkgname=(python-cmd2 python2-cmd2)
+pkgver=0.8.2
+pkgrel=1
+pkgdesc="Extra features for standard library's cmd module"
+arch=('any')
+url="https://github.com/python-cmd2/cmd2";
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 
'python2-pyparsing'
+             'python-pyperclip' 'python2-pyperclip' 'python2-subprocess32' 
'python2-contextlib2')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-pytest-xdist'
+              'python2-pytest-xdist' 'python-mock' 'python2-mock' 'vi')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-cmd2/cmd2/archive/$pkgver.tar.gz";)
+sha512sums=('6a6c8250ddeed60b52dd390fa651d3ffe00cc68762f3515639e4aa1ff25c0b205ccc334430d3a54750b75cbb4b97da4dd657e7c58f878283f86dcffd1573364e')
+
+prepare() {
+  cp -a cmd2-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/cmd2-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/cmd2-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/cmd2-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/cmd2-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-cmd2() {
+  depends=('python-pyparsing' 'python-pyperclip')
+
+  cd "$srcdir"/cmd2-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-cmd2() {
+  depends=('python2-pyparsing' 'python2-pyperclip' 'python2-subprocess32' 
'python2-contextlib2')
+
+  cd "$srcdir"/cmd2-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to