diff --git a/textproc/py-citeproc-py/Makefile b/textproc/py-citeproc-py/Makefile index 9e01b031a8a6..04d7bfc6c952 100644 --- a/textproc/py-citeproc-py/Makefile +++ b/textproc/py-citeproc-py/Makefile @@ -1,20 +1,20 @@ PORTNAME= citeproc-py -DISTVERSION= 0.5.1 +DISTVERSION= 0.6.0 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Citation Style Language (CSL) processor for Python LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rnc2rng>=2.6.1:textproc/py-rnc2rng@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils concurrent autoplist NO_ARCH= yes .include diff --git a/textproc/py-citeproc-py/distinfo b/textproc/py-citeproc-py/distinfo index b60f78aa1b04..10031e714af8 100644 --- a/textproc/py-citeproc-py/distinfo +++ b/textproc/py-citeproc-py/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1586296192 -SHA256 (citeproc-py-0.5.1.tar.gz) = c8a4f22442f2ea57bd88342bb51253f9bff0511109ff3695059278098a734a01 -SIZE (citeproc-py-0.5.1.tar.gz) = 132144 +TIMESTAMP = 1622618961 +SHA256 (citeproc-py-0.6.0.tar.gz) = d9e3a224f936fe2e5033b5d9ffdacab769cedb61d96c4e0cf2f0b488f1d24b4e +SIZE (citeproc-py-0.6.0.tar.gz) = 140624 diff --git a/textproc/py-citeproc-py/files/patch-setup.py b/textproc/py-citeproc-py/files/patch-setup.py index 072c9ce7c617..971a6cf5c233 100644 --- a/textproc/py-citeproc-py/files/patch-setup.py +++ b/textproc/py-citeproc-py/files/patch-setup.py @@ -1,26 +1,27 @@ ---- setup.py.orig 2020-04-06 16:34:05 UTC +--- setup.py.orig 2021-05-27 17:28:02 UTC +++ setup.py @@ -30,7 +30,7 @@ os.chdir(BASE_PATH) # inspired by http://dcreager.net/2010/02/10/setuptools-git-version-numbers/ try: print('Attempting to get version number from git...') - git = Popen(['git', 'describe', '--always', '--dirty'], + git = Popen(['/usr/bin/false', 'describe', '--always', '--dirty'], stdout=PIPE, stderr=sys.stderr) if git.wait() != 0: raise OSError -@@ -85,13 +85,12 @@ setup( +@@ -85,14 +85,13 @@ setup( name='citeproc-py', version=__version__, cmdclass = dict(build_py=custom_build_py, develop=custom_develop), - packages=find_packages(), package_data={PACKAGE: ['data/locales/*.xml', 'data/locales/locales.json', 'data/schema/*.rng', 'data/styles/*.csl']}, + python_requires='>=3.6', scripts=['bin/csl_unsorted'], - setup_requires=['rnc2rng>=2.6.1,!=2.6.2'], + setup_requires=['rnc2rng'], install_requires=['lxml'], provides=[PACKAGE], #test_suite='nose.collector',