2014-07-02 12:10:08 +02:00
|
|
|
pkgname="python-configobj"
|
2014-08-26 04:33:57 +02:00
|
|
|
version=5.0.6
|
|
|
|
revision=1
|
2014-07-02 12:10:08 +02:00
|
|
|
wrksrc="configobj-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
noarch=yes
|
2014-07-02 13:14:37 +02:00
|
|
|
hostmakedepends="python-devel python3.4-devel"
|
|
|
|
makedepends="${hostmakedepends} python-six python3.4-six"
|
2014-07-02 12:10:08 +02:00
|
|
|
depends="python python-six"
|
|
|
|
maintainer="Dominik Honnef <dominik@honnef.co>"
|
|
|
|
license="New BSD"
|
|
|
|
homepage="https://github.com/DiffSK/configobj"
|
2014-07-02 13:18:05 +02:00
|
|
|
short_desc="Simple but powerful config file reader and writer (Python2)"
|
2014-08-26 04:33:57 +02:00
|
|
|
distfiles="https://github.com/DiffSK/configobj/archive/v${version}.tar.gz"
|
|
|
|
checksum=2e140354efcca6f558ff9ee941b435ae09a617bc071797bef62c8d6ed2033d5e
|
2014-07-02 12:10:08 +02:00
|
|
|
|
|
|
|
python3.4-configobj_package() {
|
|
|
|
noarch=yes
|
2014-07-02 13:18:05 +02:00
|
|
|
short_desc="${short_desc/Python2/Python3.4/}"
|
2014-07-02 12:10:08 +02:00
|
|
|
depends="python3.4 python3.4-six"
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|