Date: Tue, 21 Mar 2023 19:30:34 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 0f1221b3da0d - main - www/py-cssutils: Convert to USE_PYTHON=pep517 Message-ID: <202303211930.32LJUYGC043021@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f1221b3da0da5e7a582c6a08c42e4fbda0357be commit 0f1221b3da0da5e7a582c6a08c42e4fbda0357be Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-03-21 18:49:10 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-03-21 19:21:25 +0000 www/py-cssutils: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- www/py-cssutils/Makefile | 10 +++++----- www/py-cssutils/files/setup.py | 3 --- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/www/py-cssutils/Makefile b/www/py-cssutils/Makefile index 0031ab0c8cba..f8d8716bc873 100644 --- a/www/py-cssutils/Makefile +++ b/www/py-cssutils/Makefile @@ -1,5 +1,6 @@ PORTNAME= cssutils PORTVERSION= 2.6.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www python MASTER_SITES= PYPI @@ -14,10 +15,12 @@ LICENSE_COMB= dual LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LESSER -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.1:devel/py-setuptools_scm@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=56:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.1:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes @@ -29,9 +32,6 @@ OPTIONS_DEFINE= EXAMPLES RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} .endif -post-patch: - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ - post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}/ diff --git a/www/py-cssutils/files/setup.py b/www/py-cssutils/files/setup.py deleted file mode 100644 index 606849326a40..000000000000 --- a/www/py-cssutils/files/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303211930.32LJUYGC043021>