Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / python-ml-dtypes
Commits: d22e3c0f by Daniel M. Capella at 2024-04-14T11:52:22-04:00 Update licenses and quoting - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -7,10 +7,10 @@ pkgrel=1 pkgdesc='A stand-alone implementation of several NumPy dtype extensions used in ML' arch=('x86_64') url='https://github.com/jax-ml/ml_dtypes' -license=('Apache') +license=('Apache-2.0' 'MPL-2.0') depends=('python-numpy') makedepends=('pybind11' 'python-absl' 'python-build' 'python-installer' 'python-pytest' 'python-setuptools' 'python-wheel') -source=("ml-dtypes-${pkgver}.tar.gz::https://github.com/jax-ml/ml_dtypes/archive/refs/tags/v${pkgver}.tar.gz" +source=("ml-dtypes-$pkgver.tar.gz::https://github.com/jax-ml/ml_dtypes/archive/refs/tags/v$pkgver.tar.gz" 'ml-dtypes.diff' "eigen-7bf2968.tar.gz::https://gitlab.com/libeigen/eigen/-/archive/7bf2968fed5f246c0589e1111004cb420fcd7c71/eigen-7bf2968.tar.gz") sha256sums=('029a866a745726954cd825f8e013363fa103d45ea7c4fb1c23dd0d6b8361ad5b' @@ -19,8 +19,8 @@ sha256sums=('029a866a745726954cd825f8e013363fa103d45ea7c4fb1c23dd0d6b8361ad5b' prepare() { ln -fs \ - $srcdir/eigen-7bf2968fed5f246c0589e1111004cb420fcd7c71/Eigen \ - $srcdir/ml_dtypes-$pkgver/third_party/eigen/Eigen + "$srcdir"/eigen-7bf2968fed5f246c0589e1111004cb420fcd7c71/Eigen \ + "$srcdir"/ml_dtypes-$pkgver/third_party/eigen/Eigen cd ml_dtypes-$pkgver patch -Np1 -i ../ml-dtypes.diff @@ -40,10 +40,10 @@ check() { package() { python -m installer \ --compile-bytecode 1 \ - --destdir $pkgdir \ + --destdir "$pkgdir" \ ml_dtypes-$pkgver/dist/ml_dtypes-$pkgver-*-*.whl # Remove artefacts of broken distribution. local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') - rm -rfv $pkgdir/usr/lib/python$python_version/site-packages/third_party + rm -rfv "$pkgdir"/usr/lib/python"$python_version"/site-packages/third_party } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-ml-dtypes/-/commit/d22e3c0f1b077a8de4e91a09471389259dca405d -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-ml-dtypes/-/commit/d22e3c0f1b077a8de4e91a09471389259dca405d You're receiving this email because of your account on gitlab.archlinux.org.