python-Markups: added 3.4 subpkg with pycompile support.

This commit is contained in:
Juan RP 2014-06-18 12:40:36 +02:00
parent 267f29c742
commit 904e0cd9f5
2 changed files with 9 additions and 7 deletions

View File

@ -4,10 +4,10 @@ version=0.4
revision=5 revision=5
wrksrc="Markups-${version}" wrksrc="Markups-${version}"
build_style=python-module build_style=python-module
hostmakedepends="python-distribute python3-distribute" hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3-devel" makedepends="python-devel python3.4-devel"
noarch="yes" noarch="yes"
python_versions="2 3" python_versions="2.7 3.4"
pycompile_module="markdown" pycompile_module="markdown"
depends="python>=2.7" depends="python>=2.7"
short_desc="wrapper around the various text markup languages (Python2)" short_desc="wrapper around the various text markup languages (Python2)"
@ -17,11 +17,13 @@ license="BSD"
distfiles="http://pypi.python.org/packages/source/M/Markups/Markups-${version}.tar.gz" distfiles="http://pypi.python.org/packages/source/M/Markups/Markups-${version}.tar.gz"
checksum=3c33a19200a224b9c320e48557ec29e13dbe8094c6670da2851b75d6657950b8 checksum=3c33a19200a224b9c320e48557ec29e13dbe8094c6670da2851b75d6657950b8
python3-Markups_package() { python3.4-Markups_package() {
noarch=yes noarch=yes
depends="python3" depends="python3.4"
short_desc="${short_desc//Python2/Python3}" pycompile_version="3.4"
pycompile_module="markdown"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() { pkg_install() {
vmove /usr/lib/python3.3 vmove /usr/lib/python3.4
} }
} }