Skip to content

Instantly share code, notes, and snippets.

@envolution
Created December 18, 2024 16:07
Show Gist options
  • Save envolution/c1935427be5dc2e377d914f3b676dc13 to your computer and use it in GitHub Desktop.
Save envolution/c1935427be5dc2e377d914f3b676dc13 to your computer and use it in GitHub Desktop.
# Maintainer: Carlos Aznarán <[email protected]>
# Contributor: Sam L. Yes <[email protected]>
_base=paddlepaddle
pkgname=${_base}-bin
pkgdesc="Parallel Distributed Deep Learning"
pkgver=2.6.2
pkgrel=2 #bump rel
arch=(x86_64)
url="https://${_base}.org.cn"
license=(Apache-2.0) #spdx identifier
depends=(python-httpx python-numpy python-pillow python-decorator
python-astor python-opt_einsum python-protobuf perl) # python-paddle_bfloat
makedepends=(python-installer) #replaced python-pip
_pyversion=cp312 # $(python -c "import sys; print(f'cp{sys.version_info.major}{sys.version_info.minor}')")
_wheel="${_base}-${pkgver}-${_pyversion}-${_pyversion}-manylinux1_${CARCH}"
noextract=("${_wheel}.whl")
source=(https://pypi.org/packages/${_pyversion}/${_base::1}/${_base}/${_wheel}.whl)
sha256sums=('1aab2186d24402060f690a850acb21e014282b01882bcc1442f5f387dd012a50')
provides=("${_base}=${pkgver}")
conflicts=(${_base})
package() { #replaced package()
python -m installer --destdir="${pkgdir}" "${srcdir}/${_wheel}.whl"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment