Hi,

This is the first piece needed for tex live 2017.

To test, install this and run "make plist" in print/texlive/texmf. The
PLISTs will be updated. The only changes should be the $OpenBSD$ tags.

OK?

Index: Makefile
===================================================================
RCS file: /home/edd/source/OpenBSD-CVS/ports/devel/py-texscythe/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile    19 Apr 2017 13:10:16 -0000      1.4
+++ Makefile    28 Dec 2017 19:48:28 -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.3
+MODPY_EGG_VERSION =    0.3.1
 
 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 texlive2017.tlpdb.gz --initdb
        cd ${WRKBUILD} && ./texscyther -t texlive2016.tlpdb.gz --initdb
-       cd ${WRKBUILD} && ./texscyther -t texlive2015.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{5,6}.tlpdb.gz{,.db} ${EXAMPLES}
+       ${INSTALL_DATA} ${WRKSRC}/texlive201{6,7}.tlpdb.gz{,.db} ${EXAMPLES}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/edd/source/OpenBSD-CVS/ports/devel/py-texscythe/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo    19 Apr 2017 13:10:16 -0000      1.3
+++ distinfo    28 Dec 2017 19:48:28 -0000
@@ -1,2 +1,2 @@
-SHA256 (texscythe-0.3.tar.gz) = d3ZaN+eGtZAxxmJvcv4MLPIsrxtwXPeviKcr/cOWbMY=
-SIZE (texscythe-0.3.tar.gz) = 3723816
+SHA256 (texscythe-0.3.1.tar.gz) = QVQYt+u4b05BUECvOzHICriWQcqm9Ldw4/t1z5LWtL4=
+SIZE (texscythe-0.3.1.tar.gz) = 3962259
Index: pkg/PLIST
===================================================================
RCS file: /home/edd/source/OpenBSD-CVS/ports/devel/py-texscythe/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   19 Apr 2017 13:10:16 -0000      1.3
+++ pkg/PLIST   28 Dec 2017 19:48:28 -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/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
+share/examples/${MODPY_PY_PREFIX}texscythe/texlive2017.tlpdb.gz
+share/examples/${MODPY_PY_PREFIX}texscythe/texlive2017.tlpdb.gz.db

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk

Reply via email to