From nobody Tue Mar 21 19:30:06 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 4Ph1sC548Jz40jQM; Tue, 21 Mar 2023 19:30:07 +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 4Ph1sC3CNkz4TY9; Tue, 21 Mar 2023 19:30:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679427007; 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=ooqbTeaQonSWvtkT2Il5y0JTXTNz1zfkoS9zA8ceDYI=; b=fhbzKeoz+93l1AyaRPGnPlDmd2KgS7rU+VVgogcuS0f0sjm5M7ibLSRteyyf89pSWHc9BI ZWLF7ANGjjaB4XGm44PJ2XkZNV2BUpBM7wrYg3b4+3c2pmuzL+SIByebGm5GXN9nmu+ON6 GT0BNoBWvRm/ILfEvl3y6cMZb4ccjg4SoVGu8FCzeuptO7KSpl54KFr3dhJ0o9Na5unIFI AkVqGuHBUvQ6VgJuegM7bmiTo+FpiPvTIcMk4DIlaBq0hPOmIavwRiBG59GzH1NyBMIRz7 4RPg6v1K4W8IO+gNrUwwBVpW9umJppMwcocPTPSEgLjAO4PnFGEH6uD3WDvy+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679427007; 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=ooqbTeaQonSWvtkT2Il5y0JTXTNz1zfkoS9zA8ceDYI=; b=rt83PeTErhRNbNXLyu5YWpWHsNgOyB4ZyWfHpdMBbL4/xRHrk2BHW6kHK6t0m/yPkhN+t7 +C61tcTyVZGFVhUte1RYQpsaLcjnXDcK+J3jI8ZmPpwSY8UIkzoJQpGnAzk8yfU6jHEhZU vN2ConNz/KGL/tY59gUJsQrYhGzJvUGOAfhFZ3eQXdtem+mLaDeg2oKOj5dkU1LicoYspB gZMbzPn2WjD5WhEb6EXeQ3agSeoK/XeHIcS5FlPO2uzCT4jPof4Oo+EJmRCvt9QjILP2Tq peu4Dv7S+QDdCIJTo3gx+NueHftLrQDNSQXWO/u+EJnWKxJQcrSazyYSYjgVGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679427007; a=rsa-sha256; cv=none; b=soj/tQiH6qtQD3bkuFW38xNoUW3XtN+V3wtMBrdz7p64h/hbrilvzh3R/GZpEEfZW0kv2r z5n0c66CIhuH0ryY6G+ZBWo065yMbQRqwKN2GDHiGHJ9nIuA52sb7+xPHKia/NtTDaYXoA AL/nMienxEIiiNQO+c4ZvHjOGfcHkMmSE9qeKofVP5R1ioMqxKQYKr0yR85EgSVsUotw7H P2PiK76sYtiwr4ggat5r2R2EcH3ZRC6AkzAb6oeOsMDQzHyqFeP21ZMrBsr5yMiZV6NVG7 CDfvUm5UUbMYZY2/E30Vxf3t/ujQpPvGZ3dPxRTzdlcHP7V2dmEo58wrRHasUQ== 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 4Ph1sB3Sg0zPYj; Tue, 21 Mar 2023 19:30:06 +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 32LJU67M036906; Tue, 21 Mar 2023 19:30:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJU6b2036903; Tue, 21 Mar 2023 19:30:06 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:30:06 GMT Message-Id: <202303211930.32LJU6b2036903@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: 9f2159a8bf2f - main - textproc/py-atoml: 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: 9f2159a8bf2f8107603e420ea52f193b1385afd7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9f2159a8bf2f8107603e420ea52f193b1385afd7 commit 9f2159a8bf2f8107603e420ea52f193b1385afd7 Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:48:04 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:21:19 +0000 textproc/py-atoml: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- textproc/py-atoml/Makefile | 8 +++---- textproc/py-atoml/files/setup.py | 46 ---------------------------------------- 2 files changed, 4 insertions(+), 50 deletions(-) diff --git a/textproc/py-atoml/Makefile b/textproc/py-atoml/Makefile index 7c60dba53cf8..3e790367d9a5 100644 --- a/textproc/py-atoml/Makefile +++ b/textproc/py-atoml/Makefile @@ -1,5 +1,6 @@ PORTNAME= atoml PORTVERSION= 1.1.1 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,12 +12,11 @@ WWW= https://github.com/frostming/atoml LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-pep517>=0:devel/py-pdm-pep517@${PY_FLAVOR} + USES= python:3.6+ -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-atoml/files/setup.py b/textproc/py-atoml/files/setup.py deleted file mode 100644 index b36d2ebf8e9f..000000000000 --- a/textproc/py-atoml/files/setup.py +++ /dev/null @@ -1,46 +0,0 @@ - -# -*- coding: utf-8 -*- -from setuptools import setup - -import codecs - -with codecs.open('README.md', encoding="utf-8") as fp: - long_description = fp.read() - -setup_kwargs = { - 'name': 'atoml', - 'version': '%%PORTVERSION%%', - 'description': 'Yet another style preserving TOML library', - 'long_description': long_description, - 'license': 'MIT', - 'author': '', - 'author_email': 'Frost Ming ,Sébastien Eustace ', - 'maintainer': None, - 'maintainer_email': None, - 'url': '', - 'packages': [ - 'atoml', - ], - 'package_data': {'': ['*']}, - 'long_description_content_type': 'text/markdown', - 'classifiers': [ - 'License :: OSI Approved :: MIT License', - 'Operating System :: MacOS', - 'Operating System :: Microsoft :: Windows', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: Implementation :: CPython', - 'Programming Language :: Python :: Implementation :: PyPy', - 'Topic :: Software Development :: Libraries :: Python Modules', - ], - 'python_requires': '>=3.6', - -} - - -setup(**setup_kwargs)