Opened 3 years ago

Closed 2 years ago

#63747 closed enhancement (fixed)

pango @1.48.9_1 seems to need the Python package typogrify, at least on PPC Tiger, Mac OS X 10.4.11

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: tiger pending Cc: ryandesign (Ryan Carsten Schmidt)
Port: pango

Description

When I first upgraded today I saw a few times this Python package (https://pypi.org/project/typogrify/) mentioned, as needed to build documentation, I think. Since it does not exist in MacPorts I installed it with pip3. Upgrading again it is mentioned early

|Executing subproject gi-docgen method meson 
|
|WARNING: In subproject gi-docgen: Unknown options: "lt_cv_path_NM"
|The value of new options can be set with:
|meson setup <builddir> --reconfigure -Dnew_option=new_value ...
|Project name: gi-docgen
|Project version: 2021.8
|Program python3 (jinja2, markdown, markupsafe, pygments, toml, typogrify) found: YES (/opt/local/bin/python3) modules: jinja2, markdown, markupsafe, pygments, toml, typogrify
|Program gi-docgen.py found: YES (/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.48.9/subprojects/gi-docgen/gi-docgen.py)
|Configuring gi-docgen.pc using configuration
|Build targets in project: 0
|Subproject gi-docgen finished.

These files mention it:

pango-1.48.9/subprojects/gi-docgen/gidocgen/utils.py:from typogrify.filters import typogrify
pango-1.48.9/subprojects/gi-docgen/gidocgen/utils.py:    return Markup(typogrify(text, ignore_tags=['h1', 'h2', 'h3', 'h4']))
pango-1.48.9/subprojects/gi-docgen/meson.build:    'typogrify',
pango-1.48.9/subprojects/gi-docgen/pyproject.toml:typogrify = "^2"
pango-1.48.9/subprojects/gi-docgen/setup.cfg:  typogrify

Is it worth to create a dependency and provide a port?

Change History (4)

comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy removed
Owner: set to mascguy
Status: newassigned

I'll take a closer look over the next day or two

comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)

Keywords: pending added

comment:3 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)

The dependencies of gi-docgen @2022.2 have changed. They are now:

pete 273 /\ port deps gi-docgen pango
Full Name: gi-docgen @2022.2_0
Build Dependencies:   py310-setuptools, apple-gcc42
Library Dependencies: py310-jinja2, py310-markdown, py310-markupsafe, py310-pygments, py310-toml, py310-typogrify,
                      python310

Building pango @1.50.7 I see now:

gi-docgen| Project name: gi-docgen
gi-docgen| Project version: 2022.2
gi-docgen| Program python3 (jinja2, markdown, markupsafe, pygments, toml, typogrify) found: YES (/opt/local/bin/python3) modules: jinja2, markdown, markupsafe, pygments, toml, typogrify
gi-docgen| Program gi-docgen.py found: YES (/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.7/subprojects/gi-docgen/gi-docgen.py)
gi-docgen| Configuring gi-docgen.pc using configuration
gi-docgen| Build targets in project: 0
gi-docgen| Subproject gi-docgen finished.

Dependency gi-docgen from subproject subprojects/gi-docgen found: YES 2022.2
Configuring config.h using configuration
Configuring pango-features.h using configuration
Program glib-mkenums found: YES (/opt/local/bin/glib-mkenums)
Program g-ir-scanner found: YES (/opt/local/bin/g-ir-scanner)
Run-time dependency harfbuzz-gobject found: YES 5.3.1
Found pkg-config: /opt/local/bin/pkg-config (0.29.2)
Build-time dependency gobject-introspection-1.0 found: YES 1.72.0
Dependency gobject-introspection-1.0 found: YES 1.72.0 (cached)
Program g-ir-scanner found: YES (/opt/local/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.72.0 (cached)
Program g-ir-compiler found: YES (/opt/local/bin/g-ir-compiler)
Program help2man found: YES (/opt/local/bin/help2man)
Program build-aux/meson/dist-docs.py found: YES (/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.50.7/build-aux/meson/dist-docs.py)
Build targets in project: 75

So it's finer than before and the ticket can be closed.

comment:4 Changed 2 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

thx

Note: See TracTickets for help on using tickets.