Opened 7 years ago

Closed 7 years ago

#54128 closed defect (fixed)

lint failed with license unset

Reported by: l2dy (Zero King) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: base Version: 2.4.1
Keywords: Cc:
Port: dbus-python

Description

Normally it would be

Warning: no license set

But if license was specified then unset,

--->  Verifying Portfile for dbus-python24
Error: Missing required variable: categories
Error: Missing required variable: license
Error: Failed to lint dbus-python24: can't read "license": no such variable
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port dbus-python24 failed

Change History (4)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Ugh, that port is just weird for unsetting all those things.

comment:2 in reply to:  1 Changed 7 years ago by l2dy (Zero King)

Replying to ryandesign:

Ugh, that port is just weird for unsetting all those things.

Should this be fixed in base or the port?

comment:3 Changed 7 years ago by raimue (Rainer Müller)

Owner: set to MarcusCalhoun-Lopez
Port: dbus-python added
Status: newassigned

Please fix it in the port. Portfiles are not supposed to unset options.

comment:4 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In 48a909f882da9965e3dc523012d94a054e33b8aa/macports-ports:

dbus-python: do not unset options

Fixes #54128

Note: See TracTickets for help on using tickets.