Opened 3 years ago

Closed 3 years ago

#65167 closed defect (fixed)

yt-dlp: python portgroup disables livecheck

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: reneeotten (Renee Otten)
Port: yt-dlp

Description

Because of this addition to the python portgroup port livecheck yt-dlp no longer does anything. Can the python portgroup be improved so that this doesn't happen?

Change History (3)

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

I guess one could check whether the portname starts with py- and only then have the PG switch of the livecheck in subports. That would probably resolve the issue you report here. But the way this Portfile is set-up is also not very typical so another option is that you just set the livecheck again in the subport.

I can take a look at some point whether my suggestion would indeed fix this and try to see if there are no other unintended side-effects.

comment:2 in reply to:  1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to reneeotten:

I guess one could check whether the portname starts with py- and only then have the PG switch of the livecheck in subports. That would probably resolve the issue you report here.

That's the direction I was thinking of too. I think that's probably the right thing to do.

But the way this Portfile is set-up is also not very typical so another option is that you just set the livecheck again in the subport.

But I don't want to. :) The portgroups set up livecheck for me before and I think they should continue to do so. I don't think the way this port is set up is so unusual that it shouldn't be supported. I haven't looked but there may be other ports set up in this way that are similarly affected.

comment:3 Changed 3 years ago by reneeotten (Renee Otten)

Owner: set to reneeotten
Resolution: fixed
Status: newclosed

In 34add91eb3dc4668b17c4caf63ad6dca96c3bff6/macports-ports (master):

python PG: disable livecheck only for subports of py-* ports

Closes: #65167

Note: See TracTickets for help on using tickets.