Hi,

Time to get TeX Live updated. Here is the first step.

Attached is:

 * An updated texscythe with texlive 2016 support.
 * A small diff to texlive to make the plist target make prettier $OpenBSD$ 
tags.

OK?

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk
Index: Makefile
===================================================================
RCS file: /home/edd/cvsync/ports/devel/py-texscythe/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile    4 May 2016 22:49:07 -0000       1.3
+++ Makefile    6 Mar 2017 22:02:29 -0000
@@ -4,7 +4,7 @@ COMMENT =               TeX Live texmf subsetter tool
 
 DISTNAME =             texscythe-${MODPY_EGG_VERSION}
 PKGNAME =              py-texscythe-${MODPY_EGG_VERSION}
-MODPY_EGG_VERSION =    0.2.0.1
+MODPY_EGG_VERSION =    0.3
 
 CATEGORIES =           devel print
 
@@ -26,8 +26,8 @@ BUILD_DEPENDS +=      ${RUN_DEPENDS}
 # pre-build database for last two texlive versions.
 # texlive port can then use these directly for PLIST generation.
 post-build:
+       cd ${WRKBUILD} && ./texscyther -t texlive2016.tlpdb.gz --initdb
        cd ${WRKBUILD} && ./texscyther -t texlive2015.tlpdb.gz --initdb
-       cd ${WRKBUILD} && ./texscyther -t texlive2014.tlpdb.gz --initdb
 
 do-test:
        @${MODPY_TEST_TARGET} --pytest-args="--runslow"
@@ -35,6 +35,6 @@ do-test:
 EXAMPLES =             ${PREFIX}/share/examples/py-texscythe/
 post-install:
        ${INSTALL_DATA_DIR} ${EXAMPLES}
-       ${INSTALL_DATA} ${WRKSRC}/texlive201{4,5}.tlpdb.gz{,.db} ${EXAMPLES}
+       ${INSTALL_DATA} ${WRKSRC}/texlive201{5,6}.tlpdb.gz{,.db} ${EXAMPLES}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/edd/cvsync/ports/devel/py-texscythe/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    4 May 2016 22:49:07 -0000       1.2
+++ distinfo    6 Mar 2017 22:02:53 -0000
@@ -1,2 +1,2 @@
-SHA256 (texscythe-0.2.0.1.tar.gz) = 
bUs+pbcVErZexpVDbMVI9tfOqZsB6FXYhES4kF4lzeA=
-SIZE (texscythe-0.2.0.1.tar.gz) = 2409909
+SHA256 (texscythe-0.3.tar.gz) = d3ZaN+eGtZAxxmJvcv4MLPIsrxtwXPeviKcr/cOWbMY=
+SIZE (texscythe-0.3.tar.gz) = 3723816
Index: pkg/PLIST
===================================================================
RCS file: /home/edd/cvsync/ports/devel/py-texscythe/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   4 May 2016 22:49:07 -0000       1.2
+++ pkg/PLIST   6 Mar 2017 21:48:47 -0000
@@ -18,7 +18,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/texscythe/tlpdbparser.py
 lib/python${MODPY_VERSION}/site-packages/texscythe/tlpdbparser.pyc
 share/examples/${MODPY_PY_PREFIX}texscythe/
-share/examples/${MODPY_PY_PREFIX}texscythe/texlive2014.tlpdb.gz
-share/examples/${MODPY_PY_PREFIX}texscythe/texlive2014.tlpdb.gz.db
 share/examples/${MODPY_PY_PREFIX}texscythe/texlive2015.tlpdb.gz
 share/examples/${MODPY_PY_PREFIX}texscythe/texlive2015.tlpdb.gz.db
+share/examples/${MODPY_PY_PREFIX}texscythe/texlive2016.tlpdb.gz
+share/examples/${MODPY_PY_PREFIX}texscythe/texlive2016.tlpdb.gz.db
Index: files/mk_plists.py
===================================================================
RCS file: /home/edd/cvsync/ports/print/texlive/texmf/files/mk_plists.py,v
retrieving revision 1.4
diff -u -p -r1.4 mk_plists.py
--- files/mk_plists.py  1 Jun 2016 12:47:31 -0000       1.4
+++ files/mk_plists.py  6 Mar 2017 22:26:38 -0000
@@ -285,7 +285,7 @@ buildset_pkgs = [
 print(">>> texlive_texmf-buildset")
 buildset_specs = runspecs(buildset_pkgs)  # note, no manuals
 buildset_top_matter = [
-    "@comment $OpenBSD: mk_plists.py,v 1.4 2016/06/01 12:47:31 edd Exp $",
+    "@comment $OpenBSD$",
     "@conflict teTeX_texmf-*",
     "@conflict texlive_base-<%s" % YEAR,
     "@conflict texlive_texmf-docs-<%s" % YEAR,
@@ -357,7 +357,7 @@ context_pkgs = [
 
 print(">>> PLIST-context")
 context_top_matter = [
-    "@comment $OpenBSD: mk_plists.py,v 1.4 2016/06/01 12:47:31 edd Exp $",
+    "@comment $OpenBSD$",
     "@conflict teTeX_texmf-*",
     "@conflict texlive_base-<%s" % YEAR,
     "@conflict texlive_texmf-docs-<%s" % YEAR,
@@ -387,7 +387,7 @@ print("\n\n")
 print(">>> texlive_texmf-minimal")
 minimal_pkgs = ["scheme-tetex"]
 minimal_top_matter = [
-    "@comment $OpenBSD: mk_plists.py,v 1.4 2016/06/01 12:47:31 edd Exp $",
+    "@comment $OpenBSD$",
     "@conflict teTeX_texmf-*",
     "@conflict texlive_base-<%s" % YEAR,
     "@conflict texlive_texmf-docs-<%s" % YEAR,
@@ -418,7 +418,7 @@ print("\n\n")
 print(">>> texlive_texmf-full")
 full_pkgs = ["scheme-full"]
 full_top_matter = [
-    "@comment $OpenBSD: mk_plists.py,v 1.4 2016/06/01 12:47:31 edd Exp $",
+    "@comment $OpenBSD$",
     "@conflict teTeX_texmf-*",
     "@conflict texlive_base-<%s" % YEAR,
     "@conflict texlive_texmf-docs-<%s" % YEAR,
@@ -453,7 +453,7 @@ NO_MAN_INFO_PDFMAN_REGEX = \
 print(">>> texlive_texmf-docs")
 doc_specs = ["scheme-tetex:doc"]
 doc_top_matter = [
-    "@comment $OpenBSD: mk_plists.py,v 1.4 2016/06/01 12:47:31 edd Exp $",
+    "@comment $OpenBSD$",
     "@conflict teTeX_texmf-doc-*",
     "@conflict texlive_base-<%s" % YEAR,
     "@conflict texlive_texmf-minimal-<%s" % YEAR,
Index: pkg/PLIST-buildset
===================================================================
RCS file: /home/edd/cvsync/ports/print/texlive/texmf/pkg/PLIST-buildset,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST-buildset
--- pkg/PLIST-buildset  1 Jun 2016 12:47:34 -0000       1.6
+++ pkg/PLIST-buildset  6 Mar 2017 22:26:48 -0000
@@ -1,4 +1,4 @@
-@comment $OpenBSD: PLIST-buildset,v 1.6 2016/06/01 12:47:34 edd Exp $
+@comment $OpenBSD$
 @conflict teTeX_texmf-*
 @conflict texlive_base-<2015
 @conflict texlive_texmf-docs-<2015
Index: pkg/PLIST-context
===================================================================
RCS file: /home/edd/cvsync/ports/print/texlive/texmf/pkg/PLIST-context,v
retrieving revision 1.7
diff -u -p -r1.7 PLIST-context
--- pkg/PLIST-context   1 Jun 2016 12:47:34 -0000       1.7
+++ pkg/PLIST-context   6 Mar 2017 22:26:51 -0000
@@ -1,4 +1,4 @@
-@comment $OpenBSD: PLIST-context,v 1.7 2016/06/01 12:47:34 edd Exp $
+@comment $OpenBSD$
 @conflict teTeX_texmf-*
 @conflict texlive_base-<2015
 @conflict texlive_texmf-docs-<2015
Index: pkg/PLIST-docs
===================================================================
RCS file: /home/edd/cvsync/ports/print/texlive/texmf/pkg/PLIST-docs,v
retrieving revision 1.16
diff -u -p -r1.16 PLIST-docs
--- pkg/PLIST-docs      1 Jun 2016 12:47:34 -0000       1.16
+++ pkg/PLIST-docs      6 Mar 2017 22:32:04 -0000
@@ -1,4 +1,4 @@
-@comment $OpenBSD: PLIST-docs,v 1.16 2016/06/01 12:47:34 edd Exp $
+@comment $OpenBSD$
 @conflict teTeX_texmf-doc-*
 @conflict texlive_base-<2015
 @conflict texlive_texmf-minimal-<2015
Index: pkg/PLIST-full
===================================================================
RCS file: /home/edd/cvsync/ports/print/texlive/texmf/pkg/PLIST-full,v
retrieving revision 1.20
diff -u -p -r1.20 PLIST-full
--- pkg/PLIST-full      1 Jun 2016 12:47:35 -0000       1.20
+++ pkg/PLIST-full      6 Mar 2017 22:31:23 -0000
@@ -1,4 +1,4 @@
-@comment $OpenBSD: PLIST-full,v 1.20 2016/06/01 12:47:35 edd Exp $
+@comment $OpenBSD$
 @conflict teTeX_texmf-*
 @conflict texlive_base-<2015
 @conflict texlive_texmf-docs-<2015
Index: pkg/PLIST-main
===================================================================
RCS file: /home/edd/cvsync/ports/print/texlive/texmf/pkg/PLIST-main,v
retrieving revision 1.21
diff -u -p -r1.21 PLIST-main
--- pkg/PLIST-main      1 Jun 2016 12:47:35 -0000       1.21
+++ pkg/PLIST-main      6 Mar 2017 22:28:38 -0000
@@ -1,4 +1,4 @@
-@comment $OpenBSD: PLIST-main,v 1.21 2016/06/01 12:47:35 edd Exp $
+@comment $OpenBSD$
 @conflict teTeX_texmf-*
 @conflict texlive_base-<2015
 @conflict texlive_texmf-docs-<2015

Reply via email to