Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] utils/scanpypi: search LICENSE.MD
Date: Sun, 4 Jul 2021 22:04:51 +0200	[thread overview]
Message-ID: <20210704200451.GL2521@scaer> (raw)
In-Reply-To: <20210704193859.3406196-1-fontaine.fabrice@gmail.com>

Fabrice, All,

On 2021-07-04 21:38 +0200, Fabrice Fontaine spake thusly:
> Some packages such as python-idna has a LICENSE.md file:
> https://github.com/kjd/idna/blob/master/LICENSE.md
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Note that the python-idna we have still lists LICENSE.rst. Maybe a
version bump is in the works? ;-)

Regards,
Yann E. MORIN.

> ---
>  utils/scanpypi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/utils/scanpypi b/utils/scanpypi
> index 47c7c00c60..8327fc3fc5 100755
> --- a/utils/scanpypi
> +++ b/utils/scanpypi
> @@ -495,8 +495,8 @@ class BuildrootPackage():
>          """
>          lines = []
>  
> -        filenames = ['LICENCE', 'LICENSE', 'LICENSE.RST', 'LICENSE.TXT',
> -                     'COPYING', 'COPYING.TXT']
> +        filenames = ['LICENCE', 'LICENSE', 'LICENSE.MD', 'LICENSE.RST',
> +                     'LICENSE.TXT', 'COPYING', 'COPYING.TXT']
>          self.license_files = list(find_file_upper_case(filenames, self.tmp_extract))
>  
>          lines.append(self.__get_license_names(self.license_files))
> -- 
> 2.30.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2021-07-04 20:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-04 19:38 [Buildroot] [PATCH 1/1] utils/scanpypi: search LICENSE.MD Fabrice Fontaine
2021-07-04 20:04 ` Yann E. MORIN [this message]
2021-07-14  8:08 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210704200451.GL2521@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox