summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2020-05-31 08:56:22 +0800
committerUniversebenzene2020-05-31 08:56:22 +0800
commitc2332aaa1cac801931a4c8ecf34bcfa243a4943b (patch)
tree1bc29898fb534f220cc9bda0bfcdebd7e891cf8f
parent3862fda90d5c34f914b7f639d9d9e036ba85143a (diff)
downloadaur-c2332aaa1cac801931a4c8ecf34bcfa243a4943b.tar.gz
Update to version 0.3.0
-rw-r--r--.SRCINFO11
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD14
3 files changed, 14 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3482aece274..3d1d45ed0c4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-einsteinpy
pkgdesc = Python package for General Relativity
- pkgver = 0.2.1
+ pkgver = 0.3.0
pkgrel = 1
url = https://einsteinpy.org/
arch = i686
@@ -11,16 +11,17 @@ pkgbase = python-einsteinpy
checkdepends = python-astropy
checkdepends = python-sympy
checkdepends = python-plotly
+ checkdepends = python-numba>0.49.0
makedepends = python-setuptools
- source = https://files.pythonhosted.org/packages/source/e/einsteinpy/einsteinpy-0.2.1.tar.gz
- md5sums = 24f0ba1b00781fc3bd2cf8fa082e22ca
+ source = https://files.pythonhosted.org/packages/source/e/einsteinpy/einsteinpy-0.3.0.tar.gz
+ md5sums = 2e294b8c4ea8cbd248748cabec70bb9b
pkgname = python-einsteinpy
- depends = python>=3.5
+ depends = python>=3.6
depends = python-astropy
depends = python-matplotlib
depends = python-plotly>=4.0
depends = python-sympy>=1.1
- optdepends = python-numba: For accelerating the code
+ depends = python-numba>0.49.0
optdepends = python-einsteinpy-doc: Documentation for EinsteinPy
diff --git a/.gitignore b/.gitignore
index 0d6e3b36c63..e896dcd6056 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,5 +4,5 @@ pkg
*.tar.gz
*.tar.bz2
*.part
-*.pkg.tar.xz
+*.pkg.tar.*
*.log
diff --git a/PKGBUILD b/PKGBUILD
index 563ee6f8f1a..45844adae62 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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