summaryrefslogtreecommitdiff
path: root/textproc/py-citeproc-py/files/patch-setup.py
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-04-09 06:41:59 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-04-09 06:41:59 +0000
commit4290d4a833c1a31eb35f3d8a1045b185e6ecc453 (patch)
tree0cae38f118af07bf5590eecc65b9c62aced0cf0b /textproc/py-citeproc-py/files/patch-setup.py
parentHook up py-pychess (diff)
textproc/py-citeproc-py: Fix build
Reported by: fallout
Notes
Notes: svn path=/head/; revision=531177
Diffstat (limited to '')
-rw-r--r--textproc/py-citeproc-py/files/patch-setup.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/textproc/py-citeproc-py/files/patch-setup.py b/textproc/py-citeproc-py/files/patch-setup.py
index c8e5ec781dee..072c9ce7c617 100644
--- a/textproc/py-citeproc-py/files/patch-setup.py
+++ b/textproc/py-citeproc-py/files/patch-setup.py
@@ -1,6 +1,6 @@
---- setup.py.orig 2017-06-23 13:08:27 UTC
+--- setup.py.orig 2020-04-06 16:34:05 UTC
+++ setup.py
-@@ -29,7 +29,7 @@ os.chdir(BASE_PATH)
+@@ -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...')
@@ -9,11 +9,18 @@
stdout=PIPE, stderr=sys.stderr)
if git.wait() != 0:
raise OSError
-@@ -85,7 +85,6 @@ setup(
+@@ -85,13 +85,12 @@ 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']},
+ 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',