[arch-commits] Commit in python-cmd2/repos (2 files)

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 16:49:46
  Author: felixonmars
Revision: 747576

archrelease: copy trunk to community-staging-any

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

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

Copied: python-cmd2/repos/community-staging-any/PKGBUILD (from rev 747571, 
python-cmd2/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2020-11-09 16:49:46 UTC (rev 747576)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Wallace 
+
+pkgname=python-cmd2
+pkgver=1.3.11
+pkgrel=2
+pkgdesc="A tool for building interactive command line apps"
+arch=('any')
+url="https://github.com/python-cmd2/cmd2;
+license=('MIT')
+depends=('python-attrs' 'python-colorama' 'python-pyperclip' 'python-wcwidth')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-runner' 'python-pytest-xdist' 
'python-pytest-mock' 'vi')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/python-cmd2/cmd2/archive/$pkgver.tar.gz;)
+sha512sums=('30319ccc68b66b9d98b92f29dea7466f8e8321caa87118f169e0b5e3e05764f8ba37cfa206a883442852b1fac4e9fe67857248fd6946303beede0f1a4a6cc2a3')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd cmd2-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cmd2-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd cmd2-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in python-cmd2/repos (2 files)

2020-07-14 Thread Felix Yan via arch-commits
Date: Tuesday, July 14, 2020 @ 10:26:22
  Author: felixonmars
Revision: 663676

archrelease: copy trunk to community-testing-any

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

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

Copied: python-cmd2/repos/community-testing-any/PKGBUILD (from rev 663674, 
python-cmd2/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-07-14 10:26:22 UTC (rev 663676)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Wallace 
+
+pkgname=python-cmd2
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="A tool for building interactive command line apps"
+arch=('any')
+url="https://github.com/python-cmd2/cmd2;
+license=('MIT')
+depends=('python-attrs' 'python-colorama' 'python-pyperclip' 'python-wcwidth')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-runner' 'python-pytest-xdist' 
'python-pytest-mock' 'vi')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/python-cmd2/cmd2/archive/$pkgver.tar.gz;)
+sha512sums=('6b2eda53bb7010519ae5d72209f00074cd98f3039909a012065998a385c0274ee9e6af2c46f4dd5b62daf01c915032a81c5c1093a291b7736ab8aacbbb86a7be')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd cmd2-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cmd2-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd cmd2-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in python-cmd2/repos (2 files)

2020-06-06 Thread Felix Yan via arch-commits
Date: Sunday, June 7, 2020 @ 05:33:07
  Author: felixonmars
Revision: 639590

archrelease: copy trunk to community-testing-any

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

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

Copied: python-cmd2/repos/community-testing-any/PKGBUILD (from rev 639589, 
python-cmd2/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-06-07 05:33:07 UTC (rev 639590)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Wallace 
+
+pkgname=python-cmd2
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="A tool for building interactive command line apps"
+arch=('any')
+url="https://github.com/python-cmd2/cmd2;
+license=('MIT')
+depends=('python-attrs' 'python-colorama' 'python-pyperclip' 'python-wcwidth')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-runner' 'python-pytest-xdist' 
'python-pytest-mock' 'vi')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/python-cmd2/cmd2/archive/$pkgver.tar.gz;)
+sha512sums=('73a82545efed2959e286b452c24019ca2ab20bc0ac509c0d3d2eb5d723c62f44c792b6bd0557dfb49bc32c68efa87e0aeb9456d14d9bf90d291a3ae483ce9408')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd cmd2-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cmd2-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd cmd2-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in python-cmd2/repos (2 files)

2020-03-11 Thread Felix Yan via arch-commits
Date: Wednesday, March 11, 2020 @ 23:40:40
  Author: felixonmars
Revision: 594744

archrelease: copy trunk to community-testing-any

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

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

Copied: python-cmd2/repos/community-testing-any/PKGBUILD (from rev 594743, 
python-cmd2/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-03-11 23:40:40 UTC (rev 594744)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Wallace 
+
+pkgname=python-cmd2
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="A tool for building interactive command line apps"
+arch=('any')
+url="https://github.com/python-cmd2/cmd2;
+license=('MIT')
+depends=('python-attrs' 'python-colorama' 'python-pyperclip' 'python-wcwidth')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-runner' 'python-pytest-xdist' 
'python-pytest-mock' 'vi')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/python-cmd2/cmd2/archive/$pkgver.tar.gz;)
+sha512sums=('e38438668fb4acdbb8734d457f6f77dde160d8b203735b67c99d6c321ba3f9615dd6ee35af08eb51e817f799d1a560ea35d3cf58b44e6bbd8a7efea675a8c706')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd cmd2-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cmd2-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd cmd2-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in python-cmd2/repos (2 files)

2020-02-09 Thread Felix Yan via arch-commits
Date: Sunday, February 9, 2020 @ 11:40:36
  Author: felixonmars
Revision: 565281

archrelease: copy trunk to community-testing-any

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

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

Copied: python-cmd2/repos/community-testing-any/PKGBUILD (from rev 565280, 
python-cmd2/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-02-09 11:40:36 UTC (rev 565281)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Wallace 
+
+pkgname=python-cmd2
+pkgver=0.10.0
+pkgrel=1
+pkgdesc="A tool for building interactive command line apps"
+arch=('any')
+url="https://github.com/python-cmd2/cmd2;
+license=('MIT')
+depends=('python-attrs' 'python-colorama' 'python-pyperclip' 'python-wcwidth')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-runner' 'python-pytest-xdist' 
'python-pytest-mock' 'vi')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/python-cmd2/cmd2/archive/$pkgver.tar.gz;)
+sha512sums=('a9f5172fcbd3a3599eb5829b55c1eb59c5c5f15badda2e7ef69bd327206c2653ac3b4124f5a8ffb5672aca2e82b89303ee966c6ec2e661ef9066f2908c17a665')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd cmd2-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cmd2-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd cmd2-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in python-cmd2/repos (2 files)

2019-10-25 Thread Felix Yan via arch-commits
Date: Friday, October 25, 2019 @ 20:09:43
  Author: felixonmars
Revision: 519764

archrelease: copy trunk to community-staging-any

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

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

Copied: python-cmd2/repos/community-staging-any/PKGBUILD (from rev 519762, 
python-cmd2/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2019-10-25 20:09:43 UTC (rev 519764)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Wallace 
+
+pkgname=python-cmd2
+pkgver=0.9.15
+pkgrel=2
+pkgdesc="A tool for building interactive command line apps"
+arch=('any')
+url="https://github.com/python-cmd2/cmd2;
+license=('MIT')
+depends=('python-attrs' 'python-colorama' 'python-pyperclip' 'python-wcwidth')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-runner' 'python-pytest-xdist' 
'python-pytest-mock' 'vi')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/python-cmd2/cmd2/archive/$pkgver.tar.gz;)
+sha512sums=('1cf297a0413f92a6a007e997bf5e5513dab4349dfa1c7776f126ffce652a32a7991d2a30d87ba866d4b55b684516d88ef9326d1362b7e3555b5abac71b589bc5')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd cmd2-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cmd2-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd cmd2-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in python-cmd2/repos (2 files)

2018-07-13 Thread Felix Yan via arch-commits
Date: Friday, July 13, 2018 @ 20:43:48
  Author: felixonmars
Revision: 358823

archrelease: copy trunk to community-staging-any

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

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

Copied: python-cmd2/repos/community-staging-any/PKGBUILD (from rev 358822, 
python-cmd2/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-13 20:43:48 UTC (rev 358823)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Wallace 
+
+pkgbase=python-cmd2
+pkgname=(python-cmd2 python2-cmd2)
+pkgver=0.8.6
+pkgrel=2
+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' 'python-colorama' 
'python2-colorama'
+ '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;)
+sha512sums=('c28eb016fff3652b5cc1a45417e1b76b061849bd5c48afbaca8b9706d93b9b9f235fa6e2616da76741505eba96943b77e51d3fdb9fd50db620b52a6d75e4cceb')
+
+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' 'python-wcwidth')
+
+  cd "$srcdir"/cmd2-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-cmd2() {
+  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
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in python-cmd2/repos (2 files)

2016-12-24 Thread Evangelos Foutras
Date: Saturday, December 24, 2016 @ 17:52:39
  Author: foutrelis
Revision: 201692

archrelease: copy trunk to community-staging-any

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

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

Copied: python-cmd2/repos/community-staging-any/PKGBUILD (from rev 201691, 
python-cmd2/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2016-12-24 17:52:39 UTC (rev 201692)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Wallace 
+
+pkgbase=python-cmd2
+pkgname=(python-cmd2 python2-cmd2)
+pkgver=0.6.9
+pkgrel=2
+pkgdesc="Extra features for standard library's cmd module"
+arch=('any')
+url="https://github.com/python-cmd2/cmd2;
+license=('MIT')
+makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-pyparsing' 
'python2-pyparsing')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 
'python2-mock')
+source=("git+https://github.com/python-cmd2/cmd2.git#tag=$pkgver;)
+md5sums=('SKIP')
+
+prepare() {
+  cp -a cmd2{,-py2}
+}
+
+build() {
+  cd "$srcdir"/cmd2
+  python setup.py build
+
+  cd "$srcdir"/cmd2-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/cmd2
+  python setup.py ptr
+
+  cd "$srcdir"/cmd2-py2
+  python2 setup.py ptr
+}
+
+package_python-cmd2() {
+  depends=('python-pyparsing')
+
+  cd "$srcdir"/cmd2
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-cmd2() {
+  depends=('python2-pyparsing')
+
+  cd "$srcdir"/cmd2-py2
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: