gnu-maintenance: Exclude GNU Radio from the 'gnu-ftp' updater predicate.

'gnu-ftp' would only list old GNU Radio releases since new releases are
no longer uploaded to ftp.gnu.org.  With this change, 'generic-html' is
picked up instead.

* guix/gnu-maintenance.scm (pure-gnu-package?): Return #f for GNU Radio.
This commit is contained in:
Ludovic Courtès 2021-03-21 23:28:13 +01:00
parent d30f8f3a97
commit cab1831528
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

@ -610,11 +610,12 @@ list available from %GNU-FILE-LIST-URI over HTTP(S)."
(define (pure-gnu-package? package)
"Return true if PACKAGE is a non-Emacs and non-GNOME GNU package. This
excludes AucTeX, for instance, whose releases are now uploaded to
elpa.gnu.org, and all the GNOME packages; EMMS is included though, because its
releases are on gnu.org."
elpa.gnu.org, GNU Radio, which has releases at www.gnuradio.org, and all the
GNOME packages; EMMS is included though, because its releases are on gnu.org."
(and (or (not (string-prefix? "emacs-" (package-name package)))
(gnu-hosted? package))
(not (gnome-package? package))
(not (string-prefix? "gnuradio" (package-name package)))
(gnu-package? package)))
(define gnu-hosted?