From nobody Tue Mar 21 19:30:29 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 4Ph1sg43tyz40jYv; Tue, 21 Mar 2023 19:30:31 +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 4Ph1sd6TJvz4Vt6; Tue, 21 Mar 2023 19:30:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679427029; 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=OhRJcvV0YeBVpel+aOXm1Nvty5WZK+cXsxqKPMSo48o=; b=XEovU7I6KJBBQ0Kr/h2OvqjAZS27VQ8ag9IlAQyE9xTt2NHnzksKPgp7oIXZTfBbLMSedM 1YOlE9ZZegxAGvh00TybXtWJONWQvpZZx7Wc0eTfBRez2XTgRdl4jwv89rz0TVTfmtic5L pgFmqyhLUvc2lGStmCUDFfPvuiQBL+YstG/DVd1sPG3fD6t22VozQ0kmEnveIArEQPhDC7 foX+gPNtLECYNt+VxlOxLLjFzyK8VkV95EPZIKTvlALMZSF4tSreaqGAxizLNSpqN1LlSt av5vNVJL4H/ELcxY8GfXir22yls+NpM2s5EpRpdVSSSF+D7D7wPnIOt4FhrgvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679427029; 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=OhRJcvV0YeBVpel+aOXm1Nvty5WZK+cXsxqKPMSo48o=; b=OjJA/1JTGPkCfgFSjNH+cGAEzQ/PmUidVkn8Xb7GCDAzVA94VHjYYxtFBMf0OQMjbbMJFA mOWFFaXxq3nwWqZXVEoWYB7gGQdGu69fQoDcHL1iOzycME3JmwFxxzoZqVKlwYqudabmQF bQVMRSrKavh/i1+4R3YSRGBL/AsSp9t2MeCiEyZ22UqqwjVaDOtuNPR4ZaXy47cT0cxa9D 5ZlQulXu2O6yR/J6iyjVUVWsAv7D50eBM+3d3RTQyJ1ddC4dezqSviVTu35AY6nqDW+6t5 3t1ZdTaOiqYeaF2BSJ2qt8+xlMkYhwA6f6DkVebCEyviTp7Z2GsWnNRECj2e2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679427029; a=rsa-sha256; cv=none; b=YV+/FZ5x8h3CoCPe4oS0I0LjK0B80rFHpNi9He+pRq1jFdch0keRpE3iwiX/6nZBonmOjC Mm/Dy69Q1ucQd5Vh913sns3Fc/ogFVWzx8MK4l0lINMZPUcOLsEuEXxXjFJ+CBjFittfTt nb1SEgcZabA7EBO8K+omX7INWsQey6+oHOX2KpZSSvtPLQEL5ix74CyaalUeXavIeiKJlf rReNvi138Vzgyb60kWyDR1t1NFUtYT6coAQH0254lfOoZxW7uUBUpoTNC0t2HzLjGAzzOS FJ6WfNpZL0hB2FsyEbE9rpfIvklwGkGH0ChUqh4tGWe6VZDAd9WWD/zL+yQyng== 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 4Ph1sd4n21zPl0; Tue, 21 Mar 2023 19:30:29 +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 32LJUTTd042930; Tue, 21 Mar 2023 19:30:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJUTBQ042929; Tue, 21 Mar 2023 19:30:29 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:30:29 GMT Message-Id: <202303211930.32LJUTBQ042929@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: 0a13504f8c87 - main - textproc/py-tomli-w: 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: 0a13504f8c87780b2017434d6c51d7d210f5f740 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0a13504f8c87780b2017434d6c51d7d210f5f740 commit 0a13504f8c87780b2017434d6c51d7d210f5f740 Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:48:59 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:21:24 +0000 textproc/py-tomli-w: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- textproc/py-tomli-w/Makefile | 8 ++++---- textproc/py-tomli-w/files/setup.py | 21 --------------------- 2 files changed, 4 insertions(+), 25 deletions(-) diff --git a/textproc/py-tomli-w/Makefile b/textproc/py-tomli-w/Makefile index c289387f7a48..47b7a3614825 100644 --- a/textproc/py-tomli-w/Makefile +++ b/textproc/py-tomli-w/Makefile @@ -1,5 +1,6 @@ PORTNAME= tomli-w PORTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,12 +13,11 @@ WWW= https://github.com/hukkin/tomli-w LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2.0<4:devel/py-flit-core@${PY_FLAVOR} + USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include diff --git a/textproc/py-tomli-w/files/setup.py b/textproc/py-tomli-w/files/setup.py deleted file mode 100644 index 597281994ff5..000000000000 --- a/textproc/py-tomli-w/files/setup.py +++ /dev/null @@ -1,21 +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 = \ -['tomli_w'] - -package_data = \ -{'': ['*']} - -setup(name='tomli_w', - version='%%PORTVERSION%%', - description="A lil' TOML writer", - author=None, - author_email='Taneli Hukkinen ', - url=None, - packages=packages, - package_data=package_data, - python_requires='>=3.7', - )