python-numexpr: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-30 21:18:51 +07:00
parent 04fa352150
commit a32ed65f62
3 changed files with 20 additions and 31 deletions

View file

@ -1,30 +0,0 @@
# Template file for 'python-numexpr'
pkgname=python-numexpr
version=2.7.0
revision=2
wrksrc="numexpr-${version}"
build_style=python-module
pycompile_module="numexpr"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel python-numpy python3-numpy"
depends="python-numpy"
short_desc="Fast numerical expression evaluator for NumPy (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://github.com/pydata/numexpr"
distfiles="${PYPI_SITE}/n/numexpr/numexpr-${version}.tar.gz"
checksum=37324b5981b8962102bdc8640c4f05f5589da5d1df2702418783085cb78ca217
post_install() {
vlicense LICENSE.txt
}
python3-numexpr_package() {
depends="python3-numpy"
pycompile_module="numexpr"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}

View file

@ -1 +0,0 @@
python-numexpr

View file

@ -0,0 +1,20 @@
# Template file for 'python3-numexpr'
pkgname=python3-numexpr
version=2.7.0
revision=3
wrksrc="numexpr-${version}"
build_style=python3-module
build_helper=numpy
hostmakedepends="python3-setuptools"
makedepends="python3-devel python3-numpy"
depends="python3-numpy"
short_desc="Fast numerical expression evaluator for NumPy (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/pydata/numexpr"
distfiles="${PYPI_SITE}/n/numexpr/numexpr-${version}.tar.gz"
checksum=37324b5981b8962102bdc8640c4f05f5589da5d1df2702418783085cb78ca217
post_install() {
vlicense LICENSE.txt
}