void-packages/srcpkgs/python-Markups/template
2016-05-10 19:10:03 +02:00

34 lines
861 B
Bash

# Template file for 'python-Markups'
pkgname=python-Markups
version=2.0.0
revision=1
noarch=yes
wrksrc="Markups-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python"
pycompile_module="markups"
short_desc="Wrapper around the various text markup languages (Python2)"
maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="https://github.com/mitya57/pymarkups"
license="BSD"
distfiles="${PYPI_SITE}/M/Markups/Markups-${version}.tar.gz"
checksum=5639ddd76d74e0a5335e5b66ff2f1b3f9a9f0ab6eeff76a1003f59ed0ec2b721
post_install() {
vlicense LICENSE
}
python3.4-Markups_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="markups"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vlicense LICENSE
vmove usr/lib/python3.4
}
}