diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -2,16 +2,16 @@ pkgbase=python-einsteinpy _pyname=${pkgbase#python-} pkgname=("python-${_pyname}") -pkgver=0.2.1 +pkgver=0.3.0 pkgrel=1 pkgdesc="Python package for General Relativity" arch=('i686' 'x86_64') url="https://einsteinpy.org/" license=('MIT') makedepends=('python-setuptools') -checkdepends=('python-pytest' 'python-matplotlib' 'python-astropy' 'python-sympy' 'python-plotly') +checkdepends=('python-pytest' 'python-matplotlib' 'python-astropy' 'python-sympy' 'python-plotly' 'python-numba>0.49.0') source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz") -md5sums=('24f0ba1b00781fc3bd2cf8fa082e22ca') +md5sums=('2e294b8c4ea8cbd248748cabec70bb9b') build() { cd ${srcdir}/${_pyname}-${pkgver} @@ -22,13 +22,13 @@ build() { check() { cd ${srcdir}/${_pyname}-${pkgver} - python setup.py test +# python setup.py test + PYTHONPATH="build/lib" pytest } package_python-einsteinpy() { - depends=('python>=3.5' 'python-astropy' 'python-matplotlib' 'python-plotly>=4.0' 'python-sympy>=1.1') - optdepends=('python-numba: For accelerating the code' - 'python-einsteinpy-doc: Documentation for EinsteinPy') + depends=('python>=3.6' 'python-astropy' 'python-matplotlib' 'python-plotly>=4.0' 'python-sympy>=1.1' 'python-numba>0.49.0') + optdepends=('python-einsteinpy-doc: Documentation for EinsteinPy') cd ${srcdir}/${_pyname}-${pkgver} install -D -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" COPYING |