diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-05-13 23:37:33 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-05-13 23:37:33 +0000 |
commit | dc7236ad4b160d1a0712b91b6857475170dffac6 (patch) | |
tree | 58c12cb952f8be8d8e4aa518af887b02e8e9c16b /textproc/py-citeproc-py/files/patch-setup.py | |
parent | New port: textproc/py-rnc2rng: RELAX NG Compact to regular syntax conversion ... (diff) |
New port: textproc/py-citeproc-py: Citation Style Language (CSL) processor for Python
Notes
Notes:
svn path=/head/; revision=469838
Diffstat (limited to 'textproc/py-citeproc-py/files/patch-setup.py')
-rw-r--r-- | textproc/py-citeproc-py/files/patch-setup.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/textproc/py-citeproc-py/files/patch-setup.py b/textproc/py-citeproc-py/files/patch-setup.py new file mode 100644 index 000000000000..c8e5ec781dee --- /dev/null +++ b/textproc/py-citeproc-py/files/patch-setup.py @@ -0,0 +1,19 @@ +--- setup.py.orig 2017-06-23 13:08:27 UTC ++++ setup.py +@@ -29,7 +29,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,7 +85,6 @@ 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/schema/*.rng', + 'data/styles/*.csl']}, |