Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
python-colorcet


Commits:
91c2e1ed by loqs at 2024-04-12T22:55:24+01:00
Change to a PEP 517 based workflow

- - - - -
1881d17b by loqs at 2024-04-12T22:55:43+01:00
Change to SPDX license identifier

https://github.com/holoviz/colorcet/blob/v3.1.0/LICENSE.txt

- - - - -
f6781491 by Jelle van der Waa at 2024-04-23T20:44:42+02:00
upgpkg: 3.1.0-2

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,13 +1,14 @@
 pkgbase = python-colorcet
        pkgdesc = Set of useful perceptually uniform colormaps for plotting 
scientific data
        pkgver = 3.1.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://colorcet.holoviz.org/
        arch = any
-       license = BSD
+       license = CC-BY-4.0
        checkdepends = python-pytest
        makedepends = python-build
        makedepends = python-installer
+       makedepends = python-setuptools
        makedepends = python-setuptools-scm
        makedepends = python-wheel
        depends = python-pyct


=====================================
PKGBUILD
=====================================
@@ -3,13 +3,19 @@
 _pkg=colorcet
 pkgname=python-${_pkg}
 pkgver=3.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Set of useful perceptually uniform colormaps for plotting scientific 
data"
 arch=(any)
 url="https://colorcet.holoviz.org/";
-license=(BSD)
+license=(CC-BY-4.0)
 depends=(python-pyct)
-makedepends=(python-build python-installer python-setuptools-scm python-wheel)
+makedepends=(
+  python-build
+  python-installer
+  python-setuptools
+  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)
@@ -17,7 +23,7 @@ 
sha256sums=('810b53ba732b439c37c15eed122069d38e77b44aa69ca099442121b57d167e38')
 
 build() {
   cd ${_pkg}-${pkgver}
-  python -m build --wheel --no-isolation
+  SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver python -m build --wheel --no-isolation
 }
 
 check() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-colorcet/-/compare/6f8eeb608d168c63626a9046d7a78fef46a794d6...f678149170828eae683af63d126506a7e164aa5b

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-colorcet/-/compare/6f8eeb608d168c63626a9046d7a78fef46a794d6...f678149170828eae683af63d126506a7e164aa5b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to