Compare commits

...

5 commits

Author SHA1 Message Date
jgart
edb31b3c80
gnu: python-feedparser: Update to 6.0.12.
* gnu/packages/web.scm (python-feedparser): Update to 6.0.12.
[source]: Remove outdated patch.
* gnu/packages/patches/python-feedparser-missing-import.patch: Delete it.
* gnu/local.mk: Delete entry.

Change-Id: I7bd5c8de4d186786e4279d8cfc3c08651b5ea382
2026-01-24 19:02:02 -05:00
Janneke Nieuwenhuizen
da55841cd9
gnu: Add asciinema-agg.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[asciinema-agg]: New entry.
* gnu/packages/terminals.scm (asciinema-agg): New variable.

Change-Id: I0ed35b3eb603f7d21a82f04ee793f83c37402e0e
2026-01-24 22:40:35 +01:00
jgart
6a62ff0170
gnu: sbcl-simple-matrix: Update to 3.12.
* gnu/packages/lisp-xyz.scm (sbcl-simple-matrix): Update to 3.12.

Change-Id: I99a5eb900b28d0f7aa37394e37c3f1661dd3b505
2026-01-24 15:00:49 -05:00
jgart
de4a3116b2
gnu: sbcl-simple-optimization: Update to 2.0.
* gnu/packages/lisp-xyz.scm (sbcl-simple-optimization): Update to 2.0.

Change-Id: I72b1705824331f5b1eaefec16d60b87eff2a2c28
2026-01-24 14:58:18 -05:00
jgart
4b9b2595e4
gnu: trealla: Update to 2.89.10.
* gnu/packages/prolog.scm (trealla): Update to 2.89.10.

Change-Id: Id50537fd703d94aa44065a6adbfe892a7ec89b0b
2026-01-24 14:47:56 -05:00
7 changed files with 617 additions and 45 deletions

View file

@ -2072,7 +2072,6 @@ dist_patch_DATA = \
%D%/packages/patches/python-chai-drop-python2.patch \
%D%/packages/patches/python-clarabel-blas.patch \
%D%/packages/patches/python-docrepr-fix-tests.patch \
%D%/packages/patches/python-feedparser-missing-import.patch \
%D%/packages/patches/python-gpg-setup-72.patch \
%D%/packages/patches/python-hdmedians-replace-nose.patch \
%D%/packages/patches/python-louvain-fix-test.patch \

View file

@ -29417,7 +29417,7 @@ running into parallelism problems when having to change directory.")
(define-public sbcl-simple-matrix
(package
(name "sbcl-simple-matrix")
(version "3.10")
(version "3.12")
(source
(origin
(method git-fetch)
@ -29426,7 +29426,7 @@ running into parallelism problems when having to change directory.")
(commit (string-append "v" version))))
(file-name (git-file-name "cl-simple-matrix" version))
(sha256
(base32 "04aysbpbwadqsk1sva9iy59mf8gwpf1zb1nmf7ha9c0db2g2hipj"))))
(base32 "0kmwxq01gbbblmpkacwzg7i3x8dddlkfkvi57ipa4njsfd3pss4v"))))
(build-system asdf-build-system/sbcl)
(native-inputs (list sbcl-fiveam))
(synopsis "Matrix library for Common Lisp")
@ -29483,7 +29483,7 @@ library are feedforward neural networks trained using backpropagation.")
(define-public sbcl-simple-optimization
(package
(name "sbcl-simple-optimization")
(version "1.2")
(version "2.0")
(source
(origin
(method git-fetch)
@ -29492,7 +29492,7 @@ library are feedforward neural networks trained using backpropagation.")
(commit (string-append "v" version))))
(file-name (git-file-name "cl-simple-optimization" version))
(sha256
(base32 "197iq6b7g0zdfz6nqyx69cvp6j39ax4aijc8x3w71rmmlfps515k"))))
(base32 "0hfqz960vj510cbx8p7g677mqbabzf6s9l8mzd0cp6f2gaz0dm00"))))
(build-system asdf-build-system/sbcl)
(native-inputs (list sbcl-fiveam))
(inputs (list sbcl-simple-matrix))

View file

@ -1,34 +0,0 @@
Since feedparser messes with Pythons internals by assigning
to __code__ it needs to import SGMLParseError too. It also
expects SGMLParseError, which was turned into AssertionError by
https://github.com/python/cpython/commit/e34bbfd61f405eef89e8aa50672b0b25022de320
--- feedparser-6.0.10/feedparser/sgml.py.orig 2023-03-18 09:24:50.976316932 +0100
+++ feedparser-6.0.10/feedparser/sgml.py 2023-03-18 09:26:32.971928811 +0100
@@ -28,6 +28,7 @@
import re
import sgmllib
+from sgmllib import SGMLParseError
__all__ = [
'sgmllib',
@@ -41,6 +42,7 @@
'shorttagopen',
'starttagopen',
'endbracket',
+ 'SGMLParseError',
]
# sgmllib defines a number of module-level regular expressions that are
--- feedparser-6.0.10/feedparser/html.py.orig 2023-03-18 09:32:03.647114745 +0100
+++ feedparser-6.0.10/feedparser/html.py 2023-03-18 09:46:05.021142671 +0100
@@ -349,7 +349,7 @@
try:
return sgmllib.SGMLParser.parse_declaration(self, i)
- except sgmllib.SGMLParseError:
+ except AssertionError:
# Escape the doctype declaration and continue parsing.
self.handle_data('<')
return i+1

View file

@ -189,7 +189,7 @@ it.")
(define-public trealla
(package
(name "trealla")
(version "2.89.7")
(version "2.89.10")
(source
(origin
(method git-fetch)
@ -198,7 +198,7 @@ it.")
(url "https://github.com/trealla-prolog/trealla")
(commit (string-append "v" version))))
(sha256
(base32 "0z3zx66v1qx80b97vmb8hhpb52jjbjs9rfz31myw6mf2fsgqb2b7"))
(base32 "169r9bnym6rfz19m7nk3fyfxw4izgacvn28zrfzds4lmy3jgxpqq"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(inputs

File diff suppressed because it is too large Load diff

View file

@ -44,6 +44,7 @@
;;; Copyright © 2024, 2025-2026 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2025 Roman Scherer <roman@burningswell.com>
;;; Copyright © 2025 Liam Hupfer <liam@hpfr.net>
;;; Copyright © 2026 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -262,6 +263,29 @@ Forget screen recording apps and blurry video. Enjoy a lightweight, purely
text-based approach to terminal recording.")
(license license:gpl3)))
(define-public asciinema-agg
(package
(name "asciinema-agg")
(home-page "https://github.com/asciinema/agg")
(version "1.7.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url home-page)
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "04vbj7mmn8cdgrh1563ghadfanpw4ga1jbm2i7jnp6m69qyafiz9"))))
(build-system cargo-build-system)
(arguments (list #:install-source? #f))
(inputs (cargo-inputs 'asciinema-agg))
(synopsis "Asciinema gif generator")
(description
"Agg is a command-line tool for generating animated GIF files from
asciinema-created terminal session recordings.")
(license license:gpl3)))
(define-public libtsm
(let ((commit "f70e37982f382b03c6939dac3d5f814450bda253")
(revision "1"))

View file

@ -5558,20 +5558,19 @@ Integration Center (4DN-DCIC).")
(define-public python-feedparser
(package
(name "python-feedparser")
(version "6.0.11")
(version "6.0.12")
(source
(origin
(method url-fetch)
(uri (pypi-uri "feedparser" version ".tar.gz"))
(sha256
(base32 "1mc4856draxac5s7acywq060a0awng195cpbs1js1wn6cixl1l69"))
(patches (search-patches "python-feedparser-missing-import.patch"))))
(base32 "0a22z6jx9lhw5glfb2nxf77bq9nfa0xqs3yy3rfyzs731blnrxv4"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-backend #~'custom
#:test-flags #~(list "tests/runtests.py")))
(native-inputs (list python-setuptools))
(native-inputs (list python-setuptools python-wheel))
(propagated-inputs (list python-sgmllib3k))
(home-page "https://github.com/kurtmckee/feedparser")
(synopsis "Parse feeds in Python")