[arch-commits] Commit in python-cmd2/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 23 10:40:36 UTC 2017
Date: Friday, June 23, 2017 @ 10:40:36
Author: felixonmars
Revision: 240270
archrelease: copy trunk to community-any
Added:
python-cmd2/repos/community-any/PKGBUILD
(from rev 240269, python-cmd2/trunk/PKGBUILD)
Deleted:
python-cmd2/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-23 10:40:18 UTC (rev 240269)
+++ PKGBUILD 2017-06-23 10:40:36 UTC (rev 240270)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-cmd2
-pkgname=(python-cmd2 python2-cmd2)
-pkgver=0.7.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' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-cmd2/cmd2/archive/$pkgver.tar.gz")
-sha512sums=('5e2dd8874935c2fc2b139983fb6e783fa2db4b8c0525fe92084767c742d791647bfa85a36cbb4386874c181c03332e72469c45fa635a89469744da9d649bed9a')
-
-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')
-
- cd "$srcdir"/cmd2-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-cmd2() {
- depends=('python2-pyparsing')
-
- 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 240269, python-cmd2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-06-23 10:40:36 UTC (rev 240270)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-cmd2
+pkgname=(python-cmd2 python2-cmd2)
+pkgver=0.7.3
+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' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-cmd2/cmd2/archive/$pkgver.tar.gz")
+sha512sums=('f329b674efc8881d6c6b978cfbe367ffafa32a4234d9fbf3731eff21a32b6e107f2072157c70a0ed4dbf5cd1239bdcbadb4ac7dcbce96326d69cb968a6bf49c3')
+
+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')
+
+ cd "$srcdir"/cmd2-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-cmd2() {
+ depends=('python2-pyparsing')
+
+ cd "$srcdir"/cmd2-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list