From nobody Sun Apr 07 08:04:49 2024 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 4VC4Wk2kjRz5GVcc; Sun, 7 Apr 2024 08:04:50 +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 4VC4Wk0tsJz4cJ2; Sun, 7 Apr 2024 08:04:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712477090; 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=ee8gU9oyEp04u2fe8MKjo32xUxEm8YXd/1CArLHHMCY=; b=yZygYU0659W7C9DULTN+gWIPnivrQIzc3bQRSuB86tNLJoocP0Dg2Vwcs3fhhwLJQQUDAh whb0ns3uIpcIx9nqRjlNYMSxZ1zdXR7O0Uvnlp8HAmu/QGQRQ4bQZks9lPbO46SkOeskgu e/OeF5xxD1sSIGJDoRbb4qWJo7MJxbZH9LM75hwNecKrEsqYHrhizTBTubXVddQmSFUfxq T7a4QtQdqQH/u8E8B0MwwUIeT3HNlud0syTueKMznpxyu0vBCayqJfRPcikwvWF56Kyex4 MwKTo1z4QzG8sOUlcOuwuGnIuLXbb/OfUPxDNQ5mqoF06qPDcdd8QVgHEGJcpA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712477090; a=rsa-sha256; cv=none; b=tZ5wlxklHiLn+pq2Z3uJ/6qEEjhIEfkFrcO9Pys1htS1b4jOCnMVeWTSSwWh8sVW9HJpO+ 1zGNwVs5YjA6/Bkx/MFOD8tU6Pm4fdSs493B5F4xRcjCai2horPDUgWSf89BhBJFToLDkO XAUduxjPvXz7keljHE6jdRv9Wh1Sywdls6TTGKTTJ4T29Y+AMQM0x8cHnjxMS9WGtjG0Gy 01RUkrfWFAChGcswgI4WvCGr96mWwBBPPHshKshf5D/cAxl81uHxPVByXo325KQikSbE/C 1TBi0M4EL30ZmJe4UUnQpZAApcpF8ayNmeYhBf2sAXf/LuFA9mCnyLM5hptqcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712477090; 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=ee8gU9oyEp04u2fe8MKjo32xUxEm8YXd/1CArLHHMCY=; b=ov003j9ap9X6UWgg49H6VnaxKsJmo19kQ2HF6hWOtoW0vJkCF+/e25hsCVbEArsoTahAmv sQT8mNBPfW59MTpWD3zFLWQiy6Gb/FSyx9L7o4CJw6s8+7rdKmiGxqMxDvI91wp9xfLMlE IhkzEJQ70pM1L1JrfXpg8G8O+997l4mRjR97IRXF07GhnF1yXyi9CfphhajurfsKhypZI+ dSz7zvROFp7IkDufKQk0CEskceLhsZE7VheXXe092LRDMSsQgnJ5wsWCHihaIbTOlA/Rxl 0F2mcV1ljNN/pOM88ZnjHPjGU+iThLJGCByvlpJYMbPxrBLLoim0rOPdoq47xg== 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 4VC4Wk0VcRzKBG; Sun, 7 Apr 2024 08:04:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43784nEe029765; Sun, 7 Apr 2024 08:04:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43784nwh029762; Sun, 7 Apr 2024 08:04:49 GMT (envelope-from git) Date: Sun, 7 Apr 2024 08:04:49 GMT Message-Id: <202404070804.43784nwh029762@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: e60672e6afd7 - main - textproc/py-sphinxcontrib-autoprogram: Update to 0.1.9 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: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e60672e6afd7afe1307109099ecc2e87f3264c75 Auto-Submitted: auto-generated The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=e60672e6afd7afe1307109099ecc2e87f3264c75 commit e60672e6afd7afe1307109099ecc2e87f3264c75 Author: Derek Schrock AuthorDate: 2024-04-07 03:50:56 +0000 Commit: Nuno Teixeira CommitDate: 2024-04-07 08:04:38 +0000 textproc/py-sphinxcontrib-autoprogram: Update to 0.1.9 - Use pep517 - Add pep420 changes - Directly run tests via unittest - Directly builds docs via sphinx-build ChangeLog: https://github.com/sphinx-contrib/autoprogram/releases/tag/0.1.9 PR: 277749 --- textproc/py-sphinxcontrib-autoprogram/Makefile | 30 ++++++++++++++-------- textproc/py-sphinxcontrib-autoprogram/distinfo | 6 ++--- .../files/patch-setup.py | 21 +++++++++++++++ 3 files changed, 44 insertions(+), 13 deletions(-) diff --git a/textproc/py-sphinxcontrib-autoprogram/Makefile b/textproc/py-sphinxcontrib-autoprogram/Makefile index fbbb952a1e5d..5f93d11e86e4 100644 --- a/textproc/py-sphinxcontrib-autoprogram/Makefile +++ b/textproc/py-sphinxcontrib-autoprogram/Makefile @@ -1,5 +1,5 @@ PORTNAME= sphinxcontrib-autoprogram -DISTVERSION= 0.1.8 +DISTVERSION= 0.1.9 CATEGORIES= textproc MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,28 +10,38 @@ WWW= https://github.com/sphinx-contrib/autoprogram LICENSE= BSD2CLAUSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2,1:textproc/py-sphinx@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2,1:textproc/py-sphinx@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= DOCS -DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2,1:textproc/py-sphinx@${PY_FLAVOR} +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2,1:textproc/py-sphinx@${PY_FLAVOR} DOCS_PORTDOCS= * -DOCS_VARS= PYDISTUTILS_BUILD_TARGET=build_sphinx \ - PYDISTUTILS_BUILDARGS="-n --all-files --fresh-env" + +post-extract: + @(cd ${BUILD_WRKSRC}; ${RM} sphinxcontrib/__init__.py;) + +pre-build-DOCS-on: + @(cd ${BUILD_WRKSRC}; \ + ${SETENVI} ${WRK_ENV} \ + sphinx-build-${PYTHON_VER} \ + -b html -d _build/doctress doc/ build/sphinx/html) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ - ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objects.inv") + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ + "! -name .buildinfo -and ! -name objects.inv") do-test: - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + @cd ${WRKSRC} && \ + ${SETENV} ${MAKE_ENV} \ + ${PYTHON_CMD} -m unittest -v sphinxcontrib/autoprogram.py .include diff --git a/textproc/py-sphinxcontrib-autoprogram/distinfo b/textproc/py-sphinxcontrib-autoprogram/distinfo index 7a8e76f4c4e6..029790121b49 100644 --- a/textproc/py-sphinxcontrib-autoprogram/distinfo +++ b/textproc/py-sphinxcontrib-autoprogram/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1676784775 -SHA256 (sphinxcontrib-autoprogram-0.1.8.tar.gz) = 5a69729db9d283e0e4c6d349bd60e62a4b8ebd2c07c0ab634b82d08a4121f10a -SIZE (sphinxcontrib-autoprogram-0.1.8.tar.gz) = 18656 +TIMESTAMP = 1710625404 +SHA256 (sphinxcontrib-autoprogram-0.1.9.tar.gz) = 219655507fadca29b3062b5d86c37d94db48f03bde4b58d61526872bf72f57cc +SIZE (sphinxcontrib-autoprogram-0.1.9.tar.gz) = 18843 diff --git a/textproc/py-sphinxcontrib-autoprogram/files/patch-setup.py b/textproc/py-sphinxcontrib-autoprogram/files/patch-setup.py new file mode 100644 index 000000000000..cf8fe25ae54d --- /dev/null +++ b/textproc/py-sphinxcontrib-autoprogram/files/patch-setup.py @@ -0,0 +1,21 @@ +--- setup.py.orig 2024-04-07 02:53:48 UTC ++++ setup.py +@@ -3,7 +3,7 @@ from __future__ import with_statement + + import sys + +-from setuptools import setup, find_packages ++from setuptools import find_namespace_packages, setup, find_packages + + + # Do not change the variable name. It's parsed by doc/conf.py script. +@@ -49,8 +49,7 @@ setup( + ], + python_requires='>=3.8', + platforms='any', +- packages=find_packages(), +- namespace_packages=['sphinxcontrib'], ++ packages=find_namespace_packages(include=['sphinxcontrib']), + include_package_data=True, + install_requires=requires, + test_suite='sphinxcontrib.autoprogram.suite'