python-mpmath: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 16:50:52 +07:00
parent c156a6ff63
commit e7ad1fd6ea
5 changed files with 18 additions and 36 deletions

View File

@ -1,4 +0,0 @@
If you require plotting capabilities, install python-matplotlib.
mpmath internally uses Python's builtin long integers by default.
For much faster high-precision arithmetic, install python-gmpy2.

View File

@ -1,31 +0,0 @@
# Template file for 'python-mpmath'
pkgname=python-mpmath
version=1.1.0
revision=2
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
}
}

View File

@ -1 +0,0 @@
python-mpmath

View File

@ -0,0 +1,18 @@
# Template file for 'python3-mpmath'
pkgname=python3-mpmath
version=1.1.0
revision=3
wrksrc="mpmath-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 library for arbitrary-precision floating-point arithmetic"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://mpmath.org/"
distfiles="${PYPI_SITE}/m/mpmath/mpmath-${version}.tar.gz"
checksum=fc17abe05fbab3382b61a123c398508183406fa132e0223874578e20946499f6
post_install() {
vlicense LICENSE
}