Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-configargparse


Commits:
3755c4ff by Felix Yan at 2026-03-05T01:29:54+08:00
upgpkg: 1.7.1-2

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,19 +1,20 @@
 pkgbase = python-configargparse
        pkgdesc = A drop-in replacement for argparse that allows options to 
also be set via config files and/or environment variables
        pkgver = 1.7.1
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/bw2/ConfigArgParse
        arch = any
        license = MIT
        checkdepends = python-pytest
        checkdepends = python-yaml
+       makedepends = git
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-setuptools
        makedepends = python-wheel
        depends = python
        optdepends = python-yaml: for YAML support
-       source = 
https://github.com/bw2/ConfigArgParse/archive/1.7.1/python-configargparse-1.7.1.tar.gz
-       sha512sums = 
ca9741cf04a444b86c589a0097838cf9d6e1e752287587dda103cf59d9603890067b418ac26323aac4749787ac28c9764f1a41be839055756420e51363db10c7
+       source = git+https://github.com/bw2/ConfigArgParse.git#tag=1.7.1
+       sha512sums = 
f49c4f9d039dd7a7c44863ba13e1b9bd8a2e5fb0f04af43577e1c3351d3091ef6b0f300e9df55e2fc177f02080b256b5bec68f8631456202900e3a78c718b5f4
 
 pkgname = python-configargparse


=====================================
PKGBUILD
=====================================
@@ -2,31 +2,31 @@
 
 pkgname=python-configargparse
 pkgver=1.7.1
-pkgrel=1
+pkgrel=2
 pkgdesc='A drop-in replacement for argparse that allows options to also be set 
via config files and/or environment variables'
 arch=('any')
 url='https://github.com/bw2/ConfigArgParse'
 license=('MIT')
 depends=('python')
-makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 checkdepends=('python-pytest' 'python-yaml') # HACK: run tests without 
python-tests as they fail
 optdepends=('python-yaml: for YAML support')
-source=("https://github.com/bw2/ConfigArgParse/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('ca9741cf04a444b86c589a0097838cf9d6e1e752287587dda103cf59d9603890067b418ac26323aac4749787ac28c9764f1a41be839055756420e51363db10c7')
+source=("git+https://github.com/bw2/ConfigArgParse.git#tag=$pkgver";)
+sha512sums=('f49c4f9d039dd7a7c44863ba13e1b9bd8a2e5fb0f04af43577e1c3351d3091ef6b0f300e9df55e2fc177f02080b256b5bec68f8631456202900e3a78c718b5f4')
 
 build() {
-  cd ConfigArgParse-$pkgver
+  cd ConfigArgParse
   python -m build --wheel --no-isolation
 }
 
 check() {
-  cd ConfigArgParse-$pkgver
+  cd ConfigArgParse
   # https://github.com/bw2/ConfigArgParse/issues/294
   PYTHONPATH=. pytest -v -k "not TestMisc and not testBasicCase2 and not 
testMutuallyExclusiveArgs and not test_unrecognized_args"
 }
 
 package() {
-  cd ConfigArgParse-$pkgver
+  cd ConfigArgParse
   python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-configargparse/-/commit/3755c4ff8fa33b10cf73db066ae5eb160070a67f

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-configargparse/-/commit/3755c4ff8fa33b10cf73db066ae5eb160070a67f
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to