> On Feb 18, 2017, at 17:29, Dan Villiom Podlaski Christiansen > <dan...@macports.org> wrote: > > Dan Villiom Podlaski Christiansen (danchr) pushed a commit to branch master > in repository macports-ports. > > > https://github.com/macports/macports-ports/commit/f9fc74892da67d5116fd6c1df98251922b32fe3b > > commit f9fc74892da67d5116fd6c1df98251922b32fe3b > > Author: Dan Villiom Podlaski Christiansen <dan...@macports.org> > AuthorDate: Fri Feb 17 23:29:37 2017 +0100 > > > py-libvirt: new port
> +if {${name} ne ${subport}} { > + depends_build port:py${python.version}-setuptools \ > + port:pkgconfig > + depends_lib port:libvirt > + > + livecheck.type none > +} else { > + livecheck.name ${python.rootname} > +} > + > +if {${name} ne ${subport}} { > + depends_build-append \ > + port:py${python.version}-setuptools > + > + livecheck.type none > +} else { > + livecheck.type pypi > +} Two "if {${name} ne ${subport}}" blocks?