Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2023 00:27:00 +0900 (JST)
From:      Yasuhiro Kimura <yasu@FreeBSD.org>
To:        vishwin@FreeBSD.org
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 18982c467f6c - main - python.mk: PEP-517 data_files support
Message-ID:  <20230227.002700.1222499274435589240.yasu@FreeBSD.org>
In-Reply-To: <202302260315.31Q3FLS6093197@gitrepo.freebsd.org>
References:  <202302260315.31Q3FLS6093197@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Charlie,

From: Charlie Li <vishwin@FreeBSD.org>
Subject: git: 18982c467f6c - main - python.mk: PEP-517 data_files support
Date: Sun, 26 Feb 2023 03:15:21 GMT

> The branch main has been updated by vishwin:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=18982c467f6ce3109f1e71198274eeac45f35297
> 
> commit 18982c467f6ce3109f1e71198274eeac45f35297
> Author:     Charlie Li <vishwin@FreeBSD.org>
> AuthorDate: 2023-01-14 01:30:42 +0000
> Commit:     Charlie Li <vishwin@FreeBSD.org>
> CommitDate: 2023-02-26 03:14:17 +0000
> 
>     python.mk: PEP-517 data_files support
>     
>     data_files was not initially supported in the framework under the
>     guise that PyPA through setuptools deprecated the practice. However,
>     other build backends like flit still support (and advertise as a
>     "newer" feature) data_files, and certain packages continue to install
>     operating system-specific files like man pages using Python's
>     packaging system.
>     
>     This expands RECORD parsing to account for any data_files beyond
>     entry_points installed to bin/. It is limited to certain directories
>     in hier(7) listed under /usr/local to prevent wheels from installing
>     files to arbitrary locations.

Please also add ${PREFIX}/etc to the list of the directories. With
this commit build of updated version of mail/py-spf-engine fails with
check-plist error as following.

====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: etc/python-policyd-spf/policyd-spf.conf.commented
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: %%PYTHON_LIBDIR%%/site-..etc/python-policyd-spf/policyd-spf.conf.commented
===> Error: Plist issues found.
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/py-spf-engine

Best Regards

---
Yasuhiro Kimura



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230227.002700.1222499274435589240.yasu>