diff options
author | PumpkinCheshire | 2022-05-24 13:35:44 +0800 |
---|---|---|
committer | PumpkinCheshire | 2022-05-24 13:35:44 +0800 |
commit | 15292ad636f695af074929034a12b8f8a00276a6 (patch) | |
tree | 17495250d3ba5efdaaf13483b129dce2266fe515 | |
parent | 24e980a6322cdcc594b15394b3b9db6956216b5c (diff) | |
download | aur-15292ad636f695af074929034a12b8f8a00276a6.tar.gz |
1.0.2
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 6 insertions, 20 deletions
@@ -1,6 +1,6 @@ pkgbase = python-taichi pkgdesc = Productive & portable programming language for high-performance, sparse & differentiable computing on CPUs & GPUs - pkgver = 0.9.2 + pkgver = 1.0.2 pkgrel = 1 url = https://github.com/taichi-dev/taichi arch = x86_64 @@ -22,7 +22,7 @@ pkgbase = python-taichi optdepends = python-gitpython optdepends = yapf optdepends = cuda - source = https://files.pythonhosted.org/packages/cp310/t/taichi/taichi-0.9.2-cp310-cp310-manylinux2014_x86_64.whl - b2sums = 1a945f7e4805212310596dfc60edf212374bc7ebe7e086d4a2b5bd957f78eef28d1118a3bd244ba15c5c7d4dbfd61485ddc288caa79caa1f5545d9e9cc5db26a + source = https://files.pythonhosted.org/packages/cp310/t/taichi/taichi-1.0.2-cp310-cp310-manylinux2014_x86_64.whl + b2sums = 1c1252aa5bb68ec01699cc8ab6e57cba26989ac1437cd62b0e7c08a5b9e631a49d5c1f6e1b3d63e15d82e3e30898d6dd52f218849fde4995abddeda244f58813 pkgname = python-taichi @@ -5,7 +5,7 @@ pkgname=python-taichi _name=${pkgname#python-} _py=cp310 -pkgver=0.9.2 +pkgver=1.0.2 pkgrel=1 pkgdesc='Productive & portable programming language for high-performance, sparse & differentiable computing on CPUs & GPUs' url='https://github.com/taichi-dev/taichi' @@ -33,24 +33,10 @@ makedepends=( 'python-build' 'python-installer') source=("https://files.pythonhosted.org/packages/$_py/${_name::1}/$_name/${_name//-/_}-$pkgver-$_py-$_py-manylinux2014_x86_64.whl") -b2sums=('1a945f7e4805212310596dfc60edf212374bc7ebe7e086d4a2b5bd957f78eef28d1118a3bd244ba15c5c7d4dbfd61485ddc288caa79caa1f5545d9e9cc5db26a') +b2sums=('1c1252aa5bb68ec01699cc8ab6e57cba26989ac1437cd62b0e7c08a5b9e631a49d5c1f6e1b3d63e15d82e3e30898d6dd52f218849fde4995abddeda244f58813') package() { - # PIP_CONFIG_FILE=/dev/null /usr/bin/python3.9 -m pip install --isolated --root="$pkgdir" --ignore-installed --no-warn-script-location --no-deps ${_name//-/_}-$pkgver-$_py-$_py-manylinux1_x86_64.whl - - # cd "$pkgdir/usr/lib/python3.9/site-packages/$_name/" || exit - # # remove pyc and compile by itself - # find . -name "*.pyc" -print0 | xargs rm -rf - - # # remove prefix compile pyc again - # python -O -m compileall -f "${pkgdir}/usr/lib/python3.9/site-packages/$_name/" -s "$pkgdir" -p "/" - - # # manually rewrite direct_url.json - # cd "$pkgdir/usr/lib/python3.9/site-packages/$_name-$pkgver.dist-info/" || exit - - # echo "{\"archive_info\": {\"hash\": \"b2sums=${b2sums[0]}\"}, \"url\": \"${source[0]}\"}" >direct_url.json - - python -m installer --destdir="$pkgdir" *.whl + python -m installer --destdir="$pkgdir" ./*.whl install -Dm644 "$srcdir/$_name-$pkgver.dist-info/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |