From nobody Fri Dec 30 09:18:40 2022 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 4Nk0750V1Fz2khBP; Fri, 30 Dec 2022 09:18:41 +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 4Nk07501SYz4bT6; Fri, 30 Dec 2022 09:18:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672391921; 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=zifpmuLKHNydaR3sMF+iebHfrVGEGNWycE3yeFf7ShQ=; b=v6rE9gRQk+QykKzhvpcC/QTceoj1U8IkDhRJD+MJnPcOqEFizNW4RQF+0LQG/i75PGxFv1 x6kPYbWPWnx7aK4p/Icq9dXi13SokmG3cDbv6XOwG4afhnLn24N+Wd/zB6X8pwQaI+QMgl E4BXthvds5AVHejhvo2PkKs01nWEIpCZ8WK7bl60DkjLDVgnPeaMJr0FXpIrRKV6j3FP90 KOwQn9XYdLd4I8Rw6TVQ4pVqPwUaLtlvoq78oLZGzljf6M4MV1Hv2nzVVjqn8aCoRZTstX uMRSOttyjAmmypYuNmXbGRNOEM2OQ4LcGz6wZ9UY31fZFOYEvN/s1nOYoqVfFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672391921; 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=zifpmuLKHNydaR3sMF+iebHfrVGEGNWycE3yeFf7ShQ=; b=JXX/C99bdGUAYVu1qLJCJLJbrVM/iHLY8zhtseEe1xoDbW3DQahMyhOUWqSv91j3s4srHs PI/YoZHh8NASG2YrasUTRbE7/mubOU7eT17t8+GiPvFYO9dLaDeEk8YZrhLcRGatA9xEwO mcvAkU2FozwzSx5GtAjmypI79GrD7FzXYpzMHzkGH8ytvmFebBZjIrfBzXY5ELe8Jr0i8x dDOKmVbnMeogDqQFb0CyoRw86x86WxHETKK6FQpD7lF0LMABRrYTctMeXsrzDlT468kFBL qzDNylBp0am42Fk7hi6lCp2LWrZb8jLLTHKLu7stcxXTF2yc2yoK8+t6OfaHKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672391921; a=rsa-sha256; cv=none; b=X/8emObcWnPZdpAuEF4DIcQ2dcGprq+s5RBdN7ev/Cql2Z90/FrRc3uZkOGXNF2QrjstQC 7VRTBfMjvbjFTGQxP+0MuNAGbVlVx2AP8yg4P6uqDH//qvL9ZRfVsWf5eOkd1DE+9rNyrF RfKrkWuUg4z2WMUk0rDOhB53g8kDlnMSgqGfj/XtIXU5Ezxn2SgHhWQeU8K0M/NMDGdkQb J/0Ncoq9gLMO/TJm14wrdnqo82aWcyA/pIpUlB/scxyd1/J5dA8sTT6D0zHk9P+4NZ6LmI jANb68FEp9c5Ehpqhv6WJ7fJLBKppW1LGFkyGIFNMys7igI0M2SU8ZWQUXMzLQ== 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 4Nk07465bGz13Hj; Fri, 30 Dec 2022 09:18:40 +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 2BU9Iex1027406; Fri, 30 Dec 2022 09:18:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BU9IePJ027405; Fri, 30 Dec 2022 09:18:40 GMT (envelope-from git) Date: Fri, 30 Dec 2022 09:18:40 GMT Message-Id: <202212300918.2BU9IePJ027405@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: 393d7c98914a - main - textproc/py-towncrier: Clean up Makefile 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: 393d7c98914aeefaf046323a4cdef56959694ecb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=393d7c98914aeefaf046323a4cdef56959694ecb commit 393d7c98914aeefaf046323a4cdef56959694ecb Author: Po-Chuan Hsieh AuthorDate: 2022-12-30 08:55:03 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-12-30 09:06:30 +0000 textproc/py-towncrier: Clean up Makefile - Clean up BUILD_DEPENDS [1] - Fix and sort RUN_DEPENDS [2] - Update USES=python [3] - Add NO_ARCH - Bump PORTREVISION for dependency change [3] Approved by: portmgr (blanket) With hat: python Reference: https://github.com/twisted/towncrier/blob/22.12.0/setup.py#L6 [1] https://github.com/twisted/towncrier/blob/22.12.0/setup.py#L47 [2] https://github.com/twisted/towncrier/blob/22.12.0/setup.py#L40 [3] --- textproc/py-towncrier/Makefile | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/textproc/py-towncrier/Makefile b/textproc/py-towncrier/Makefile index 8cc60c3feabf..d58688622b4e 100644 --- a/textproc/py-towncrier/Makefile +++ b/textproc/py-towncrier/Makefile @@ -1,6 +1,6 @@ PORTNAME= towncrier PORTVERSION= 22.12.0 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,18 +12,21 @@ WWW= https://github.com/twisted/towncrier LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click-default-group>=0:devel/py-click-default-group@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}incremental>=0:devel/py-incremental@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click-default-group>=0:devel/py-click-default-group@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}incremental>=0:devel/py-incremental@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click-default-group>=0:devel/py-click-default-group@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}incremental>=0:devel/py-incremental@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} -USES= python:3.6+ +USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils -.include +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR} +.endif + +.include