void-packages/srcpkgs/python-Markups/template
2017-08-28 03:23:20 +02:00

39 lines
1,022 B
Bash

# Template file for 'python-Markups'
pkgname=python-Markups
version=2.0.1
revision=2
noarch=yes
wrksrc="Markups-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-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=ef65593afe187cd1135da1a9c9f6dde2b0ecd2cda4895790628d270e8b0b7030
post_install() {
vlicense LICENSE
}
python3-Markups_package() {
noarch=yes
depends="python3"
pycompile_module="markups"
replaces="python3.4-Markups>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vlicense LICENSE
vmove usr/lib/python3*
}
}
python3.4-Markups_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-Markups>=${version}_${revision}"
}