Package Details: python-cmcrameri 1.9-1

Git Clone URL: https://aur.archlinux.org/python-cmcrameri.git (read-only, click to copy)
Package Base: python-cmcrameri
Description: A wrapper around Fabio Crameris perceptually uniform colourmaps for geosciences.
Upstream URL: https://github.com/callumrollo/cmcrameri/
Keywords: colormaps plotting visualization
Licenses: MIT
Submitter: shanewstone
Maintainer: shanewstone
Last Packager: shanewstone
Votes: 2
Popularity: 0.075306
First Submitted: 2022-03-29 23:21 (UTC)
Last Updated: 2024-08-12 02:53 (UTC)

Latest Comments

carlosal1015 commented on 2024-08-12 17:26 (UTC)

Many thanks

shanewstone commented on 2024-08-12 02:54 (UTC)

@carlosal1015: This is not intended to be a VCS package, so I have changed the PKGBUILD to download a tarball from GitHub and use SETUPTOOLS_SCM_PRETEND_VERSION because the build requires setuptools_scm.

I have added python-packaging as a dependency.

carlosal1015 commented on 2024-08-12 02:16 (UTC) (edited on 2024-08-12 02:18 (UTC) by carlosal1015)

Thanks, also I see that python-packaging is missing dependency https://github.com/callumrollo/cmcrameri/blob/v1.9/pyproject.toml#L34 and git must be a makedependency https://wiki.archlinux.org/title/VCS_package_guidelines#Conflicts_and_dependencies

Possible export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver according to https://wiki.archlinux.org/title/Python_package_guidelines#setuptools_or_distutils

shanewstone commented on 2024-08-12 01:44 (UTC)

@carlosal1015: You need git, as it says in the ERROR you pasted here:

==> ERROR: Cannot find the git package needed to handle git sources.
==> ERROR: Build failed

carlosal1015 commented on 2024-08-12 01:37 (UTC)

Hi I have the following error message:

==> Making package: python-cmcrameri 1.9-1 (Sun Aug 11 20:36:18 2024)
==> Retrieving sources...
  -> Cloning cmcrameri git repo...
Cloning into bare repository '/tmp/python-cmcrameri/cmcrameri'...
remote: Enumerating objects: 654, done.
remote: Counting objects: 100% (236/236), done.
remote: Compressing objects: 100% (159/159), done.
remote: Total 654 (delta 98), reused 164 (delta 74), pack-reused 418
Receiving objects: 100% (654/654), 1.34 MiB | 2.34 MiB/s, done.
Resolving deltas: 100% (311/311), done.
==> Validating source files with sha512sums...
    cmcrameri ... Passed
==> ERROR: Cannot find the git package needed to handle git sources.
==> ERROR: Build failed