1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

textproc/py-duecredit: update 0.9.3 → 0.10.2

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2024-08-01 21:23:02 -07:00
parent 98ced1ced5
commit bb8152d52b
3 changed files with 14 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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