Bug 286223 - [NEW PORT] textproc/py-mkdocs-exclude: MkDocs plugin to exclude files from input using globs or regexps
Summary: [NEW PORT] textproc/py-mkdocs-exclude: MkDocs plugin to exclude files from i...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Hiroki Tagato
URL: https://github.com/apenwarr/mkdocs-ex...
Keywords:
Depends on:
Blocks: 286227
  Show dependency treegraph
 
Reported: 2025-04-20 10:15 UTC by Vladyslav Movchan
Modified: 2025-06-09 14:05 UTC (History)
1 user (show)

See Also:


Attachments
New port: textproc/py-mkdocs-exclude (2.77 KB, patch)
2025-04-20 10:15 UTC, Vladyslav Movchan
no flags Details | Diff
New port: textproc/py-mkdocs-exclude (2.69 KB, patch)
2025-06-09 12:04 UTC, Vladyslav Movchan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladyslav Movchan 2025-04-20 10:15:25 UTC
Created attachment 259727 [details]
New port: textproc/py-mkdocs-exclude

I'm a maintainer of x11/wezterm port, and upstream wezterm now uses several dependencies which are not available in the FreeBSD ports tree.

This is the one of the ports which are missing - I'm going to be its maintainer.

The port itself is an MkDocs plugin that provides the possibility to exclude files from the input using unix-style wildcards (globs) or regular expressions (regexps).

Please take a look.
Comment 1 Hiroki Tagato freebsd_committer freebsd_triage 2025-06-08 21:04:17 UTC
Thanks for a new port submission.

Do you have a strong reason to use GitHub repo as the source location?

mkdocs-exclude is available at PyPI (https://pypi.org/project/mkdocs-exclude/) as well and it is the preferred location for pulling the source from for python ports.
Comment 2 Vladyslav Movchan 2025-06-09 12:04:59 UTC
Created attachment 261112 [details]
New port: textproc/py-mkdocs-exclude

Pull the sources from PyPI (instead of GitHub repo).
Comment 3 Vladyslav Movchan 2025-06-09 12:08:07 UTC
(In reply to Hiroki Tagato from comment #1)
Thank you for the explanation and feedback.

I actually didn't know that PyPI is the preferred location - I updated the patch.
Comment 4 Hiroki Tagato freebsd_committer freebsd_triage 2025-06-09 12:49:31 UTC
(In reply to Vladyslav Movchan from comment #3)

Thanks for the update. I will look into it.

> I actually didn't know that PyPI is the preferred location

It's on the FreeBSD Wiki site (a bit difficult to find):
https://wiki.freebsd.org/Python/PortsPolicy#MASTER_SITES

A useful source of information for preparing python-based ports.
Comment 5 commit-hook freebsd_committer freebsd_triage 2025-06-09 13:14:37 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f50fbb73b8b323ac2ec7c1756fdff2c360d13e7d

commit f50fbb73b8b323ac2ec7c1756fdff2c360d13e7d
Author:     Vladyslav Movchan <vladislav.movchan@gmail.com>
AuthorDate: 2025-04-18 10:01:51 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-06-09 13:14:04 +0000

    textproc/py-mkdocs-exclude: new port: MkDocs plugin to exclude files from input using globs or regexps

    Plugin for MkDocs that allows you to exclude files from your input using
    unix-style wildcards (globs) or regular expressions (regexps).

    WWW: https://github.com/apenwarr/mkdocs-exclude

    PR:             286223
    Reported by:    Vladyslav Movchan <vladislav.movchan@gmail.com> (new maintainer)

 textproc/Makefile                          |  1 +
 textproc/py-mkdocs-exclude/Makefile (new)  | 21 +++++++++++++++++++++
 textproc/py-mkdocs-exclude/distinfo (new)  |  3 +++
 textproc/py-mkdocs-exclude/pkg-descr (new) |  2 ++
 4 files changed, 27 insertions(+)
Comment 6 Hiroki Tagato freebsd_committer freebsd_triage 2025-06-09 13:16:51 UTC
Committed, thanks!
Comment 7 Vladyslav Movchan 2025-06-09 14:05:05 UTC
(In reply to Hiroki Tagato from comment #6)
Thank you!