public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] [PATCH RESEND 0/4] Add package.license support to profiles
@ 2025-12-17  7:10 Louis Chauvet
  2025-12-17  7:10 ` [gentoo-portage-dev] [PATCH RESEND 1/4] lib/portage/package/ebuild/_config/LicenseManager.py: Use location_manager instead of paths Louis Chauvet
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Louis Chauvet @ 2025-12-17  7:10 UTC (permalink / raw
  To: gentoo-portage-dev; +Cc: thomas.petazzoni, Louis Chauvet, Sam James

Currently profiles does not allow using per-package license unmasking.
The only solution is the LICENSE variable, which apply to all the packages.

To allow this, add support for package.license in profile.

Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
---
Louis Chauvet (4):
      lib/portage/package/ebuild/_config/LicenseManager.py: Use location_manager instead of paths
      lib/portage/package/ebuild/_config/LicenseManager.py: Read per-profile package.license
      tests/test_config: Refactor LicenseManager testing to test multiple configurations
      tests/test_config: Add test for package.license in profiles

 .../package/ebuild/_config/LicenseManager.py       |   9 +-
 lib/portage/package/ebuild/config.py               |   3 +-
 lib/portage/tests/ebuild/test_config.py            | 215 ++++++++++++---------
 man/portage.5                                      |   1 +
 4 files changed, 130 insertions(+), 98 deletions(-)
---
base-commit: d7d6fd54f1c936e89c5e4467c6c1f33b217325ca
change-id: 20251216-add_package_license_to_profiles-c6f695182aa3

Best regards,
-- 
Louis Chauvet <louis.chauvet@bootlin.com>



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-12-18  1:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-17  7:10 [gentoo-portage-dev] [PATCH RESEND 0/4] Add package.license support to profiles Louis Chauvet
2025-12-17  7:10 ` [gentoo-portage-dev] [PATCH RESEND 1/4] lib/portage/package/ebuild/_config/LicenseManager.py: Use location_manager instead of paths Louis Chauvet
2025-12-18  1:26   ` Sam James
2025-12-17  7:10 ` [gentoo-portage-dev] [PATCH RESEND 2/4] lib/portage/package/ebuild/_config/LicenseManager.py: Read per-profile package.license Louis Chauvet
2025-12-18  1:27   ` [gentoo-portage-dev] " Sam James
2025-12-17  7:10 ` [gentoo-portage-dev] [PATCH RESEND 3/4] tests/test_config: Refactor LicenseManager testing to test multiple configurations Louis Chauvet
2025-12-18  1:27   ` Sam James
2025-12-17  7:10 ` [gentoo-portage-dev] [PATCH RESEND 4/4] tests/test_config: Add test for package.license in profiles Louis Chauvet
2025-12-18  1:28   ` Sam James
2025-12-17  9:33 ` [gentoo-portage-dev] [PATCH RESEND 0/4] Add package.license support to profiles Ulrich Müller
2025-12-17 10:15   ` Michael Orlitzky
2025-12-17 11:10   ` Louis Chauvet
2025-12-18  1:28     ` Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox