From aae0de560191e8dd1963b9e1b95acf121c6d142b Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Fri, 22 Sep 2023 11:18:07 +0800 Subject: [PATCH] devel/py-py-serializable: Do not install files to PYTHON_SITELIBDIR - Bump PORTREVISION for package change --- devel/py-py-serializable/Makefile | 1 + .../files/patch-pyproject.toml | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 devel/py-py-serializable/files/patch-pyproject.toml diff --git a/devel/py-py-serializable/Makefile b/devel/py-py-serializable/Makefile index 22a293c666257..622c1c031769d 100644 --- a/devel/py-py-serializable/Makefile +++ b/devel/py-py-serializable/Makefile @@ -1,5 +1,6 @@ PORTNAME= py-serializable PORTVERSION= 0.12.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-py-serializable/files/patch-pyproject.toml b/devel/py-py-serializable/files/patch-pyproject.toml new file mode 100644 index 0000000000000..b8265aa999659 --- /dev/null +++ b/devel/py-py-serializable/files/patch-pyproject.toml @@ -0,0 +1,19 @@ +--- pyproject.toml.orig 2023-03-07 10:15:49 UTC ++++ pyproject.toml +@@ -11,9 +11,6 @@ repository = "https://github.com/madpah/serializable" + packages = [ + { include = "serializable" } + ] +-include = [ +- "LICENSE" +-] + classifiers = [ + # Trove classifiers - https://packaging.python.org/specifications/core-metadata/#metadata-classifier + # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers +@@ -63,4 +60,4 @@ version_variable = [ + branch = "main" + upload_to_pypi = true + upload_to_release = true +-build_command = "pip install poetry==1.1.12 && poetry build" +\ No newline at end of file ++build_command = "pip install poetry==1.1.12 && poetry build"