GNU bug report logs -
#46170
[PATCH] gnu: Add licenseheaders.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46170 in the body.
You can then email your comments to 46170 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#46170
; Package
guix-patches
.
(Fri, 29 Jan 2021 10:11:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tanguy Le Carrour <tanguy <at> bioneland.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 29 Jan 2021 10:11:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/license.scm (licenseheaders): New variable.
---
gnu/packages/license.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/license.scm b/gnu/packages/license.scm
index 369426768b..568275e510 100644
--- a/gnu/packages/license.scm
+++ b/gnu/packages/license.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2018 Oleg Pykhalov <go.wigust <at> gmail.com>
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me <at> tobias.gr>
;;; Copyright © 2020, 2021 Michael Rohleder <mike <at> rohleder.de>
+;;; Copyright © 2021 Tanguy Le Carrour <tanguy <at> bioneland.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -205,3 +206,37 @@ tools that have a lot more features and functionality surrounding the analysis
and inspection of copyright and licenses in software projects. This one is
designed to be simple.")
(license (list asl2.0 gpl3+))))
+
+(define-public licenseheaders
+ (package
+ (name "licenseheaders")
+ (version "0.8.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "licenseheaders" version))
+ (sha256
+ (base32
+ "073xcm10gyg5kcxqmbsyaz9sr0slbdwgr0r9qanch0zl8i0z9259"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; Reported upstream:
+ ;; <https://github.com/johann-petrak/licenseheaders/issues/47>.
+ (add-after 'unpack 'patch-code
+ (lambda _
+ (substitute* "licenseheaders.py"
+ (("\\\"filenames\\\": \\[\\\"CMakeLists.txt\\\"\\],")
+ "\"filenames\": [\"CMakeLists.txt\"], \n \"extensions\": [],"))
+ #t)))))
+ (propagated-inputs
+ `(("python-regex" ,python-regex)))
+ (home-page
+ "http://github.com/johann-petrak/licenseheaders")
+ (synopsis
+ "Add or change license headers for all files in a directory")
+ (description
+ "A Python 3 tool to update, change or add license headers to all files
+ of any of the supported types (see below) in or below some directory.")
+ (license expat)))
--
2.30.0
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Sun, 31 Jan 2021 16:02:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Tanguy Le Carrour <tanguy <at> bioneland.org>
:
bug acknowledged by developer.
(Sun, 31 Jan 2021 16:02:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 46170-done <at> debbugs.gnu.org (full text, mbox):
Hello,
Tanguy Le Carrour <tanguy <at> bioneland.org> writes:
> * gnu/packages/license.scm (licenseheaders): New variable.
Applied. Thank you.
> + "A Python 3 tool to update, change or add license headers to all files
> + of any of the supported types (see below) in or below some
> directory.")
I turned the description into a complete sentence.
Regards,
--
Nicolas Goaziou
Information forwarded
to
guix-patches <at> gnu.org
:
bug#46170
; Package
guix-patches
.
(Sun, 31 Jan 2021 16:26:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 46170-done <at> debbugs.gnu.org (full text, mbox):
Hi Nicolas,
Excerpts from Nicolas Goaziou's message of January 31, 2021 5:01 pm:
> Tanguy Le Carrour <tanguy <at> bioneland.org> writes:
>
>> * gnu/packages/license.scm (licenseheaders): New variable.
>
> Applied. Thank you.
Thanks.
>> + "A Python 3 tool to update, change or add license headers to all files
>> + of any of the supported types (see below) in or below some
>> directory.")
>
> I turned the description into a complete sentence.
Sorry! Thanks for noticing!
--
Tanguy
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 01 Mar 2021 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 112 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.