svn commit: r469838 - in head/textproc: . py-citeproc-py py-citeproc-py/files
Yuri Victorovich
yuri at FreeBSD.org
Sun May 13 23:37:35 UTC 2018
Author: yuri
Date: Sun May 13 23:37:33 2018
New Revision: 469838
URL: https://svnweb.freebsd.org/changeset/ports/469838
Log:
New port: textproc/py-citeproc-py: Citation Style Language (CSL) processor for Python
Added:
head/textproc/py-citeproc-py/
head/textproc/py-citeproc-py/Makefile (contents, props changed)
head/textproc/py-citeproc-py/distinfo (contents, props changed)
head/textproc/py-citeproc-py/files/
head/textproc/py-citeproc-py/files/patch-setup.py (contents, props changed)
head/textproc/py-citeproc-py/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Sun May 13 23:09:45 2018 (r469837)
+++ head/textproc/Makefile Sun May 13 23:37:33 2018 (r469838)
@@ -1278,6 +1278,7 @@
SUBDIR += py-bibtexparser
SUBDIR += py-bugzillatools
SUBDIR += py-chardet
+ SUBDIR += py-citeproc-py
SUBDIR += py-cjkwrap
SUBDIR += py-cloud_sptheme
SUBDIR += py-colorclass
Added: head/textproc/py-citeproc-py/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-citeproc-py/Makefile Sun May 13 23:37:33 2018 (r469838)
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= citeproc-py
+DISTVERSION= 0.4.0
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Citation Style Language (CSL) processor for Python
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rnc2rng>=2.2:textproc/py-rnc2rng@${FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${FLAVOR}
+
+USES= python
+USE_PYTHON= distutils concurrent autoplist
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/textproc/py-citeproc-py/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-citeproc-py/distinfo Sun May 13 23:37:33 2018 (r469838)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1526252111
+SHA256 (citeproc-py-0.4.0.tar.gz) = ed513dbc76f782b5e98126d6bebbd1284841fcf199ec9dda552e2bce864adadf
+SIZE (citeproc-py-0.4.0.tar.gz) = 109786
Added: head/textproc/py-citeproc-py/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-citeproc-py/files/patch-setup.py Sun May 13 23:37:33 2018 (r469838)
@@ -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']},
Added: head/textproc/py-citeproc-py/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-citeproc-py/pkg-descr Sun May 13 23:37:33 2018 (r469838)
@@ -0,0 +1,7 @@
+Python implementation of the Citation Style Language (CSL). It is currently
+far from complete, and may just be experiment.
+
+The goal is a Python CSL implementation that includes a good test foundation,
+and is easy to integrate into different contexts.
+
+WWW: https://github.com/bdarcus/citeproc-py
More information about the svn-ports-all
mailing list