void-packages/srcpkgs/python-Markups/template

33 lines
898 B
Bash

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