git: d0a2873960a1 - main - devel/py-decoratortools: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Apr 2024 20:18:16 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d0a2873960a1f1272fd5efadb7207f01e2b86767 commit d0a2873960a1f1272fd5efadb7207f01e2b86767 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-04-08 20:13:22 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-04-08 20:16:45 +0000 devel/py-decoratortools: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- devel/py-decoratortools/Makefile | 7 +++++-- devel/py-decoratortools/files/patch-setup.py | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/devel/py-decoratortools/Makefile b/devel/py-decoratortools/Makefile index a3469aec8bc7..dc79cf96240d 100644 --- a/devel/py-decoratortools/Makefile +++ b/devel/py-decoratortools/Makefile @@ -1,6 +1,6 @@ PORTNAME= decoratortools PORTVERSION= 1.8 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,8 +13,11 @@ WWW= https://pypi.org/project/DecoratorTools/ LICENSE= PSFL ZPL21 LICENSE_COMB= dual +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= python zip -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/devel/py-decoratortools/files/patch-setup.py b/devel/py-decoratortools/files/patch-setup.py index be2ef8e86039..16eb6e821ee9 100644 --- a/devel/py-decoratortools/files/patch-setup.py +++ b/devel/py-decoratortools/files/patch-setup.py @@ -1,6 +1,6 @@ --- setup.py.orig 2010-05-05 05:55:08 UTC +++ setup.py -@@ -1,8 +1,6 @@ +@@ -1,18 +1,16 @@ #!/usr/bin/env python """Distutils setup file""" @@ -9,7 +9,10 @@ from setuptools import setup # Metadata -@@ -12,7 +10,7 @@ PACKAGES = ['peak', 'peak.util'] +-PACKAGE_NAME = "DecoratorTools" ++PACKAGE_NAME = "decoratortools" + PACKAGE_VERSION = "1.8" + PACKAGES = ['peak', 'peak.util'] def get_description(): # Get our long description from the documentation