blob: 32692daeb8a1e4f6082528d01a94b1eece30ff19 (
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
36
37
38
39
40
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=py-configargparse
pkgver=0.10.0
pkgrel=0
pkgdesc="A drop-in replacement for argparse"
url="https://github.com/zorro3/ConfigArgParse"
arch="noarch"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev py-setuptools"
install=""
subpackages=""
source="ConfigArgParse-$pkgver.tar.gz::https://github.com/bw2/ConfigArgParse/archive/$pkgver.tar.gz"
_builddir="$srcdir"/ConfigArgParse-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="be99c22bd70b34592af69a72f9c13bab ConfigArgParse-0.10.0.tar.gz"
sha256sums="d6e1ad877cc6234e2f911bece742967c32415d8adb1dc4f764c70df283c205cc ConfigArgParse-0.10.0.tar.gz"
sha512sums="d68e770e07637b4ce25a1193fc0cf1bd9eed122621a832343ab3d200246341b9cc1819d5013fa32a373e279af20b0b10424e4bfdfc8ef1f81dd5139087101ff4 ConfigArgParse-0.10.0.tar.gz"
|