git: bb8152d52b37 - main - textproc/py-duecredit: update 0.9.3 → 0.10.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Aug 2024 05:09:59 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=bb8152d52b377dbcbdae8064152de1f176f071ad commit bb8152d52b377dbcbdae8064152de1f176f071ad Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-08-02 04:23:02 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-08-02 05:09:48 +0000 textproc/py-duecredit: update 0.9.3 → 0.10.2 Reported by: portscout --- textproc/py-duecredit/Makefile | 5 ++++- textproc/py-duecredit/distinfo | 6 +++--- textproc/py-duecredit/files/patch-setup.py | 14 +++++++------- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/textproc/py-duecredit/Makefile b/textproc/py-duecredit/Makefile index 75df6cd5f7e3..c6910ca7d1d5 100644 --- a/textproc/py-duecredit/Makefile +++ b/textproc/py-duecredit/Makefile @@ -1,5 +1,5 @@ PORTNAME= duecredit -DISTVERSION= 0.9.3 +DISTVERSION= 0.10.2 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,7 +11,10 @@ WWW= https://github.com/duecredit/duecredit LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}citeproc-py>=0.4:textproc/py-citeproc-py@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}looseversion>0:devel/py-looseversion@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} USES= python diff --git a/textproc/py-duecredit/distinfo b/textproc/py-duecredit/distinfo index a7f101f44762..9a4292a61be0 100644 --- a/textproc/py-duecredit/distinfo +++ b/textproc/py-duecredit/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1704179024 -SHA256 (duecredit-0.9.3.tar.gz) = f8378ea90d11f9752592e487c92163da80d9a9ff39993eb83c08bf2ed4eca372 -SIZE (duecredit-0.9.3.tar.gz) = 80753 +TIMESTAMP = 1722550397 +SHA256 (duecredit-0.10.2.tar.gz) = fe73a20e4fbb2d972ba01edf37dec1b0ba1e646efe5ef4ccaf0c6724ca287d42 +SIZE (duecredit-0.10.2.tar.gz) = 84265 diff --git a/textproc/py-duecredit/files/patch-setup.py b/textproc/py-duecredit/files/patch-setup.py index 82f19217f62e..761043a24790 100644 --- a/textproc/py-duecredit/files/patch-setup.py +++ b/textproc/py-duecredit/files/patch-setup.py @@ -1,11 +1,11 @@ ---- setup.py.orig 2018-05-14 00:01:07 UTC +--- setup.py.orig 2024-06-04 20:51:40 UTC +++ setup.py -@@ -39,7 +39,7 @@ try: - list(filter(lambda x: x.startswith(' -- '), lines))[0].rstrip()) +@@ -54,7 +54,7 @@ try: else: - print('Attempting to get version number from git...') -- git = Popen(['git', 'describe', '--abbrev=4', '--dirty'], -+ git = Popen(['false', 'describe', '--abbrev=4', '--dirty'], - stdout=PIPE, stderr=sys.stderr) + print("Attempting to get version number from git...") + git = Popen( +- ["git", "describe", "--abbrev=4", "--dirty"], stdout=PIPE, stderr=sys.stderr ++ ["false", "describe", "--abbrev=4", "--dirty"], stdout=PIPE, stderr=sys.stderr + ) if git.wait() != 0: raise OSError