diff options
author | Universebenzene | 2022-04-15 19:28:47 +0800 |
---|---|---|
committer | Universebenzene | 2022-04-15 19:28:47 +0800 |
commit | dccda7d9b31ac0a6df5175e9b20c1a9015bb9e3a (patch) | |
tree | d58ec7e14597767d8bfd83c1c13a1acf3ff8fddb | |
parent | 633f62d61f7645d047ffd6851f10d9bb3b62a4e1 (diff) | |
download | aur-dccda7d9b31ac0a6df5175e9b20c1a9015bb9e3a.tar.gz |
Update to version 1.7.2
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 12 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = python-galpy pkgdesc = Galactic Dynamics in python - pkgver = 1.7.1 + pkgver = 1.7.2 pkgrel = 1 url = http://galpy.readthedocs.io arch = i686 @@ -8,8 +8,8 @@ pkgbase = python-galpy license = BSD makedepends = python-setuptools makedepends = gsl - source = https://files.pythonhosted.org/packages/source/g/galpy/galpy-1.7.1.tar.gz - md5sums = e6d96f823fd19180c88fc782e9b68cd9 + source = https://files.pythonhosted.org/packages/source/g/galpy/galpy-1.7.2.tar.gz + md5sums = df6c8331a9c8c340e0724e0d4b9acb62 pkgname = python-galpy depends = python-scipy @@ -3,27 +3,29 @@ pkgbase=python-galpy _pyname=${pkgbase#python-} pkgname=("python-${_pyname}") #"python-${_pyname}-doc") -pkgver=1.7.1 +pkgver=1.7.2 pkgrel=1 pkgdesc="Galactic Dynamics in python" arch=('i686' 'x86_64') url="http://galpy.readthedocs.io" license=('BSD') makedepends=('python-setuptools' 'gsl') +#'python-wheel' 'python-build' 'python-installer') #checkdepends=('python-pytest' # 'python-matplotlib' # 'python-future' # 'python-scipy') source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz") -md5sums=('e6d96f823fd19180c88fc782e9b68cd9') +md5sums=('df6c8331a9c8c340e0724e0d4b9acb62') -prepare() { - export _pyver=$(python -c 'import sys; print("%d.%d" % sys.version_info[:2])') -} +#get_pyver () { +# python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))' +#} build() { cd ${srcdir}/${_pyname}-${pkgver} python setup.py build +# python -m build --wheel --no-isolation # msg "Building Docs" # python setup.py build_docs @@ -32,7 +34,7 @@ build() { #check() { # cd ${srcdir}/${_pyname}-${pkgver} # -## pytest "build/lib.linux-${CARCH}-${_pyver}" +## pytest "build/lib.linux-${CARCH}-$(get_pyver)" # python setup.py test #} @@ -50,6 +52,7 @@ package_python-galpy() { install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" install -D -m644 README* -t "${pkgdir}/usr/share/doc/${pkgname}" python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1 +# python -m installer --destdir="${pkgdir}" dist/*.whl } #package_python-galpy-doc() { |