aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-configargparse/APKBUILD
blob: 6dffae7d3eb25d0fe462099b4f19b1b16a4f7272 (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.1
pkgrel=1
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="53d90238ac233249f305585fd8e7abcca0e45a16c53e9353d13ce6f08bbd58dbe7ea26a0627c96e686ed96c001f0b6d28bdcd4b2921c9e54811c6981bd4b7560  py3-configargparse-0.15.1.tar.gz
32171e9ed37e0662bdb8cd95f9a3ec25fd1fe1e9f68047ecc1da4f20278fe1bc56707a4d21654b75421ecb13f2307817b7116fdb6fc8d44df59c993027511d83  skip-failing-tests.patch"