Opened 4 years ago

Closed 4 years ago

#61332 closed defect (fixed)

py-astropy needs py-jinja2 dependency

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: py-astropy

Description

py-astropy fails to build:

https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/40348/steps/install-port/logs/stdio

No local packages or working download links found for jinja2>=2.7

The port needs a dependency on port:py${python.version}-jinja2 but I don't know whether it needs to be in depends_lib or depends_build.

Change History (3)

comment:1 Changed 4 years ago by Schamschula (Marius Schamschula)

Indeed.

When I added the py39 subport I had to add and build py39-jinja2.

I forgot to check if this dependency had been declared.

I'll add the dependency.

comment:2 Changed 4 years ago by Schamschula (Marius Schamschula)

It looks like py-astropy does not declare py-jinja2 as a runtime dependency, but rather it comes in as a build dependency.

comment:3 Changed 4 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed

In e359949116baf9e795f0af0b34386255e4a71716/macports-ports (master):

py-astropy: add py-jinja2 build dependency

reorder depends blocks
Closes: #61332

Note: See TracTickets for help on using tickets.