Date: Wed, 18 Sep 2024 06:19:25 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 579c74c9bf80 - main - devel/py-gitpython: Update to 3.1.43 Message-ID: <202409180619.48I6JPa2033447@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=579c74c9bf8040b721dede0e8bd89bc71f4bb43c commit 579c74c9bf8040b721dede0e8bd89bc71f4bb43c Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-09-18 05:56:27 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> 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 <bsd.port.pre.mk> -.include <bsd.port.mk> +.if ${PYTHON_REL} < 31100 +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409180619.48I6JPa2033447>