Date: Wed, 23 Oct 2024 15:38:00 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9b4c5db030ef - main - devel/py-dulwich: Update version 0.21.2=>0.21.7 Message-ID: <202410231538.49NFc09X044969@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=9b4c5db030ef50260a5ad57785f2d114f3187bdb commit 9b4c5db030ef50260a5ad57785f2d114f3187bdb Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-10-23 15:21:43 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-10-23 15:37:46 +0000 devel/py-dulwich: Update version 0.21.2=>0.21.7 - Convert to pep517 - Utilize OPTIONSNG - Change OPTIONS TESTS to TEST as that is the default OPTION defined in ports infrastructure for TEST - Add non-default option FASTIMPORT and PARAMIKO Changelog: https://github.com/jelmer/dulwich/releases/tag/dulwich-0.21.7 PR: 281937 Approved by: marco.broeder@posteo.eu (maintainer-timeout) --- devel/py-dulwich/Makefile | 28 ++++++++++++++++++++-------- devel/py-dulwich/distinfo | 6 +++--- 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/devel/py-dulwich/Makefile b/devel/py-dulwich/Makefile index fe3efd16e52c..b120fffa07b5 100644 --- a/devel/py-dulwich/Makefile +++ b/devel/py-dulwich/Makefile @@ -1,5 +1,5 @@ PORTNAME= dulwich -PORTVERSION= 0.21.2 +DISTVERSION= 0.21.7 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,19 +12,27 @@ LICENSE= APACHE20 GPLv2+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/COPYING +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urllib3>=1.25:net/py-urllib3@${PY_FLAVOR} + USES= cpe python +CPE_VENDOR= dulwich_project +USE_PYTHON= autoplist concurrent pep517 PORTDOCS= AUTHORS NEWS README.rst TODO conclusion.txt encoding.txt \ file-format.txt index.txt introduction.txt object-store.txt \ performance.txt porcelain.txt protocol.txt remote.txt repo.txt tag.txt PORTEXAMPLES= clone.py config.py diff.py latest_change.py -CPE_VENDOR= dulwich_project -USE_PYTHON= distutils autoplist concurrent +OPTIONS_DEFINE= DOCS EXAMPLES FASTIMPORT PARAMIKO TEST +OPTIONS_DEFAULT=TEST + +FASTIMPORT_DESC= Enable fastimport support +PARAMIKO_DESC= Enable paramiko SSH2 protocol support -OPTIONS_DEFINE= DOCS EXAMPLES TESTS -OPTIONS_DEFAULT= TESTS -TESTS_DESC= Install tests and test data +FASTIMPORT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastimport>=0:devel/py-fastimport@${PY_FLAVOR} +PARAMIKO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR} .include <bsd.port.options.mk> @@ -33,19 +41,23 @@ post-patch: ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|g' \ ${WRKSRC}/setup.py ${WRKSRC}/examples/*.py -.if ! ${PORT_OPTIONS:MTESTS} + +post-patch-TEST-off: ${REINPLACE_CMD} -e '/tests/d' \ ${WRKSRC}/dulwich.egg-info/SOURCES.txt \ ${WRKSRC}/MANIFEST.in ${REINPLACE_CMD} -e "/packages=/s|'dulwich\.tests[^']*',||g" \ ${WRKSRC}/setup.py -.endif post-install: @${STRIP_CMD} ${STAGEDIR}/${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/*.so + +post-install-DOCS-on: ${CP} ${WRKSRC}/docs/*.txt ${WRKSRC}/docs/tutorial/*.txt ${WRKSRC}/ @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/) + +post-install-EXAMPLES-on: ${CP} ${WRKSRC}/examples/*.py ${WRKSRC}/ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC} && ${INSTALL_SCRIPT} ${PORTEXAMPLES} \ diff --git a/devel/py-dulwich/distinfo b/devel/py-dulwich/distinfo index e2ddac785efd..72ceadaf5528 100644 --- a/devel/py-dulwich/distinfo +++ b/devel/py-dulwich/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1674862976 -SHA256 (dulwich-0.21.2.tar.gz) = d865ae7fd9497d64ce345a6784ff1775b01317fba9632ef9d2dfd7978f1b0d4f -SIZE (dulwich-0.21.2.tar.gz) = 436949 +TIMESTAMP = 1728366242 +SHA256 (dulwich-0.21.7.tar.gz) = a9e9c66833cea580c3ac12927e4b9711985d76afca98da971405d414de60e968 +SIZE (dulwich-0.21.7.tar.gz) = 448028
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410231538.49NFc09X044969>