From nobody Tue Mar 21 19:30:21 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 4Ph1sV0KqWz40jfV; Tue, 21 Mar 2023 19:30:22 +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 4Ph1sT6VkNz4VbF; Tue, 21 Mar 2023 19:30:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679427021; 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=KTIhp7q+qas3P3YIGlatBfc0YH6zrzc26p0u/UUmYes=; b=VwrEfe0MuccVE1TeONm4eWKZX/48+Kbe0qjgU3/AuWNJpImJvkMYJIfkM+tiERDBjCOqKB HK+t51jHzdh++luIPXDeYWzFEsMF21BH/s6bxBthGZtxK0Y3IVZv6FZq+IowXqDgG5cq7g 9V0tameJsCBepcNqTlOALMyJxgqpr7AW0AHYndRdfklxT4x7XgK7kh59lKnxu04/PKhLm4 8CWihDg6ZoBFWQ34WLfUU1taLHceRNcO1Kx4PwNqA+qFF916FaDkfML0Yog6rfvfq4yqPg A9IZ9fE0XaZjC87EG9EzB2noqwlzK0mwWZ8fKw+bWpsZmhK8yA1nSwXEsGiDUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679427021; 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=KTIhp7q+qas3P3YIGlatBfc0YH6zrzc26p0u/UUmYes=; b=YXfRl+N2SPSXgn680qkyraziBBZTbkNLGSDUnLu+IVqfcMFpAwX93X1rv4m4svHkX4BuER xIhi3DAJpWop0KoIukmujgPBfpSeIzPYnpxUlRfi2Zj/dBcNuBAfThKHlp6tCdVLLOU5y3 vpTZF1KFHR1QMJcVZ/8nQgqisuOwwFLEreErN6BFZU2eKL6KL7egFDy6StPqACRLEdLB3m uXRXwsM9t0EYzVCpipPOdexlv4JxGWkvHerLphkOuXCkrK42zsDyuRuPb5qB7YExAKX5iw 9CldlEeVmNcpnw2sXuAHxlbQz2q3Bg8Y9OFsTVZLpy06Gm0b7R0KVuJc3y5tIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679427021; a=rsa-sha256; cv=none; b=YTEl6mAQfgBWV9a4ix4USxybGUUwjDnml2CJeqRB9Vk1WfhiWdXJ5UQWqiEKv5Whu9TUPo O9UAdWjVf331M63yaWoQeLL7ShjioD9Q0E7vr+9N7VTDDAPJast/DmoCkYCWAEy+cq6Nx2 bM1pS8tCPQatK3Hn/bIvzmfyhSgUQCWYn/MaPeFg/seQAwf+PfPBcRQ/R5P9oyEyZCQ1BL Q2muI7NPLo5u1vUDHK+/hkCQNc8G7RHIDjGnyU6DJ1Z45Egb0vRIZHSiXOC2gl4kFzKTHc C1BYvPP9f3WeAq5ZMKlKpmK9ocgZyE0iCB1532LGfNw/WZTAs/egeoSkHfWyag== 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 4Ph1sT5GnGzPbj; Tue, 21 Mar 2023 19:30:21 +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 32LJULRH042783; Tue, 21 Mar 2023 19:30:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJULwJ042782; Tue, 21 Mar 2023 19:30:21 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:30:21 GMT Message-Id: <202303211930.32LJULwJ042782@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: 372210589f21 - main - textproc/py-sphinx-examples: 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: 372210589f2155f39c1eea062e8f58a62d806c16 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=372210589f2155f39c1eea062e8f58a62d806c16 commit 372210589f2155f39c1eea062e8f58a62d806c16 Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:48:41 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:21:22 +0000 textproc/py-sphinx-examples: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- textproc/py-sphinx-examples/Makefile | 7 +++--- textproc/py-sphinx-examples/files/setup.py | 37 ------------------------------ 2 files changed, 3 insertions(+), 41 deletions(-) diff --git a/textproc/py-sphinx-examples/Makefile b/textproc/py-sphinx-examples/Makefile index 4f5ded8643d6..d3b4543287dd 100644 --- a/textproc/py-sphinx-examples/Makefile +++ b/textproc/py-sphinx-examples/Makefile @@ -1,5 +1,6 @@ PORTNAME= sphinx-examples PORTVERSION= 0.0.5 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,15 +12,13 @@ WWW= https://github.com/executablebooks/sphinx-examples LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.5<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=4,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-design>=0:textproc/py-sphinx-design@${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-sphinx-examples/files/setup.py b/textproc/py-sphinx-examples/files/setup.py deleted file mode 100644 index fb35dbe8da5a..000000000000 --- a/textproc/py-sphinx-examples/files/setup.py +++ /dev/null @@ -1,37 +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 = \ -['sphinx_examples'] - -package_data = \ -{'': ['*'], 'sphinx_examples': ['_static/*', '_static/styles/*']} - -package_dir = \ -{'': 'src'} - -install_requires = \ -['sphinx>4', 'sphinx-design'] - -extras_require = \ -{'sphinx': ['sphinx-book-theme', - 'sphinx-copybutton', - 'myst-parser', - 'sphinx-rtd-theme', - 'furo']} - -setup(name='sphinx-examples', - version='%%PORTVERSION%%', - description='A lightweight example directive to make it easy to demonstrate code / results.', - author=None, - author_email='Executable Book Project ', - url=None, - packages=packages, - package_data=package_data, - package_dir=package_dir, - install_requires=install_requires, - extras_require=extras_require, - python_requires='>=3.7', - )