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

Antonio Rojas arojas at gemini.archlinux.org
Fri Dec 24 20:46:35 UTC 2021


    Date: Friday, December 24, 2021 @ 20:46:35
  Author: arojas
Revision: 1083452

archrelease: copy trunk to community-testing-any

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

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

Copied: python-cmd2/repos/community-testing-any/PKGBUILD (from rev 1083451, python-cmd2/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-12-24 20:46:35 UTC (rev 1083452)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-cmd2
+pkgver=2.3.3
+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-cov' 'python-pytest-mock' 'python-pytest-runner' 'python-pytest-xdist'
+              'vi')
+source=("https://pypi.io/packages/source/c/cmd2/cmd2-$pkgver.tar.gz")
+sha512sums=('30d7a82a1c3d23431a40a7e99f10a4c23227e9ab073ab1d7fd83e516f54e9c90bda10e6072b50c0a2ca435498c1060e06b32a550409721899e28d2662995a8b8')
+
+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:



More information about the arch-commits mailing list