On Sun, Jun 20, 2021 at 10:59:36AM +0100, Stuart Henderson wrote: > ping
ok kmos to import both --Kurt > ----- Forwarded message from Stuart Henderson <s...@spacehopper.org> ----- > > From: Stuart Henderson <s...@spacehopper.org> > Date: Mon, 24 May 2021 18:28:37 +0100 > To: ports <ports@openbsd.org> > Subject: NEW: 2 simple python ports to fix asymptote's "xasy" > Mail-Followup-To: ports <ports@openbsd.org> > > Attached; py3-cson and its required dependency py3-speg. > The pkg/DESCR for py3-speg is terrible but there's not really > enough information with the distro to do better. > > These are required to reenable xasy in graphics/asymptote (diff > for that below). > > OK for the imports? > > > $ pkg_info py3-speg py3-cson > Information for inst:py3-speg-0.3 > > Comment: > PEG-based parser interpreter with memoization > > Description: > A PEG-based parser interpreter with memoization. > > Maintainer: The OpenBSD ports mailing-list <ports@openbsd.org> > > WWW: https://github.com/avakar/speg > > > Information for inst:py3-cson-0.8 > > Comment: > parser for Coffeescript Object Notation (CSON) > > Description: > This is a Python parser for the Coffeescript Object Notation (CSON). > The interface is the same as for the standard 'json' package. > > Maintainer: The OpenBSD ports mailing-list <ports@openbsd.org> > > WWW: https://github.com/avakar/pycson > > > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/graphics/asymptote/Makefile,v > retrieving revision 1.41 > diff -u -p -r1.41 Makefile > --- Makefile 24 May 2021 10:22:42 -0000 1.41 > +++ Makefile 24 May 2021 17:27:39 -0000 > @@ -3,7 +3,7 @@ > COMMENT= powerful descriptive vector graphics language > > DISTNAME= asymptote-2.70 > -REVISION= 0 > +REVISION= 1 > EXTRACT_SUFX= .src.tgz > CATEGORIES= graphics > > @@ -25,7 +25,10 @@ BUILD_DEPENDS= print/texinfo \ > print/texlive/base \ > print/texlive/texmf,-main > RUN_DEPENDS= print/texlive/texmf,-full \ > - ${MODPY_TKINTER_DEPENDS} > + math/py-numpy${MODPY_FLAVOR} \ > + textproc/py-cson${MODPY_FLAVOR} \ > + x11/gnome/librsvg \ > + x11/py-qt5${MODPY_FLAVOR} > > LIB_DEPENDS= devel/boehm-gc \ > devel/gsl \ > @@ -57,8 +60,5 @@ pre-build: > > post-install: > mv ${PREFIX}/man/man1/xasy.1x ${PREFIX}/man/man1/xasy.1 > - # xasy requires "cson" (https://pypi.org/project/cson/) which is not > - # yet ported; also numpy, PyQt5, rsvg-convert; see GUI/requirements.txt > - rm ${PREFIX}/bin/xasy ${PREFIX}/man/man1/xasy.1 > > .include <bsd.port.mk> > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/graphics/asymptote/pkg/PLIST,v > retrieving revision 1.10 > diff -u -p -r1.10 PLIST > --- pkg/PLIST 24 May 2021 10:22:42 -0000 1.10 > +++ pkg/PLIST 24 May 2021 17:27:39 -0000 > @@ -1,8 +1,10 @@ > @comment $OpenBSD: PLIST,v 1.10 2021/05/24 10:22:42 sthen Exp $ > @bin bin/asy > +bin/xasy > info/asy-faq.info > @info info/asymptote.info > @man man/man1/asy.1 > +@man man/man1/xasy.1 > share/asymptote/ > share/asymptote/CAD.asy > share/asymptote/GUI/ > > > > > ----- End forwarded message -----