git: 9e2a7cb9491a - main - print/py-ufolib2: Use PRINTF instead of setup.py in files directory
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 May 2023 04:27:59 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9e2a7cb9491a065eb3b90a0aab8b48909c5ff16c commit 9e2a7cb9491a065eb3b90a0aab8b48909c5ff16c Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-05-27 04:09:49 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-05-27 04:09:49 +0000 print/py-ufolib2: Use PRINTF instead of setup.py in files directory --- print/py-ufolib2/Makefile | 2 +- print/py-ufolib2/files/setup.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/print/py-ufolib2/Makefile b/print/py-ufolib2/Makefile index 4803036f5ad1..f4a960b9ec1c 100644 --- a/print/py-ufolib2/Makefile +++ b/print/py-ufolib2/Makefile @@ -41,6 +41,6 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extens .endif post-patch: - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ + @${PRINTF} "from setuptools import setup\n\nsetup()\n" > ${WRKSRC}/setup.py .include <bsd.port.post.mk> diff --git a/print/py-ufolib2/files/setup.py b/print/py-ufolib2/files/setup.py deleted file mode 100644 index 606849326a40..000000000000 --- a/print/py-ufolib2/files/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup()