After more than a year the switch to python3 packages, it is time to say them goodbye. So long, and thanks for all the fish.
31 lines
790 B
Bash
31 lines
790 B
Bash
# Template file for 'python-mpmath'
|
|
pkgname=python-mpmath
|
|
version=1.0.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="mpmath-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
pycompile_module="mpmath"
|
|
short_desc="Python2 library for arbitrary-precision floating-point arithmetic"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="http://mpmath.org/"
|
|
license="3-clause-BSD"
|
|
distfiles="${PYPI_SITE}/m/mpmath/mpmath-${version}.tar.gz"
|
|
checksum=04d14803b6875fe6d69e6dccea87d5ae5599802e4b1df7997bddd2024001050c
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-mpmath_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="mpmath"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|