Re: UPDATE: texscythe-0.3

2017-03-24 Thread Edd Barrett
On Mon, Mar 06, 2017 at 10:38:23PM +, Edd Barrett wrote:
> 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?

Anyone willing to take a look at this one?

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



UPDATE: texscythe-0.3

2017-03-06 Thread Edd Barrett
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
--- Makefile4 May 2016 22:49:07 -   1.3
+++ Makefile6 Mar 2017 22:02:29 -
@@ -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 
Index: distinfo
===
RCS file: /home/edd/cvsync/ports/devel/py-texscythe/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo4 May 2016 22:49:07 -   1.2
+++ distinfo6 Mar 2017 22:02:53 -
@@ -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 -   1.2
+++ pkg/PLIST   6 Mar 2017 21:48:47 -
@@ -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 -   1.4
+++ files/mk_plists.py  6 Mar 2017 22:26:38 -
@@ -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: