summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-05-13 23:56:30 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-05-13 23:56:30 +0000
commit3de5cbcd36f94bd6b42cc0a534b28066c626613b (patch)
tree747c940b7718a20384c7adcecdc6680d15b0d993
parentNew port: textproc/py-citeproc-py: Citation Style Language (CSL) processor fo... (diff)
New port: textproc/py-citeproc-py-styles: Static resources package for citeproc-py
Notes
Notes: svn path=/head/; revision=469839
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-citeproc-py-styles/Makefile23
-rw-r--r--textproc/py-citeproc-py-styles/distinfo3
-rw-r--r--textproc/py-citeproc-py-styles/pkg-descr5
4 files changed, 32 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index cb9abd255287..a2001408bcaa 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1279,6 +1279,7 @@
SUBDIR += py-bugzillatools
SUBDIR += py-chardet
SUBDIR += py-citeproc-py
+ SUBDIR += py-citeproc-py-styles
SUBDIR += py-cjkwrap
SUBDIR += py-cloud_sptheme
SUBDIR += py-colorclass
diff --git a/textproc/py-citeproc-py-styles/Makefile b/textproc/py-citeproc-py-styles/Makefile
new file mode 100644
index 000000000000..b12efbbcbc17
--- /dev/null
+++ b/textproc/py-citeproc-py-styles/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= citeproc-py-styles
+DISTVERSION= 0.1.1
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Static resources package for citeproc-py
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>=2.6.2:devel/py-pytest-runner@${FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.6.0:devel/py-lxml@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-citeproc-py-styles/distinfo b/textproc/py-citeproc-py-styles/distinfo
new file mode 100644
index 000000000000..6249b0dde14d
--- /dev/null
+++ b/textproc/py-citeproc-py-styles/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1526254803
+SHA256 (citeproc-py-styles-0.1.1.tar.gz) = 3856920968f1c5873bff2e85e4753131797f27a034c59f2b2e8dd625f1732a69
+SIZE (citeproc-py-styles-0.1.1.tar.gz) = 1809419
diff --git a/textproc/py-citeproc-py-styles/pkg-descr b/textproc/py-citeproc-py-styles/pkg-descr
new file mode 100644
index 000000000000..256d021f7f85
--- /dev/null
+++ b/textproc/py-citeproc-py-styles/pkg-descr
@@ -0,0 +1,5 @@
+This module is meant to be used as a static resources package, in order to
+make it easy to include the required Citation Style files (.csl) when using
+citeproc-py.
+
+WWW: https://github.com/inveniosoftware/citeproc-py-styles