On Jun 22, 2015, at 5:54 PM, petr <[email protected]> wrote: > I personally -- and I guess this is in line with what Lawrence is proposing > -- would integrate this into the Python portgroup itself, where one could > have the following by default set. > > python.use_pypi yes > > This would set all the above mentioned options set to reasonable defaults.
I don't see the need for this option. Ports that would use "python.use_pypi no" would have to explicitly set those options anyway. > All could be overwritten, including something like > > `python.pypi_name` or `python.package_name` (where the correct upstream name, > often `realname` is used in Portfiles) would allow you to set it to lets say > `GeomagPy` in your case. I added a python.rootname option a couple of days ago for this purpose. https://trac.macports.org/changeset/137835 > BTW: would be great if we could get rid of these constructs which appear in > all ports. > > if {${subport} ne ${name}} { > > livecheck.type none > } else { > livecheck.type pypi > } Yes, this would also go into the portgroup. vq _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
