blob: 59f34e430828a0073167e42f8d037fbed462214b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=py3-configargparse
_pkgname=ConfigArgParse
pkgver=0.15.2
pkgrel=0
pkgdesc="A drop-in replacement for argparse"
url="https://github.com/bw2/ConfigArgParse"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-yaml"
source="$pkgname-$pkgver.tar.gz::https://github.com/bw2/$_pkgname/archive/$pkgver.tar.gz
skip-failing-tests.patch"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-configargparse" # Backwards compatibility
provides="py-configargparse=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="c8403751506b3ce096d707067659492422ecef8e684107935ab26f2e518c7c2c4baca8882cac55dd1961a86e5ad95b73389bc1a681cd2a67b5000bd6d626d2d9 py3-configargparse-0.15.2.tar.gz
32171e9ed37e0662bdb8cd95f9a3ec25fd1fe1e9f68047ecc1da4f20278fe1bc56707a4d21654b75421ecb13f2307817b7116fdb6fc8d44df59c993027511d83 skip-failing-tests.patch"
|