From unknown Sat Jun 21 03:16:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#46170 <46170@debbugs.gnu.org> To: bug#46170 <46170@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add licenseheaders. Reply-To: bug#46170 <46170@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:16:37 +0000 retitle 46170 [PATCH] gnu: Add licenseheaders. reassign 46170 guix-patches submitter 46170 Tanguy Le Carrour severity 46170 normal tag 46170 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 29 05:10:13 2021 Received: (at submit) by debbugs.gnu.org; 29 Jan 2021 10:10:13 +0000 Received: from localhost ([127.0.0.1]:51186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5QjF-0002Ww-FD for submit@debbugs.gnu.org; Fri, 29 Jan 2021 05:10:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:40158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5QjD-0002Wh-33 for submit@debbugs.gnu.org; Fri, 29 Jan 2021 05:10:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5QjC-0001xA-UV for guix-patches@gnu.org; Fri, 29 Jan 2021 05:10:10 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:56587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5QjA-0001tk-8S for guix-patches@gnu.org; Fri, 29 Jan 2021 05:10:10 -0500 X-Originating-IP: 176.159.32.89 Received: from rafflesia.easter-eggs.fr (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPA id D66AEFF892; Fri, 29 Jan 2021 10:10:02 +0000 (UTC) From: Tanguy Le Carrour To: guix-patches@gnu.org Subject: [PATCH] gnu: Add licenseheaders. Date: Fri, 29 Jan 2021 11:09:48 +0100 Message-Id: <20210129100948.26041-1-tanguy@bioneland.org> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=217.70.183.199; envelope-from=tanguy@bioneland.org; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: Tanguy Le Carrour X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * 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 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2020, 2021 Michael Rohleder +;;; Copyright © 2021 Tanguy Le Carrour ;;; ;;; 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: + ;; . + (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 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 31 11:01:33 2021 Received: (at 46170-done) by debbugs.gnu.org; 31 Jan 2021 16:01:33 +0000 Received: from localhost ([127.0.0.1]:57777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6FAK-0007EI-C4 for submit@debbugs.gnu.org; Sun, 31 Jan 2021 11:01:33 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:57883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6FAH-0007E2-7u for 46170-done@debbugs.gnu.org; Sun, 31 Jan 2021 11:01:31 -0500 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 09B55100005; Sun, 31 Jan 2021 16:01:21 +0000 (UTC) From: Nicolas Goaziou To: Tanguy Le Carrour Subject: Re: [bug#46170] [PATCH] gnu: Add licenseheaders. References: <20210129100948.26041-1-tanguy@bioneland.org> Date: Sun, 31 Jan 2021 17:01:20 +0100 In-Reply-To: <20210129100948.26041-1-tanguy@bioneland.org> (Tanguy Le Carrour's message of "Fri, 29 Jan 2021 11:09:48 +0100") Message-ID: <87h7mxdrjj.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46170-done Cc: 46170-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Tanguy Le Carrour 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 31 11:25:39 2021 Received: (at 46170-done) by debbugs.gnu.org; 31 Jan 2021 16:25:39 +0000 Received: from localhost ([127.0.0.1]:57810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6FXf-0007qv-8D for submit@debbugs.gnu.org; Sun, 31 Jan 2021 11:25:39 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:14419) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6FXd-0007qf-63 for 46170-done@debbugs.gnu.org; Sun, 31 Jan 2021 11:25:38 -0500 X-Originating-IP: 176.185.184.238 Received: from localhost (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 27ADC240004; Sun, 31 Jan 2021 16:25:29 +0000 (UTC) Date: Sun, 31 Jan 2021 17:25:27 +0100 From: Tanguy LE CARROUR Subject: Re: [bug#46170] [PATCH] gnu: Add licenseheaders. To: Nicolas Goaziou References: <20210129100948.26041-1-tanguy@bioneland.org> <87h7mxdrjj.fsf@nicolasgoaziou.fr> In-Reply-To: <87h7mxdrjj.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 User-Agent: astroid/0.15.0 (https://github.com/astroidmail/astroid) Message-Id: <1612110225.r0d8fxe8cd.astroid@melmoth.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46170-done Cc: 46170-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Nicolas, Excerpts from Nicolas Goaziou's message of January 31, 2021 5:01 pm: > Tanguy Le Carrour writes: >=20 >> * gnu/packages/license.scm (licenseheaders): New variable. >=20 > Applied. Thank you. Thanks. >> + "A Python 3 tool to update, change or add license headers to all f= iles >> + of any of the supported types (see below) in or below some >> directory.") >=20 > I turned the description into a complete sentence. Sorry! Thanks for noticing! --=20 Tanguy From unknown Sat Jun 21 03:16:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 01 Mar 2021 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator