void-packages/srcpkgs/python-mpmath/template
2019-03-01 12:04:45 -03:00

31 lines
794 B
Bash

# Template file for 'python-mpmath'
pkgname=python-mpmath
version=1.1.0
revision=1
archs=noarch
wrksrc="mpmath-${version}"
build_style=python-module
pycompile_module="mpmath"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 library for arbitrary-precision floating-point arithmetic"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://mpmath.org/"
license="BSD-3-Clause"
distfiles="${PYPI_SITE}/m/mpmath/mpmath-${version}.tar.gz"
checksum=fc17abe05fbab3382b61a123c398508183406fa132e0223874578e20946499f6
post_install() {
vlicense LICENSE
}
python3-mpmath_package() {
archs=noarch
depends="python3"
pycompile_module="mpmath"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}