Package Details: archey3 0.5-16

Git Clone URL: https://aur.archlinux.org/archey3.git (read-only, click to copy)
Package Base: archey3
Description: Output a logo and various system information
Upstream URL: https://lclarkmichalek.github.io/archey3/
Licenses: GPL-3.0-or-later
Submitter: gromit
Maintainer: vEnhance
Last Packager: vEnhance
Votes: 3
Popularity: 0.033234
First Submitted: 2024-03-23 20:34 (UTC)
Last Updated: 2024-09-11 21:16 (UTC)

Dependencies (8)

Required by (0)

Sources (2)

Latest Comments

vEnhance commented on 2024-05-23 22:52 (UTC)

Appreciate the catch and the instruction. I've added python-setuptools as a makedepend again, and verified pkgctl build now works. Anything else I'm missing, drop me a line.

Cody_Learner commented on 2024-05-23 20:59 (UTC) (edited on 2024-05-23 21:01 (UTC) by Cody_Learner)

Fails to build in clean chroot using devtools script:


$ git clone https://aur.archlinux.org/archey3.git

$ pkgctl build
==> Updating pacman database cache
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 multilib downloading...

.............
...........

==> Starting prepare()...
==> Starting build()...
* Getting build dependencies for wheel...

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook
    raise BackendUnavailable(
pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'

ERROR Backend 'setuptools.build_meta:__legacy__' is not available.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/jeff-8/build

vEnhance commented on 2024-05-13 16:26 (UTC)

Comments here are fine.

However I think the string "( +)" does not need an r-escape the way the other two do. The patch here is to deal with an issue of Python 3.12 complaining about invalid escape sequences, see https://github.com/lclarkmichalek/archey3/issues/53.

rajupotra commented on 2024-05-13 10:51 (UTC)

Hello. Latest update missed 1 regex to strip any excess spaces.

--- a/archey3
+++ b/archey3
@@ -599,7 +599,7 @@

             for option, value in values.items():
                 #strip any excess spaces
-                value = re.sub("( +)", " ", value)
+                value = re.sub(r"( +)", " ", value)
                 self.set(section, option, value)

     def write_config(self, location):

I'm new. Is this best way to contribute?