diff options
author | zlg <zlg@zlg.space> | 2018-11-21 03:14:42 -0800 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2018-11-21 03:35:28 -0800 |
commit | 6eea1b3e4abad6a00e44635f15d5f0dd98b9b957 (patch) | |
tree | 823dd4720749abb90d980a8038ca7b683b41572b /user/py3-configobj/APKBUILD | |
parent | e077be0943a5b6e25f206ef7c18650a50a6e1383 (diff) | |
download | packages-6eea1b3e4abad6a00e44635f15d5f0dd98b9b957.tar.gz packages-6eea1b3e4abad6a00e44635f15d5f0dd98b9b957.tar.bz2 packages-6eea1b3e4abad6a00e44635f15d5f0dd98b9b957.tar.xz packages-6eea1b3e4abad6a00e44635f15d5f0dd98b9b957.zip |
user/py3-configobj: new package
Diffstat (limited to 'user/py3-configobj/APKBUILD')
-rw-r--r-- | user/py3-configobj/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/user/py3-configobj/APKBUILD b/user/py3-configobj/APKBUILD new file mode 100644 index 000000000..1d8313add --- /dev/null +++ b/user/py3-configobj/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: zlg <zlg+adelie@zlg.space> +pkgname=py3-configobj +_pkgname=${pkgname#py3-} +pkgver=5.0.6 +pkgrel=0 +pkgdesc="Python library for reading and writing of configuration files (ini)" +url="https://github.com/DiffSK/configobj" +arch="noarch" +options="!check" # no tests +license="BSD" +depends="python3 py3-six" +makedepends="python3-dev" +subpackages="" +source="$pkgname-$pkgver.tar.gz::https://github.com/DiffSK/configobj/archive/v$pkgver.tar.gz" + +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="326eb86e362f281ebf07abcb1cf7616abb270c482eafe842371cda8708245ca5e8262f1644b7164664ecc10e9004ed061c9de18cd233a657d4697dbc3ba3c59d py3-configobj-5.0.6.tar.gz" |