blob: acfc92ac341e8569a5f7ce2e90990ad22b4bda29 (
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@alpinelinux.org>
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=py3-configargparse
_pkgname=ConfigArgParse
pkgver=1.5.3
pkgrel=2
pkgdesc="drop-in replacement for argparse"
url="https://github.com/bw2/ConfigArgParse"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools py3-wheel"
checkdepends="py3-mock py3-pytest py3-yaml"
source="$pkgname-$pkgver.tar.gz::https://github.com/bw2/$_pkgname/archive/v$pkgver.tar.gz"
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="
bdc0340bd92cfd5319743a4860af80fc2352f38b156031856c2b39b8c8ad59461281009030c4451dd464334a829b8143c765979cfc9b8ccbe9fbdcb0e08ac7b4 py3-configargparse-1.5.3.tar.gz
"
|