[arch-commits] Commit in python-cmd2/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon May 28 12:31:04 UTC 2018
Date: Monday, May 28, 2018 @ 12:31:04
Author: felixonmars
Revision: 332534
upgpkg: python-cmd2 0.8.6-1
Modified:
python-cmd2/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-28 12:27:19 UTC (rev 332533)
+++ PKGBUILD 2018-05-28 12:31:04 UTC (rev 332534)
@@ -4,7 +4,7 @@
pkgbase=python-cmd2
pkgname=(python-cmd2 python2-cmd2)
-pkgver=0.8.5
+pkgver=0.8.6
pkgrel=1
pkgdesc="Extra features for standard library's cmd module"
arch=('any')
@@ -12,16 +12,14 @@
license=('MIT')
makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 'python2-pyparsing'
'python-pyperclip' 'python2-pyperclip' 'python-colorama' 'python2-colorama'
- 'python2-contextlib2' 'python2-typing' 'python-wcwidth' 'python2-wcwidth')
+ 'python2-contextlib2' 'python2-enum34' 'python-wcwidth' 'python2-wcwidth'
+ 'python2-subprocess32')
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"
- https://github.com/python-cmd2/cmd2/commit/127a3b3e0b1ef0cc42f43970f666a2193360d57b.patch)
-sha512sums=('452be32b4f873ece9864540772fcba47afcea5e5277a35e9e88ac071b40453df45683508510a632028e968c761c5b57ab46ded88e26f04f6a89230fde1380179'
- '110146871c6ab84a5ddc58572608ddf1f6116613329aabf403d9d4a94481ba15f3bfe3a21ca01ac45b4964da9f22e7653af95ad9c2714e1542ade7bbdb6b5859')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/python-cmd2/cmd2/archive/$pkgver.tar.gz")
+sha512sums=('c28eb016fff3652b5cc1a45417e1b76b061849bd5c48afbaca8b9706d93b9b9f235fa6e2616da76741505eba96943b77e51d3fdb9fd50db620b52a6d75e4cceb')
prepare() {
- (cd cmd2-$pkgver; patch -p1 -i ../127a3b3e0b1ef0cc42f43970f666a2193360d57b.patch)
cp -a cmd2-$pkgver{,-py2}
}
@@ -42,7 +40,7 @@
}
package_python-cmd2() {
- depends=('python-colorama' 'python-pyparsing' 'python-pyperclip' 'python-wcwidth')
+ depends=('python-pyparsing' 'python-pyperclip' 'python-wcwidth')
cd "$srcdir"/cmd2-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
@@ -49,8 +47,8 @@
}
package_python2-cmd2() {
- depends=('python2-colorama' 'python2-pyparsing' 'python2-pyperclip' 'python2-wcwidth'
- 'python2-contextlib2' 'python2-typing')
+ depends=('python2-pyparsing' 'python2-pyperclip' 'python2-wcwidth' 'python2-contextlib2'
+ 'python2-enum34' 'python2-subprocess32')
cd "$srcdir"/cmd2-$pkgver-py2
python2 setup.py install --root="$pkgdir" --optimize=1
More information about the arch-commits
mailing list