I asked tsg about this before, IIRC it was intentionally omitted as it wasn't considered finished. (For starters it could do with some plist smarts).

--
Sent from a phone, apologies for poor formatting.

On 3 February 2019 21:22:58 Linda Lapinlampi <li...@lindalap.fi> wrote:

/usr/ports/infrastructure/bin/portgen supports "py" type, as seen in the
source code:


if ( $type eq 'p5' ) {
$o = OpenBSD::PortGen::Port::CPAN->new();
} elsif ( $type eq 'py' ) {
$o = OpenBSD::PortGen::Port::PyPI->new();
} elsif ( $type eq 'ruby' ) {
$o = OpenBSD::PortGen::Port::Ruby->new();
} else {
die "unknown module type\n";
}


This "py" type also works to generate ports from PyPI sources, mostly.
It's not documented in the man page though.


Attached diff adds a mention of the type to portgen(1) man page.



Reply via email to