diff options
author | Universebenzene | 2024-05-03 22:06:37 +0800 |
---|---|---|
committer | Universebenzene | 2024-05-03 22:06:37 +0800 |
commit | 179d0bae609a3d4d74f6d0d8970df5ad5ca28a68 (patch) | |
tree | 00c48e8e33169daf5ab762ff0ce24e1156cd9f2b /PKGBUILD | |
parent | d650b22434daeed921d01a28945ce30d032af9a1 (diff) | |
download | aur-python-astroscrappy.tar.gz |
Update to version 1.2.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 14 insertions, 12 deletions
@@ -2,25 +2,27 @@ pkgbase=python-astroscrappy _pyname=${pkgbase#python-} pkgname=("python-${_pyname}" "python-${_pyname}-doc") -pkgver=1.1.0 +pkgver=1.2.0 pkgrel=1 pkgdesc="Speedy Cosmic Ray Annihilation Package in Python" arch=('i686' 'x86_64') url="https://astroscrappy.readthedocs.io" -license=('BSD') -makedepends=('python-setuptools-scm' +license=('BSD-3-Clause') +makedepends=('python-setuptools-scm>=6.2' 'cython' 'python-wheel' 'python-build' 'python-installer' - 'python-extension-helpers' + 'python-extension-helpers>=1' 'python-numpy' - 'python-sphinx-astropy' - 'python-astropy') + 'python-sphinx-astropy') checkdepends=('python-pytest-doctestplus' - 'python-scipy') # astropy already in makedepends -source=("https://files.pythonhosted.org/packages/source/a/astroscrappy/astroscrappy-${pkgver}.tar.gz") -md5sums=('43e189d666fab2ecf476f2a569f37760') + 'python-astropy' + 'python-scipy') +source=("https://files.pythonhosted.org/packages/source/a/astroscrappy/astroscrappy-${pkgver}.tar.gz" + 'setup.cfg') +md5sums=('1242aa6f352cb23a9a94cc494ab02447' + '60e14b6062e639028bf12059193ae884') get_pyver() { python -c "import sys; print('$1'.join(map(str, sys.version_info[:2])))" @@ -29,12 +31,12 @@ get_pyver() { prepare() { cd ${srcdir}/${_pyname}-${pkgver} - sed -i "/oldest-supported-numpy/d" pyproject.toml + cat ${srcdir}/setup.cfg >> setup.cfg } build() { cd ${srcdir}/${_pyname}-${pkgver} - python -m build --wheel --no-isolation + python -m build --wheel --no-isolation --skip-dependency-check msg "Building Docs" PYTHONPATH="../build/lib.linux-${CARCH}-cpython-$(get_pyver)" make -C docs html @@ -43,7 +45,7 @@ build() { check() { cd ${srcdir}/${_pyname}-${pkgver} - pytest "build/lib.linux-${CARCH}-cpython-$(get_pyver)" || warning "Tests failed" # -vv --color=yes + pytest "build/lib.linux-${CARCH}-cpython-$(get_pyver)" || warning "Tests failed" # -vv -l -ra --color=yes -o console_output_style=count } package_python-astroscrappy() { |