void-packages/srcpkgs/python-toml/template

32 lines
736 B
Bash

# Template file for 'python-toml'
pkgname=python-toml
version=0.9.3
revision=2
noarch=yes
wrksrc="toml-${version}"
build_style=python-module
pycompile_module="toml.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 library for TOML"
maintainer="AcidBear <jake.slazenger@yandex.com>"
license="MIT"
homepage="https://github.com/uiri/toml"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=633a90ecb1f5665b58f0c94153fcf519313ef53e1de0eac90929cd6b6a014235
pkg_install() {
vlicense LICENSE
}
python3-toml_package() {
noarch=yes
depends="python3"
pycompile_module="toml.py"
short_desc=${short_desc/Python2/Python3}
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}