From nobody Wed Sep 18 06:19:25 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 4X7pQQ2xhfz5W0LD; Wed, 18 Sep 2024 06:19:26 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7pQP70wBz4GM2; Wed, 18 Sep 2024 06:19:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726640366; 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=cTNkDNbg18pgys9tEcv3ARXX+wS4pMA+Q99obfxI7dI=; b=lgq8gOnPp2R5DEMzM7XjxVQEW/QxLNOk+2ySGjRRErtXdI2XENx1hEuoYGMcEco8y3H2lO FpARZo2EeJgUzhWCSdEtnsyx/lFg3/jKG1pj96OAHtZEQiosZrBdGAUtBL5ERDpcyxHuxH i0R/q2IWsN0nv1DQmqzwUW4p6ucJBFOkSs66H2/s23aLO0P4GG3adqV5gn1DukU4RmsZg1 VLxDBz0ELzCim3tENWYQIOfW/mfbLAM2RNvy7XicISjwbuoe28ag4YSkV9ky8u6yqrl04G P5izpEWi/SaPv5PZ3UJRwV4VeANN6rb6U2q5x9hSgsdPYhm/xWbcBymfz7JRVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726640366; a=rsa-sha256; cv=none; b=NQWSITCzTy8f3hyf6Nc2L2QI6RgBWmz6e7hsKk3l3nISu1GKOpHSAmsypVpJOGSXcvRlW2 MWNNDVI0l+d339umYhqyH3Ps/qrxEs+TtBr/UdVhFsjwM0JDZb4dZWQ7kB7gZJkkQ9cg4e JrEMyEi6k9LjTghrwo9BNqPosCKHUHQ5jcjJg02/xmlD5GYGSZKLs0b8mbODlmkq8WR+TD iS/mS4EaJgMTnU2gza5LWHszHJaZj6mfe8tnq9SohiNokdPRim2zbfgVECx+4XGfxB/2o8 AehYHvSH6F9gYBP2c4XYD7BzCfR3CDeozZRNhifOnLnGFRW6rEB6itl3gt2Apg== 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=1726640366; 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=cTNkDNbg18pgys9tEcv3ARXX+wS4pMA+Q99obfxI7dI=; b=SPtLCVBOVSMa4CBiXX/+95DpRsiqlrsRCqDUiXxVhCMnCbBWV7jHGO76t62f56gM6GDisW e45msgR8CxcWeoyGsHY7jxjMZhAI3pIfaZKu4ydaEafJbEMoBMOICLnYQfTiE6D/UMev2V lyCgOHSCOYFGVU1PLx1vkstl8vWjr241WO1GjQmFrj64+BNOU4X7vITfKU21bkgDWt4JN9 sB/2L5cHwcTGSS+mbI40XZhHkvigV0Yb9ZXkAsJkctJelh/+q/SPkfxCMgtrNTXMxJcHBe ao6BLfLWFKAaip8IIi/V0AURWZA+yyN6cV6IkW5gP1Gsgd6qTvx3CgNfIQSbsw== 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 4X7pQP5y1Hz19cG; Wed, 18 Sep 2024 06:19:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48I6JPHp033450; Wed, 18 Sep 2024 06:19:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48I6JPa2033447; Wed, 18 Sep 2024 06:19:25 GMT (envelope-from git) Date: Wed, 18 Sep 2024 06:19:25 GMT Message-Id: <202409180619.48I6JPa2033447@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: 579c74c9bf80 - main - devel/py-gitpython: Update to 3.1.43 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: 579c74c9bf8040b721dede0e8bd89bc71f4bb43c Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=579c74c9bf8040b721dede0e8bd89bc71f4bb43c commit 579c74c9bf8040b721dede0e8bd89bc71f4bb43c Author: Po-Chuan Hsieh AuthorDate: 2024-09-18 05:56:27 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-09-18 06:13:14 +0000 devel/py-gitpython: Update to 3.1.43 - Update WWW - Update TEST_DEPENDS - Convert to USE_PYTHON=pep517 - Convert to USE_PYTHON=pytest - Update pkg-descr Changes: https://github.com/gitpython-developers/GitPython/releases https://gitpython.readthedocs.io/en/stable/changes.html --- devel/py-gitpython/Makefile | 31 +++++++++++++++++++++---------- devel/py-gitpython/distinfo | 6 +++--- devel/py-gitpython/files/patch-setup.py | 11 +++++++++++ devel/py-gitpython/pkg-descr | 7 +++++-- 4 files changed, 40 insertions(+), 15 deletions(-) diff --git a/devel/py-gitpython/Makefile b/devel/py-gitpython/Makefile index 6e9c3356f40f..39d9edc4f38d 100644 --- a/devel/py-gitpython/Makefile +++ b/devel/py-gitpython/Makefile @@ -1,28 +1,39 @@ PORTNAME= gitpython -DISTVERSION= 3.1.30 +PORTVERSION= 3.1.43 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= GitPython-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Python Git Library -WWW= https://github.com/gitpython-developers/GitPython +COMMENT= Python library used to interact with Git repositories +WWW= https://gitpython.readthedocs.io/en/stable/ \ + https://github.com/gitpython-developers/GitPython LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gitdb>=4.0.1<5:devel/py-gitdb@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ddt>=1.1.1:devel/py-ddt@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ddt>=1.1.1:devel/py-ddt@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mypy>=0:devel/py-mypy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pre-commit>=0:devel/py-pre-commit@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-instafail>=0:devel/py-pytest-instafail@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-sugar>=0:devel/py-pytest-sugar@${PY_FLAVOR} \ USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes -do-test: - cd ${WRKSRC} && ${PYTHON_CMD} -m nose +.include -.include +.if ${PYTHON_REL} < 31100 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include diff --git a/devel/py-gitpython/distinfo b/devel/py-gitpython/distinfo index d876e4a96a6d..d622a1dc13e9 100644 --- a/devel/py-gitpython/distinfo +++ b/devel/py-gitpython/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1672648220 -SHA256 (GitPython-3.1.30.tar.gz) = 769c2d83e13f5d938b7688479da374c4e3d49f71549aaf462b646db9602ea6f8 -SIZE (GitPython-3.1.30.tar.gz) = 195508 +TIMESTAMP = 1726487352 +SHA256 (GitPython-3.1.43.tar.gz) = 35f314a9f878467f5453cc1fee295c3e18e52f1b99f10f6cf5b1682e968a9e7c +SIZE (GitPython-3.1.43.tar.gz) = 214149 diff --git a/devel/py-gitpython/files/patch-setup.py b/devel/py-gitpython/files/patch-setup.py new file mode 100644 index 000000000000..172a15586e32 --- /dev/null +++ b/devel/py-gitpython/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2024-03-30 07:54:12 UTC ++++ setup.py +@@ -63,7 +63,7 @@ setup( + + + setup( +- name="GitPython", ++ name="gitpython", + cmdclass={"build_py": build_py, "sdist": sdist}, + version=version, + description="GitPython is a Python library used to interact with Git repositories", diff --git a/devel/py-gitpython/pkg-descr b/devel/py-gitpython/pkg-descr index effb9088b0e9..301b3c7d1f11 100644 --- a/devel/py-gitpython/pkg-descr +++ b/devel/py-gitpython/pkg-descr @@ -1,2 +1,5 @@ -GitPython is a python library used to interact with git repositories, -high-level like git-porcelain, or low-level like git-plumbing. +GitPython is a python library used to interact with git repositories, high-level +like git-porcelain, or low-level like git-plumbing. + +It provides abstractions of git objects for easy access of repository data often +backed by calling the git command-line program.