guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

339/397: gnu: Remove wireservice-package syntax rule.


From: guix-commits
Subject: 339/397: gnu: Remove wireservice-package syntax rule.
Date: Thu, 16 Jan 2025 04:31:15 -0500 (EST)

rekado pushed a commit to branch python-team
in repository guix.

commit 989c42c41040be60f6dc6c9ad9d223ec82431fce
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue Jan 14 09:42:40 2025 +0000

    gnu: Remove wireservice-package syntax rule.
    
    * gnu/packages/wireservice.scm ((wireservice-package): Delete syntax rule.
    
    Change-Id: I0f0ad62e782b400bd8a8bf2856c1fa3f37cb1a33
---
 gnu/packages/wireservice.scm | 28 ----------------------------
 1 file changed, 28 deletions(-)

diff --git a/gnu/packages/wireservice.scm b/gnu/packages/wireservice.scm
index 34e84240cf..f4b1d14d33 100644
--- a/gnu/packages/wireservice.scm
+++ b/gnu/packages/wireservice.scm
@@ -39,34 +39,6 @@
   #:use-module (gnu packages time)
   #:use-module (gnu packages xml))
 
-;; Common package definition for packages from https://github.com/wireservice.
-(define-syntax-rule (wireservice-package extra-fields ...)
-  (package
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda _
-             (invoke "nosetests" "tests")))
-         (add-after 'install 'install-docs
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out"))
-                    (doc (string-append out "/share/doc/"
-                                        ,(package-name this-package)
-                                        "-"
-                                        ,(package-version this-package))))
-               (with-directory-excursion "docs"
-                 (for-each
-                  (lambda (target)
-                    (invoke "make" target)
-                    (copy-recursively (string-append "_build/" target)
-                                      (string-append doc "/" target)))
-                  '("html" "dirhtml" "singlehtml" "text")))
-               #t))))))
-    (license license:expat)
-    extra-fields ...))
-
 (define-public python-leather
   (package
     (name "python-leather")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]