Date: Thursday, February 9, 2023 @ 21:42:16
  Author: felixonmars
Revision: 1399097

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 33 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-09 21:42:04 UTC (rev 1399096)
+++ PKGBUILD    2023-02-09 21:42:16 UTC (rev 1399097)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# 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
-}

Copied: python-argh/repos/community-any/PKGBUILD (from rev 1399096, 
python-argh/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-02-09 21:42:16 UTC (rev 1399097)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=python-argh
+pkgver=0.27.0
+_commit=e24a4c55fd8c4684122bc6e311215fd234a02a74
+pkgrel=1
+pkgdesc="An unobtrusive argparse wrapper with natural syntax"
+arch=(any)
+url="https://pypi.python.org/pypi/argh";
+license=('LGPL3')
+depends=('python')
+makedepends=('git' 'python-setuptools')
+checkdepends=('python-pytest' 'python-iocapture')
+source=("git+https://github.com/neithere/argh.git#commit=$_commit";)
+sha256sums=('SKIP')
+
+build() {
+  cd argh
+  python setup.py build
+}
+
+check() {
+  cd argh
+  # 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
+  python setup.py install --root="$pkgdir" --optimize=1
+}

Reply via email to