Bug 265298 - dns/py-dnspython: Uniquify examples directory
Summary: dns/py-dnspython: Uniquify examples directory
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: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-18 16:43 UTC by Yuri Victorovich
Modified: 2022-07-19 19:13 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (bofh)


Attachments
patch (604 bytes, patch)
2022-07-18 16:43 UTC, Yuri Victorovich
no flags Details | Diff
patch (603 bytes, patch)
2022-07-18 18:38 UTC, Yuri Victorovich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2022-07-18 16:43:53 UTC
Created attachment 235336 [details]
patch

The attached patch makes EXAMPLESDIR unique between flavors.

This prevent potential conflicts in case multiple flavors should be installed.
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2022-07-18 18:31:58 UTC
(In reply to Yuri Victorovich from comment #0)

USE_PYTHON=concurrent would do the same thing. It will set EXAMPLESDIR to ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}-dnspython.
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2022-07-18 18:38:02 UTC
Created attachment 235338 [details]
patch

Change to USE_PYTHON=concurrent
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-07-19 19:13:07 UTC
A commit in branch main references this bug:

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

commit ba12fcffdf03e7d8133f6404c7d792f5b76ebb8f
Author:     Yuri Victorovich <yuri@freebsd.org>
AuthorDate: 2022-07-19 18:46:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-07-19 19:12:35 +0000

    dns/py-dnspython: Add python concurrency

    PR:             265298
    Reported by:    yuri

 dns/py-dnspython/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)