* [bug#55424] [PATCH 002/602] etc/committer: Prefix (sxml xpath) symbols to avoid name conflict.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 003/602] etc/committer: Teach it how to commit package removal Maxim Cournoyer
` (101 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
This avoids a naming conflict for 'filter', provided by both (srfi srfi-1)
and (sxml xpath).
* etc/committer.scm.in: Use 'use-modules' instead of 'import', and use a
prefix for the (sxml xpath) module.
(new-sexp): Adjust accordingly.
(change-commit-message): Likewise.
---
etc/committer.scm.in | 33 +++++++++++++++++----------------
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/etc/committer.scm.in b/etc/committer.scm.in
index 5a57d51577..3b37320e89 100755
--- a/etc/committer.scm.in
+++ b/etc/committer.scm.in
@@ -6,6 +6,7 @@
;;; Copyright © 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
+;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -28,19 +29,19 @@
;;; Code:
-(import (sxml xpath)
- (srfi srfi-1)
- (srfi srfi-2)
- (srfi srfi-9)
- (srfi srfi-11)
- (srfi srfi-26)
- (ice-9 format)
- (ice-9 popen)
- (ice-9 match)
- (ice-9 rdelim)
- (ice-9 regex)
- (ice-9 textual-ports)
- (guix gexp))
+(use-modules ((sxml xpath) #:prefix xpath:)
+ (srfi srfi-1)
+ (srfi srfi-2)
+ (srfi srfi-9)
+ (srfi srfi-11)
+ (srfi srfi-26)
+ (ice-9 format)
+ (ice-9 popen)
+ (ice-9 match)
+ (ice-9 rdelim)
+ (ice-9 regex)
+ (ice-9 textual-ports)
+ (guix gexp))
(define* (break-string str #:optional (max-line-length 70))
"Break the string STR into lines that are no longer than MAX-LINE-LENGTH.
@@ -214,10 +215,10 @@ (define (new-sexp hunk)
(define* (change-commit-message file-name old new #:optional (port (current-output-port)))
"Print ChangeLog commit message for changes between OLD and NEW."
(define (get-values expr field)
- (match ((sxpath `(// ,field quasiquote *)) expr)
+ (match ((xpath:sxpath `(// ,field quasiquote *)) expr)
(()
;; New-style plain lists
- (match ((sxpath `(// ,field list *)) expr)
+ (match ((xpath:sxpath `(// ,field list *)) expr)
((inner) inner)
(_ '())))
;; Old-style labelled inputs
@@ -234,7 +235,7 @@ (define (listify items)
(define variable-name
(second old))
(define version
- (and=> ((sxpath '(// version *any*)) new)
+ (and=> ((xpath:sxpath '(// version *any*)) new)
first))
(format port
"gnu: ~a: Update to ~a.~%~%* ~a (~a): Update to ~a.~%"
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 003/602] etc/committer: Teach it how to commit package removal.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 002/602] etc/committer: Prefix (sxml xpath) symbols to avoid name conflict Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 004/602] utils: Add a 'delete-expression' procedure Maxim Cournoyer
` (100 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* etc/committer.scm.in (hunk-types): New variable.
(<hunk>): Rename hunk-definition? getter to 'hunk-type'.
(diff-info): Mute a git warning by separating file names from arguments with
'--'. Rename the 'definitions?' variable to 'type'.
Use the 'addition type when a new package addition is detected, 'removal when
removed else #f.
(add-commit-message): Re-indent.
(remove-commit-message): New procedure.
(main)[definitions]: Make commit message conditional depending on whether it
is an addition or removal.
[changes]: Adjust indentation.
---
etc/committer.scm.in | 164 ++++++++++++++++++++++++-------------------
1 file changed, 91 insertions(+), 73 deletions(-)
diff --git a/etc/committer.scm.in b/etc/committer.scm.in
index 3b37320e89..e7f1ca8c45 100755
--- a/etc/committer.scm.in
+++ b/etc/committer.scm.in
@@ -101,12 +101,16 @@ (define (surrounding-sexp port line-no)
(read-line port)
(loop (1- i) last-top-level-sexp))))))
+;;; Whether the hunk contains a newly added package (definition), a removed
+;;; package (removal) or something else (#false).
+(define hunk-types '(addition removal #false))
+
(define-record-type <hunk>
(make-hunk file-name
old-line-number
new-line-number
diff-lines
- definition?)
+ type)
hunk?
(file-name hunk-file-name)
;; Line number before the change
@@ -115,8 +119,8 @@ (define-record-type <hunk>
(new-line-number hunk-new-line-number)
;; The full diff to be used with "git apply --cached"
(diff-lines hunk-diff-lines)
- ;; Does this hunk add a definition?
- (definition? hunk-definition?))
+ ;; Does this hunk add or remove a package?
+ (type hunk-type)) ;one of 'hunk-types'
(define* (hunk->patch hunk #:optional (port (current-output-port)))
(let ((file-name (hunk-file-name hunk)))
@@ -134,25 +138,30 @@ (define (diff-info)
;; new definitions with changes to existing
;; definitions.
"--unified=1"
- "gnu")))
+ "--" "gnu")))
(define (extract-line-number line-tag)
(abs (string->number
(car (string-split line-tag #\,)))))
(define (read-hunk)
(let loop ((lines '())
- (definition? #false))
+ (type #false))
(let ((line (read-line port 'concat)))
(cond
((eof-object? line)
- (values (reverse lines) definition?))
+ (values (reverse lines) type))
((or (string-prefix? "@@ " line)
(string-prefix? "diff --git" line))
(unget-string port line)
- (values (reverse lines) definition?))
+ (values (reverse lines) type))
(else
(loop (cons line lines)
- (or definition?
- (string-prefix? "+(define" line))))))))
+ (or type
+ (cond
+ ((string-prefix? "+(define" line)
+ 'addition)
+ ((string-prefix? "-(define" line)
+ 'removal)
+ (else #false)))))))))
(define info
(let loop ((acc '())
(file-name #f))
@@ -167,13 +176,13 @@ (define info
(match (string-split line #\space)
((_ old-start new-start . _)
(let-values
- (((diff-lines definition?) (read-hunk)))
+ (((diff-lines type) (read-hunk)))
(loop (cons (make-hunk file-name
(extract-line-number old-start)
(extract-line-number new-start)
(cons (string-append line "\n")
diff-lines)
- definition?) acc)
+ type) acc)
file-name)))))
(else (loop acc file-name))))))
(close-pipe port)
@@ -263,10 +272,18 @@ (define version
(listify added))))))))))
'(inputs propagated-inputs native-inputs)))
-(define* (add-commit-message file-name variable-name #:optional (port (current-output-port)))
- "Print ChangeLog commit message for a change to FILE-NAME adding a definition."
- (format port
- "gnu: Add ~a.~%~%* ~a (~a): New variable.~%"
+(define* (add-commit-message file-name variable-name
+ #:optional (port (current-output-port)))
+ "Print ChangeLog commit message for a change to FILE-NAME adding a
+definition."
+ (format port "gnu: Add ~a.~%~%* ~a (~a): New variable.~%"
+ variable-name file-name variable-name))
+
+(define* (remove-commit-message file-name variable-name
+ #:optional (port (current-output-port)))
+ "Print ChangeLog commit message for a change to FILE-NAME removing a
+definition."
+ (format port "gnu: Remove ~a.~%~%* ~a (~a): Delete variable.~%"
variable-name file-name variable-name))
(define* (custom-commit-message file-name variable-name message changelog
@@ -345,66 +362,67 @@ (define* (change-commit-message* file-name old new #:rest rest)
(()
(display "Nothing to be done.\n" (current-error-port)))
(hunks
- (let-values
- (((definitions changes)
- (partition hunk-definition? hunks)))
+ (let-values (((definitions changes) (partition hunk-type hunks)))
+ ;; Additions/removals.
+ (for-each
+ (lambda (hunk)
+ (and-let* ((define-line (find (cut string-match "(\\+|-)\\(define" <>)
+ (hunk-diff-lines hunk)))
+ (variable-name (and=> (string-tokenize define-line)
+ second))
+ (commit-message-proc (match (hunk-type hunk)
+ ('addition add-commit-message)
+ ('removal remove-commit-message))))
+ (commit-message-proc (hunk-file-name hunk) variable-name)
+ (let ((port (open-pipe* OPEN_WRITE
+ "git" "apply"
+ "--cached"
+ "--unidiff-zero")))
+ (hunk->patch hunk port)
+ (unless (eqv? 0 (status:exit-val (close-pipe port)))
+ (error "Cannot apply")))
- ;; Additions.
- (for-each (lambda (hunk)
- (and-let*
- ((define-line (find (cut string-prefix? "+(define" <>)
- (hunk-diff-lines hunk)))
- (variable-name (and=> (string-tokenize define-line) second)))
- (add-commit-message (hunk-file-name hunk) variable-name)
- (let ((port (open-pipe* OPEN_WRITE
- "git" "apply"
- "--cached"
- "--unidiff-zero")))
- (hunk->patch hunk port)
- (unless (eqv? 0 (status:exit-val (close-pipe port)))
- (error "Cannot apply")))
+ (let ((port (open-pipe* OPEN_WRITE "git" "commit" "-F" "-")))
+ (commit-message-proc (hunk-file-name hunk) variable-name port)
+ (usleep %delay)
+ (unless (eqv? 0 (status:exit-val (close-pipe port)))
+ (error "Cannot commit"))))
+ (usleep %delay))
+ definitions))
- (let ((port (open-pipe* OPEN_WRITE "git" "commit" "-F" "-")))
- (add-commit-message (hunk-file-name hunk)
- variable-name port)
- (usleep %delay)
+ ;; Changes.
+ (for-each
+ (match-lambda
+ ((new old . hunks)
+ (for-each (lambda (hunk)
+ (let ((port (open-pipe* OPEN_WRITE
+ "git" "apply"
+ "--cached"
+ "--unidiff-zero")))
+ (hunk->patch hunk port)
(unless (eqv? 0 (status:exit-val (close-pipe port)))
- (error "Cannot commit"))))
- (usleep %delay))
- definitions)
-
- ;; Changes.
- (for-each (match-lambda
- ((new old . hunks)
- (for-each (lambda (hunk)
- (let ((port (open-pipe* OPEN_WRITE
- "git" "apply"
- "--cached"
- "--unidiff-zero")))
- (hunk->patch hunk port)
- (unless (eqv? 0 (status:exit-val (close-pipe port)))
- (error "Cannot apply")))
- (usleep %delay))
- hunks)
- (define copyright-line
- (any (lambda (line) (and=> (string-prefix? "+;;; Copyright ©" line)
- (const line)))
- (hunk-diff-lines (first hunks))))
- (cond
- (copyright-line
- (add-copyright-line copyright-line))
- (else
- (let ((port (open-pipe* OPEN_WRITE "git" "commit" "-F" "-")))
- (change-commit-message* (hunk-file-name (first hunks))
- old new)
- (change-commit-message* (hunk-file-name (first hunks))
- old new
- port)
- (usleep %delay)
- (unless (eqv? 0 (status:exit-val (close-pipe port)))
- (error "Cannot commit")))))))
- ;; XXX: we recompute the hunks here because previous
- ;; insertions lead to offsets.
- (new+old+hunks (diff-info)))))))
+ (error "Cannot apply")))
+ (usleep %delay))
+ hunks)
+ (define copyright-line
+ (any (lambda (line) (and=> (string-prefix? "+;;; Copyright ©" line)
+ (const line)))
+ (hunk-diff-lines (first hunks))))
+ (cond
+ (copyright-line
+ (add-copyright-line copyright-line))
+ (else
+ (let ((port (open-pipe* OPEN_WRITE "git" "commit" "-F" "-")))
+ (change-commit-message* (hunk-file-name (first hunks))
+ old new)
+ (change-commit-message* (hunk-file-name (first hunks))
+ old new
+ port)
+ (usleep %delay)
+ (unless (eqv? 0 (status:exit-val (close-pipe port)))
+ (error "Cannot commit")))))))
+ ;; XXX: we recompute the hunks here because previous
+ ;; insertions lead to offsets.
+ (new+old+hunks (diff-info))))))
(apply main (cdr (command-line)))
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 004/602] utils: Add a 'delete-expression' procedure.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 002/602] etc/committer: Prefix (sxml xpath) symbols to avoid name conflict Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 003/602] etc/committer: Teach it how to commit package removal Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 005/602] utils: Add a %guix-source-root-directory procedure Maxim Cournoyer
` (99 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* guix/utils.scm: Fix copyright lines and order imports.
(edit-expression): Fix typo in doc. Add a new 'include-trailing-newline?'
keyword argument. Update doc.
(delete-expression): New procedure.
---
guix/utils.scm | 32 +++++++++++++++++++++-----------
1 file changed, 21 insertions(+), 11 deletions(-)
diff --git a/guix/utils.scm b/guix/utils.scm
index 44c46cb4a9..e169624ee6 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -8,12 +8,11 @@
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2018, 2020 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
-;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2018 Steve Sprang <scs@stevesprang.com>
-;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -38,7 +37,6 @@ (define-module (guix utils)
#:use-module (srfi srfi-26)
#:use-module (srfi srfi-39)
#:use-module (srfi srfi-71)
- #:use-module (ice-9 ftw)
#:use-module (rnrs io ports) ;need 'port-position' etc.
#:use-module ((rnrs bytevectors) #:select (bytevector-u8-set!))
#:use-module (guix memoization)
@@ -49,10 +47,11 @@ (define-module (guix utils)
#:use-module ((guix combinators) #:select (fold2))
#:use-module (guix diagnostics) ;<location>, &error-location, etc.
#:use-module (ice-9 format)
- #:use-module (ice-9 regex)
- #:use-module (ice-9 match)
- #:use-module (ice-9 format)
+ #:use-module (ice-9 ftw)
#:use-module ((ice-9 iconv) #:prefix iconv:)
+ #:use-module (ice-9 match)
+ #:use-module (ice-9 regex)
+ #:use-module (ice-9 rdelim)
#:use-module (ice-9 vlist)
#:autoload (zlib) (make-zlib-input-port make-zlib-output-port)
#:use-module (system foreign)
@@ -133,6 +132,7 @@ (define-module (guix utils)
readlink*
go-to-location
edit-expression
+ delete-expression
filtered-port
decompressed-port
@@ -433,11 +433,13 @@ (define (move-source-location-map! source target line)
(hash-set! %source-location-map target-key
`(,@target-stamp ,source-map)))))))
-(define* (edit-expression source-properties proc #:key (encoding "UTF-8"))
+(define* (edit-expression source-properties proc #:key (encoding "UTF-8")
+ include-trailing-newline?)
"Edit the expression specified by SOURCE-PROPERTIES using PROC, which should
be a procedure that takes the original expression in string and returns a new
-one. ENCODING will be used to interpret all port I/O, it default to UTF-8.
-This procedure returns #t on success."
+one. ENCODING will be used to interpret all port I/O, it defaults to UTF-8.
+This procedure returns #t on success. When INCLUDE-TRAILING-NEWLINE? is true,
+the trailing line is included in the edited expression."
(define file (assq-ref source-properties 'filename))
(define line (assq-ref source-properties 'line))
(define column (assq-ref source-properties 'column))
@@ -446,10 +448,14 @@ (define column (assq-ref source-properties 'column))
(call-with-input-file file
(lambda (in)
(let* ( ;; The start byte position of the expression.
- (start (begin (go-to-location in (+ 1 line) (+ 1 column))
+ (start (begin (go-to-location
+ in (+ 1 line) (+ 1 column))
(ftell in)))
;; The end byte position of the expression.
- (end (begin (read in) (ftell in))))
+ (end (begin (read in)
+ (when include-trailing-newline?
+ (read-line in))
+ (ftell in))))
(seek in 0 SEEK_SET) ; read from the beginning of the file.
(let* ((pre-bv (get-bytevector-n in start))
;; The expression in string form.
@@ -478,6 +484,10 @@ (define column (assq-ref source-properties 'column))
(move-source-location-map! (stat in) (stat file)
(+ 1 line))))))))))
+(define (delete-expression source-properties)
+ "Delete the expression specified by SOURCE-PROPERTIES."
+ (edit-expression source-properties (const "") #:include-trailing-newline? #t))
+
\f
;;;
;;; Keyword arguments.
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 005/602] utils: Add a %guix-source-root-directory procedure.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (2 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 004/602] utils: Add a 'delete-expression' procedure Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 006/602] diagnostics: Fix typo about 0-indexed COL in location Maxim Cournoyer
` (98 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* guix/utils.scm (%guix-source-root-directory): New procedure.
---
guix/utils.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/guix/utils.scm b/guix/utils.scm
index e169624ee6..37b2e29800 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -78,6 +78,7 @@ (define-module (guix utils)
substitute-keyword-arguments
ensure-keyword-arguments
+ %guix-source-root-directory
current-source-directory
nix-system->gnu-triplet
@@ -1031,6 +1032,10 @@ (define (read! bv start n)
;;; Source location.
;;;
+(define (%guix-source-root-directory)
+ "Return the source root directory of the Guix found in %load-path."
+ (dirname (absolute-dirname "guix/packages.scm")))
+
(define absolute-dirname
;; Memoize to avoid repeated 'stat' storms from 'search-path'.
(mlambda (file)
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 006/602] diagnostics: Fix typo about 0-indexed COL in location.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (3 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 005/602] utils: Add a %guix-source-root-directory procedure Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 007/602] gnu: Remove python-pytest-runner-2 Maxim Cournoyer
` (97 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* guix/diagnostics.scm (source-properties->location): The location column is
0-indexed, not 1-indexed (the same as in source-properties, so the code is
accurate).
---
guix/diagnostics.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/diagnostics.scm b/guix/diagnostics.scm
index bf1ced8140..9f0d558f2f 100644
--- a/guix/diagnostics.scm
+++ b/guix/diagnostics.scm
@@ -232,7 +232,7 @@ (define (source-properties->location loc)
by Guile's `source-properties', `frame-source', `current-source-location',
etc."
;; In accordance with the GCS, start line and column numbers at 1. Note
- ;; that unlike LINE and `port-column', COL is actually 1-indexed here...
+ ;; that unlike LINE and `port-column', COL is actually 0-indexed here...
(match loc
((('line . line) ('column . col) ('filename . file)) ;common case
(and file line col
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 007/602] gnu: Remove python-pytest-runner-2.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (4 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 006/602] diagnostics: Fix typo about 0-indexed COL in location Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 008/602] gnu: Remove python2-langkit Maxim Cournoyer
` (96 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python-pytest-runner-2): Delete variable.
(python2-pytest-runner): Likewise.
---
gnu/packages/check.scm | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 8e6576208c..ef1c7edd13 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1315,22 +1315,6 @@ (define-public python-pytest-runner
(define-public python2-pytest-runner
(package-with-python2 python-pytest-runner))
-;; python-bleach 3.1.0 requires this ancient version of pytest-runner.
-;; Remove once no longer needed.
-(define-public python-pytest-runner-2
- (package
- (inherit python-pytest-runner)
- (version "2.12.2")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "pytest-runner" version))
- (sha256
- (base32
- "11ivjj9hfphkv4yfb2g74av4yy86y8gcbf7gbif0p1hcdfnxg3w6"))))))
-
-(define-public python2-pytest-runner-2
- (package-with-python2 python-pytest-runner-2))
-
(define-public python-pytest-lazy-fixture
(package
(name "python-pytest-lazy-fixture")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 008/602] gnu: Remove python2-langkit.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (5 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 007/602] gnu: Remove python-pytest-runner-2 Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 009/602] gnu: Remove graphios Maxim Cournoyer
` (95 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/ada.scm (python2-langkit): Delete variable.
---
gnu/packages/ada.scm | 29 -----------------------------
1 file changed, 29 deletions(-)
diff --git a/gnu/packages/ada.scm b/gnu/packages/ada.scm
index a3bba245ec..ea3e9c365b 100644
--- a/gnu/packages/ada.scm
+++ b/gnu/packages/ada.scm
@@ -149,32 +149,3 @@ (define-public ada/ed
clauses, and thus does not support systems programming close to the machine
level.")
(license license:gpl2+)))
-
-(define-public python2-langkit
- (let ((commit "fe0bc8bf60dbd2937759810df76ac420d99fc15f")
- (revision "0"))
- (package
- (name "python2-langkit")
- (version (git-version "0.0.0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/AdaCore/langkit")
- (commit commit)))
- (sha256
- (base32
- "1abqgw2p8pb1pm54my5kkbbixfhc6l0bwajdv1xlzyrh31xki3wx"))
- (file-name (string-append name "-" version "-checkout"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python2-docutils python2-enum34 python2-funcy python2-mako))
- (arguments
- `(#:python ,python-2
- #:tests? #f)) ; Tests would requite gprbuild (Ada).
- (synopsis "Semantic analysis tool generator in Python")
- (description "@code{Langkit} is a tool whose purpose is to make it easy
-to create syntactic and semantic analysis engines. Write a language
-specification in our Python DSL and Langkit will generate for you an
-Ada library with bindings for the C and Python programming languages.")
- (home-page "https://github.com/AdaCore/langkit/")
- (license license:gpl3+)))) ; and gcc runtime library exception
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 009/602] gnu: Remove graphios.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (6 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 008/602] gnu: Remove python2-langkit Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 010/602] gnu: Remove python2-pyalsaaudio Maxim Cournoyer
` (94 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/admin.scm (graphios): Delete variable.
---
gnu/packages/admin.scm | 36 ------------------------------------
1 file changed, 36 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 34e4a6e8ca..591899dc79 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2567,42 +2567,6 @@ (define-public fdupes
specified directories.")
(license license:expat)))
-(define-public graphios
- (package
- (name "graphios")
- (version "2.0.3")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "graphios" version))
- (sha256
- (base32
- "1h87hvc315wg6lklbf4l7csd3n5pgljwrfli1p3nasdi0izgn66i"))))
- (build-system python-build-system)
- (arguments
- ;; Be warned: Building with Python 3 succeeds, but the build process
- ;; throws a syntax error that is ignored.
- `(#:python ,python-2
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'fix-setup.py
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Fix hardcoded, unprefixed file names.
- (let ((out (assoc-ref outputs "out")))
- (substitute* '("setup.py")
- (("/etc") (string-append out "/etc"))
- (("/usr") out)
- (("distro_ver = .*") "distro_ver = ''"))
- #t))))))
- (home-page "https://github.com/shawn-sterling/graphios")
- (synopsis "Emit Nagios metrics to Graphite, Statsd, and Librato")
- (description
- "Graphios is a script to emit nagios perfdata to various upstream metrics
-processing and time-series systems. It's currently compatible with Graphite,
-Statsd, Librato and InfluxDB. Graphios can emit Nagios metrics to any number
-of supported upstream metrics systems simultaneously.")
- (license license:gpl2+)))
-
(define-public ansible-core
(package
(name "ansible-core")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 010/602] gnu: Remove python2-pyalsaaudio.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (7 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 009/602] gnu: Remove graphios Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 011/602] gnu: Remove ingen Maxim Cournoyer
` (93 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/audio.scm (python2-pyalsaaudio): Delete variable.
---
gnu/packages/audio.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 6b16269670..402ec329c3 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -4347,9 +4347,6 @@ (define-public python-pyalsaaudio
mixers.")
(license license:psfl)))
-(define-public python2-pyalsaaudio
- (package-with-python2 python-pyalsaaudio))
-
(define-public ldacbt
(package
(name "ldacbt")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 011/602] gnu: Remove ingen.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (8 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 010/602] gnu: Remove python2-pyalsaaudio Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 012/602] gnu: Remove raul Maxim Cournoyer
` (92 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/music.scm (ingen): Delete variable.
---
gnu/packages/music.scm | 85 ------------------------------------------
1 file changed, 85 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 210af3b166..0b76e57acf 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4474,91 +4474,6 @@ (define-public mod-utilities
plugins, a switch trigger, a toggle switch, and a peakmeter.")
(license license:gpl2+))))
-(define-public ingen
- (let ((commit "cc4a4db33f4d126a07a4a498e053c5fb9a883be3")
- (revision "2"))
- (package
- (name "ingen")
- (version (string-append "0.0.0-" revision "."
- (string-take commit 9)))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://git.drobilla.net/ingen.git")
- (commit commit)))
- (file-name (string-append name "-" version "-checkout"))
- (sha256
- (base32
- "1wg47vjw9djn99gbnsl2bcwj4xhdid61m4wrbn2nlp797flj91ic"))))
- (build-system waf-build-system)
- (arguments
- `(#:python ,python-2
- #:tests? #f ; no "check" target
- #:configure-flags (list "--no-webkit")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-wscript
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (substitute* "wscript"
- ;; FIXME: Our version of lv2specgen.py does not behave as
- ;; expected. Maybe this requires a development version of
- ;; LV2.
- (("lv2specgen.py") "touch ingen.lv2/ingen.html; echo")
- ;; Add libraries to RUNPATH.
- (("^(.+)target.*= 'src/ingen/ingen'," line prefix)
- (string-append prefix
- "linkflags=[\"-Wl,-rpath="
- out "/lib" "\"]," line)))
- (substitute* '("src/wscript"
- "src/server/wscript")
- ;; Add libraries to RUNPATH.
- (("bld.env.PTHREAD_LINKFLAGS" line)
- (string-append line
- " + [\"-Wl,-rpath=" out "/lib" "\"]")))
- (substitute* "src/client/wscript"
- ;; Add libraries to RUNPATH.
- (("^(.+)target.*= 'ingen_client'," line prefix)
- (string-append prefix
- "linkflags=[\"-Wl,-rpath="
- out "/lib" "\"]," line)))
- (substitute* "src/gui/wscript"
- ;; Add libraries to RUNPATH.
- (("^(.+)target.* = 'ingen_gui.*" line prefix)
- (string-append prefix
- "linkflags=[\"-Wl,-rpath="
- out "/lib" "\"]," line))))
- #t)))))
- (inputs
- (list boost
- python-rdflib
- python
- jack-1
- lv2
- lilv
- raul-devel
- ganv
- suil
- serd
- sord
- sratom
- gtkmm-2))
- (native-inputs
- (list pkg-config python-pygments))
- (home-page "https://drobilla.net/software/ingen")
- (synopsis "Modular audio processing system")
- (description "Ingen is a modular audio processing system for JACK and
-LV2 based systems. Ingen is built around LV2 technology and a strict
-separation of engine from user interface. The engine is controlled
-exclusively through a protocol, and can execute as a headless process, with an
-in-process GUI, or as an LV2 plugin. The GUI can run as a program which
-communicates over a Unix or TCP/IP socket, or as an embeddable LV2 GUI which
-communicates via LV2 ports. Any saved Ingen graph can be loaded as an LV2
-plugin on any system where Ingen is installed. This allows users to visually
-develop custom plugins for use in other applications without programming.")
- (license license:agpl3+))))
-
(define-public qmidiarp
(package
(name "qmidiarp")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 012/602] gnu: Remove raul.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (9 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 011/602] gnu: Remove ingen Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 013/602] gnu: Remove raul-devel Maxim Cournoyer
` (91 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/audio.scm (raul): Delete variable.
---
gnu/packages/audio.scm | 26 --------------------------
1 file changed, 26 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 402ec329c3..6936a100df 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3163,32 +3163,6 @@ (define-public libshout-idjc
;; GNU Library (not Lesser) General Public License.
(license license:lgpl2.0+)))
-(define-public raul
- (package
- (name "raul")
- (version "0.8.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://download.drobilla.net/raul-"
- version ".tar.bz2"))
- (sha256
- (base32
- "09ms40xc1x6qli6lxkwn5ibqh62nl9w7dq0b6jh1q2zvnrxwsd8b"))))
- (build-system waf-build-system)
- (arguments
- `(#:python ,python-2
- #:tests? #f)) ; no check target
- (inputs
- (list glib boost))
- (native-inputs
- (list pkg-config))
- (home-page "https://drobilla.net/software/raul/")
- (synopsis "Real-time audio utility library")
- (description
- "Raul (Real-time Audio Utility Library) is a C++ utility library primarily
-aimed at audio/musical applications.")
- (license license:gpl2+)))
-
(define-public raul-devel
(let ((commit "4db870b2b20b0a608ec0283139056b836c5b1624")
(revision "1"))
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 013/602] gnu: Remove raul-devel.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (10 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 012/602] gnu: Remove raul Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 014/602] gnu: Remove python2-pyaudio Maxim Cournoyer
` (90 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/audio.scm (raul-devel): Delete variable.
---
gnu/packages/audio.scm | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 6936a100df..c07f9c3156 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3163,23 +3163,6 @@ (define-public libshout-idjc
;; GNU Library (not Lesser) General Public License.
(license license:lgpl2.0+)))
-(define-public raul-devel
- (let ((commit "4db870b2b20b0a608ec0283139056b836c5b1624")
- (revision "1"))
- (package (inherit raul)
- (name "raul")
- (version (string-append "0.8.9-" revision "."
- (string-take commit 9)))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://git.drobilla.net/raul.git")
- (commit commit)))
- (file-name (string-append name "-" version "-checkout"))
- (sha256
- (base32
- "04fajrass3ymr72flx5js5vxc601ccrmx8ny8scp0rw7j0igyjdr")))))))
-
(define-public resample
(package
(name "resample")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 014/602] gnu: Remove python2-pyaudio.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (11 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 013/602] gnu: Remove raul-devel Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 015/602] gnu: Remove python2-fastalite Maxim Cournoyer
` (89 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/audio.scm (python2-pyaudio): Delete variable.
---
gnu/packages/audio.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index c07f9c3156..d2f8f2e5ce 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2568,9 +2568,6 @@ (define-public python-pyaudio
cross-platform audio input/output stream library.")
(license license:expat)))
-(define-public python2-pyaudio
- (package-with-python2 python-pyaudio))
-
(define-public python-pyliblo
(package
(name "python-pyliblo")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 015/602] gnu: Remove python2-fastalite.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (12 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 014/602] gnu: Remove python2-pyaudio Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 016/602] gnu: Remove grit Maxim Cournoyer
` (88 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (python2-fastalite): Delete variable.
---
gnu/packages/bioinformatics.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 33bf0921d1..6037a100aa 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1305,9 +1305,6 @@ (define-public python-fastalite
relying on a complex dependency tree.")
(license license:expat)))
-(define-public python2-fastalite
- (package-with-python2 python-fastalite))
-
(define-public biosoup
(package
(name "biosoup")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 016/602] gnu: Remove grit.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (13 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 015/602] gnu: Remove python2-fastalite Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 017/602] gnu: Remove ribodiff Maxim Cournoyer
` (87 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (grit): Delete variable.
---
gnu/packages/bioinformatics.scm | 42 ---------------------------------
1 file changed, 42 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 6037a100aa..c754cdb176 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4024,48 +4024,6 @@ (define-public gemma
genome-wide association studies}.")
(license license:gpl3)))
-(define-public grit
- (package
- (name "grit")
- (version "2.0.5")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/nboley/grit")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1l5v8vfvfbrpmgnrvbrbv40d0arhxcnmxgv2f1mlcqfa3q6bkqm9"))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'generate-from-cython-sources
- (lambda* (#:key inputs outputs #:allow-other-keys)
- ;; Delete these C files to force fresh generation from pyx sources.
- (delete-file "grit/sparsify_support_fns.c")
- (delete-file "grit/call_peaks_support_fns.c")
- (substitute* "setup.py"
- (("Cython.Setup") "Cython.Build"))
- #t)))))
- (inputs
- (list python2-scipy python2-numpy python2-pysam python2-networkx))
- (native-inputs
- (list python2-cython))
- ;; The canonical <http://grit-bio.org> home page times out as of 2020-01-21.
- (home-page "https://github.com/nboley/grit")
- (synopsis "Tool for integrative analysis of RNA-seq type assays")
- (description
- "GRIT is designed to use RNA-seq, TES, and TSS data to build and quantify
-full length transcript models. When none of these data sources are available,
-GRIT can be run by providing a candidate set of TES or TSS sites. In
-addition, GRIT can merge in reference junctions and gene boundaries. GRIT can
-also be run in quantification mode, where it uses a provided GTF file and just
-estimates transcript expression.")
- (license license:gpl3+)))
-
(define-public hisat
(package
(name "hisat")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 017/602] gnu: Remove ribodiff.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (14 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 016/602] gnu: Remove grit Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 018/602] gnu: Remove python2-pybigwig Maxim Cournoyer
` (86 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (ribodiff): Delete variable.
---
gnu/packages/bioinformatics.scm | 46 ---------------------------------
1 file changed, 46 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index c754cdb176..902e65394d 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -839,52 +839,6 @@ (define-public ribotaper
provides the Ribotaper pipeline.")
(license license:gpl3+)))
-(define-public ribodiff
- (package
- (name "ribodiff")
- (version "0.2.2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/ratschlab/RiboDiff")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0x75nlp7qnmm64jasbi6l21f2cy99r2cjyl6b4hr8zf2bq22drnz"))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2
- #:phases
- (modify-phases %standard-phases
- ;; This test fails because of the matplotlib plotting backend.
- (add-after 'unpack 'disable-plot-test
- (lambda _
- (substitute* "src/ribodiff/functional_test_te.py"
- (("pl\\.make_plots\\(data, opts\\)") "#"))))
- ;; Generate an installable executable script wrapper.
- (add-after 'unpack 'patch-setup.py
- (lambda _
- (substitute* "setup.py"
- (("^(.*)packages=.*" line prefix)
- (string-append line "\n"
- prefix "scripts=['scripts/TE.py'],\n"))))))))
- (inputs
- (list python2-numpy python2-matplotlib python2-scipy
- python2-statsmodels))
- (native-inputs
- (list python2-mock python2-nose))
- (home-page "https://public.bmi.inf.ethz.ch/user/zhongy/RiboDiff/")
- (synopsis "Detect translation efficiency changes from ribosome footprints")
- (description "RiboDiff is a statistical tool that detects the protein
-translational efficiency change from Ribo-Seq (ribosome footprinting) and
-RNA-Seq data. It uses a generalized linear model to detect genes showing
-difference in translational profile taking mRNA abundance into account. It
-facilitates us to decipher the translational regulation that behave
-independently with transcriptional regulation.")
- (license license:gpl3+)))
-
(define-public bioawk
(package
(name "bioawk")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 018/602] gnu: Remove python2-pybigwig.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (15 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 017/602] gnu: Remove ribodiff Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 019/602] gnu: tetoolkit: Update to 2.2.1b Maxim Cournoyer
` (85 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (python2-pybigwig): Delete variable.
---
gnu/packages/bioinformatics.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 902e65394d..8b9c8c65c2 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2853,9 +2853,6 @@ (define-public python-pybigwig
accessing bigWig files.")
(license license:expat)))
-(define-public python2-pybigwig
- (package-with-python2 python-pybigwig))
-
(define-public python-schema-salad
(package
(name "python-schema-salad")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 019/602] gnu: tetoolkit: Update to 2.2.1b.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (16 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 018/602] gnu: Remove python2-pybigwig Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 020/602] gnu: Remove pepr Maxim Cournoyer
` (84 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (tetoolkit): Update to 2.2.1b.
[python]: Delete argument.
[phases]: Delete trailing #t.
{make-writable}: Delete phase.
{adjust-requirements}: New phase.
{patch-invocations}: Use search-input-file.
{wrap-program}: Use search-input-file.
[inputs]: Remove python2-argparse. Replace python2-pysam with python-pysam.
[home-page]: Update URL.
---
gnu/packages/bioinformatics.scm | 53 +++++++++++++++++----------------
1 file changed, 27 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 8b9c8c65c2..72d033888f 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2390,59 +2390,60 @@ (define-public python-plastid
(define-public tetoolkit
(package
(name "tetoolkit")
- (version "2.0.3")
+ (version "2.2.1b")
(source (origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/mhammell-laboratory/tetoolkit")
+ (url "https://github.com/mhammell-laboratory/TEtranscripts")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
- "1yzi0kfpzip8zpjb82x1ik6h22yzfyjiz2dv85v6as2awwqvk807"))))
+ "1m3xsydakhdan9gp9mfdz7llka5g6ak91d0mbl1cmmxq9qs6an4y"))))
(build-system python-build-system)
(arguments
- `(#:python ,python-2 ; not guaranteed to work with Python 3
- #:phases
+ `(#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'make-writable
+ (add-after 'unpack 'adjust-requirements
(lambda _
- (for-each make-file-writable (find-files "."))
- #t))
+ (substitute* "setup.py"
+ ;; This defunct dependency isn't required for Python 3 (see:
+ ;; https://github.com/mhammell-laboratory/TEtranscripts/issues/111).
+ ((".*'argparse'.*") ""))))
(add-after 'unpack 'patch-invocations
(lambda* (#:key inputs #:allow-other-keys)
(substitute* '("bin/TEtranscripts"
"bin/TEcount")
(("'sort ")
- (string-append "'" (which "sort") " "))
+ (string-append "'" (search-input-file inputs "bin/sort") " "))
(("'rm -f ")
- (string-append "'" (which "rm") " -f "))
- (("'Rscript'") (string-append "'" (which "Rscript") "'")))
+ (string-append "'" (search-input-file inputs "bin/rm") " -f "))
+ (("'Rscript'")
+ (string-append "'" (search-input-file inputs "bin/Rscript")
+ "'")))
(substitute* "TEToolkit/IO/ReadInputs.py"
- (("BamToBED") (which "bamToBed")))
+ (("BamToBED")
+ (search-input-file inputs "bin/bamToBed")))
(substitute* "TEToolkit/Normalization.py"
(("\"Rscript\"")
- (string-append "\"" (which "Rscript") "\"")))
- #t))
+ (string-append "\"" (search-input-file inputs "bin/Rscript")
+ "\"")))))
(add-after 'install 'wrap-program
(lambda* (#:key outputs #:allow-other-keys)
;; Make sure the executables find R packages.
- (let ((out (assoc-ref outputs "out")))
- (for-each
- (lambda (script)
- (wrap-program (string-append out "/bin/" script)
- `("R_LIBS_SITE" ":" = (,(getenv "R_LIBS_SITE")))))
- '("TEtranscripts"
- "TEcount")))
- #t)))))
+ (for-each (lambda (script)
+ (wrap-program script
+ `("R_LIBS_SITE" ":" = (,(getenv "R_LIBS_SITE")))))
+ (list (search-input-file outputs "bin/TEtranscripts")
+ (search-input-file outputs "bin/TEcount"))))))))
(inputs
- (list coreutils
+ (list bash-minimal
+ coreutils
bedtools
- python2-argparse
- python2-pysam
+ python-pysam
r-minimal
r-deseq2))
- (home-page "https://github.com/mhammell-laboratory/tetoolkit")
+ (home-page "https://github.com/mhammell-laboratory/TEtranscripts")
(synopsis "Transposable elements in differential enrichment analysis")
(description
"This is package for including transposable elements in differential
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 020/602] gnu: Remove pepr.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (17 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 019/602] gnu: tetoolkit: Update to 2.2.1b Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 8:17 ` Maxime Devos
2022-05-15 4:36 ` [bug#55424] [PATCH 021/602] gnu: Remove python2-htseq Maxim Cournoyer
` (83 subsequent siblings)
102 siblings, 1 reply; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (pepr): Delete variable.
---
gnu/packages/bioinformatics.scm | 26 --------------------------
1 file changed, 26 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 72d033888f..250d075b6e 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -8726,32 +8726,6 @@ (define-public piranha
may optionally be provided to further inform the peak-calling process.")
(license license:gpl3+))))
-(define-public pepr
- (package
- (name "pepr")
- (version "1.0.9")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "PePr" version))
- (sha256
- (base32
- "0qxjfdpl1b1y53nccws2d85f6k74zwmx8y8sd9rszcqhfayx6gdx"))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2 ; python2 only
- #:tests? #f)) ; no tests included
- (propagated-inputs
- (list python2-numpy python2-scipy python2-pysam))
- (home-page "https://github.com/shawnzhangyx/PePr")
- (synopsis "Peak-calling and prioritization pipeline for ChIP-Seq data")
- (description
- "PePr is a ChIP-Seq peak calling or differential binding analysis tool
-that is primarily designed for data with biological replicates. It uses a
-negative binomial distribution to model the read counts among the samples in
-the same group, and look for consistent differences between ChIP and control
-group or two ChIP groups run under different conditions.")
- (license license:gpl3+)))
-
(define-public filevercmp
(let ((commit "1a9b779b93d0b244040274794d402106907b71b7")
(revision "1"))
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 020/602] gnu: Remove pepr.
2022-05-15 4:36 ` [bug#55424] [PATCH 020/602] gnu: Remove pepr Maxim Cournoyer
@ 2022-05-15 8:17 ` Maxime Devos
2022-05-16 3:11 ` Maxim Cournoyer
0 siblings, 1 reply; 133+ messages in thread
From: Maxime Devos @ 2022-05-15 8:17 UTC (permalink / raw)
To: Maxim Cournoyer, 55424
[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]
Maxim Cournoyer schreef op zo 15-05-2022 om 00:36 [-0400]:
> -(define-public pepr
> - (package
> - (name "pepr")
> - (version "1.0.9")
> - (source (origin
> - (method url-fetch)
> - (uri (pypi-uri "PePr" version))
> - (sha256
> - (base32
> - "0qxjfdpl1b1y53nccws2d85f6k74zwmx8y8sd9rszcqhfayx6gdx"))))
> - (build-system python-build-system)
> - (arguments
> - `(#:python ,python-2 ; python2 only
Looking at <https://github.com/shawnzhangyx/PePr/issues/33>
and <https://github.com/shawnzhangyx/PePr/issues/30>, it appears that
Python2->3 issues have been fixed. At least, those that the maintainer
is aware of.
The latest version apparently is 1.1.24
<https://github.com/shawnzhangyx/PePr/blob/master/PePr/__init__.py>,
although it does not have a tag. According to the ‘latest commit ...’
text on GitHub, this version number appears in commit
<https://github.com/shawnzhangyx/PePr/commit/f1676cdaad4c4f9704ecea328ce3b814fb49b6fc>.
So maybe updating 'pepr' would be sufficient?
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 020/602] gnu: Remove pepr.
2022-05-15 8:17 ` Maxime Devos
@ 2022-05-16 3:11 ` Maxim Cournoyer
0 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-16 3:11 UTC (permalink / raw)
To: Maxime Devos; +Cc: 55424
Hello Maxime,
Maxime Devos <maximedevos@telenet.be> writes:
> Maxim Cournoyer schreef op zo 15-05-2022 om 00:36 [-0400]:
>> -(define-public pepr
>> - (package
>> - (name "pepr")
>> - (version "1.0.9")
>> - (source (origin
>> - (method url-fetch)
>> - (uri (pypi-uri "PePr" version))
>> - (sha256
>> - (base32
>> - "0qxjfdpl1b1y53nccws2d85f6k74zwmx8y8sd9rszcqhfayx6gdx"))))
>> - (build-system python-build-system)
>> - (arguments
>> - `(#:python ,python-2 ; python2 only
>
> Looking at <https://github.com/shawnzhangyx/PePr/issues/33>
> and <https://github.com/shawnzhangyx/PePr/issues/30>, it appears that
> Python2->3 issues have been fixed. At least, those that the maintainer
> is aware of.
>
> The latest version apparently is 1.1.24
> <https://github.com/shawnzhangyx/PePr/blob/master/PePr/__init__.py>,
> although it does not have a tag. According to the ‘latest commit ...’
> text on GitHub, this version number appears in commit
> <https://github.com/shawnzhangyx/PePr/commit/f1676cdaad4c4f9704ecea328ce3b814fb49b6fc>.
>
> So maybe updating 'pepr' would be sufficient?
Unfortunately, no;
*** File "/gnu/store/ba7i5cbiznn4j712d8g8ij5az0jmba7b-pepr-1.1.24-0.05f20c6/lib/python3.9/site-packages/PePr/utilities/find_peak_mode.py", line 108
print chr
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(chr)?
That's when using the last commit.
Thanks,
Maxim
^ permalink raw reply [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 021/602] gnu: Remove python2-htseq.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (18 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 020/602] gnu: Remove pepr Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 022/602] gnu: Remove python2-pybedtools Maxim Cournoyer
` (82 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (python2-htseq): Delete variable.
---
gnu/packages/bioinformatics.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 250d075b6e..8e7615cef0 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4156,9 +4156,6 @@ (define-public htseq
from high-throughput sequencing assays.")
(license license:gpl3+)))
-(define-public python2-htseq
- (package-with-python2 htseq))
-
(define-public java-htsjdk
(package
(name "java-htsjdk")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 022/602] gnu: Remove python2-pybedtools.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (19 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 021/602] gnu: Remove python2-htseq Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 023/602] gnu: Remove bamm Maxim Cournoyer
` (81 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (python2-pybedtools): Delete variable.
---
gnu/packages/bioinformatics.scm | 8 --------
1 file changed, 8 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 8e7615cef0..9d4fcbb188 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -980,14 +980,6 @@ (define (cythonized? c/c++-file)
Python.")
(license license:gpl2+)))
-(define-public python2-pybedtools
- (let ((pybedtools (package-with-python2 python-pybedtools)))
- (package
- (inherit pybedtools)
- (native-inputs
- (modify-inputs (package-native-inputs pybedtools)
- (prepend python2-pathlib))))))
-
(define-public python-biom-format
(package
(name "python-biom-format")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 023/602] gnu: Remove bamm.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (20 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 022/602] gnu: Remove python2-pybedtools Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 024/602] gnu: Remove python2-dendropy Maxim Cournoyer
` (80 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (bamm): Delete variable.
---
gnu/packages/bioinformatics.scm | 79 ---------------------------------
1 file changed, 79 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 9d4fcbb188..5f637fe29a 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -210,85 +210,6 @@ (define-public aragorn
structure of the predicted RNA.")
(license license:gpl2)))
-(define-public bamm
- (package
- (name "bamm")
- (version "1.7.3")
- (source (origin
- (method git-fetch)
- ;; BamM is not available on pypi.
- (uri (git-reference
- (url "https://github.com/Ecogenomics/BamM")
- (commit version)
- (recursive? #t)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1p83ahi984ipslxlg4yqy1gdnya9rkn1v71z8djgxkm9d2chw4c5"))
- (modules '((guix build utils)))
- (snippet
- `(begin
- ;; Delete bundled htslib.
- (delete-file-recursively "c/htslib-1.3.1")))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2 ; BamM is Python 2 only.
- ;; Do not use bundled libhts. Do use the bundled libcfu because it has
- ;; been modified from its original form.
- #:configure-flags
- ,#~(let ((htslib #$(this-package-input "htslib")))
- (list "--with-libhts-lib" (string-append htslib "/lib")
- "--with-libhts-inc" (string-append htslib "/include/htslib")))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'autogen
- (lambda _
- (with-directory-excursion "c"
- (let ((sh (which "sh")))
- (for-each make-file-writable (find-files "." ".*"))
- ;; Use autogen so that 'configure' works.
- (substitute* "autogen.sh" (("/bin/sh") sh))
- (setenv "CONFIG_SHELL" sh)
- (invoke "./autogen.sh")))))
- (delete 'build) ;the build loops otherwise
- (replace 'check
- (lambda _
- ;; There are 2 errors printed, but they are safe to ignore:
- ;; 1) [E::hts_open_format] fail to open file ...
- ;; 2) samtools view: failed to open ...
- (invoke "nosetests")))
- (add-after 'install 'wrap-executable
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (path (getenv "PATH"))
- (pythonpath (getenv "GUIX_PYTHONPATH")))
- (wrap-program (string-append out "/bin/bamm")
- `("PATH" ":" prefix (,path))
- `("GUIX_PYTHONPATH" ":" prefix (,pythonpath)))))))))
- (native-inputs
- (list autoconf
- automake
- libtool
- zlib
- python2-nose
- python2-pysam))
- (inputs
- (list htslib-1.3 ; At least one test fails on htslib-1.4+.
- samtools
- bwa
- grep
- sed
- coreutils))
- (propagated-inputs
- (list python2-numpy))
- (home-page "https://ecogenomics.github.io/BamM/")
- (synopsis "Metagenomics-focused BAM file manipulator")
- (description
- "BamM is a C library, wrapped in python, to efficiently generate and
-parse BAM files, specifically for the analysis of metagenomic data. For
-instance, it implements several methods to assess contig-wise read coverage.")
- (license license:lgpl3+)))
-
(define-public bamtools
(package
(name "bamtools")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 024/602] gnu: Remove python2-dendropy.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (21 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 023/602] gnu: Remove bamm Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 025/602] gnu: Remove poretools Maxim Cournoyer
` (79 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (python2-dendropy): Delete variable.
---
gnu/packages/bioinformatics.scm | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 5f637fe29a..cb3328cc1c 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2954,22 +2954,6 @@ (define-public python-dendropy
trees (phylogenies) and characters.")
(license license:bsd-3)))
-(define-public python2-dendropy
- (let ((base (package-with-python2 python-dendropy)))
- (package/inherit base
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'remove-failing-test
- (lambda _
- ;; This test fails when the full test suite is run, as documented
- ;; at https://github.com/jeetsukumaran/DendroPy/issues/74
- (substitute* "tests/test_dataio_nexml_reader_tree_list.py"
- (("test_collection_comments_and_annotations")
- "do_not_test_collection_comments_and_annotations"))
- #t)))
- ,@(package-arguments base))))))
-
(define-public python-py2bit
(package
(name "python-py2bit")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 025/602] gnu: Remove poretools.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (22 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 024/602] gnu: Remove python2-dendropy Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 026/602] gnu: Remove python2-warpedlmm Maxim Cournoyer
` (78 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (poretools): Delete variable.
---
gnu/packages/bioinformatics.scm | 36 ---------------------------------
1 file changed, 36 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index cb3328cc1c..c70b9e3aa7 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -12855,42 +12855,6 @@ (define-public porechop
Barcoding Kit or Rapid Barcoding Kit.")
(license license:gpl3+))))
-(define-public poretools
- ;; The latest release was in 2016 and the latest commit is from 2017
- ;; the recommended way to install is to clone the git repository
- ;; https://poretools.readthedocs.io/en/latest/content/installation.html
- (let ((commit "e426b1f09e86ac259a00c261c79df91510777407")
- (revision "1"))
- (package
- (name "poretools")
- (version (git-version "0.6.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/arq5x/poretools")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0bglj833wxpp3cq430p1d3xp085ls221js2y90w7ir2x5ay8l7am"))))
- (build-system python-build-system)
- ;; requires python >=2.7, <3.0, and the same for python dependencies
- (arguments `(#:python ,python-2))
- (inputs
- (list hdf5))
- (propagated-inputs
- (list python2-dateutil python2-h5py python2-matplotlib
- python2-pandas python2-seaborn))
- (home-page "https://poretools.readthedocs.io")
- (synopsis "Toolkit for working with nanopore sequencing data")
- (description
- "The MinION from Oxford Nanopore Technologies is a nanopore sequencer.
-This @code{poretools} package is a flexible toolkit for exploring datasets
-generated by nanopore sequencing devices for the purposes of quality control and
-downstream analysis. Poretools operates directly on the native FAST5, a variant
-of the Hierarchical Data Format (HDF5) standard.")
- (license license:expat))))
-
(define-public jamm
(package
(name "jamm")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 026/602] gnu: Remove python2-warpedlmm.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (23 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 025/602] gnu: Remove poretools Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 027/602] gnu: Remove miso Maxim Cournoyer
` (77 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (python2-warpedlmm): Delete variable.
---
gnu/packages/bioinformatics.scm | 41 ---------------------------------
1 file changed, 41 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index c70b9e3aa7..b0ad03612e 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5365,47 +5365,6 @@ (define-public python2-pbcore
files and writing bioinformatics applications.")
(license license:bsd-3)))
-(define-public python2-warpedlmm
- (package
- (name "python2-warpedlmm")
- (version "0.21")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "WarpedLMM" version ".zip"))
- (sha256
- (base32
- "1agfz6zqa8nc6cw47yh0s3y14gkpa9wqazwcj7mwwj3ffnw39p3j"))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2 ; requires Python 2.7
- #:tests? #f ; test data are not included
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'use-weave
- (lambda _
- (substitute* "warpedlmm/util/linalg.py"
- (("from scipy import linalg, weave")
- "from scipy import linalg\nimport weave"))
- #t)))))
- (propagated-inputs
- (list python2-scipy
- python2-numpy
- python2-matplotlib
- python2-fastlmm
- python2-pandas
- python2-pysnptools
- python2-weave))
- (native-inputs
- (list python2-mock python2-nose unzip))
- (home-page "https://github.com/PMBio/warpedLMM")
- (synopsis "Implementation of warped linear mixed models")
- (description
- "WarpedLMM is a Python implementation of the warped linear mixed model,
-which automatically learns an optimal warping function (or transformation) for
-the phenotype as it models the data.")
- (license license:asl2.0)))
-
(define-public prank
(package
(name "prank")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 027/602] gnu: Remove miso.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (24 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 026/602] gnu: Remove python2-warpedlmm Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 028/602] gnu: Remove python2-screed Maxim Cournoyer
` (76 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (miso): Delete variable.
---
gnu/packages/bioinformatics.scm | 48 ---------------------------------
1 file changed, 48 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b0ad03612e..d4354e8ea8 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5194,54 +5194,6 @@ (define-public minced
assembled metagenomic sequence.")
(license license:gpl3+)))
-(define-public miso
- (let ((commit "b71402188000465e3430736a11ea118fd5639a4a")
- (revision "1"))
- (package
- (name "miso")
- (version (git-version "0.5.4" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/yarden/MISO/")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0x37ipwwvpxbkrg17gmq3hp92c9cphch8acd6cj7fqgnrjwd47g5"))
- (modules '((guix build utils)))
- (snippet
- '(substitute* "setup.py"
- ;; Use "gcc" instead of "cc" for compilation.
- (("^defines")
- "cc.set_executables(
-compiler='gcc',
-compiler_so='gcc',
-linker_exe='gcc',
-linker_so='gcc -shared'); defines")))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2 ; only Python 2 is supported
- #:tests? #f)) ; no "test" target
- (inputs
- ;; Samtools must not be newer than 1.2. See
- ;; https://github.com/yarden/MISO/issues/135
- (list samtools-1.2 python2-numpy python2-pysam python2-scipy
- python2-matplotlib))
- (native-inputs
- (list python2-mock ; for tests
- python2-pytz)) ; for tests
- (home-page "https://miso.readthedocs.io/en/fastmiso/")
- (synopsis "Mixture of Isoforms model for RNA-Seq isoform quantitation")
- (description
- "MISO (Mixture-of-Isoforms) is a probabilistic framework that quantitates
-the expression level of alternatively spliced genes from RNA-Seq data, and
-identifies differentially regulated isoforms or exons across samples. By
-modeling the generative process by which reads are produced from isoforms in
-RNA-Seq, the MISO model uses Bayesian inference to compute the probability
-that a read originated from a particular isoform.")
- (license license:gpl2))))
-
(define-public muscle
(package
(name "muscle")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 028/602] gnu: Remove python2-screed.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (25 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 027/602] gnu: Remove miso Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 029/602] gnu: Remove python2-pyfaidx Maxim Cournoyer
` (75 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (python2-screed): Delete variable.
---
gnu/packages/bioinformatics.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index d4354e8ea8..3debc32ea9 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -6544,9 +6544,6 @@ (define-public python-screed
sequence itself can be retrieved from these databases.")
(license license:bsd-3)))
-(define-public python2-screed
- (package-with-python2 python-screed))
-
(define-public sra-tools
(package
(name "sra-tools")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 029/602] gnu: Remove python2-pyfaidx.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (26 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 028/602] gnu: Remove python2-screed Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 030/602] gnu: Remove python2-pbcore Maxim Cournoyer
` (74 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (python2-pyfaidx): Delete variable.
---
gnu/packages/bioinformatics.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 3debc32ea9..dd811815e0 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -12316,9 +12316,6 @@ (define-public python-pyfaidx
fasta subsequences.")
(license license:bsd-3)))
-(define-public python2-pyfaidx
- (package-with-python2 python-pyfaidx))
-
(define-public python-cooler
(package
(name "python-cooler")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 030/602] gnu: Remove python2-pbcore.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (27 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 029/602] gnu: Remove python2-pyfaidx Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 031/602] gnu: Remove pyicoteo Maxim Cournoyer
` (73 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (python2-pbcore): Delete variable.
---
gnu/packages/bioinformatics.scm | 33 ---------------------------------
1 file changed, 33 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index dd811815e0..bda958f6f5 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5284,39 +5284,6 @@ (define-public orfm
(home-page "https://github.com/wwood/OrfM")
(license license:lgpl3+)))
-(define-public python2-pbcore
- (package
- (name "python2-pbcore")
- (version "1.2.10")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "pbcore" version))
- (sha256
- (base32
- "1kjmv891d6qbpp4shhhvkl02ff4q5xlpnls2513sm2cjcrs52f1i"))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2 ;pbcore < 2.0 requires Python 2.7
- #:phases (modify-phases %standard-phases
- (add-after 'unpack 'remove-sphinx-dependency
- (lambda _
- ;; Sphinx is only required for documentation tests, which
- ;; we do not run; furthermore it depends on python2-sphinx
- ;; which is no longer maintained.
- (substitute* "requirements-dev.txt"
- (("^sphinx") ""))
- #t)))))
- (propagated-inputs
- (list python2-cython python2-numpy python2-pysam python2-h5py))
- (native-inputs
- (list python2-nose python2-pyxb))
- (home-page "https://pacificbiosciences.github.io/pbcore/")
- (synopsis "Library for reading and writing PacBio data files")
- (description
- "The pbcore package provides Python APIs for interacting with PacBio data
-files and writing bioinformatics applications.")
- (license license:bsd-3)))
-
(define-public prank
(package
(name "prank")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 031/602] gnu: Remove pyicoteo.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (28 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 030/602] gnu: Remove python2-pbcore Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:36 ` [bug#55424] [PATCH 032/602] gnu: Remove transmission-remote-cli Maxim Cournoyer
` (72 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bioinformatics.scm (pyicoteo): Delete variable.
---
gnu/packages/bioinformatics.scm | 39 ---------------------------------
1 file changed, 39 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index bda958f6f5..0fd7844a26 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5405,45 +5405,6 @@ (define-public proteinortho
large-scale data and can be applied to hundreds of species at once.")
(license license:gpl3+)))
-(define-public pyicoteo
- (package
- (name "pyicoteo")
- (version "2.0.7")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://bitbucket.org/regulatorygenomicsupf/pyicoteo.git")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0hz5g8d25lbjy1wpscr490l0lmyvaix893hhax4fxnh1h9w34w8p"))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2 ; does not work with Python 3
- #:tests? #f)) ; there are no tests
- (inputs
- (list python2-matplotlib))
- (home-page "https://bitbucket.org/regulatorygenomicsupf/pyicoteo")
- (synopsis "Analyze high-throughput genetic sequencing data")
- (description
- "Pyicoteo is a suite of tools for the analysis of high-throughput genetic
-sequencing data. It works with genomic coordinates. There are currently six
-different command-line tools:
-
-@enumerate
-@item pyicoregion: for generating exploratory regions automatically;
-@item pyicoenrich: for differential enrichment between two conditions;
-@item pyicoclip: for calling CLIP-Seq peaks without a control;
-@item pyicos: for genomic coordinates manipulation;
-@item pyicoller: for peak calling on punctuated ChIP-Seq;
-@item pyicount: to count how many reads from N experiment files overlap in a
- region file;
-@item pyicotrocol: to combine operations from pyicoteo.
-@end enumerate\n")
- (license license:gpl3+)))
-
(define-public prodigal
(package
(name "prodigal")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 032/602] gnu: Remove transmission-remote-cli.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (29 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 031/602] gnu: Remove pyicoteo Maxim Cournoyer
@ 2022-05-15 4:36 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 033/602] gnu: Remove python2-nose-timer Maxim Cournoyer
` (71 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:36 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/bittorrent.scm (transmission-remote-cli): Delete variable.
---
gnu/packages/bittorrent.scm | 43 -------------------------------------
1 file changed, 43 deletions(-)
diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index 0191bb8e1b..1c9358b896 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -255,49 +255,6 @@ (define-public tremc
(home-page "https://github.com/tremc/tremc")
(license l:gpl3+)))
-(define-public transmission-remote-cli
- (package
- (name "transmission-remote-cli")
- (version "1.7.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/fagga/transmission-remote-cli")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "09w9f8vrm61lapin8fmq4rgahr95y3c6wss10g0fgd0kl16f895v"))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2 ; only supports Python 2
- #:tests? #f ; no test suite
- #:phases (modify-phases %standard-phases
- ;; The software is just a Python script that must be
- ;; copied into place.
- (delete 'build)
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin"))
- (man (string-append out "/share/man/man1"))
- ;; FIXME install zsh completions
- (completions (string-append out "/etc/bash_completion.d")))
- (install-file "transmission-remote-cli" bin)
- (install-file "transmission-remote-cli.1" man)
- (install-file
- (string-append
- "completion/bash/"
- "transmission-remote-cli-bash-completion.sh")
- completions)))))))
- (synopsis "Console client for the Transmission BitTorrent daemon")
- (description "Transmission-remote-cli is a console client, with a curses
-interface, for the Transmission BitTorrent daemon. This package is no longer
-maintained upstream.")
- (home-page "https://github.com/fagga/transmission-remote-cli")
- (license l:gpl3+)
- (properties `((superseded . ,tremc)))))
-
(define-public aria2
(package
(name "aria2")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 033/602] gnu: Remove python2-nose-timer.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (30 preceding siblings ...)
2022-05-15 4:36 ` [bug#55424] [PATCH 032/602] gnu: Remove transmission-remote-cli Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 034/602] gnu: Remove python2-pytest-catchlog Maxim Cournoyer
` (70 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-nose-timer): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index ef1c7edd13..59e9d16dd5 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2885,9 +2885,6 @@ (define-public python-nose-timer
(description "Shows how much time was needed to run individual tests.")
(license license:expat)))
-(define-public python2-nose-timer
- (package-with-python2 python-nose-timer))
-
(define-public python-freezegun
(package
(name "python-freezegun")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 034/602] gnu: Remove python2-pytest-catchlog.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (31 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 033/602] gnu: Remove python2-nose-timer Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 035/602] gnu: Remove python2-testlib Maxim Cournoyer
` (69 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-pytest-catchlog): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 59e9d16dd5..ac680bdd62 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2659,9 +2659,6 @@ (define-public python-pytest-catchlog
a fork of pytest-capturelog.")
(license license:expat)))
-(define-public python2-pytest-catchlog
- (package-with-python2 python-pytest-catchlog))
-
(define-public python-nosexcover
(package
(name "python-nosexcover")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 035/602] gnu: Remove python2-testlib.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (32 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 034/602] gnu: Remove python2-pytest-catchlog Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 036/602] gnu: Remove python2-nose2 Maxim Cournoyer
` (68 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-testlib): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index ac680bdd62..3f31243f1c 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2016,9 +2016,6 @@ (define-public python-testlib
(home-page "https://github.com/trentm/testlib")
(license license:expat)))
-(define-public python2-testlib
- (package-with-python2 python-testlib))
-
;;; The software provided by this package was integrated into pytest 2.8.
(define-public python-pytest-cache
(package
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 036/602] gnu: Remove python2-nose2.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (33 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 035/602] gnu: Remove python2-testlib Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 037/602] gnu: Remove python2-pytest-capturelog Maxim Cournoyer
` (67 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-nose2): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 3f31243f1c..5dec698fc3 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -947,9 +947,6 @@ (define-public python-nose2
interfaces and processes.")
(license license:bsd-2)))
-(define-public python2-nose2
- (package-with-python2 python-nose2))
-
(define-public python-unittest2
(package
(name "python-unittest2")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 037/602] gnu: Remove python2-pytest-capturelog.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (34 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 036/602] gnu: Remove python2-nose2 Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 038/602] gnu: Remove python2-python-paramunittest Maxim Cournoyer
` (66 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-pytest-capturelog): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 5dec698fc3..15929831e1 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2627,9 +2627,6 @@ (define-public python-pytest-capturelog
"Python-pytest-catchlog is a pytest plugin to catch log messages.")
(license license:expat)))
-(define-public python2-pytest-capturelog
- (package-with-python2 python-pytest-capturelog))
-
(define-public python-pytest-catchlog
(package
(name "python-pytest-catchlog")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 038/602] gnu: Remove python2-python-paramunittest.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (35 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 037/602] gnu: Remove python2-pytest-capturelog Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 039/602] gnu: Remove python2-rednose Maxim Cournoyer
` (65 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-python-paramunittest): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 15929831e1..2d0609b68c 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2575,9 +2575,6 @@ (define-public python-paramunittest
recognize TestCases.")
(license license:bsd-2)))
-(define-public python2-python-paramunittest
- (package-with-python2 python-paramunittest))
-
(define-public python-pytest-warnings
(package
(name "python-pytest-warnings")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 039/602] gnu: Remove python2-rednose.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (36 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 038/602] gnu: Remove python2-python-paramunittest Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 040/602] gnu: Remove python2-minimock Maxim Cournoyer
` (64 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-rednose): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 2d0609b68c..e89e346532 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2796,9 +2796,6 @@ (define-public python-rednose
@command{nosetests} command of the Python Nose unit test framework.")
(license license:bsd-3)))
-(define-public python2-rednose
- (package-with-python2 python-rednose))
-
(define-public python-nose-random
(package
(name "python-nose-random")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 040/602] gnu: Remove python2-minimock.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (37 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 039/602] gnu: Remove python2-rednose Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 041/602] gnu: Remove python2-flexmock Maxim Cournoyer
` (63 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-minimock): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index e89e346532..a093fedfe8 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -849,9 +849,6 @@ (define-public python-minimock
doctest.")
(license license:expat)))
-(define-public python2-minimock
- (package-with-python2 python-minimock))
-
(define-public python-mock
(package
(name "python-mock")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 041/602] gnu: Remove python2-flexmock.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (38 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 040/602] gnu: Remove python2-minimock Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 042/602] gnu: Remove python2-discover Maxim Cournoyer
` (62 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-flexmock): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index a093fedfe8..7ddf424019 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2915,9 +2915,6 @@ (define-public python-flexmock
mocks, stubs and fakes.")
(license license:bsd-3)))
-(define-public python2-flexmock
- (package-with-python2 python-flexmock))
-
(define-public python-flaky
(package
(name "python-flaky")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 042/602] gnu: Remove python2-discover.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (39 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 041/602] gnu: Remove python2-flexmock Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 043/602] gnu: Remove python2-cov-core Maxim Cournoyer
` (61 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-discover): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 7ddf424019..cd5401748b 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2690,9 +2690,6 @@ (define-public python-discover
backported from Python 2.7 for Python 2.4+.")
(license license:bsd-3)))
-(define-public python2-discover
- (package-with-python2 python-discover))
-
(define-public behave
(package
(name "behave")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 043/602] gnu: Remove python2-cov-core.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (40 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 042/602] gnu: Remove python2-discover Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 044/602] gnu: Remove python2-pytest-flakes Maxim Cournoyer
` (60 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-cov-core): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index cd5401748b..089f686c94 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1919,9 +1919,6 @@ (define-public python-cov-core
testing frameworks.")
(license license:expat)))
-(define-public python2-cov-core
- (package-with-python2 python-cov-core))
-
(define-public python-codecov
(package
(name "python-codecov")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 044/602] gnu: Remove python2-pytest-flakes.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (41 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 043/602] gnu: Remove python2-cov-core Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 045/602] gnu: Remove python2-pytest-subtesthack Maxim Cournoyer
` (59 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-pytest-flakes): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 089f686c94..c4884c72d3 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2462,9 +2462,6 @@ (define-public python-pytest-flakes
(description "Pytest plugin for checking Python source code with pyflakes.")
(license license:expat)))
-(define-public python2-pytest-flakes
- (package-with-python2 python-pytest-flakes))
-
(define-public python-coverage-test-runner
(package
(name "python-coverage-test-runner")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 045/602] gnu: Remove python2-pytest-subtesthack.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (42 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 044/602] gnu: Remove python2-pytest-flakes Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 046/602] gnu: Remove python2-nose-randomly Maxim Cournoyer
` (58 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-pytest-subtesthack): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index c4884c72d3..0cabbecbfa 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2100,9 +2100,6 @@ (define-public python-pytest-subtesthack
(home-page "https://github.com/untitaker/pytest-subtesthack/")
(license license:unlicense)))
-(define-public python2-pytest-subtesthack
- (package-with-python2 python-pytest-subtesthack))
-
(define-public python-pytest-sugar
(package
(name "python-pytest-sugar")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 046/602] gnu: Remove python2-nose-randomly.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (43 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 045/602] gnu: Remove python2-pytest-subtesthack Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 047/602] gnu: Remove domainfinder Maxim Cournoyer
` (57 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-nose-randomly): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 0cabbecbfa..805e8c2041 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2831,9 +2831,6 @@ (define-public python-nose-randomly
create data based on random numbers and yet remain repeatable.")
(license license:bsd-3)))
-(define-public python2-nose-randomly
- (package-with-python2 python-nose-randomly))
-
(define-public python-nose-timer
(package
(name "python-nose-timer")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 047/602] gnu: Remove domainfinder.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (44 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 046/602] gnu: Remove python2-nose-randomly Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 048/602] gnu: Remove nmoldyn Maxim Cournoyer
` (56 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/chemistry.scm (domainfinder): Delete variable.
---
gnu/packages/chemistry.scm | 29 -----------------------------
1 file changed, 29 deletions(-)
diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index 94803719ac..d94f3ec787 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -128,35 +128,6 @@ (define-public avogadro2
powerful plugin architecture.")
(license license:bsd-3)))
-(define-public domainfinder
- (package
- (name "domainfinder")
- (version "2.0.5")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://bitbucket.org/khinsen/"
- "domainfinder/downloads/DomainFinder-"
- version ".tar.gz"))
- (sha256
- (base32
- "1z26lsyf7xwnzwjvimmbla7ckipx6p734w7y0jk2a2fzci8fkdcr"))))
- (build-system python-build-system)
- (inputs
- (list python2-mmtk))
- (arguments
- `(#:python ,python-2
- ;; No test suite
- #:tests? #f))
- (home-page "http://dirac.cnrs-orleans.fr/DomainFinder.html")
- (synopsis "Analysis of dynamical domains in proteins")
- (description "DomainFinder is an interactive program for the determination
-and characterization of dynamical domains in proteins. It can infer dynamical
-domains by comparing two protein structures, or from normal mode analysis on a
-single structure. The software is currently not actively maintained and works
-only with Python 2 and NumPy < 1.9.")
- (license license:cecill-c)))
-
(define-public inchi
(package
(name "inchi")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 048/602] gnu: Remove nmoldyn.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (45 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 047/602] gnu: Remove domainfinder Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 049/602] gnu: Remove python2-neo4j-driver Maxim Cournoyer
` (55 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/chemistry.scm (nmoldyn): Delete variable.
---
gnu/packages/chemistry.scm | 60 --------------------------------------
1 file changed, 60 deletions(-)
diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index d94f3ec787..e5b6309585 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -306,66 +306,6 @@ (define-public molequeue
(define with-numpy-1.8
(package-input-rewriting `((,python2-numpy . ,python2-numpy-1.8))))
-(define-public nmoldyn
- (package
- (name "nmoldyn")
- (version "3.0.11")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/khinsen/nMOLDYN3")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "016h4bqg419p6s7bcx55q5iik91gqmk26hbnfgj2j6zl0j36w51r"))))
- (build-system python-build-system)
- (inputs
- (list (with-numpy-1.8 python2-matplotlib) python2-scientific netcdf
- gv))
- (propagated-inputs
- (list python2-mmtk))
- (arguments
- `(#:python ,python-2
- #:tests? #f ; No test suite
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'create-linux2-directory
- (lambda _
- (mkdir-p "nMOLDYN/linux2")))
- (add-before 'build 'change-PDF-viewer
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "nMOLDYN/Preferences.py"
- ;; Set the paths for external executables, substituting
- ;; gv for acroread.
- ;; There is also vmd_path, but VMD is not free software
- ;; and Guix contains currently no free molecular viewer that
- ;; could be substituted.
- (("PREFERENCES\\['acroread_path'\\] = ''")
- (format #f "PREFERENCES['acroread_path'] = '~a'"
- (which "gv")))
- (("PREFERENCES\\['ncdump_path'\\] = ''")
- (format #f "PREFERENCES['ncdump_path'] = '~a'"
- (which "ncdump")))
- (("PREFERENCES\\['ncgen_path'\\] = ''")
- (format #f "PREFERENCES['ncgen_path'] = '~a'"
- (which "ncgen3")))
- (("PREFERENCES\\['task_manager_path'\\] = ''")
- (format #f "PREFERENCES['task_manager_path'] = '~a'"
- (which "task_manager")))
- ;; Show documentation as PDF
- (("PREFERENCES\\['documentation_style'\\] = 'html'")
- "PREFERENCES['documentation_style'] = 'pdf'") ))))))
- (home-page "http://dirac.cnrs-orleans.fr/nMOLDYN.html")
- (synopsis "Analysis software for Molecular Dynamics trajectories")
- (description "nMOLDYN is an interactive analysis program for Molecular Dynamics
-simulations. It is especially designed for the computation and decomposition of
-neutron scattering spectra, but also computes other quantities. The software
-is currently not actively maintained and works only with Python 2 and
-NumPy < 1.9.")
- (license license:cecill)))
-
(define-public tng
(package
(name "tng")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 049/602] gnu: Remove python2-neo4j-driver.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (46 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 048/602] gnu: Remove nmoldyn Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 050/602] gnu: Remove python2-redis Maxim Cournoyer
` (54 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/databases.scm (python2-neo4j-driver): Delete variable.
---
gnu/packages/databases.scm | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index feedfe68e7..82ff9fc13c 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3652,27 +3652,6 @@ (define-public python-databases
(description "This package implements async database support for Python.")
(license license:bsd-3)))
-(define-public python2-neo4j-driver
- (package
- (name "python2-neo4j-driver")
- ;; NOTE: When upgrading to 1.5.0, please add a python3 variant.
- (version "1.4.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "neo4j-driver" version))
- (sha256
- (base32
- "011r1vh182p8mm83d8dz9rfnc3l7rf7fd00cyrbyfzi71jmc4g98"))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2))
- (home-page "https://neo4j.com/developer/python/")
- (synopsis "Neo4j driver code written in Python")
- (description "This package provides the Neo4j Python driver that connects
-to the database using Neo4j's binary protocol. It aims to be minimal, while
-being idiomatic to Python.")
- (license license:asl2.0)))
-
(define-public python2-py2neo
(package
(name "python2-py2neo")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 050/602] gnu: Remove python2-redis.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (47 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 049/602] gnu: Remove python2-neo4j-driver Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 051/602] gnu: Remove python2-trollius-redis Maxim Cournoyer
` (53 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/databases.scm (python2-redis): Delete variable.
---
gnu/packages/databases.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 82ff9fc13c..717918ed0d 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3998,9 +3998,6 @@ (define-public python-redis
"This package provides a Python interface to the Redis key-value store.")
(license license:expat)))
-(define-public python2-redis
- (package-with-python2 python-redis))
-
(define-public python-rq
(package
(name "python-rq")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 051/602] gnu: Remove python2-trollius-redis.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (48 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 050/602] gnu: Remove python2-redis Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 052/602] gnu: Remove python2-peewee Maxim Cournoyer
` (52 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/databases.scm (python2-trollius-redis): Delete variable.
---
gnu/packages/databases.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 717918ed0d..126c32725e 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -4095,9 +4095,6 @@ (define-public python-trollius-redis
Redis protocol.")
(license license:bsd-2)))
-(define-public python2-trollius-redis
- (package-with-python2 python-trollius-redis))
-
(define-public python-sqlparse
(package
(name "python-sqlparse")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 052/602] gnu: Remove python2-peewee.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (49 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 051/602] gnu: Remove python2-trollius-redis Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 053/602] gnu: Remove python2-ccm Maxim Cournoyer
` (51 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/databases.scm (python2-peewee): Delete variable.
---
gnu/packages/databases.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 126c32725e..e7693552f2 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2876,9 +2876,6 @@ (define-public python-peewee
can autogenerate peewee models using @code{pwiz}, a model generator.")
(license license:expat)))
-(define-public python2-peewee
- (package-with-python2 python-peewee))
-
(define-public python-pypika-tortoise
(package
(name "python-pypika-tortoise")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 053/602] gnu: Remove python2-ccm.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (50 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 052/602] gnu: Remove python2-peewee Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 054/602] gnu: Remove python2-apsw Maxim Cournoyer
` (50 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/databases.scm (python2-ccm): Delete variable.
---
gnu/packages/databases.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index e7693552f2..96bb05a486 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3289,9 +3289,6 @@ (define-public python-ccm
on localhost.")
(license license:asl2.0)))
-(define-public python2-ccm
- (package-with-python2 python-ccm))
-
(define-public python2-pysqlite
(package
(name "python2-pysqlite")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 054/602] gnu: Remove python2-apsw.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (51 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 053/602] gnu: Remove python2-ccm Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 055/602] gnu: Remove python2-py2neo Maxim Cournoyer
` (49 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/databases.scm (python2-apsw): Delete variable.
---
gnu/packages/databases.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 96bb05a486..945525d791 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3587,9 +3587,6 @@ (define-public python-apsw
translate the complete SQLite API into Python.")
(license license:zlib)))
-(define-public python2-apsw
- (package-with-python2 python-apsw))
-
(define-public python-aiosqlite
(package
(name "python-aiosqlite")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 055/602] gnu: Remove python2-py2neo.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (52 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 054/602] gnu: Remove python2-apsw Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 056/602] gnu: Remove python2-pyodbc-c Maxim Cournoyer
` (48 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/databases.scm (python2-py2neo): Delete variable.
---
gnu/packages/databases.scm | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 945525d791..b2c74a54ba 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3643,27 +3643,6 @@ (define-public python-databases
(description "This package implements async database support for Python.")
(license license:bsd-3)))
-(define-public python2-py2neo
- (package
- (name "python2-py2neo")
- (version "3.1.2")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "py2neo" version))
- (sha256
- (base32
- "1f1q95vqcvlc3nsc33p841swnjdcjazddlq2dzi3qfnjqjrajxw1"))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2))
- (home-page "https://py2neo.org")
- (synopsis "Library and toolkit for working with Neo4j in Python")
- (description "This package provides a client library and toolkit for
-working with Neo4j from within Python applications and from the command
-line. The core library has no external dependencies and has been carefully
-designed to be easy and intuitive to use.")
- (license license:asl2.0)))
-
(define-public python-psycopg2
(package
(name "python-psycopg2")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 056/602] gnu: Remove python2-pyodbc-c.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (53 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 055/602] gnu: Remove python2-py2neo Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 057/602] gnu: Remove python2-pymysql Maxim Cournoyer
` (47 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/databases.scm (python2-pyodbc-c): Delete variable.
---
gnu/packages/databases.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index b2c74a54ba..cd3f92a855 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3091,9 +3091,6 @@ (define-public python-pyodbc-c
for ODBC.")
(license (license:x11-style "file://LICENSE.TXT"))))
-(define-public python2-pyodbc-c
- (package-with-python2 python-pyodbc-c))
-
(define-public python-pyodbc
(package
(name "python-pyodbc")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 057/602] gnu: Remove python2-pymysql.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (54 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 056/602] gnu: Remove python2-pyodbc-c Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 058/602] gnu: Remove python2-hiredis Maxim Cournoyer
` (46 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/databases.scm (python2-pymysql): Delete variable.
---
gnu/packages/databases.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index cd3f92a855..03d8c64037 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1525,9 +1525,6 @@ (define-public python-pymysql
Most public APIs are compatible with @command{mysqlclient} and MySQLdb.")
(license license:expat)))
-(define-public python2-pymysql
- (package-with-python2 python-pymysql))
-
(define-public qdbm
(package
(name "qdbm")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 058/602] gnu: Remove python2-hiredis.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (55 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 057/602] gnu: Remove python2-pymysql Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 059/602] gnu: Remove python2-pytest-pep8 Maxim Cournoyer
` (45 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/databases.scm (python2-hiredis): Delete variable.
---
gnu/packages/databases.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 03d8c64037..56fef5ee13 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3873,9 +3873,6 @@ (define-public python-hiredis
parsing code in hiredis. It primarily speeds up parsing of multi bulk replies.")
(license license:bsd-3)))
-(define-public python2-hiredis
- (package-with-python2 python-hiredis))
-
(define-public python-aioredis
(package
(name "python-aioredis")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 059/602] gnu: Remove python2-pytest-pep8.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (56 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 058/602] gnu: Remove python2-hiredis Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 060/602] gnu: Remove python2-scikit-learn Maxim Cournoyer
` (44 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-pytest-pep8): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 805e8c2041..ca8b744904 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2367,9 +2367,6 @@ (define-public python-pytest-pep8
(description "Pytest plugin for checking PEP8 compliance.")
(license license:expat)))
-(define-public python2-pytest-pep8
- (package-with-python2 python-pytest-pep8))
-
(define-public python-pytest-perf
(package
(name "python-pytest-perf")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 060/602] gnu: Remove python2-scikit-learn.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (57 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 059/602] gnu: Remove python2-pytest-pep8 Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 061/602] gnu: Remove ocrodjvu Maxim Cournoyer
` (43 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/machine-learning.scm (python2-scikit-learn): Delete variable.
(python-scikit-learn)[properties]: Remove the python2-variant property.
---
gnu/packages/machine-learning.scm | 47 -------------------------------
1 file changed, 47 deletions(-)
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 3897342345..02cd6b31aa 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1128,55 +1128,8 @@ (define-public python-scikit-learn
(description
"Scikit-learn provides simple and efficient tools for data mining and
data analysis.")
- (properties `((python2-variant . ,(delay python2-scikit-learn))))
(license license:bsd-3)))
-;; scikit-learn 0.22 and later only supports Python 3, so we stick with
-;; an older version here.
-(define-public python2-scikit-learn
- (let ((base (package-with-python2 (strip-python2-variant python-scikit-learn))))
- (package
- (inherit base)
- (version "0.20.4")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/scikit-learn/scikit-learn")
- (commit version)))
- (file-name (git-file-name "python-scikit-learn" version))
- (sha256
- (base32
- "08zbzi8yx5wdlxfx9jap61vg1malc9ajf576w7a0liv6jvvrxlpj"))))
- (arguments
- `(#:python ,python-2
- #:phases
- (modify-phases %standard-phases
- (add-after 'build 'build-ext
- (lambda _ (invoke "python" "setup.py" "build_ext" "--inplace")))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; Restrict OpenBLAS threads to prevent segfaults while testing!
- (setenv "OPENBLAS_NUM_THREADS" "1")
-
- ;; Some tests require write access to $HOME.
- (setenv "HOME" "/tmp")
-
- (invoke "pytest" "sklearn" "-m" "not network"
- "-k"
- (string-append
- ;; This test tries to access the internet.
- "not test_load_boston_alternative"
- ;; This test fails for unknown reasons
- " and not test_rank_deficient_design"))))))))
- (inputs
- (list openblas))
- (native-inputs
- (list python2-pytest python2-pandas ;for tests
- python2-cython))
- (propagated-inputs
- (list python2-numpy python2-scipy python2-joblib)))))
-
(define-public python-threadpoolctl
(package
(name "python-threadpoolctl")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 061/602] gnu: Remove ocrodjvu.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (58 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 060/602] gnu: Remove python2-scikit-learn Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 8:25 ` Maxime Devos
2022-05-15 4:37 ` [bug#55424] [PATCH 062/602] gnu: Remove python2-pandas Maxim Cournoyer
` (42 subsequent siblings)
102 siblings, 1 reply; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
This package still depends on Python 2, and upstream considers this issue as
"wontfix".
* gnu/packages/djvu.scm (ocrodjvu): Delete variable.
---
gnu/packages/djvu.scm | 84 -------------------------------------------
1 file changed, 84 deletions(-)
diff --git a/gnu/packages/djvu.scm b/gnu/packages/djvu.scm
index 07c77f318e..38e6278ce5 100644
--- a/gnu/packages/djvu.scm
+++ b/gnu/packages/djvu.scm
@@ -396,87 +396,3 @@ (define-public didjvu
and background layers of images, which can then be encoded into a DjVu file.")
(home-page "https://jwilk.net/software/didjvu")
(license license:gpl2)))
-
-(define-public ocrodjvu
- (package
- (name "ocrodjvu")
- (version "0.12")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/jwilk/ocrodjvu/releases/download/" version
- "/ocrodjvu-" version ".tar.xz"))
- (sha256
- (base32 "09w9rqr7z2jd5kwp178zz2yrsc82mxs7gksipg92znxzgzhmw2ng"))))
- (build-system gnu-build-system)
- (native-inputs
- (list libxml2 python2-nose python2-pillow))
- (inputs
- `(("djvulibre" ,djvulibre)
- ("ocrad" ,ocrad)
- ("python" ,python-2)
- ("python2-djvulibre" ,python2-djvulibre)
- ("python2-html5lib" ,python2-html5lib)
- ("python2-lxml" ,python2-lxml)
- ("python2-pyicu" ,python2-pyicu)
- ("python2-subprocess32" ,python2-subprocess32)
- ("tesseract-ocr" ,tesseract-ocr)))
- (arguments
- `(#:modules ((guix build gnu-build-system)
- ((guix build python-build-system) #:prefix python:)
- (guix build utils))
- #:imported-modules (,@%gnu-build-system-modules
- (guix build python-build-system))
- #:test-target "test"
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (add-before 'check 'disable-failing-test
- (lambda _
- (substitute* "tests/test_ipc.py"
- ;; test_wait_signal gets stuck forever
- (("yield self\\._test_signal, name")
- "return True")
- ;; test_path fails to find a file it should have created
- (("path = os\\.getenv\\('PATH'\\)\\.split\\(':'\\)")
- "return True"))
- ;; Disable tests with tesseract. They can't work without
- ;; the language files that must downloaded by the final user
- ;; as they are not packaged in Guix.
- (substitute* "tests/ocrodjvu/test.py"
- (("engines = stdout\\.getvalue\\(\\)\\.splitlines\\(\\)")
- "engines = ['ocrad']"))
- (substitute* "tests/ocrodjvu/test_integration.py"
- (("engines = 'tesseract', 'cuneiform', 'gocr', 'ocrad'")
- "engines = 'ocrad'"))))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (invoke "make"
- "DESTDIR="
- (string-append "PREFIX=" out)
- "install"))))
- (add-after 'install 'wrap-python
- (assoc-ref python:%standard-phases 'wrap))
- (add-after 'wrap-python 'wrap-path
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (djvulibre (assoc-ref inputs "djvulibre"))
- (ocrad (assoc-ref inputs "ocrad"))
- (tesseract (assoc-ref inputs "tesseract-ocr")))
- (for-each (lambda (file)
- (wrap-program (string-append out "/bin/" file)
- `("PATH" ":" prefix
- (,(string-append djvulibre "/bin:"
- ocrad "/bin:"
- tesseract "/bin")))))
- '("djvu2hocr"
- "hocr2djvused"
- "ocrodjvu"))))))))
- (synopsis "Program to perform OCR on DjVu files")
- (description
- "@code{ocrodjvu} is a wrapper for OCR systems, that allows you to perform
-OCR on DjVu files.")
- (home-page "https://jwilk.net/software/ocrodjvu")
- (license license:gpl2)))
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 061/602] gnu: Remove ocrodjvu.
2022-05-15 4:37 ` [bug#55424] [PATCH 061/602] gnu: Remove ocrodjvu Maxim Cournoyer
@ 2022-05-15 8:25 ` Maxime Devos
2022-05-16 3:17 ` Maxim Cournoyer
0 siblings, 1 reply; 133+ messages in thread
From: Maxime Devos @ 2022-05-15 8:25 UTC (permalink / raw)
To: Maxim Cournoyer, 55424
[-- Attachment #1: Type: text/plain, Size: 611 bytes --]
Maxim Cournoyer schreef op zo 15-05-2022 om 00:37 [-0400]:
> - (inputs
> - `(("djvulibre" ,djvulibre)
> - ("ocrad" ,ocrad)
> - ("python" ,python-2)
> - ("python2-djvulibre" ,python2-djvulibre)
> - ("python2-html5lib" ,python2-html5lib)
> - ("python2-lxml" ,python2-lxml)
> - ("python2-pyicu" ,python2-pyicu)
> - ("python2-subprocess32" ,python2-subprocess32)
> - ("tesseract-ocr" ,tesseract-ocr)))
Apparently python3 is now supported:
<https://github.com/kcroker/dpsprep/pull/6>.
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 061/602] gnu: Remove ocrodjvu.
2022-05-15 8:25 ` Maxime Devos
@ 2022-05-16 3:17 ` Maxim Cournoyer
0 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-16 3:17 UTC (permalink / raw)
To: Maxime Devos; +Cc: 55424
Hi Maxime,
Maxime Devos <maximedevos@telenet.be> writes:
> Maxim Cournoyer schreef op zo 15-05-2022 om 00:37 [-0400]:
>> - (inputs
>> - `(("djvulibre" ,djvulibre)
>> - ("ocrad" ,ocrad)
>> - ("python" ,python-2)
>> - ("python2-djvulibre" ,python2-djvulibre)
>> - ("python2-html5lib" ,python2-html5lib)
>> - ("python2-lxml" ,python2-lxml)
>> - ("python2-pyicu" ,python2-pyicu)
>> - ("python2-subprocess32" ,python2-subprocess32)
>> - ("tesseract-ocr" ,tesseract-ocr)))
>
> Apparently python3 is now supported:
> <https://github.com/kcroker/dpsprep/pull/6>.
Wrong package? That seems to be for dpsprep, not ocrodjvu. For the
later, as pointed by Guillaume, there exists a Python 3 fork, which I
was able use to save the ocrodjvu package.
Thanks,
Maxim
^ permalink raw reply [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 062/602] gnu: Remove python2-pandas.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (59 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 061/602] gnu: Remove ocrodjvu Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 063/602] gnu: Remove python2-html5lib Maxim Cournoyer
` (41 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/python-science.scm (python2-pandas): Delete variable.
(python-pandas): Delete related python2-variant property.
---
gnu/packages/python-science.scm | 98 ---------------------------------
1 file changed, 98 deletions(-)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index bf7c7ce45f..b3f39fd19d 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -488,106 +488,8 @@ (define-public python-pandas
multidimensional, potentially heterogeneous) and time series data both easy
and intuitive. It aims to be the fundamental high-level building block for
doing practical, real world data analysis in Python.")
- (properties `((python2-variant . ,(delay python2-pandas))))
(license license:bsd-3)))
-;; Pandas 0.24.x are the last versions that support Python 2.
-(define-public python2-pandas
- (let ((pandas (package-with-python2
- (strip-python2-variant python-pandas))))
- (package
- (inherit pandas)
- (version "0.24.2")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "pandas" version))
- (sha256
- (base32
- "18imlm8xbhcbwy4wa957a1fkamrcb0z988z006jpfda3ki09z4ag"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; Adjust for renamed error message in Python 2.7.17. Taken
- ;; from <https://github.com/pandas-dev/pandas/pull/29294>.
- (substitute* "pandas/io/parsers.py"
- (("if 'NULL byte' in msg:")
- "if 'NULL byte' in msg or 'line contains NUL' in msg:"))))))
- (arguments
- `(#:modules ((guix build utils)
- (guix build python-build-system)
- (ice-9 ftw)
- (srfi srfi-26))
- #:python ,python-2
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-which
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((which (assoc-ref inputs "which")))
- (substitute* "pandas/io/clipboard/__init__.py"
- (("^CHECK_CMD = .*")
- (string-append "CHECK_CMD = \"" which "\"\n"))))))
- (replace 'check
- (lambda _
- (let ((build-directory
- (string-append
- (getcwd) "/build/"
- (car (scandir "build"
- (cut string-prefix? "lib." <>))))))
- ;; Disable the "strict data files" option which causes
- ;; the build to error out if required data files are
- ;; not available (as is the case with PyPI archives).
- (substitute* "setup.cfg"
- (("addopts = --strict-data-files") "addopts = "))
- (with-directory-excursion build-directory
- ;; Delete tests that require "moto" which is not yet
- ;; in Guix.
- (for-each delete-file
- '("pandas/tests/io/conftest.py"
- "pandas/tests/io/json/test_compression.py"
- "pandas/tests/io/parser/test_network.py"
- "pandas/tests/io/test_parquet.py"))
- (invoke "pytest" "-vv" "pandas" "--skip-slow"
- "--skip-network" "-k"
- ;; XXX: Due to the deleted tests above.
- "not test_read_s3_jsonl"))))))))
- (propagated-inputs
- (list python2-numpy python2-openpyxl python2-pytz python2-dateutil
- python2-xlrd))
- (inputs
- (list which))
- (native-inputs
- (list python2-cython
- python2-beautifulsoup4
- python2-lxml
- python2-html5lib
- python2-nose
- python2-pytest
- python2-pytest-mock)))))
-
-(define-public python2-pyflow
- (package
- (name "python2-pyflow")
- (version "1.1.20")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/Illumina/pyflow/releases/download/v"
- version "/pyflow-" version ".tar.gz"))
- (sha256
- (base32
- "1bvfvviw58cndyn862qnv9nj3d9cd3a0dm4vc4sd9vwq8a6z1riv"))))
- (build-system python-build-system)
- (arguments
- `(#:tests? #f ; There is no test suite.
- ;; There is no official Python 3-compatible version and upstream is
- ;; dead. See https://github.com/Illumina/pyflow/issues/20.
- #:python ,python-2))
- (home-page "https://illumina.github.io/pyflow/")
- (synopsis "Tool to manage tasks in a task dependency graph")
- (description "This package is a Python module to manage tasks in the
-context of a task dependency graph. It has some similarities to make.")
- (license license:bsd-2)))
-
(define-public python-pythran
(package
(name "python-pythran")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 063/602] gnu: Remove python2-html5lib.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (60 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 062/602] gnu: Remove python2-pandas Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 064/602] gnu: Remove python2-statsmodels Maxim Cournoyer
` (40 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/python-web.scm (python2-html5lib): Delete variable.
(python-html5lib-0.9, python2-html5lib-0.9): Likewise.
---
gnu/packages/python-web.scm | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7636931091..60970cd386 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1324,25 +1324,6 @@ (define-public python-html5lib
and written in Python.")
(license license:expat)))
-(define-public python2-html5lib
- (package-with-python2 python-html5lib))
-
-;; Needed for python-bleach, a dependency of python-notebook
-(define-public python-html5lib-0.9
- (package
- (inherit python-html5lib)
- (version "0.999")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "html5lib" version))
- (sha256
- (base32
- "17n4zfsj6ynmbwdwviywmj8r6nzr3xvfx2zs0xhndmvm51z7z263"))))))
-
-(define-public python2-html5lib-0.9
- (package-with-python2 python-html5lib-0.9))
-
(define-public python-html5-parser
(package
(name "python-html5-parser")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 064/602] gnu: Remove python2-statsmodels.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (61 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 063/602] gnu: Remove python2-html5lib Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 065/602] gnu: Remove python2-pytest-cache Maxim Cournoyer
` (39 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/statistics.scm (python2-statsmodels): Delete variable.
---
gnu/packages/statistics.scm | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 244a2f3ecb..891c2b804c 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2068,27 +2068,6 @@ (define-public python-statsmodels
inference for statistical models.")
(license license:bsd-3)))
-(define-public python2-statsmodels
- (let ((stats (package-with-python2 python-statsmodels)))
- (package/inherit stats
- ;; Version 0.11.1 and later does not work with Python 2. It may build
- ;; fine but loading modules fails.
- (version "0.9.0")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "statsmodels" version))
- (sha256
- (base32
- "0fxs8a7sp4d7jvqlm36yi45i2d28kjfvraf9q8i9jr1chhxgjqb4"))))
- (propagated-inputs
- `(("python2-pytz" ,python2-pytz)
- ("python2-numpy" ,python2-numpy)
- ("python2-scipy" ,python2-scipy)
- ("python2-pandas" ,python2-pandas)
- ("python2-patsy" ,python2-patsy)
- ("python2-matplotlib" ,python2-matplotlib))))))
-
(define-public r-coda
(package
(name "r-coda")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 065/602] gnu: Remove python2-pytest-cache.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (62 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 064/602] gnu: Remove python2-statsmodels Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 066/602] gnu: Remove python2-fastlmm Maxim Cournoyer
` (38 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-pytest-cache): Delete variable.
---
gnu/packages/check.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index ca8b744904..cffcd54623 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2027,9 +2027,6 @@ (define-public python-pytest-cache
(home-page "https://bitbucket.org/hpk42/pytest-cache/")
(license license:expat)))
-(define-public python2-pytest-cache
- (package-with-python2 python-pytest-cache))
-
(define-public python-pytest-localserver
(package
(name "python-pytest-localserver")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 066/602] gnu: Remove python2-fastlmm.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (63 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 065/602] gnu: Remove python2-pytest-cache Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 067/602] gnu: Remove python2-parameterized Maxim Cournoyer
` (37 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/machine-learning.scm (python2-fastlmm): Delete variable.
---
gnu/packages/machine-learning.scm | 32 -------------------------------
1 file changed, 32 deletions(-)
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 02cd6b31aa..7b377c7d35 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1415,38 +1415,6 @@ (define-public vowpal-wabbit
interactive learning.")
(license license:bsd-3)))
-(define-public python2-fastlmm
- (package
- (name "python2-fastlmm")
- (version "0.2.21")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "fastlmm" version ".zip"))
- (sha256
- (base32
- "1q8c34rpmwkfy3r4d5172pzdkpfryj561897z9r3x22gq7813x1m"))))
- (build-system python-build-system)
- (arguments
- `(#:tests? #f ; some test files are missing
- #:python ,python-2)) ; only Python 2.7 is supported
- (propagated-inputs
- (list python2-numpy
- python2-scipy
- python2-matplotlib
- python2-pandas
- python2-scikit-learn
- python2-pysnptools))
- (native-inputs
- (list unzip python2-cython python2-mock python2-nose))
- (home-page "http://research.microsoft.com/en-us/um/redmond/projects/mscompbio/fastlmm/")
- (synopsis "Perform genome-wide association studies on large data sets")
- (description
- "FaST-LMM, which stands for Factored Spectrally Transformed Linear Mixed
-Models, is a program for performing both single-SNP and SNP-set genome-wide
-association studies (GWAS) on extremely large data sets.")
- (license license:asl2.0)))
-
(define-public python-hyperopt
(package
(name "python-hyperopt")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 067/602] gnu: Remove python2-parameterized.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (64 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 066/602] gnu: Remove python2-fastlmm Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 068/602] gnu: Remove python2-pytest-warnings Maxim Cournoyer
` (36 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-parameterized): Delete variable.
* gnu/packages/patches/python2-parameterized-docstring-test.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
---
gnu/local.mk | 1 -
gnu/packages/check.scm | 11 -----------
.../python2-parameterized-docstring-test.patch | 18 ------------------
3 files changed, 30 deletions(-)
delete mode 100644 gnu/packages/patches/python2-parameterized-docstring-test.patch
diff --git a/gnu/local.mk b/gnu/local.mk
index 4ef12fd68e..77f5ee9c33 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1701,7 +1701,6 @@ dist_patch_DATA = \
%D%/packages/patches/python-mox3-python3.6-compat.patch \
%D%/packages/patches/python-typing-inspect-fix.patch \
%D%/packages/patches/python-packaging-test-arch.patch \
- %D%/packages/patches/python2-parameterized-docstring-test.patch \
%D%/packages/patches/python-paste-remove-timing-test.patch \
%D%/packages/patches/python-pycrypto-CVE-2013-7459.patch \
%D%/packages/patches/python-pycrypto-time-clock.patch \
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index cffcd54623..f8b4fc7e2f 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -818,19 +818,8 @@ (define-public python-parameterized
(description
"Parameterized is a Python library that aims to fix parameterized testing
for every Python test framework. It supports nose, py.test, and unittest.")
- (properties `((python2-variant . ,(delay python2-parameterized))))
(license license:bsd-2)))
-(define-public python2-parameterized
- (let ((base (package-with-python2 (strip-python2-variant
- python-parameterized))))
- (package/inherit
- base
- (source
- (origin
- (inherit (package-source base))
- (patches (search-patches "python2-parameterized-docstring-test.patch")))))))
-
(define-public python-minimock
(package
(name "python-minimock")
diff --git a/gnu/packages/patches/python2-parameterized-docstring-test.patch b/gnu/packages/patches/python2-parameterized-docstring-test.patch
deleted file mode 100644
index 14691e1904..0000000000
--- a/gnu/packages/patches/python2-parameterized-docstring-test.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Skip unicode docstring test, required when running on Python 2.
-
-See <https://github.com/wolever/parameterized/issues/44>.
-
---- a/parameterized/test.py
-+++ b/parameterized/test.py
-@@ -284,11 +284,6 @@
- " More" %(foo, )
- )
-
-- @parameterized.expand([param("foo")])
-- def test_unicode_docstring(self, foo):
-- u"""Döcumentation."""
-- self._assert_docstring(u"Döcumentation [with foo=%r]." %(foo, ))
--
- @parameterized.expand([param("foo", )])
- def test_default_values_get_correct_value(self, foo, bar=12):
- """Documentation"""
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 068/602] gnu: Remove python2-pytest-warnings.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (65 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 067/602] gnu: Remove python2-parameterized Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 069/602] gnu: Remove python2-pyodbc Maxim Cournoyer
` (35 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/check.scm (python2-pytest-warnings): Delete variable.
---
gnu/packages/check.scm | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index f8b4fc7e2f..808dd07a79 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2566,14 +2566,7 @@ (define-public python-pytest-warnings
"Python-pytest-warnings is a pytest plugin to list Python warnings in
pytest report.")
(license license:expat)
- (properties `((python2-variant . ,(delay python2-pytest-warnings))
- ;; This package is part of pytest as of version 3.1.0.
- (superseded . ,python-pytest)))))
-
-(define-public python2-pytest-warnings
- (package (inherit (package-with-python2
- (strip-python2-variant python-pytest-warnings)))
- (properties `((superseded . ,python2-pytest)))))
+ (properties `((superseded unquote python-pytest)))))
(define-public python-pytest-capturelog
(package
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 069/602] gnu: Remove python2-pyodbc.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (66 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 068/602] gnu: Remove python2-pytest-warnings Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 070/602] gnu: Remove python2-pickleshare Maxim Cournoyer
` (34 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/databases.scm (python2-pyodbc): Delete variable.
---
gnu/packages/databases.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 56fef5ee13..46526bc023 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3110,9 +3110,6 @@ (define-public python-pyodbc
for ODBC.")
(license (license:x11-style "file:///LICENSE.TXT"))))
-(define-public python2-pyodbc
- (package-with-python2 python-pyodbc))
-
(define-public mdbtools
(package
(name "mdbtools")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 070/602] gnu: Remove python2-pickleshare.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (67 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 069/602] gnu: Remove python2-pyodbc Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 071/602] gnu: Remove djvusmooth Maxim Cournoyer
` (33 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/databases.scm (python2-pickleshare): Delete variable.
---
gnu/packages/databases.scm | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 46526bc023..b39f0312bd 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3524,17 +3524,8 @@ (define-public python-pickleshare
database. Concurrency is possible because the values are stored in separate
files. Hence the “database” is a directory where all files are governed by
PickleShare.")
- (properties `((python2-variant . ,(delay python2-pickleshare))))
(license license:expat)))
-(define-public python2-pickleshare
- (let ((pickleshare (package-with-python2
- (strip-python2-variant python-pickleshare))))
- (package (inherit pickleshare)
- (propagated-inputs (modify-inputs (package-propagated-inputs
- pickleshare)
- (prepend python2-pathlib2))))))
-
(define-public python-apsw
(package
(name "python-apsw")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 071/602] gnu: Remove djvusmooth.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (68 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 070/602] gnu: Remove python2-pickleshare Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 072/602] gnu: Remove omnitux Maxim Cournoyer
` (32 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/djvu.scm (djvusmooth): Delete variable.
---
gnu/packages/djvu.scm | 40 ----------------------------------------
1 file changed, 40 deletions(-)
diff --git a/gnu/packages/djvu.scm b/gnu/packages/djvu.scm
index 38e6278ce5..6ff0ace5bc 100644
--- a/gnu/packages/djvu.scm
+++ b/gnu/packages/djvu.scm
@@ -290,46 +290,6 @@ (define-public minidjvu
(home-page "https://sourceforge.net/projects/minidjvu/")
(license license:gpl2)))
-(define-public djvusmooth
- (package
- (name "djvusmooth")
- (version "0.3")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/jwilk/djvusmooth/releases/download/" version
- "/djvusmooth-" version ".tar.gz"))
- (sha256
- (base32 "0z403cklvxzz0qaczgv83ax0nknrd9h8micp04j9kjfdxk2sgval"))))
- (build-system python-build-system)
- (inputs
- (list djvulibre python2-djvulibre python2-subprocess32
- python2-wxpython))
- (arguments
- `(#:python ,python-2
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "lib/djvused.py"
- (("djvused_path = 'djvused'")
- (string-append "djvused_path = '"
- (assoc-ref inputs "djvulibre")
- "/bin/djvused'"))))))))
- (synopsis "Graphical editor for DjVu documents")
- (description
- "@code{djvusmooth} is a graphical editor for DjVu_ documents.
-It is able to:
-@itemize
-@item edit document metadata,
-@item edit document outline (bookmarks),
-@item add, remove or edit hyperlinks,
-@item correct occasional errors in the hidden text layer.
-@end itemize\n")
- (home-page "https://jwilk.net/software/djvusmooth")
- (license license:gpl2)))
-
(define-public didjvu
(package
(name "didjvu")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 072/602] gnu: Remove omnitux.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (69 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 071/602] gnu: Remove djvusmooth Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 073/602] gnu: Remove childsplay Maxim Cournoyer
` (31 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/education.scm (omnitux): Delete variable.
---
gnu/packages/education.scm | 100 -------------------------------------
1 file changed, 100 deletions(-)
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index 213c8f717b..07843142f4 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -679,106 +679,6 @@ (define-public openboard
a pen-tablet display and a beamer.")
(license license:gpl3))))
-(define-public omnitux
- (package
- (name "omnitux")
- (version "1.2.1")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "mirror://sourceforge/omnitux/omnitux/"
- "v" version "/omnitux-" version ".tar.bz2"))
- (sha256
- (base32 "1wmmmbzmxd0blhn00d4g91xwavnab143a31ca3i8hrqgzh6qz9w6"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; Remove pre-compiled .pyc files from source.
- (for-each delete-file (find-files "bin" "\\.pyc$"))
- #t))))
- (build-system python-build-system)
- (inputs
- (list python2-pygame python2-pygtk))
- (arguments
- `(#:tests? #f ;no test
- #:python ,python-2
- #:phases
- (modify-phases %standard-phases
- (delete 'build) ;no setup.py
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (share (string-append out "/share"))
- (data (string-append share "/omnitux")))
- ;; Install documentation.
- (let ((doc (string-append share "/doc/" ,name "-" ,version)))
- (for-each (lambda (f) (install-file f doc))
- '("LICENSE.txt" "README.txt")))
- ;; Install data.
- (install-file "omnitux.sh" data)
- (for-each (lambda (d)
- (copy-recursively d (string-append data "/" d)))
- '("bin" "data"))
- ;; Install the launcher.
- (let* ((bin (string-append out "/bin"))
- (script (string-append bin "/omnitux"))
- (bash (search-input-file %build-inputs "/bin/bash"))
- (python (search-input-file %build-inputs
- "/bin/python2")))
- (mkdir-p bin)
- (with-output-to-file script
- (lambda ()
- (format #t "#!~a~%" bash)
- (format #t
- "cd ~a; ~a menu.py~%"
- (string-append data "/bin")
- python)))
- (chmod script #o755))
- ;; Install icon and desktop file.
- (let ((pixmaps (string-append share "/pixmaps")))
- (install-file "data/default/icons/Omnitux_logo.svg" pixmaps))
- (let ((apps (string-append out "/share/applications")))
- (mkdir-p apps)
- (with-output-to-file (string-append apps "/omnitux.desktop")
- (lambda _
- (format #t
- "[Desktop Entry]~@
- Name=Omnitux~@
- GenericName=Omnitux
- Comment=An educational game based on multimedia elements.~@
- Comment[fr]=Un jeu ludo-éducatif basé sur des éléments multimédias.~@
- Exec=~a/bin/omnitux~@
- Type=Application~@
- Categories=Game;Education;~@
- Terminal=false~@
- Icon=Omnitux_logo.svg~@"
- out))))
- #t))))))
- (home-page "http://omnitux.sourceforge.net/")
- (synopsis "Educational activities based on multimedia elements")
- (description "The project aims to provide various educational
-activities around multimedia elements (images, sounds, texts). Types
-of activities include:
-@itemize
-@item associations,
-@item items to place on a map or a schema,
-@item counting activities,
-@item puzzles,
-@item card faces to remember,
-@item find differences between two pictures,
-@item ...
-@end itemize
-
-Activities are available in English, French, German, Polish,
-Portuguese, Spanish and Italian.")
- ;; Project's license is GPL3+, but multimedia elements are
- ;; released under various licenses.
- (license (list license:gpl3+
- license:gpl2+
- license:cc-by-sa2.0
- license:cc-by-sa3.0
- license:public-domain))))
-
(define-public fet
(package
(name "fet")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 073/602] gnu: Remove childsplay.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (70 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 072/602] gnu: Remove omnitux Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 074/602] gnu: Remove python2-capstone Maxim Cournoyer
` (30 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/education.scm (childsplay): Delete variable.
---
gnu/packages/education.scm | 103 -------------------------------------
1 file changed, 103 deletions(-)
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index 07843142f4..3b9c01c786 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -445,109 +445,6 @@ (define-public toutenclic
(home-page "https://bipede.fr/contrib/")
(license license:gpl3)))
-(define-public childsplay
- (package
- (name "childsplay")
- (version "3.4")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "mirror://sourceforge/schoolsplay/"
- "childsplay-" version ".tgz"))
- (sha256
- (base32
- "0z7yp2swjnbz51vn2zyfnjn40jq38l5mbh15yafmx1z3vn2z1m77"))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2
- #:tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'unbundle-dejavu-font
- (lambda* (#:key inputs #:allow-other-keys)
- (let* ((dejavu-dir
- (string-append (assoc-ref inputs "font-dejavu")
- "/share/fonts/truetype"))
- (dejavu-font
- (string-append dejavu-dir
- "/DejaVuSansCondensed-Bold.ttf")))
- (substitute* "SPConstants.py"
- (("^(TTF(BOLD)? = ).*" _ prefix)
- (string-append prefix "'" dejavu-font "'\n")))
- (for-each (lambda (f) (delete-file f))
- (find-files "lib/SPData" "DejaVu"))
- #t)))
- (delete 'build)
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (pixmaps (string-append out "/share/pixmaps"))
- (share (string-append out "/share/childsplay"))
- (doc (string-append out "/share/doc/" ,name "-",version)))
- ;; Install icon.
- (install-file "lib/SPData/themes/childsplay/logo_cp.svg" pixmaps)
- ;; Install data.
- (mkdir-p share)
- (for-each (lambda (f)
- (copy-recursively f (string-append share "/" f)))
- '("alphabet-sounds" "lib" "locale" "SPWidgets"))
- (for-each (lambda (f) (install-file f share))
- (find-files "." "\\.(py|dev|db)$"))
- ;; Install documentation.
- (mkdir-p doc)
- (copy-recursively "docs" doc)
- #t)))
- (add-after 'install 'create-executable
- (lambda* (#:key outputs inputs #:allow-other-keys)
- (let* ((python (search-input-file inputs "/bin/python"))
- (out (assoc-ref outputs "out"))
- (bin (string-append out "/bin"))
- (executable (string-append bin "/childsplay")))
- (mkdir-p bin)
- (call-with-output-file executable
- (lambda (file)
- (format file
- "~a ~a"
- python
- (string-append out "/share/childsplay/childsplay.py"))))
- (chmod executable #o555)
- #t)))
- (add-after 'install 'create-desktop-file
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (applications (string-append out "/share/applications")))
- (mkdir-p applications)
- (call-with-output-file
- (string-append applications "/childsplay.desktop")
- (lambda (file)
- (format file
- "[Desktop Entry]~@
- Name=Childsplay~@
- Comment=Suite of educational games for young children~@
- Comment[ca]=Conjunt de jocs educatius per a xiquets~@
- Comment[es]=Conjunto de juegos educativos para niños~@
- Comment[de]=Sammlung mit lehrreichen Spielen für kleine Kinder~@
- Exec=~a/bin/childsplay~@
- Terminal=false~@
- Icon=logo_cp.svg~@
- Type=Application~@
- Categories=Application;Game;Education;KidsGame;~@
- Keywords=suite;children;games;young;educational;~%"
- out)))
- #t))))))
- (inputs
- `(("font-dejavu" ,font-dejavu)
- ("pygame" ,python2-pygame)
- ("sqlalchemy" ,python2-sqlalchemy)))
- (synopsis "Suite of educational games for young children")
- (description "Childsplay is a collection of educational activities
-for young children. Childsplay can be used at home, kindergartens and
-pre-schools. Childsplay is a fun and safe way to let young children
-use the computer and at the same time teach them a little math,
-letters of the alphabet, spelling, eye-hand coordination, etc.")
- (home-page "http://www.schoolsplay.org")
- (license license:gpl3+)))
-
(define-public openboard
;; The last release builds from qtwebkit, which is planned for removal in
;; Guix, so use the latest commit of the 1.7-dev branch, which builds with
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 074/602] gnu: Remove python2-capstone.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (71 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 073/602] gnu: Remove childsplay Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 075/602] gnu: Remove lekha Maxim Cournoyer
` (29 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/engineering.scm (python2-capstone): Delete variable.
---
gnu/packages/engineering.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index fe9e06e05a..8f188d07bd 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1647,9 +1647,6 @@ (define-public python-capstone
(string-append "'" (assoc-ref %build-inputs "capstone") "/lib',\n")))
#t)))))))
-(define-public python2-capstone
- (package-with-python2 python-capstone))
-
(define-public python-esptool-3.0
(package
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 075/602] gnu: Remove lekha.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (72 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 074/602] gnu: Remove python2-capstone Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 076/602] gnu: Remove python2-stdnum Maxim Cournoyer
` (28 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/enlightenment.scm (lekha): Delete variable.
---
gnu/packages/enlightenment.scm | 28 ----------------------------
1 file changed, 28 deletions(-)
diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm
index 6a02ab1ca4..7be6304a5e 100644
--- a/gnu/packages/enlightenment.scm
+++ b/gnu/packages/enlightenment.scm
@@ -483,34 +483,6 @@ (define-public edi
license:gpl2 ; edi
license:gpl3)))) ; data/extra/examples/images/mono-runtime.png
-(define-public lekha
- (package
- (name "lekha")
- (version "0.2.1")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "Lekha" version))
- (sha256
- (base32
- "0zr6i74ik58pbzrd7r9l7sawqbdv0r2c1a9927qkqzwga27x8j15"))))
- (build-system python-build-system)
- (arguments
- `(#:tests? #f ; no test target
- #:python ,python-2
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-data-location
- (lambda _ (substitute* "setup.py"
- (("'/usr/")"'"))
- #t)))))
- (propagated-inputs
- (list python2-efl python2-pypdf2 python2-pyxdg))
- (synopsis "Simple PDF viewer")
- (description
- "Simple PDF viewer based on the Enlightenment Foundation Libraries.")
- (home-page "https://github.com/kaihu/lekha")
- (license license:gpl3+)))
-
(define-public ephoto
(package
(name "ephoto")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 076/602] gnu: Remove python2-stdnum.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (73 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 075/602] gnu: Remove lekha Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 077/602] gnu: Remove python2-ledgerblue Maxim Cournoyer
` (27 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/finance.scm (python2-stdnum): Delete variable.
---
gnu/packages/finance.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index b5ab051a1f..9ff1b8b03f 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1226,9 +1226,6 @@ (define-public python-stdnum
Luhn and family of ISO/IEC 7064 check digit algorithms.")
(license license:lgpl2.1+)))
-(define-public python2-stdnum
- (package-with-python2 python-stdnum))
-
(define-public python-duniterpy
(package
(name "python-duniterpy")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 077/602] gnu: Remove python2-ledgerblue.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (74 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 076/602] gnu: Remove python2-stdnum Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 078/602] gnu: Remove python2-keepkey Maxim Cournoyer
` (26 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/finance.scm (python2-ledgerblue): Delete variable.
---
gnu/packages/finance.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 9ff1b8b03f..74cec6d143 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -974,9 +974,6 @@ (define-public python-ledgerblue
Ledger Blue/Nano S.")
(license license:asl2.0)))
-(define-public python2-ledgerblue
- (package-with-python2 python-ledgerblue))
-
(define-public python-btchip-python
(package
(name "python-btchip-python")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 078/602] gnu: Remove python2-keepkey.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (75 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 077/602] gnu: Remove python2-ledgerblue Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 079/602] gnu: nototools: Update to 0.2.16 Maxim Cournoyer
` (25 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/finance.scm (python2-keepkey): Delete variable.
---
gnu/packages/finance.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 74cec6d143..f0caa9240c 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1081,9 +1081,6 @@ (define-public python-keepkey
the KeepKey Hardware Wallet.")
(license license:lgpl3)))
-(define-public python2-keepkey
- (package-with-python2 python-keepkey))
-
(define-public ledger-agent
(package
(name "ledger-agent")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 079/602] gnu: nototools: Update to 0.2.16.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (76 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 078/602] gnu: Remove python2-keepkey Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 080/602] gnu: Remove python2-tmx Maxim Cournoyer
` (24 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/fontutils.scm (nototools): Update to 0.2.16.
[arguments]: Remove python argument.
[phases]: New argument.
[native-inputs]: New field.
[propagated-inputs]: Remove python2-booleanoperations, python2-defcon,
python2-fonttools, python2-pillow, python2-pyclipper, and python2-ufolib. Add
python-afdko.
---
gnu/packages/fontutils.scm | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 444d1635cb..7c03109be5 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -1525,27 +1525,31 @@ (define-public python2-defcon
(define-public nototools
(package
(name "nototools")
- (version "20170925")
+ (version "0.2.16")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/googlei18n/nototools")
- (commit "v2017-09-25-tooling-for-phase3-update")))
+ (url "https://github.com/googlefonts/nototools")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
- "03nzvcvwmrhfrcjhg218q2f3hfrm3vlivp4rk19sc397kh3hisiz"))))
+ "14rrdamkmhrykff8ln07fq9cm8zwj3k113lzwjcy0lgz23g51jyl"))))
(build-system python-build-system)
(arguments
- `(#:python ,python-2))
- (propagated-inputs
- (list python2-booleanoperations
- python2-defcon
- python2-fonttools
- python2-pillow
- python2-pyclipper
- python2-ufolib))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'pretend-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (with-directory-excursion "tests"
+ (invoke "./run_tests")))))))
+ (native-inputs (list python-setuptools-scm))
+ (propagated-inputs (list python-afdko))
(home-page "https://github.com/googlei18n/nototools")
(synopsis "Noto fonts support tools and scripts")
(description
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 080/602] gnu: Remove python2-tmx.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (77 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 079/602] gnu: nototools: Update to 0.2.16 Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 081/602] gnu: renpy: Build with Python 3 Maxim Cournoyer
` (23 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/game-development.scm (python2-tmx): Delete variable.
---
gnu/packages/game-development.scm | 8 --------
1 file changed, 8 deletions(-)
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index daeeec42cb..d8725e837c 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -407,14 +407,6 @@ (define-public python-tmx
;; under the CC0 license.
license:cc0))))
-(define-public python2-tmx
- (let ((python2-tmx (package-with-python2 python-tmx)))
- (package
- (inherit python2-tmx)
- (propagated-inputs
- (modify-inputs (package-propagated-inputs python2-tmx)
- (prepend python2-pathlib))))))
-
(define-public python-xsge
(package
(name "python-xsge")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 081/602] gnu: renpy: Build with Python 3.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (78 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 080/602] gnu: Remove python2-tmx Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-06-16 13:18 ` Liliana Marie Prikler
2022-05-15 4:37 ` [bug#55424] [PATCH 082/602] gnu: Remove slingshot Maxim Cournoyer
` (22 subsequent siblings)
102 siblings, 1 reply; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/game-development.scm (renpy)[python]: Delete argument.
[phases]: Delete trailing #t.
[propagated-inputs]: Update the inputs to their Python 3 counterparts.
[native-inputs]: Likewise.
---
gnu/packages/game-development.scm | 197 ++----------------------------
1 file changed, 10 insertions(+), 187 deletions(-)
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index d8725e837c..961b396ea7 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1263,9 +1263,9 @@ (define-public python-pygame-sdl2
(define-public python2-pygame-sdl2
(package-with-python2 python-pygame-sdl2))
-(define-public python2-renpy
+(define-public renpy
(package
- (name "python2-renpy")
+ (name "renpy")
(version "7.4.11")
(source
(origin
@@ -1284,8 +1284,7 @@ (define-public python2-renpy
#t))))
(build-system python-build-system)
(arguments
- `(#:tests? #f ; Ren'py doesn't seem to package tests
- #:python ,python-2
+ `(#:tests? #f ; Ren'py doesn't seem to package tests
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-commands
@@ -1293,8 +1292,7 @@ (define-public python2-renpy
(substitute* "renpy/editor.py"
(("xdg-open")
(string-append (assoc-ref inputs "xdg-utils")
- "/bin/xdg-open")))
- #t))
+ "/bin/xdg-open")))))
(add-after 'unpack 'fix-include-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "module/setup.py"
@@ -1305,8 +1303,7 @@ (define-public python2-renpy
(setenv "RENPY_CYTHON"
(search-input-file (or native-inputs inputs)
"/bin/cython"))
- (setenv "RENPY_DEPS_INSTALL" (string-join (map cdr inputs) ":"))
- #t))
+ (setenv "RENPY_DEPS_INSTALL" (string-join (map cdr inputs) ":"))))
(replace 'build
(lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
;; The "module" subdirectory contains a python (really cython)
@@ -1316,8 +1313,7 @@ (define-public python2-renpy
(apply (assoc-ref %standard-phases 'build) args))
;; The above only builds the cython modules, but nothing else,
;; so we do that here.
- (invoke "python" "-m" "compileall" "renpy")
- #t))
+ (invoke "python" "-m" "compileall" "renpy")))
(replace 'install
(lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
;; Again, we have to wrap the module installation.
@@ -1332,8 +1328,9 @@ (define-public python2-renpy
(apply (assoc-ref %standard-phases 'install) args))
(copy-recursively "renpy"
(string-append out site "/renpy"))
- (delete-file-recursively (string-append out site "/renpy/common")))
- #t)))))
+ (delete-file-recursively (string-append out site
+ "/renpy/common"))))))))
+ (native-inputs (list python-cython))
(inputs
(list ffmpeg
freetype
@@ -1342,11 +1339,7 @@ (define-public python2-renpy
libpng
(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf))
xdg-utils))
- (propagated-inputs
- `(("python2-future" ,python2-future)
- ("python2-pygame" ,python2-pygame-sdl2)))
- (native-inputs
- (list python2-cython))
+ (propagated-inputs (list python-future python-pygame-sdl2))
(home-page "https://www.renpy.org/")
(synopsis "Ren'py python module")
(description "This package contains the shared libraries and Python modules
@@ -1355,176 +1348,6 @@ (define-public python2-renpy
are only used to bootstrap it.")
(license license:expat)))
-(define-public renpy
- (package
- (inherit python2-renpy)
- (name "renpy")
- (build-system python-build-system)
- (arguments
- `(#:tests? #f ; see python2-renpy
- #:python ,python-2
- #:modules ((srfi srfi-1)
- (guix build python-build-system)
- (guix build utils))
- #:imported-modules ((srfi srfi-1) ,@%python-build-system-modules)
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-commands
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (substitute* "launcher/game/choose_directory.rpy"
- (("/usr/bin/python")
- (string-append (assoc-ref inputs "python2")
- "/bin/python2")))
- (substitute* "launcher/game/front_page.rpy"
- (("xdg-open")
- (string-append (assoc-ref inputs "xdg-utils")
- "/bin/xdg-open")))
- (substitute* "launcher/game/project.rpy"
- (("cmd = \\[ executable, \"-EO\", sys.argv\\[0\\] \\]")
- (string-append "cmd = [ \"" (assoc-ref outputs "out")
- "/bin/renpy\" ]"))
- ;; Projects are still created in the usual style, so we need
- ;; to adjust the path.
- (("cmd.append\\(self.path\\)")
- "cmd.append(self.path + \"/game\")"))
- #t))
- (add-after 'unpack 'drop-game-from-paths
- (lambda _
- (substitute* (list "launcher/game/gui7.rpy"
- "launcher/game/gui7/images.py")
- ((", \"game\",") ","))
- #t))
- (add-before 'build 'start-xserver
- (lambda* (#:key inputs native-inputs #:allow-other-keys)
- (let ((xorg-server (assoc-ref (or native-inputs inputs)
- "xorg-server")))
- (setenv "HOME" (getcwd))
- (system (format #f "~a/bin/Xvfb :1 &" xorg-server))
- (setenv "DISPLAY" ":1")
- #t)))
- (replace 'build
- (lambda _
- (invoke "python" "renpy.py" "launcher" "quit")
- (invoke "python" "renpy.py" "the_question" "quit")
- (invoke "python" "renpy.py" "tutorial" "quit")
- #t))
- (replace 'install
- (lambda* (#:key inputs outputs #:allow-other-keys)
- ;; Here we install our custom renpy program.
- ;; After finishing this step, "out" will have the following:
- ;; |-- bin/renpy
- ;; `-- share/renpy ; i.e. path_to_renpy_base()
- ;; |-- common
- ;; `-- gui
- ;;
- ;; Note that common shares the source files that would be installed
- ;; by python2-renpy (which are instead deleted from that package),
- ;; but also contains their byte-compiled versions.
- ;; On other systems, renpy_base would point to site-packages or
- ;; even somewhere in /opt.
- ;; The former approach is not as straightforward as it seems
- ;; -- it causes renpy to load files twice for some weird reason --
- ;; and the latter is impossible on Guix. Hence the detour through
- ;; share/renpy and the custom renpy program.
- ;;
- ;; As a convention, other games should be installed as
- ;; subdirectories of share/renpy in their respective outputs as
- ;; well. This differs from the traditional layout, which is
- ;; roughly the following:
- ;; `-- Super Awesome Game
- ;; |-- game ; <- the folder we actually want
- ;; |-- lib ; compiled renpy module and dependencies
- ;; |-- renpy ; yet another copy of Ren'py's code
- ;; | |-- common ; the common folder from above
- ;; | `-- ... ; Python code (source + compiled)
- ;; |-- Super Awesome Game.py
- ;; `-- Super Awesome Game.sh
- (let* ((out (assoc-ref outputs "out"))
- (bin/renpy (string-append out "/bin/renpy")))
- (copy-recursively "renpy/common"
- (string-append out "/share/renpy/common"))
- (copy-recursively "gui"
- (string-append out "/share/renpy/gui"))
-
- (mkdir-p (string-append out "/bin"))
- (copy-file (assoc-ref inputs "renpy.in") bin/renpy)
- (substitute* bin/renpy
- (("@PYTHON@") (search-input-file inputs "bin/python2"))
- (("@RENPY_BASE@") (string-append out "/share/renpy")))
- (chmod bin/renpy #o755))))
-
- (add-after 'install 'install-games
- (lambda* (#:key outputs #:allow-other-keys)
- (define renpy (assoc-ref outputs "out"))
- ;; TODO: We should offer a renpy-build-system to make the
- ;; installation of Ren'py games easier.
- (define* (install-renpy-game #:key output game name (renpy renpy)
- #:allow-other-keys)
- (let* ((name (or name (basename game)))
- (launcher (string-append output "/bin/renpy-" name))
- (share (string-append output "/share/renpy/" name)))
- (copy-recursively (string-append game "/game") share)
- (mkdir-p (string-append output "/bin"))
- (with-output-to-file launcher
- (lambda ()
- (format #t
- "#!~a~%~a ~a \"$@\""
- (which "bash")
- (string-append renpy "/bin/renpy")
- share)))
- (chmod launcher #o755)))
-
- (install-renpy-game #:output (assoc-ref outputs "out")
- #:game "launcher")
-
- (install-renpy-game #:output (assoc-ref outputs "the-question")
- #:game "the_question"
- #:name "the-question")
-
- (install-renpy-game #:output (assoc-ref outputs "tutorial")
- #:game "tutorial")
- #t))
- (replace 'wrap
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (site (string-append "/lib/python"
- (python-version
- (assoc-ref inputs "python"))
- "/site-packages")))
- (wrap-program (string-append out "/bin/renpy")
- `("GUIX_PYTHONPATH" =
- (,@(delete-duplicates
- (map
- (lambda (store-path)
- (string-append store-path site))
- (cons (assoc-ref outputs "out")
- (map cdr
- (filter
- (lambda (input)
- (string-prefix? "python2" (car input)))
- inputs))))))))
- #t))))))
- (inputs
- `(("renpy.in" ,(search-auxiliary-file "renpy/renpy.in"))
- ("python2-renpy" ,python2-renpy)
- ("python2-tkinter" ,python-2 "tk")
- ("python2" ,python-2) ; for ‘fix-commands’ and ‘wrap’
- ("xdg-utils" ,xdg-utils)))
- (propagated-inputs '())
- (native-inputs
- (list xorg-server-for-tests))
- (outputs
- (list "out" "tutorial" "the-question"))
- (home-page "https://www.renpy.org/")
- (synopsis "Visual Novel Engine")
- (description "Ren'Py is a visual novel engine that helps you use words,
-images, and sounds to tell interactive stories that run on computers and
-mobile devices. These can be both visual novels and life simulation games.
-The easy to learn script language allows anyone to efficiently write large
-visual novels, while its Python scripting is enough for complex simulation
-games.")
- (license license:expat)))
-
(define-public python-pyxel
(package
(name "python-pyxel")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 081/602] gnu: renpy: Build with Python 3.
2022-05-15 4:37 ` [bug#55424] [PATCH 081/602] gnu: renpy: Build with Python 3 Maxim Cournoyer
@ 2022-06-16 13:18 ` Liliana Marie Prikler
2022-06-16 17:11 ` Maxim Cournoyer
0 siblings, 1 reply; 133+ messages in thread
From: Liliana Marie Prikler @ 2022-06-16 13:18 UTC (permalink / raw)
To: Maxim Cournoyer, 55424
Am Sonntag, dem 15.05.2022 um 00:37 -0400 schrieb Maxim Cournoyer:
> * gnu/packages/game-development.scm (renpy)[python]: Delete argument.
> [phases]: Delete trailing #t.
> [propagated-inputs]: Update the inputs to their Python 3
> counterparts.
> [native-inputs]: Likewise.
> ---
Sorry for commenting on a patch that has already been merged, but this
does not actually build renpy with Python 3, it builds the python parts
of renpy. And although those "build" fine as a package, since they
lack tests, there is no guarantee that they work – as a matter of fact,
the actual renpy package, which failed to build against python 3 back
when I last updated the package still fails to build if I adjust the
package definition.
According to upstream, only renpy 8.0 will run on python 3, whereas
renpy 7.5 (both still prereleases) will continue to use python 2.7.
I suggest "temporarily" reverting the following commits
425783b5 "gnu: Remove python2-cython."
ffec658a "gnu: Remove python2-future."
1a6eb0d6 "gnu: Remove python2-pygame-sdl2."
9f1bd63f "gnu: renpy: Build with Python 3."
or alternatively dropping the renpy package altogether. I have already
reverted them on my local tree, so I could push whenever – the question
is whether to do it in four separate commits or in a big one along with
an explanation.
WDYT?
^ permalink raw reply [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 081/602] gnu: renpy: Build with Python 3.
2022-06-16 13:18 ` Liliana Marie Prikler
@ 2022-06-16 17:11 ` Maxim Cournoyer
2022-06-16 18:51 ` Liliana Marie Prikler
0 siblings, 1 reply; 133+ messages in thread
From: Maxim Cournoyer @ 2022-06-16 17:11 UTC (permalink / raw)
To: Liliana Marie Prikler; +Cc: 55424
Hi Liliana,
Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
[...]
> According to upstream, only renpy 8.0 will run on python 3, whereas
> renpy 7.5 (both still prereleases) will continue to use python 2.7.
>
> I suggest "temporarily" reverting the following commits
> 425783b5 "gnu: Remove python2-cython."
> ffec658a "gnu: Remove python2-future."
> 1a6eb0d6 "gnu: Remove python2-pygame-sdl2."
> 9f1bd63f "gnu: renpy: Build with Python 3."
> or alternatively dropping the renpy package altogether. I have already
> reverted them on my local tree, so I could push whenever – the question
> is whether to do it in four separate commits or in a big one along with
> an explanation.
>
> WDYT?
Could you try updating renpy to a 8.0 pre-release? It was last updated
6 days ago [0]. That'd be preferable to re-introducing Python 2 stuff.
Thank you!
Maxim
[0] https://www.renpy.org/release/8.0.0
^ permalink raw reply [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 081/602] gnu: renpy: Build with Python 3.
2022-06-16 17:11 ` Maxim Cournoyer
@ 2022-06-16 18:51 ` Liliana Marie Prikler
2022-06-16 21:29 ` Maxim Cournoyer
0 siblings, 1 reply; 133+ messages in thread
From: Liliana Marie Prikler @ 2022-06-16 18:51 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: 55424
Am Donnerstag, dem 16.06.2022 um 13:11 -0400 schrieb Maxim Cournoyer:
> Hi Liliana,
>
> Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
>
>
> [...]
>
> > According to upstream, only renpy 8.0 will run on python 3, whereas
> > renpy 7.5 (both still prereleases) will continue to use python 2.7.
> >
> > I suggest "temporarily" reverting the following commits
> > 425783b5 "gnu: Remove python2-cython."
> > ffec658a "gnu: Remove python2-future."
> > 1a6eb0d6 "gnu: Remove python2-pygame-sdl2."
> > 9f1bd63f "gnu: renpy: Build with Python 3."
> > or alternatively dropping the renpy package altogether. I have
> > already reverted them on my local tree, so I could push whenever –
> > the question is whether to do it in four separate commits or in a
> > big one along with an explanation.
> >
> > WDYT?
>
> Could you try updating renpy to a 8.0 pre-release? It was last
> updated 6 days ago [0]. That'd be preferable to re-introducing
> Python 2 stuff.
That looks like the kind of link that would lead to hash conflicts once
the release is actually out (which isn't that bad normally, since I
tend to only use actual releases). We could use some git tag though,
there's probably a bunch that don't map to releases. In either case,
these prereleases should not be used to publish game with, which makes
packages for them kinda useless.
Long-term I do think Renpy 7 should not be in Guix upstream, but past
efforts to move it elsewhere like Guix Past ended up mere discussion.
The questions for me is what to do shot-term, while Renpy 8 is not a
viable option.
^ permalink raw reply [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 081/602] gnu: renpy: Build with Python 3.
2022-06-16 18:51 ` Liliana Marie Prikler
@ 2022-06-16 21:29 ` Maxim Cournoyer
2022-06-16 23:39 ` Liliana Marie Prikler
0 siblings, 1 reply; 133+ messages in thread
From: Maxim Cournoyer @ 2022-06-16 21:29 UTC (permalink / raw)
To: Liliana Marie Prikler; +Cc: 55424
Hello,
Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
> Am Donnerstag, dem 16.06.2022 um 13:11 -0400 schrieb Maxim Cournoyer:
>> Hi Liliana,
>>
>> Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
>>
>>
>> [...]
>>
>> > According to upstream, only renpy 8.0 will run on python 3, whereas
>> > renpy 7.5 (both still prereleases) will continue to use python 2.7.
>> >
>> > I suggest "temporarily" reverting the following commits
>> > 425783b5 "gnu: Remove python2-cython."
>> > ffec658a "gnu: Remove python2-future."
>> > 1a6eb0d6 "gnu: Remove python2-pygame-sdl2."
>> > 9f1bd63f "gnu: renpy: Build with Python 3."
>> > or alternatively dropping the renpy package altogether. I have
>> > already reverted them on my local tree, so I could push whenever –
>> > the question is whether to do it in four separate commits or in a
>> > big one along with an explanation.
>> >
>> > WDYT?
>>
>> Could you try updating renpy to a 8.0 pre-release? It was last
>> updated 6 days ago [0]. That'd be preferable to re-introducing
>> Python 2 stuff.
> That looks like the kind of link that would lead to hash conflicts once
> the release is actually out (which isn't that bad normally, since I
> tend to only use actual releases). We could use some git tag though,
> there's probably a bunch that don't map to releases. In either case,
> these prereleases should not be used to publish game with, which makes
> packages for them kinda useless.
Pre-releases are better than a broken or missing package :-). I guess
it depends on our users: is someone actively using the Guix-provided
renpy package to publish games? Since the package was broken 2 weeks
ago without a bug report, I'd assume that no, in which case a
pre-release is fine and more forward-looking in this situation.
> Long-term I do think Renpy 7 should not be in Guix upstream, but past
> efforts to move it elsewhere like Guix Past ended up mere discussion.
> The questions for me is what to do shot-term, while Renpy 8 is not a
> viable option.
Are all the above Python 2 dependencies already in the Guix-Past
channel? If so, it seems that it could be decent option to keep renpy 7
there until renpy 8 is made stable, if updating to the pre-release in
Guix proper is too difficult.
Thanks,
Maxim
^ permalink raw reply [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 081/602] gnu: renpy: Build with Python 3.
2022-06-16 21:29 ` Maxim Cournoyer
@ 2022-06-16 23:39 ` Liliana Marie Prikler
2022-06-17 5:09 ` Maxim Cournoyer
0 siblings, 1 reply; 133+ messages in thread
From: Liliana Marie Prikler @ 2022-06-16 23:39 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: 55424
Am Donnerstag, dem 16.06.2022 um 17:29 -0400 schrieb Maxim Cournoyer:
> Hello,
>
> Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
>
> > [...]
> > [T]hese prereleases should not be used to publish game with, which
> > makes packages for them kinda useless.
>
> Pre-releases are better than a broken or missing package :-). I
> guess it depends on our users: is someone actively using the Guix-
> provided renpy package to publish games?
If they did, we would probably be seeing folks make use of our renpy-
build-system, though I can't speak for people using Renpy on Guix to
publish non-free games.
> Since the package was broken 2 weeks ago without a bug report, I'd
> assume that no, in which case a pre-release is fine and more forward-
> looking in this situation.
This does not just affect publishing though. It also means that a
bunch of games you codes for 7.4 will not work (as expected) with Renpy
8, which might be – pardon the pun – game-breaking.
> > Long-term I do think Renpy 7 should not be in Guix upstream, but
> > past efforts to move it elsewhere like Guix Past ended up mere
> > discussion. The questions for me is what to do shot-term, while
> > Renpy 8 is not a viable option.
>
> Are all the above Python 2 dependencies already in the Guix-Past
> channel? If so, it seems that it could be decent option to keep
> renpy 7 there until renpy 8 is made stable, if updating to the pre-
> release in Guix proper is too difficult.
Only cython is currently in Guix Past, the rest needs to be added.
Regarding renpy 8, it turns out that no tags exist in Github currently,
so we would have to guess some random commits. That plus my already
mentioned concerns should imho be enough to consider using the actually
stable version as renpy and offer the other one as renpy-next if people
feel like breaking their stuff. OTOH if our stance is that we really
don't want any python 2 stuff in Guix and rather have people use time
machine, I think we should loudly break the package (by removing it)
rather than silently.
Cheers
^ permalink raw reply [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 081/602] gnu: renpy: Build with Python 3.
2022-06-16 23:39 ` Liliana Marie Prikler
@ 2022-06-17 5:09 ` Maxim Cournoyer
0 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-06-17 5:09 UTC (permalink / raw)
To: Liliana Marie Prikler; +Cc: 55424
Hi Liliana,
We have a nice opportunity at the moment to truly phase out Python 2
from Guix, with just a handful packages remaining that still depend on
it, so I'd like to focus on options other than re-introducing Python 2
dependencies at first.
I tried updating the package like so:
--8<---------------cut here---------------start------------->8---
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 4c1b97f041..89602dc127 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1208,7 +1208,8 @@ (define-public python-pygame
(define-public python-pygame-sdl2
(let ((real-version "2.1.0")
- (renpy-version "7.4.11"))
+ ;; Use a pre-release version to match that of Renpy.
+ (renpy-version "8.0.0"))
(package
(inherit python-pygame)
(name "python-pygame-sdl2")
@@ -1216,17 +1217,16 @@ (define-public python-pygame-sdl2
(source
(origin
(method url-fetch)
- (uri (string-append "https://www.renpy.org/dl/" renpy-version
+ (uri (string-append "https://www.renpy.org/dl/prerelease-8"
"/pygame_sdl2-" version ".tar.gz"))
- (sha256 (base32 "0nxvca16299jx6sp0ys29rqixcs21ymhqwjfkbchhss0yar7qjgz"))
+ (sha256 (base32 "1ml3650czvzi0k9ap12zz7ykldhzzk0251ncl62wdmncfqfq98wd"))
(modules '((guix build utils)))
(snippet
'(begin
;; drop generated sources
(delete-file-recursively "gen")
(delete-file-recursively "gen3")
- (delete-file-recursively "gen-static")
- #t))))
+ (delete-file-recursively "gen-static")))))
(build-system python-build-system)
(arguments
`(#:tests? #f ; tests require pygame to be installed first
@@ -1243,8 +1243,7 @@ (define-public python-pygame-sdl2
(assoc-ref inputs "sdl-union")
"/lib -Wl,-rpath,"
(assoc-ref inputs "sdl-union")
- "/lib -Wl,--enable-new-dtags -lSDL2"))
- #t)))))
+ "/lib -Wl,--enable-new-dtags -lSDL2")))))))
(inputs
(list (sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf))))
(native-inputs
@@ -1260,22 +1259,23 @@ (define-public python-pygame-sdl2
(define-public renpy
(package
(name "renpy")
- (version "7.4.11")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://www.renpy.org/dl/" version
- "/renpy-" version "-source.tar.bz2"))
- (sha256 (base32 "0zkhg2sd2hglm9dkansf4h8sq7lm7iqslzl763ambp4kyfdvd07q"))
- (modules '((guix build utils)))
- (patches
- (search-patches
- "renpy-use-system-fribidi.patch"))
- (snippet
- '(with-directory-excursion "module"
- ;; drop fribidi sources
- (delete-file-recursively "fribidi-src")
- #t))))
+ ;; Use a pre-release version to avoid Python 2, which the last stable 7.5
+ ;; release is still using.
+ (version "8.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://www.renpy.org/dl/prerelease-8"
+ "/renpy-" version "-source.tar.bz2"))
+ (modules '((guix build utils)))
+ (snippet
+ '(with-directory-excursion "module"
+ ;; drop fribidi sources
+ (delete-file-recursively "fribidi-src")))
+ (sha256
+ (base32
+ "0bxihc8lkjmp769i4ih74si76i0lvdw86dg5j005kbj4m4cpvvax"))
+ (patches
+ (search-patches "renpy-use-system-fribidi.patch"))))
(build-system python-build-system)
(arguments
`(#:tests? #f ; Ren'py doesn't seem to package tests
@@ -1299,7 +1299,7 @@ (define-public renpy
"/bin/cython"))
(setenv "RENPY_DEPS_INSTALL" (string-join (map cdr inputs) ":"))))
(replace 'build
- (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
+ (lambda args
;; The "module" subdirectory contains a python (really cython)
;; project, which is built using a script, that is thankfully
;; named "setup.py".
--8<---------------cut here---------------end--------------->8---
It currently fails to build due to a new dependency, 'tinyfiledialogs':
--8<---------------cut here---------------start------------->8---
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fPIC -I. -I/gnu/store/rvjwhr9ib88fm3s2h04n8jl4qpnb54rl-sdl-union-1.2.15/include -I/gnu/store/p7iq81hxxyk9zy7a9dngbf16zm8d4klx-libpng-1.6.37/include -I/gnu/store/rvjwhr9ib88fm3s2h04n8jl4qpnb54rl-sdl-union-1.2.15/include/SDL2 -I/gnu/store/ak70pk2hjks17cx7zjdmdmzpcpiy9gpi-freetype-2.10.4/include/freetype2 -I/gnu/store/jgmr3siy9dr8snlym3dfjbj0gmjzm2zk-ffmpeg-4.4.2/include -I/gnu/store/sh6j1xz8fz7a23x5y2w05rzxjamq4x7y-glew-2.1.0/include -I/gnu/store/9bx852151mzmmbpm92q46zk104qnan1d-python-pygame-sdl2-2.1.0-for-renpy-8.0.0/include/python3.9 -I/gnu/store/65i3nhcwmz0p8rqbg48gaavyky4g4hwk-python-3.9.9/include/python3.9 -c gen3/_renpytfd.c -o build/temp.linux-x86_64-3.9/gen3/_renpytfd.o -std=gnu99 -Wno-unused-function
gen3/_renpytfd.c:618:10: fatal error: tinyfiledialogs/tinyfiledialogs.h: No such file or directory
618 | #include "tinyfiledialogs/tinyfiledialogs.h"
--8<---------------cut here---------------end--------------->8---
> OTOH if our stance is that we really
> don't want any python 2 stuff in Guix and rather have people use time
> machine, I think we should loudly break the package (by removing it)
> rather than silently.
That appears to be exactly what NixOS has done:
$ nix edit nixpkgs#renpy
error: renpy has been removed from nixpkgs, it was unmaintained and the
latest packaged version required python2
I think finishing the update started above would be a better option than
removing it, if we have the bandwidth to tackle the update. Would you
like to give it a try?
Thanks,
Maxim
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 082/602] gnu: Remove slingshot.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (79 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 081/602] gnu: renpy: Build with Python 3 Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 083/602] gnu: Remove python2-gpg Maxim Cournoyer
` (21 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/games.scm (slingshot): Delete variable.
---
gnu/packages/games.scm | 27 ---------------------------
1 file changed, 27 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index c6d23298ff..b3430357bd 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -8678,33 +8678,6 @@ (define-public slimevolley
the ground, the set ends and all balls are served again.")
(license license:gpl3+)))
-(define-public slingshot
- (package
- (name "slingshot")
- (version "0.9")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/ryanakca/slingshot")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "19m8b6nsi786bc6gmkp185mwri3r5y249gjmqd5qsc23nnfhgrs1"))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2))
- (inputs
- (list python2-pygame))
- (home-page "https://github.com/ryanakca/slingshot")
- (synopsis "Simple 2D shooting strategy game set in space")
- (description "Slingshot is a two-dimensional strategy game where two
-players attempt to shoot one another through a section of space populated by
-planets. The main feature of the game is that the shots, once fired, are
-affected by the gravity of the planets.")
- (license license:gpl2+)))
-
(define-public 4dtris
(package
(name "4dtris")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 083/602] gnu: Remove python2-gpg.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (80 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 082/602] gnu: Remove slingshot Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 084/602] gnu: Remove python2-pygpgme Maxim Cournoyer
` (20 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/gnupg.scm (python2-gpg): Delete variable.
---
gnu/packages/gnupg.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index cde7427d07..58a5c44318 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -532,9 +532,6 @@ (define-public python-gpg
distributed separately.")
(license license:lgpl2.1+)))
-(define-public python2-gpg
- (package-with-python2 python-gpg))
-
(define-public python-pygpgme
(package
(name "python-pygpgme")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 084/602] gnu: Remove python2-pygpgme.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (81 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 083/602] gnu: Remove python2-gpg Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 085/602] gnu: pius: Update to 3.0.0 Maxim Cournoyer
` (19 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/gnupg.scm (python2-pygpgme): Delete variable.
---
gnu/packages/gnupg.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 58a5c44318..02a7c8d942 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -567,9 +567,6 @@ (define-public python-pygpgme
decrypt messages using the OpenPGP format by making use of GPGME.")
(license license:lgpl2.1+)))
-(define-public python2-pygpgme
- (package-with-python2 python-pygpgme))
-
(define-public python-gnupg
(package
(name "python-gnupg")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 085/602] gnu: pius: Update to 3.0.0.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (82 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 084/602] gnu: Remove python2-pygpgme Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 086/602] gnu: Remove python2-pydot Maxim Cournoyer
` (18 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/gnupg.scm (pius): Update to 3.0.0.
[arguments]: Delete tests? and python arguments.
[phases]{set-gpg-file-name}: Streamline.
[description]: Spell key signing as two words. Mark commands with Texinfo
markup.
---
gnu/packages/gnupg.scm | 65 +++++++++++++++++++-----------------------
1 file changed, 30 insertions(+), 35 deletions(-)
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 02a7c8d942..c9b233c1e4 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -21,6 +21,7 @@
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2021 Nikita Domnitskii <nikita@domnitskii.me>
;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org>
+;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -638,44 +639,38 @@ (define-public perl-gnupg-interface
(define-public pius
(package
- (name "pius")
- (version "2.2.7")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/jaymzh/pius/releases/download/v"
- version "/pius-" version ".tar.bz2"))
- (sha256
- (base32
- "1nsl7czicv95j0gfz4s82ys3g3h2mwr6cq3ilid8bpz3iy7z4ipy"))))
- (build-system python-build-system)
- (inputs `(("perl" ,perl) ; for 'pius-party-worksheet'
- ("gpg" ,gnupg)
- ("python-six" ,python2-six)))
- (arguments
- `(#:tests? #f
- #:python ,python-2 ; uses the Python 2 'print' syntax
- #:phases
- (modify-phases %standard-phases
- (add-before
- 'build 'set-gpg-file-name
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((gpg (search-input-file inputs "/bin/gpg")))
+ (name "pius")
+ (version "3.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/jaymzh/pius/releases/download/v"
+ version "/pius-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "11fhmfvr0avxl222rv43wjd2xjbpxrsmcl8xwmn0nvf1rw95v9fn"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'set-gpg-file-name
+ (lambda* (#:key inputs #:allow-other-keys)
(substitute* "libpius/constants.py"
- (("/usr/bin/gpg2") gpg))
- #t))))))
- (synopsis "Programs to simplify GnuPG key signing")
- (description
- "Pius (PGP Individual UID Signer) helps attendees of PGP keysigning
+ (("/usr/bin/gpg2")
+ (search-input-file inputs "bin/gpg"))))))))
+ (inputs (list perl ;for 'pius-party-worksheet'
+ gnupg))
+ (synopsis "Programs to simplify GnuPG key signing")
+ (description
+ "Pius (PGP Individual UID Signer) helps attendees of PGP key signing
parties. It is the main utility and makes it possible to quickly and easily
sign each UID on a set of PGP keys. It is designed to take the pain out of
-the sign-all-the-keys part of PGP Keysigning Party while adding security
-to the process.
-
-pius-keyring-mgr and pius-party-worksheet help organisers of
-PGP keysigning parties.")
- (license license:gpl2)
- (home-page "https://www.phildev.net/pius/index.shtml")))
+the sign-all-the-keys part of PGP key signing parties while adding security to
+the process. The @command{pius-keyring-mgr} and
+@command{pius-party-worksheet} commands help organizers of PGP key signing
+parties.")
+ (license license:gpl2)
+ (home-page "https://www.phildev.net/pius/index.shtml")))
(define-public signing-party
(package
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 086/602] gnu: Remove python2-pydot.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (83 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 085/602] gnu: pius: Update to 3.0.0 Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 087/602] gnu: dot2tex: Update to 2.11.3 Maxim Cournoyer
` (17 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/graphviz.scm (python2-pydot): Delete variable.
---
gnu/packages/graphviz.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index dfbb28a8a9..2a99c0988e 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -403,9 +403,6 @@ (define-public python-pydot
graphs in Graphviz's DOT language, written in pure Python.")
(license license:expat)))
-(define-public python2-pydot
- (package-with-python2 python-pydot))
-
(define-public dot2tex
(package
(name "dot2tex")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 087/602] gnu: dot2tex: Update to 2.11.3.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (84 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 086/602] gnu: Remove python2-pydot Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 088/602] gnu: Remove h-client Maxim Cournoyer
` (16 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/graphviz.scm (dot2tex): Update to 2.11.3.
[arguments]: Remove python argument.
[phases]: New argument.
[native-inputs]: New field.
[inputs]: Move texlive-latex-preview to...
[propagated-inputs]: ... here. Replace python2-pyparsing with
python-parsing. Add texlive-bin, texlive-amsmath, texlive-latex-geometry,
texlive-latex-graphics, texlive-latex-base, texlive-latex-xkeyval,
texlive-pgf, texlive-pstricks and texlive-xcolor.
---
gnu/packages/graphviz.scm | 30 ++++++++++++++++++++++++++----
1 file changed, 26 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index 2a99c0988e..f2fd90e616 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -415,11 +415,33 @@ (define-public dot2tex
"1kp77wiv7b5qib82i3y3sn9r49rym43aaqm5aw1bwnzfbbq2m6i9"))))
(build-system python-build-system)
(arguments
- `(#:python ,python-2))
- (inputs
- (list texlive-latex-preview graphviz))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "tests"
+ ;; The test_semicolon test fails for unknown reason
+ ;; (see:
+ ;; https://github.com/kjellmf/dot2tex/issues/94).
+ "-k" "not test_semicolon")))))))
+ (native-inputs (list python-pytest))
+ (inputs (list graphviz))
(propagated-inputs
- (list python2-pyparsing))
+ (list python-pyparsing
+ ;; These TeX dependencies are propagated to make it easier to build
+ ;; the resulting generated TeX files, which \usepackage them.
+ texlive-bin
+ texlive-amsmath
+ texlive-latex-geometry
+ texlive-latex-graphics
+ texlive-latex-base
+ texlive-latex-preview
+ texlive-latex-xkeyval
+ texlive-pgf
+ texlive-pstricks
+ texlive-xcolor))
(home-page "https://github.com/kjellmf/dot2tex")
(synopsis "Graphviz to LaTeX converter")
(description
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 088/602] gnu: Remove h-client.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (85 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 087/602] gnu: dot2tex: Update to 2.11.3 Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 089/602] gnu: Remove python2-iso3166 Maxim Cournoyer
` (15 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/hardware.scm (h-client): Delete variable.
---
gnu/packages/hardware.scm | 36 ------------------------------------
1 file changed, 36 deletions(-)
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index 38bc3881b9..946cd9aba4 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -375,42 +375,6 @@ (define-public edid-decode
human-readable format and checks if it conforms to the standards.")
(license license:expat))))
-(define-public h-client
- (let ((version "0.0a0")
- (revision 138))
- (package
- (name "h-client")
- (version (string-append version "-" (number->string revision)))
- (source
- (origin
- (method svn-fetch)
- (uri
- (svn-reference
- (url "https://svn.savannah.nongnu.org/svn/h-client/trunk/h-client")
- (revision revision)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1pdd2qhyaa5vh7z4rkpwjlby1flkwhzmp8zlglalx5y5sv95l4kp"))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2
- ;; Tests depends on /etc/os-release which does not exist in the
- ;; build container.
- #:tests? #f))
- (inputs
- (list python-2 python2-pycurl python2-pygtk pciutils usbutils))
- (synopsis "Graphical client for the h-node hardware database
-project")
- (description
- "The h-node project (https://www.h-node.org) aims to build a database of
-hardware that works with fully free operating systems.
-h-client is a GTK+ graphical client that is able to retrieves information on
-the hardware inside the computer it's running on, and on peripherals connected
-to it, and help you submit that information to the h-node project along with
-whether the hardware works with a fully free operating system or not.")
- (home-page "https://savannah.nongnu.org/projects/h-client/")
- (license license:gpl3+))))
-
(define-public headsetcontrol
(package
(name "headsetcontrol")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 089/602] gnu: Remove python2-iso3166.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (86 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 088/602] gnu: Remove h-client Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 090/602] gnu: Remove python2-iso639 Maxim Cournoyer
` (14 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/iso-codes.scm (python2-iso3166): Delete variable.
---
gnu/packages/iso-codes.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/iso-codes.scm b/gnu/packages/iso-codes.scm
index b2cfd3434c..b567c0e029 100644
--- a/gnu/packages/iso-codes.scm
+++ b/gnu/packages/iso-codes.scm
@@ -115,6 +115,3 @@ (define-public python-iso3166
(synopsis "Self-contained ISO 3166-1 country definitions")
(description "This package provides the ISO 3166-1 country definitions.")
(license license:expat)))
-
-(define-public python2-iso3166
- (package-with-python2 python-iso3166))
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 090/602] gnu: Remove python2-iso639.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (87 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 089/602] gnu: Remove python2-iso3166 Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 091/602] gnu: Remove key-mon Maxim Cournoyer
` (13 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/iso-codes.scm (python2-iso639): Delete variable.
---
gnu/packages/iso-codes.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/iso-codes.scm b/gnu/packages/iso-codes.scm
index b567c0e029..c34911fe9b 100644
--- a/gnu/packages/iso-codes.scm
+++ b/gnu/packages/iso-codes.scm
@@ -96,9 +96,6 @@ (define-public python-iso639
groups.")
(license license:agpl3+)))
-(define-public python2-iso639
- (package-with-python2 python-iso639))
-
(define-public python-iso3166
(package
(name "python-iso3166")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 091/602] gnu: Remove key-mon.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (88 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 090/602] gnu: Remove python2-iso639 Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:37 ` [bug#55424] [PATCH 092/602] gnu: Remove python2-tegaki-recognize Maxim Cournoyer
` (12 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/key-mon.scm (key-mon): Delete variable.
---
gnu/packages/key-mon.scm | 25 -------------------------
1 file changed, 25 deletions(-)
diff --git a/gnu/packages/key-mon.scm b/gnu/packages/key-mon.scm
index e7b549d184..d70dd0cd48 100644
--- a/gnu/packages/key-mon.scm
+++ b/gnu/packages/key-mon.scm
@@ -26,28 +26,3 @@ (define-module (gnu packages key-mon)
#:use-module (gnu packages gtk)
#:use-module (gnu packages gnome)
#:use-module (guix build-system python))
-
-(define-public key-mon
- (package
- (name "key-mon")
- (version "1.17")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "http://key-mon.googlecode.com/files/key-mon-"
- version ".tar.gz"))
- (sha256
- (base32
- "1liz0dxcqmchbnl1xhlxkqm3gh76wz9jxdxn9pa7dy77fnrjkl5q"))))
- (build-system python-build-system)
- (arguments
- `(#:python ,python-2 ;uses the Python 2 'print' syntax
- #:tests? #f)) ;no tests
- (inputs
- (list python2-xlib python2-pygtk python2-rsvg))
- (home-page "https://code.google.com/p/key-mon")
- (synopsis "Show keyboard and mouse status")
- (description
- "The key-mon utility displays the current keyboard and mouse status.
-This is useful for teaching and screencasts.")
- (license asl2.0)))
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 092/602] gnu: Remove python2-tegaki-recognize.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (89 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 091/602] gnu: Remove key-mon Maxim Cournoyer
@ 2022-05-15 4:37 ` Maxim Cournoyer
2022-05-15 4:38 ` [bug#55424] [PATCH 093/602] gnu: Remove python2-pyusb Maxim Cournoyer
` (11 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:37 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/language.scm (python2-tegaki-recognize): Delete variable.
---
gnu/packages/language.scm | 52 ---------------------------------------
1 file changed, 52 deletions(-)
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index 6a0f1af2fa..ce7646b7ad 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -1006,58 +1006,6 @@ (define-public python2-tegaki-tools
;; under gpl2+. Therefore, the combined work is licensed under gpl3+.
(license license:gpl3+)))
-(define-public python2-tegaki-recognize
- (let ((commit "eceec69fe651d0733c8c8752dae569d2283d0f3c")
- (revision "1"))
- (package
- (inherit python2-tegaki-tools)
- (name "python2-tegaki-recognize")
- ;; version copied from <https://github.com/tegaki/tegaki/releases>
- (version (git-version "0.3.1" revision commit))
- (source
- (origin
- ;; We use GIT-FETCH because 'tegaki-recognize.desktop.in' and
- ;; 'tegaki-recognize.in' are missing in the tarball.
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/tegaki/tegaki")
- (commit commit)))
- (sha256
- (base32
- "09mw2if9p885phbgah5f95q3fwy7s5b46qlmpxqyzfcnj6g7afr5"))
- (file-name (git-file-name name version))
- (modules `((guix build utils)
- (ice-9 ftw)
- (srfi srfi-26)
- ,@remove-pre-compiled-files-modules))
- (snippet
- `(begin
- ;; remove unnecessary files with potentially different license
- (for-each delete-file-recursively
- (scandir "."
- (negate (cut member <> '("tegaki-recognize"
- "." "..")))))
- ,(remove-pre-compiled-files "pyc")
- #t))))
- (arguments
- (substitute-keyword-arguments (package-arguments python2-tegaki-tools)
- ((#:phases _)
- `(modify-phases %standard-phases
- (add-after 'unpack 'chdir
- (lambda _
- (chdir "tegaki-recognize")
- #t))
- ;; 'setup.py' script does not support one of the Python build
- ;; system's default flags, "--single-version-externally-managed"
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (invoke "python" "setup.py" "install"
- (string-append "--prefix=" (assoc-ref outputs "out"))
- "--root=/")
- #t))))))
- (synopsis "Chinese and Japanese Handwriting Recognition (Main program)")
- (license license:gpl2+))))
-
(define-public tegaki-zinnia-japanese
(package
(inherit python2-tegaki-wagomu)
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 093/602] gnu: Remove python2-pyusb.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (90 preceding siblings ...)
2022-05-15 4:37 ` [bug#55424] [PATCH 092/602] gnu: Remove python2-tegaki-recognize Maxim Cournoyer
@ 2022-05-15 4:38 ` Maxim Cournoyer
2022-05-15 4:38 ` [bug#55424] [PATCH 094/602] gnu: Remove python2-autograd Maxim Cournoyer
` (10 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:38 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/libusb.scm (python2-pyusb): Delete variable.
---
gnu/packages/libusb.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index 01771dffca..8c34956fee 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -300,9 +300,6 @@ (define-public python-pyusb
"PyUSB aims to be an easy to use Python module to access USB devices.")
(license license:bsd-3)))
-(define-public python2-pyusb
- (package-with-python2 python-pyusb))
-
(define-public python-capablerobot-usbhub
(package
(name "python-capablerobot-usbhub")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 094/602] gnu: Remove python2-autograd.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (91 preceding siblings ...)
2022-05-15 4:38 ` [bug#55424] [PATCH 093/602] gnu: Remove python2-pyusb Maxim Cournoyer
@ 2022-05-15 4:38 ` Maxim Cournoyer
2022-05-15 4:38 ` [bug#55424] [PATCH 095/602] gnu: getmail: Deprecate with getmail6 Maxim Cournoyer
` (9 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:38 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/machine-learning.scm (python2-autograd): Delete variable.
---
gnu/packages/machine-learning.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 7b377c7d35..509b9c7cdd 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1326,9 +1326,6 @@ (define-public python-autograd
main intended application of Autograd is gradient-based optimization.")
(license license:expat))))
-(define-public python2-autograd
- (package-with-python2 python-autograd))
-
(define-public lightgbm
(package
(name "lightgbm")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 095/602] gnu: getmail: Deprecate with getmail6.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (92 preceding siblings ...)
2022-05-15 4:38 ` [bug#55424] [PATCH 094/602] gnu: Remove python2-autograd Maxim Cournoyer
@ 2022-05-15 4:38 ` Maxim Cournoyer
2022-05-15 4:38 ` [bug#55424] [PATCH 096/602] gnu: Remove python2-mailmanclient Maxim Cournoyer
` (8 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:38 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/mail.scm (getmail): Mark as deprecated in favor of...
(getmail6): ... this new package.
---
gnu/packages/mail.scm | 45 ++++++++++++++++++++++---------------------
1 file changed, 23 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index c4ccc53e84..31cdc8da55 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -32,7 +32,7 @@
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020 Justus Winter <justus@sequoia-pgp.org>
;;; Copyright © 2020 Eric Brown <ecbrown@ericcbrown.com>
-;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020, 2021 Alexey Abramov <levenson@mmer.org>
;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
@@ -40,7 +40,6 @@
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
;;; Copyright © 2020 divoplade <d@divoplade.fr>
-;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021 Benoit Joly <benoit@benoitj.ca>
;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
@@ -1550,31 +1549,33 @@ (define-public muchsync
pairs have previously synchronized.")
(license license:gpl2+))) ; with OpenSSL libcrypto exception
-(define-public getmail
+(define-public getmail6
(package
- (name "getmail")
- (version "5.16")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://pyropus.ca/software/getmail/old-versions/"
- "getmail-" version ".tar.gz"))
- (sha256
- (base32 "1yk7lrndbfsrbdxikwzdqvadryqsldalxdn3a184dg4sxzmgis3a"))))
+ (name "getmail6")
+ (version "6.18.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/getmail6/getmail6")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "08a5yw6ll1kmd1ardj8rzhsw4wl48zzdc87g5lh4p5snv8w2m4ja"))))
(build-system python-build-system)
- (arguments
- (list #:tests? #f ; no tests
- #:python python-2))
- (home-page "https://pyropus.ca/software/getmail/")
+ (arguments (list #:tests? #f)) ;tests require docker
+ (home-page "https://github.com/getmail6/getmail6")
(synopsis "Mail retriever")
(description
- "A flexible, extensible mail retrieval system with support for
-POP3, IMAP4, SSL variants of both, maildirs, mboxrd files, external MDAs,
-arbitrary message filtering, single-user and domain-mailboxes, and many other
-useful features.")
+ "A flexible, extensible mail retrieval system with support for POP3,
+IMAP4, SSL variants of both, maildirs, mboxrd files, external MDAs, arbitrary
+message filtering, single-user and domain-mailboxes, and many other useful
+features. This is a fork derived from getmali 5.14, aimed at Python 3
+compatibility.")
+ (license license:gpl2+))) ;see docs/COPYING
- ;; License is specified in file '__init__.py'.
- (license license:gpl2)))
+(define-public getmail
+ (deprecated-package "getmail" getmail6))
(define-public libetpan
(package
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 096/602] gnu: Remove python2-mailmanclient.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (93 preceding siblings ...)
2022-05-15 4:38 ` [bug#55424] [PATCH 095/602] gnu: getmail: Deprecate with getmail6 Maxim Cournoyer
@ 2022-05-15 4:38 ` Maxim Cournoyer
2022-05-15 4:38 ` [bug#55424] [PATCH 097/602] gnu: Remove python2-musicbrainzngs Maxim Cournoyer
` (7 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:38 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/mail.scm (python2-mailmanclient): Delete variable.
---
gnu/packages/mail.scm | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 31cdc8da55..4365fa647d 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -3365,25 +3365,8 @@ (define-public python-mailmanclient
(description
"The mailmanclient library provides official Python bindings for
the GNU Mailman 3 REST API.")
- (properties `((python2-variant . ,(delay python2-mailmanclient))))
(license license:lgpl3+)))
-;; This is the last version which supports Python-2.
-(define-public python2-mailmanclient
- (let ((base (package-with-python2
- (strip-python2-variant python-mailmanclient))))
- (package
- (inherit base)
- (version "3.1.1")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "mailmanclient" version))
- (sha256
- (base32
- "0fdfs5g3pf30v2i7w18pdkv9xnfxmfcv66mzv56dck0a1igq07m3"))))
- (propagated-inputs
- (list python2-six python2-httplib2)))))
(define-public mlmmj
(package
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 097/602] gnu: Remove python2-musicbrainzngs.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (94 preceding siblings ...)
2022-05-15 4:38 ` [bug#55424] [PATCH 096/602] gnu: Remove python2-mailmanclient Maxim Cournoyer
@ 2022-05-15 4:38 ` Maxim Cournoyer
2022-05-15 4:38 ` [bug#55424] [PATCH 098/602] gnu: Remove python2-pyechonest Maxim Cournoyer
` (6 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:38 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/music.scm (python2-musicbrainzngs): Delete variable.
---
gnu/packages/music.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 0b76e57acf..c15def4649 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -3671,9 +3671,6 @@ (define-public python-musicbrainzngs
;; 'musicbrainzngs/compat.py' is ISC licensed.
(license (list license:bsd-2 license:isc))))
-(define-public python2-musicbrainzngs
- (package-with-python2 python-musicbrainzngs))
-
(define-public python-isrcsubmit
(package
(name "python-isrcsubmit")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 098/602] gnu: Remove python2-pyechonest.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (95 preceding siblings ...)
2022-05-15 4:38 ` [bug#55424] [PATCH 097/602] gnu: Remove python2-musicbrainzngs Maxim Cournoyer
@ 2022-05-15 4:38 ` Maxim Cournoyer
2022-05-15 4:38 ` [bug#55424] [PATCH 099/602] gnu: Remove mloop Maxim Cournoyer
` (5 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:38 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/music.scm (python2-pyechonest): Delete variable.
---
gnu/packages/music.scm | 33 ---------------------------------
1 file changed, 33 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index c15def4649..d0b51c7bba 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -3692,39 +3692,6 @@ (define-public python-isrcsubmit
@url{https://musicbrainz.org/, MusicBrainz}.")
(license license:gpl3+)))
-(define-public python2-pyechonest
- (package
- (name "python2-pyechonest")
- (version "9.0.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "pyechonest" version))
- (sha256
- (base32
- "1584nira3rkiman9dm81kdshihmkj21s8navndz2l8spnjwb790x"))))
- (build-system python-build-system)
- (arguments
- `(;; Python 3 is not supported:
- ;; https://github.com/echonest/pyechonest/issues/42
- #:python ,python-2))
- (home-page "https://github.com/echonest/pyechonest")
- (synopsis "Python interface to The Echo Nest APIs")
- (description "Pyechonest is a Python library for the Echo Nest API. With
-Pyechonest you have Python access to the entire set of API methods including:
-
-@enumerate
-@item artist - search for artists by name, description, or attribute, and get
-back detailed information about any artist including audio, similar artists,
-blogs, familiarity, hotttnesss, news, reviews, urls and video.
-@item song - search songs by artist, title, description, or attribute (tempo,
-duration, etc) and get detailed information back about each song, such as
-hotttnesss, audio_summary, or tracks.
-@item track - upload a track to the Echo Nest and receive summary information
-about the track including key, duration, mode, tempo, time signature along with
-detailed track info including timbre, pitch, rhythm and loudness information.
-@end enumerate\n")
- (license license:bsd-3)))
-
(define-public python-pylast
(package
(name "python-pylast")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 099/602] gnu: Remove mloop.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (96 preceding siblings ...)
2022-05-15 4:38 ` [bug#55424] [PATCH 098/602] gnu: Remove python2-pyechonest Maxim Cournoyer
@ 2022-05-15 4:38 ` Maxim Cournoyer
2022-05-15 4:38 ` [bug#55424] [PATCH 100/602] gnu: Remove gtklick Maxim Cournoyer
` (4 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:38 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/music.scm (mloop): Delete variable.
---
gnu/packages/music.scm | 39 ---------------------------------------
1 file changed, 39 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index d0b51c7bba..e4308c6300 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -5547,45 +5547,6 @@ (define-public fmit
;; are under LGPL2.1.
(license (list license:gpl2+ license:lgpl2.1))))
-(define-public mloop
- (let ((commit "adebff98b0b4dc5872a03acb82e89c77cb29c127")
- (revision "0"))
- (package
- (name "mloop")
- (version (git-version "0.0.1" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "http://git.fuzzle.org/mloop")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "175gxvg5slq0bllcx1c381rjlq3xpxww8c3kpiw5i2kfr4m52myz"))))
- (build-system waf-build-system)
- (arguments
- `(#:python ,python-2
- #:tests? #f)) ; no "check" target
- (inputs
- (list jack-1 ncurses))
- (native-inputs
- (list pkg-config))
- (home-page "https://fuzzle.org/~petern/mloop.html")
- (synopsis "Live MIDI looper")
- (description "mloop is a live MIDI looping system, using jack-midi.
-Loops are recorded, optionally with beat quantization, and can then be played
-back, either once or looping. A 'note cache' system is implemented to
-remember which notes are pressed and their velocities. This allows for a loop
-to start off with the currently pressed notes, making seamless loops much
-easier to perform. Features include:
-
-@itemize
-@item Quantisation; end a loop on a beat exactly.
-@item Delayed recording; wait for a MIDI event before starting a loop record.
-@item Adjust tempo; Playback speed of loops can be adjusted on the fly.
-@end itemize\n")
- (license license:gpl2))))
-
(define-public pragha
(package
(name "pragha")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 100/602] gnu: Remove gtklick.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (97 preceding siblings ...)
2022-05-15 4:38 ` [bug#55424] [PATCH 099/602] gnu: Remove mloop Maxim Cournoyer
@ 2022-05-15 4:38 ` Maxim Cournoyer
2022-05-15 4:38 ` [bug#55424] [PATCH 101/602] gnu: Remove non-timeline Maxim Cournoyer
` (3 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:38 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/music.scm (gtklick): Delete variable.
---
gnu/packages/music.scm | 46 ------------------------------------------
1 file changed, 46 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index e4308c6300..7255701963 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1271,52 +1271,6 @@ (define-public glyr
biographies, reviews and more.")
(license license:lgpl3+)))
-(define-public gtklick
- (package
- (name "gtklick")
- (version "0.6.4")
- (source (origin
- (method url-fetch)
- (uri (string-append "http://das.nasophon.de/download/gtklick-"
- version ".tar.gz"))
- (sha256
- (base32
- "0dq1km6njnzsqdqyf6wzir9g733z0mc9vmxfg2383k3c2a2di6bp"))))
- (build-system python-build-system)
- (arguments
- `(#:tests? #f ; no tests
- #:python ,python-2
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'add-sitedirs
- ;; .pth files are not automatically interpreted unless the
- ;; directories containing them are added as "sites". The directories
- ;; are then added to those in the PYTHONPATH. This is required for
- ;; the operation of pygtk.
- (lambda _
- (substitute* "gtklick/gtklick.py"
- (("import pygtk")
- "import pygtk, site, sys
-for path in [path for path in sys.path if 'site-packages' in path]: site.addsitedir(path)"))))
- (add-after 'unpack 'inject-store-path-to-klick
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "gtklick/klick_backend.py"
- (("KLICK_PATH = 'klick'")
- (string-append "KLICK_PATH = '"
- (assoc-ref inputs "klick")
- "/bin/klick'")))
- #t)))))
- (inputs
- (list klick python2-pyliblo python2-pygtk))
- (native-inputs
- `(("gettext" ,gettext-minimal)))
- (home-page "http://das.nasophon.de/gtklick/")
- (synopsis "Simple metronome with an easy-to-use graphical interface")
- (description
- "Gtklick is a simple metronome with an easy-to-use graphical user
-interface. It is implemented as a frontend to @code{klick}.")
- (license license:gpl2+)))
-
(define-public lingot
(package
(name "lingot")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 101/602] gnu: Remove non-timeline.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (98 preceding siblings ...)
2022-05-15 4:38 ` [bug#55424] [PATCH 100/602] gnu: Remove gtklick Maxim Cournoyer
@ 2022-05-15 4:38 ` Maxim Cournoyer
2022-05-15 4:38 ` [bug#55424] [PATCH 102/602] gnu: Remove non-mixer Maxim Cournoyer
` (2 subsequent siblings)
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:38 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/music.scm (non-timeline): Delete variable.
---
gnu/packages/music.scm | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 7255701963..5818a2ea62 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1784,28 +1784,6 @@ (define-public non-mixer
studio.")
(license license:gpl2+)))
-(define-public non-timeline
- (package (inherit non-sequencer)
- (name "non-timeline")
- (arguments
- (substitute-keyword-arguments (package-arguments non-sequencer)
- ((#:configure-flags flags)
- `(cons "--project=timeline"
- (delete "--project=sequencer" ,flags)))))
- (inputs
- (list jack-1 liblo libsndfile ntk))
- (native-inputs
- (list pkg-config))
- (home-page "https://non.tuxfamily.org/wiki/Non%20Timeline")
- (synopsis "Modular digital audio timeline arranger")
- (description
- "The Non Timeline is a powerful, reliable and fast modular digital audio
-timeline arranger. It utilizes JACK for inter-application audio I/O and the
-NTK GUI toolkit for a fast and lightweight user interface. Non Timeline can
-be used alone or in concert with Non Mixer and Non Sequencer to form a
-complete studio.")
- (license license:gpl2+)))
-
(define-public tascam-gtk
;; This commit represents the latest version at the time of this writing.
(let ((commit "17b8575ff88dfd2ede0f7ef9c5c5597ab8a00702")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 102/602] gnu: Remove non-mixer.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (99 preceding siblings ...)
2022-05-15 4:38 ` [bug#55424] [PATCH 101/602] gnu: Remove non-timeline Maxim Cournoyer
@ 2022-05-15 4:38 ` Maxim Cournoyer
2022-05-15 4:38 ` [bug#55424] [PATCH 103/602] gnu: Remove python2-ipy Maxim Cournoyer
2022-05-15 4:38 ` [bug#55424] [PATCH 104/602] gnu: Remove sala Maxim Cournoyer
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:38 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/music.scm (non-mixer): Delete variable.
---
gnu/packages/music.scm | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 5818a2ea62..ee978c5e00 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1762,28 +1762,6 @@ (define-public non-session-manager
communicate with the session management daemon.")
(license license:gpl2+)))
-(define-public non-mixer
- (package (inherit non-sequencer)
- (name "non-mixer")
- (arguments
- (substitute-keyword-arguments (package-arguments non-sequencer)
- ((#:configure-flags flags)
- `(cons "--project=mixer"
- (delete "--project=sequencer" ,flags)))))
- (inputs
- (list jack-1 liblo ladspa lrdf ntk))
- (native-inputs
- (list pkg-config))
- (home-page "https://non.tuxfamily.org/wiki/Non%20Mixer")
- (synopsis "Modular digital audio mixer")
- (description
- "The Non Mixer is a powerful, reliable and fast modular digital audio
-mixer. It utilizes JACK for inter-application audio I/O and the NTK GUI
-toolkit for a fast and lightweight user interface. Non Mixer can be used
-alone or in concert with Non Timeline and Non Sequencer to form a complete
-studio.")
- (license license:gpl2+)))
-
(define-public tascam-gtk
;; This commit represents the latest version at the time of this writing.
(let ((commit "17b8575ff88dfd2ede0f7ef9c5c5597ab8a00702")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 103/602] gnu: Remove python2-ipy.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (100 preceding siblings ...)
2022-05-15 4:38 ` [bug#55424] [PATCH 102/602] gnu: Remove non-mixer Maxim Cournoyer
@ 2022-05-15 4:38 ` Maxim Cournoyer
2022-05-15 4:38 ` [bug#55424] [PATCH 104/602] gnu: Remove sala Maxim Cournoyer
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:38 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/networking.scm (python2-ipy): Delete variable.
---
gnu/packages/networking.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 9010e1f120..c9f1e12a28 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -2619,9 +2619,6 @@ (define-public python-ipy
networks.")
(license license:bsd-3)))
-(define-public python2-ipy
- (package-with-python2 python-ipy))
-
(define-public speedtest-cli
(package
(name "speedtest-cli")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread
* [bug#55424] [PATCH 104/602] gnu: Remove sala.
2022-05-15 4:36 ` [bug#55424] [PATCH 001/602] packages: Fix typo in package-superseded doc Maxim Cournoyer
` (101 preceding siblings ...)
2022-05-15 4:38 ` [bug#55424] [PATCH 103/602] gnu: Remove python2-ipy Maxim Cournoyer
@ 2022-05-15 4:38 ` Maxim Cournoyer
102 siblings, 0 replies; 133+ messages in thread
From: Maxim Cournoyer @ 2022-05-15 4:38 UTC (permalink / raw)
To: 55424; +Cc: Maxim Cournoyer
* gnu/packages/password-utils.scm (sala): Delete variable.
---
gnu/packages/password-utils.scm | 27 ---------------------------
1 file changed, 27 deletions(-)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 1891a2cf09..348afb5af4 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -1035,33 +1035,6 @@ (define-public john-the-ripper-jumbo
is the community-enhanced, \"jumbo\" version of John the Ripper.")
(license license:gpl2+))))
-(define-public sala
- (package
- (name "sala")
- (version "1.3")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "sala" version))
- (sha256
- (base32
- "13qgmc3i2a0cqp8jqrfl93lnphfagb32pgfikc1gza2a14asxzi8"))))
- (build-system python-build-system)
- (arguments
- ;; Sala is supposed to work with Python 3.2 or higher,
- ;; but it doesn't work with Python 3.6. Better stick
- ;; to Python 2, which works fine.
- `(#:python ,python-2))
- (propagated-inputs
- (list gnupg pwgen))
- (home-page "http://www.digip.org/sala/")
- (synopsis "Encrypted plaintext password store")
- (description
- "Store passwords and other bits of sensitive plain-text information
-to encrypted files on a directory hierarchy. The information is protected
-by GnuPG's symmetrical encryption.")
- (license license:expat)))
-
(define-public fpm2
(package
(name "fpm2")
--
2.36.0
^ permalink raw reply related [flat|nested] 133+ messages in thread