git: c54153adbb0d - main - devel/py-pipx: Fix hatch-generated setup.py using src-layout
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Jul 2022 00:20:04 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c54153adbb0d621e44183e2bbababb964199d90e commit c54153adbb0d621e44183e2bbababb964199d90e Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-07-13 00:19:12 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-07-13 00:19:12 +0000 devel/py-pipx: Fix hatch-generated setup.py using src-layout - Bump PORTREVISION for package change Reported by: Anderson Bravalheri <abravalheri@hey.com> --- devel/py-pipx/Makefile | 1 + devel/py-pipx/files/setup.py | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/devel/py-pipx/Makefile b/devel/py-pipx/Makefile index c2cd6e4b1b8c..766063083e1c 100644 --- a/devel/py-pipx/Makefile +++ b/devel/py-pipx/Makefile @@ -2,6 +2,7 @@ PORTNAME= pipx PORTVERSION= 1.1.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-pipx/files/setup.py b/devel/py-pipx/files/setup.py index 73c7572eb804..850f2e02e016 100644 --- a/devel/py-pipx/files/setup.py +++ b/devel/py-pipx/files/setup.py @@ -30,7 +30,10 @@ setup( ], }, packages=[ - 'src.pipx', - 'src.pipx.commands', + 'pipx', + 'pipx.commands', ], + package_dir={ + '': 'src', + }, )