Bug 269013

Summary: textproc/py-sphinx-autoapi: Update to 2.0.1
Product: Ports & Packages Reporter: Andreas Bilke <andreas>
Component: Individual Port(s)Assignee: Nuno Teixeira <eduardo>
Status: Closed FIXED    
Severity: Affects Only Me CC: eduardo
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/readthedocs/sphinx-autoapi/blob/v2.0.1/CHANGELOG.rst
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255722
Attachments:
Description Flags
Update to 2.0.1
andreas: maintainer-approval+
Update to 2.0.1 andreas: maintainer-approval+

Description Andreas Bilke 2023-01-17 18:09:56 UTC
Created attachment 239539 [details]
Update to 2.0.1
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2023-01-18 12:07:23 UTC
Hello,

distutils is being deprecated in favor of setuptools:
https://peps.python.org/pep-0632/

https://github.com/readthedocs/sphinx-autoapi/blob/v2.0.1/CHANGELOG.rst#trivialinternal-changes-4 shows that pep517 is supported (Updated packaging to use PEP-517.) since 1.8.0 version.

Please take a look at See Also url on how to setup pep517.

Cheers
Comment 2 Andreas Bilke 2023-01-22 08:53:54 UTC
Created attachment 239632 [details]
Update to 2.0.1

Remove deprecated usage of distutils of favor of PEP-517
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-01-22 22:05:23 UTC
A commit in branch main references this bug:

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

commit ee52a133b9816560c6bdb1e0a4d24f31b0f30b67
Author:     Andreas Bilke <andreas@bilke.org>
AuthorDate: 2023-01-22 22:01:16 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-01-22 22:05:01 +0000

    textproc/py-sphinx-autoapi: Update to 2.0.1

    - Switch to pep517 build

    ChangeLog:
    https://github.com/readthedocs/sphinx-autoapi/blob/v2.0.1/CHANGELOG.rst

    PR:             269013

 textproc/py-sphinx-autoapi/Makefile | 7 ++++---
 textproc/py-sphinx-autoapi/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)
Comment 4 Nuno Teixeira freebsd_committer freebsd_triage 2023-01-22 22:06:28 UTC
Committed, thanks!