void-packages/srcpkgs/python-Markups/template

31 lines
870 B
Bash

# Template file for 'python-Markups'
pkgname=python-Markups
version=3.0.0
revision=3
archs=noarch
wrksrc="Markups-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Wrapper around the various text markup languages (Python2)"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/mitya57/pymarkups"
changelog="https://raw.githubusercontent.com/retext-project/pymarkups/master/changelog"
distfiles="${PYPI_SITE}/M/Markups/Markups-${version}.tar.gz"
checksum=1ea19458dfca6a4562044e701aa8698089a0c659fc535689ed260f89a04f8d39
post_install() {
vlicense LICENSE
}
python3-Markups_package() {
archs=noarch
depends="python3 python3-markdown-math"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vlicense LICENSE
vmove usr/lib/python3*
}
}