diff options
author | lilac | 2024-03-20 04:20:23 +0800 |
---|---|---|
committer | lilac | 2024-03-20 04:20:23 +0800 |
commit | a21b1734198faf42a5cf09b52a4059e9118f35f7 (patch) | |
tree | 7213b336e7229df09295edaf36a3fce8f0298370 /PKGBUILD | |
parent | 715daf363ee7becb628660bb2a3e2844c4cd1b5a (diff) | |
download | aur-python-mars.tar.gz |
[lilac] updated to 0.10.0-3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 17 insertions, 5 deletions
@@ -3,16 +3,19 @@ _pkgname=mars pkgname=python-mars pkgver=0.10.0 -pkgrel=1 +pkgrel=3 pkgdesc='A tensor-based unified framework for large-scale data computation which scales Numpy, pandas, Scikit-learn and Python functions' arch=('x86_64') url='https://github.com/mars-project/mars' -license=(Apache) +license=('Apache-2.0') depends=( + gcc-libs + glibc python-arrow python-cloudpickle python-gevent python-jinja + python-joblib python-lz4 python-numexpr python-numpy @@ -26,18 +29,27 @@ depends=( ) makedepends=( cython + python-build + python-installer python-setuptools + python-wheel ) source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/mars-project/mars/archive/v${pkgver}.tar.gz") -sha512sums=('e1873193c96baa7d472c015a184b386a6584d0399c755883f57ec67cdd10bae36395e62f2c43451389cdaf7181c9e9c72512e92305d40ffec103251b98b11b57') +sha512sums=('3291e66610d5d1e1f126deb5e445eed48b856976a6c56ae20372bb328924587ce1f7681177a189929de762e1f81b9ac63537d1d49580085b103e3a96b4082266') + +prepare() { + # fix deps issue + sed -i '/oldest-supported-numpy/d' "${_pkgname}-${pkgver}/pyproject.toml" + sed -i '/setuptools/d' "${_pkgname}-${pkgver}/pyproject.toml" +} build() { cd "${_pkgname}-${pkgver}" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "${_pkgname}-${pkgver}" - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + python -m installer --destdir="${pkgdir}" dist/*.whl } # vim:set ts=2 sw=2 et: |