blob: 58f119a42716038f3588c544dec04342e2404910 (
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
|
# Contributor: Marvin Preuss <marvin@xsteadfastx.org>
# Maintainer: Marvin Preuss <marvin@xsteadfastx.org>
pkgname=py3-confuse
_pyname=confuse
pkgver=1.7.0
pkgrel=1
pkgdesc="Painless YAML config files for Python"
url="https://github.com/beetbox/confuse"
arch="noarch"
license="MIT"
depends="python3 py3-yaml"
makedepends="py3-setuptools"
checkdepends="py3-nose"
source="confuse-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
check() {
nosetests
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
c48cf13a7e3f8287ee1255f3d7f6d65e709532a8ae87a1ba937d0032556e45b97a154c59f71436fd1776c136b9e5c5ccac7e1795f288efece540acc926da5b1f confuse-1.7.0.tar.gz
"
|