<div dir="auto">Just covering the bases but did you do a portindex? You should also see the versioned ports show up in the output of portindex.<br clear="all"><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">David Gilman<br>:DG<</div></div></div><div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 18, 2024 at 10:39 AM Link Dupont via macports-dev <<a href="mailto:macports-dev@lists.macports.org">macports-dev@lists.macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Hello,<br>
<br>
I’m trying to package a Python module. I found the port pypi2port, which does generate a basic Portfile for me, but when I try to build the port, it gives me a puzzling error:<br>
<br>
> ---> Computing dependencies for py-fmf<br>
> Error: Dependency 'py311-fmf' not found.<br>
<br>
<br>
The entire Portfile is:<br>
<br>
> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4<br>
> <br>
> PortSystem 1.0<br>
> PortGroup python 1.0<br>
> <br>
> name py-fmf<br>
> version 1.4.1<br>
> platforms {darwin any}<br>
> supported_archs noarch<br>
> license GPL-2<br>
> maintainers P e t r S p l i c h a l<br>
> <br>
> description Flexible Metadata Format<br>
> long_description {*}${description}<br>
> <br>
> homepage <a href="https://github.com/psss/fmf" rel="noreferrer" target="_blank">https://github.com/psss/fmf</a><br>
> master_sites <a href="https://pypi.org/project/fmf/1.4.1/" rel="noreferrer" target="_blank">https://pypi.org/project/fmf/1.4.1/</a><br>
> checksums rmd160 XXX \<br>
> sha256 XXX \<br>
> size XXX<br>
> <br>
> python.versions 311<br>
> python.pep517 yes<br>
> <br>
> if {${name} ne ${subport}} {<br>
> livecheck.type none<br>
> }<br>
<br>
Isn’t the python PortGroup supposed to generate the version-specific packages automatically? If that is the case, why is it not able to find its own generated package?<br>
<br>
~link</blockquote></div></div>