void-packages/srcpkgs/python-Markups/template
Alessio Sergi 967201c663 python-Markups: rebuild for Python 3.5
Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
2016-10-16 23:01:59 +02:00

38 lines
1,022 B
Bash

# Template file for 'python-Markups'
pkgname=python-Markups
version=2.0.0
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=5639ddd76d74e0a5335e5b66ff2f1b3f9a9f0ab6eeff76a1003f59ed0ec2b721
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}"
}