From: Zac Medico <zmedico@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Subject: Re: [gentoo-portage-dev] [PATCH] [repoman] Allow empty LICENSE in acct-* packages
Date: Thu, 20 Jun 2019 12:55:47 -0700 [thread overview]
Message-ID: <6f142ac9-33d2-6317-31d3-8f38d86ed6b6@gentoo.org> (raw)
In-Reply-To: <20190620123301.22207-1-mgorny@gentoo.org>
[-- Attachment #1.1: Type: text/plain, Size: 1342 bytes --]
On 6/20/19 5:33 AM, Michał Górny wrote:
> Since acct-* packages do not create any files (except for keepfile
> for the home directory), it is perfectly normal for the LICENSE
> to be empty.
> ---
> repoman/lib/repoman/modules/scan/metadata/ebuild_metadata.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/repoman/lib/repoman/modules/scan/metadata/ebuild_metadata.py b/repoman/lib/repoman/modules/scan/metadata/ebuild_metadata.py
> index 4c35bbc12..2edf8f7f2 100644
> --- a/repoman/lib/repoman/modules/scan/metadata/ebuild_metadata.py
> +++ b/repoman/lib/repoman/modules/scan/metadata/ebuild_metadata.py
> @@ -39,8 +39,8 @@ class EbuildMetadata(ScanBase):
> ebuild = kwargs.get('ebuild').get()
> for pos, missing_var in enumerate(self.repo_settings.qadata.missingvars):
> if not ebuild.metadata.get(missing_var):
> - if kwargs.get('catdir') == "virtual" and \
> - missing_var in ("HOMEPAGE", "LICENSE"):
> + if (kwargs.get('catdir') in ("acct-group", "acct-user", "virtual")
> + and missing_var in ("HOMEPAGE", "LICENSE")):
> continue
> if ebuild.live_ebuild and missing_var == "KEYWORDS":
> continue
>
Thanks, merged:
https://gitweb.gentoo.org/proj/portage.git/commit/?id=73232537c3f7d8cb4121c0a2dee5b450de584e38
--
Thanks,
Zac
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 981 bytes --]
prev parent reply other threads:[~2019-06-20 19:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-20 12:33 [gentoo-portage-dev] [PATCH] [repoman] Allow empty LICENSE in acct-* packages Michał Górny
2019-06-20 19:55 ` Zac Medico [this message]
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=6f142ac9-33d2-6317-31d3-8f38d86ed6b6@gentoo.org \
--to=zmedico@gentoo.org \
--cc=gentoo-portage-dev@lists.gentoo.org \
--cc=mgorny@gentoo.org \
/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