2014-11-12 12:52:51 +01:00
|
|
|
# Template file for 'python-parse'
|
|
|
|
pkgname=python-parse
|
2014-11-17 10:26:30 +01:00
|
|
|
version=1.6.6
|
2014-11-12 12:52:51 +01:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
|
|
|
wrksrc="parse-${version}"
|
|
|
|
build_style="python-module"
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
|
|
depends="python"
|
|
|
|
pycompile_module="parse.py"
|
|
|
|
short_desc="Parse strings using the format() syntax (Python2)"
|
|
|
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/r1chardj0n3s/parse"
|
|
|
|
distfiles="${PYPI_SITE}/p/parse/parse-${version}.tar.gz"
|
2014-11-17 10:26:30 +01:00
|
|
|
checksum=71435aaac494e08cec76de646de2aab8392c114e56fe3f81c565ecc7eb886178
|
2014-11-12 12:52:51 +01:00
|
|
|
|
|
|
|
python3.4-parse_package() {
|
|
|
|
noarch=yes
|
|
|
|
depends="python3.4"
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="parse.py"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|