Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / python-colorcet
Commits: 6f8eeb60 by Antonio Rojas at 2024-04-12T21:36:13+02:00 upgpkg: 3.1.0-1: Python 3.12 rebuild - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,17 @@ +pkgbase = python-colorcet + pkgdesc = Set of useful perceptually uniform colormaps for plotting scientific data + pkgver = 3.1.0 + pkgrel = 1 + url = https://colorcet.holoviz.org/ + arch = any + license = BSD + checkdepends = python-pytest + makedepends = python-build + makedepends = python-installer + makedepends = python-setuptools-scm + makedepends = python-wheel + depends = python-pyct + source = https://github.com/holoviz/colorcet/archive/v3.1.0/python-colorcet-3.1.0.tar.gz + sha256sums = 810b53ba732b439c37c15eed122069d38e77b44aa69ca099442121b57d167e38 + +pkgname = python-colorcet ===================================== PKGBUILD ===================================== @@ -2,22 +2,22 @@ _pkg=colorcet pkgname=python-${_pkg} -pkgver=3.0.1 -pkgrel=3 +pkgver=3.1.0 +pkgrel=1 pkgdesc="Set of useful perceptually uniform colormaps for plotting scientific data" arch=(any) url="https://colorcet.holoviz.org/" license=(BSD) depends=(python-pyct) -makedepends=(python-setuptools) +makedepends=(python-build python-installer python-setuptools-scm python-wheel) checkdepends=(python-pytest) source=(https://github.com/holoviz/colorcet/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) #source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz) -sha256sums=('e44cc4b6b6f4d626927323eec6b9936081b9e5a4fed59e31a00f50f0bee67e42') +sha256sums=('810b53ba732b439c37c15eed122069d38e77b44aa69ca099442121b57d167e38') build() { cd ${_pkg}-${pkgver} - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -27,6 +27,6 @@ check() { package() { cd ${_pkg}-${pkgver} - python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname} } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-colorcet/-/commit/6f8eeb608d168c63626a9046d7a78fef46a794d6 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-colorcet/-/commit/6f8eeb608d168c63626a9046d7a78fef46a794d6 You're receiving this email because of your account on gitlab.archlinux.org.
