[arch-commits] Commit in python-argh/repos/community-staging-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 02:10:01 UTC 2021


    Date: Thursday, December 2, 2021 @ 02:10:01
  Author: felixonmars
Revision: 1061550

archrelease: copy trunk to community-staging-any

Added:
  python-argh/repos/community-staging-any/PKGBUILD
    (from rev 1061549, python-argh/trunk/PKGBUILD)
Deleted:
  python-argh/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   62 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 32 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 02:09:52 UTC (rev 1061549)
+++ PKGBUILD	2021-12-02 02:10:01 UTC (rev 1061550)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Francois Boulogne <fboulogne at april dot org>
-
-pkgname=python-argh
-pkgver=0.26.2
-pkgrel=9
-pkgdesc="An unobtrusive argparse wrapper with natural syntax"
-arch=(any)
-url="https://pypi.python.org/pypi/argh"
-license=('LGPL3')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-mock' 'python-iocapture')
-source=("https://github.com/neithere/argh/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('SKIP')
-
-build() {
-  cd argh-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd argh-$pkgver
-  py.test
-}
-
-package() {
-  cd argh-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-argh/repos/community-staging-any/PKGBUILD (from rev 1061549, python-argh/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 02:10:01 UTC (rev 1061550)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=python-argh
+pkgver=0.26.2
+pkgrel=10
+pkgdesc="An unobtrusive argparse wrapper with natural syntax"
+arch=(any)
+url="https://pypi.python.org/pypi/argh"
+license=('LGPL3')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-mock' 'python-iocapture')
+source=("https://github.com/neithere/argh/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('SKIP')
+
+build() {
+  cd argh-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd argh-$pkgver
+  # https://github.com/neithere/argh/issues/148#issuecomment-981508602
+  pytest --deselect test/test_integration.py::test_invalid_choice \
+         --deselect test/test_integration.py::test_explicit_cmd_name
+}
+
+package() {
+  cd argh-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list