From nobody Tue Mar 21 19:30:27 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ph1sc1FCGz40jXM; Tue, 21 Mar 2023 19:30:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ph1sb5hXcz4VWh; Tue, 21 Mar 2023 19:30:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679427027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=D+lgR3gsZOjTqJ0SZfdhFOeHKNhONFcNwQTjj+fLlPc=; b=b71HtpeVUnP7M7N0BNd6h7Iy0IwxnRlCVFRBxGmbFuVHa3DXnsTxmwJ1PF4H3S5M+ENdk4 gBJOLiHwO0WbJwYcWtEA1obmiCnuZiBX+c9pZYb3vXV3hVT7xlrsDERXuCYabG/VU87wD2 vEiLuNHok0YuBs7fENT1Gcxqs0yFApm9vjVyad65IEioUQl4xTMIKyfOoCEwFBjreGGb4l iLfLr533nqnfY6WMENRHqlAfZ1K6XlcGT+RjzjYBhdYUaeBnac8/oFN6z8+qCfihzuMUrE RdORUkaqBm8DSPe+sqBVkeQzAG51aMJeLMDue/HWXp2KJNxpL3t9dToimQzhxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679427027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=D+lgR3gsZOjTqJ0SZfdhFOeHKNhONFcNwQTjj+fLlPc=; b=NTgRWGMJBxMorfCVSHe0n8hFaAjSiX9K9wll4Qc1TJ15NDFhtqwgN7c7rfFMokitf7SbCi 3W/i+PxiElqMZdjnS6R3/XAG8yRUhO/cSCybMWIv5xQg9h476iUMp7XuydOM+zWDik5e+X LqlUhqgL5cCpJbajlbfeKJlfveIPoRYIH4bD3vrnAVcz5aGovNZ1ur/mv2mdTmlj033WaQ eUE8wjM7yqxxJq0jVP1cOLkewD/oZrlKw7dGrrDjQ2CmCkFaMISG41orYSI0HaLfvMHnzo vjZVIoDNMksYzU2rgIgr33H5goB/6mw9sVUysLYQp1wK0YtFkQ8H/JMDVTWkaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679427027; a=rsa-sha256; cv=none; b=CcIOUvW+tr2PyA8+6ZXaFAe5pq7ZGefVnxCyP5B3U6zbigYv/Lg1czvyBqMCeeqTaDdtlB sWYSKc56EP1I/voJPaWhMkvh2MqYRz/NnFfq2TyBJM3c+MuYeEtuwB8bO6whZjTr3XkjSV /tp278+4nZQtYCBCQ87obZeOXqTYL4xgyhwt3xWV1KtLZN+2PywuEbFdDxBpDyh71sbb0P ye5tpTm4QN4mpUrN7kgKEZhYpV7Vnc8lK/ODSXjk3c/HdPyImhLXB7OqePWjHdTijQWBu+ LboHZoZMHzz8ZoLfJ/5sygRpRP9cXAyVR0Bhc60AnXjVU9gvJfReTyljgce+Rw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ph1sb3SbbzPky; Tue, 21 Mar 2023 19:30:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32LJUR4u042886; Tue, 21 Mar 2023 19:30:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJURIj042885; Tue, 21 Mar 2023 19:30:27 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:30:27 GMT Message-Id: <202303211930.32LJURIj042885@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: ca28e2c68790 - main - textproc/py-tinycss2: Convert to USE_PYTHON=pep517 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ca28e2c68790b495463b71dbaffe245512c24817 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ca28e2c68790b495463b71dbaffe245512c24817 commit ca28e2c68790b495463b71dbaffe245512c24817 Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:48:54 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:21:24 +0000 textproc/py-tinycss2: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- textproc/py-tinycss2/Makefile | 7 +++---- textproc/py-tinycss2/files/setup.py | 32 -------------------------------- 2 files changed, 3 insertions(+), 36 deletions(-) diff --git a/textproc/py-tinycss2/Makefile b/textproc/py-tinycss2/Makefile index 38b74cc3c5b1..b46ae6669768 100644 --- a/textproc/py-tinycss2/Makefile +++ b/textproc/py-tinycss2/Makefile @@ -1,5 +1,6 @@ PORTNAME= tinycss2 PORTVERSION= 1.2.1 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,16 +12,14 @@ WWW= https://github.com/Kozea/tinycss2 LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}webencodings>=0.4:converters/py-webencodings@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}isort>=0:devel/py-isort@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils pytest +USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes -post-patch: - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include diff --git a/textproc/py-tinycss2/files/setup.py b/textproc/py-tinycss2/files/setup.py deleted file mode 100644 index bbba394b8d36..000000000000 --- a/textproc/py-tinycss2/files/setup.py +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env python -# setup.py generated by flit for tools that don't yet use PEP 517 - -from distutils.core import setup - -packages = \ -['tinycss2'] - -package_data = \ -{'': ['*']} - -install_requires = \ -['webencodings >=0.4'] - -extras_require = \ -{'doc': ['sphinx', 'sphinx_rtd_theme'], - 'test': ['flake8', - 'isort', - 'pytest']} - -setup(name='tinycss2', - version='%%PORTVERSION%%', - description='A tiny CSS parser', - author=None, - author_email='Simon Sapin ', - url=None, - packages=packages, - package_data=package_data, - install_requires=install_requires, - extras_require=extras_require, - python_requires='>=3.7', - )