python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / python-numexpr / template
blob79fe59ee1155e7a0df073785fabd0b8792e196cc
1 # Template file for 'python-numexpr'
2 pkgname=python-numexpr
3 version=2.6.5
4 revision=1
5 wrksrc="numexpr-${version}"
6 build_style=python-module
7 hostmakedepends="python-setuptools python3-setuptools"
8 makedepends="python-devel python3-devel python-numpy python3-numpy"
9 depends="python-numpy"
10 pycompile_module="numexpr"
11 short_desc="Fast numerical expression evaluator for NumPy (Python2)"
12 maintainer="Alessio Sergi <al3hex@gmail.com>"
13 homepage="https://github.com/pydata/numexpr"
14 license="MIT"
15 distfiles="${PYPI_SITE}/n/numexpr/numexpr-${version}.tar.gz"
16 checksum=f8ad8014085628eab91bc82fb9d10cf9ab8e04ede4884e4a1061445d395b36bb
18 post_install() {
19         vlicense LICENSE.txt LICENSE
22 python3-numexpr_package() {
23         depends="python3-numpy"
24         pycompile_module="numexpr"
25         short_desc="${short_desc/Python2/Python3}"
26         pkg_install() {
27                 vmove usr/lib/python3*
28                 vlicense LICENSE.txt LICENSE
29         }