Date: Wed, 2 Oct 2019 09:21:00 -0400 From: Steve Wills <steve@mouf.net> To: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r513497 - in head/print: . py-fonttools-lxml Message-ID: <f503a0fd-610e-b9a0-b58d-656350ff131c@mouf.net> In-Reply-To: <201910011705.x91H51H4017661@repo.freebsd.org> References: <201910011705.x91H51H4017661@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This really doesn't seem like the best solution. It would be much simpler to adjust the default deps/options in py-fonttools. There's no need for the dependencies to be as minimal as possible. Steve On 10/1/19 1:05 PM, Sunpoet Po-Chuan Hsieh wrote: > Author: sunpoet > Date: Tue Oct 1 17:05:01 2019 > New Revision: 513497 > URL: https://svnweb.freebsd.org/changeset/ports/513497 > > Log: > Add py-fonttools-lxml 3.44.0 > > This port is the extra dependencies for lxml functionality of FontTools. > > Add both print/py-fonttools and print/py-fonttools-lxml to RUN_DEPENDS if you > need "fonttools[lxml]". > > WWW: https://github.com/fonttools/fonttools > > Added: > head/print/py-fonttools-lxml/ > head/print/py-fonttools-lxml/Makefile (contents, props changed) > head/print/py-fonttools-lxml/pkg-descr (contents, props changed) > Modified: > head/print/Makefile > > Modified: head/print/Makefile > ============================================================================== > --- head/print/Makefile Tue Oct 1 17:04:56 2019 (r513496) > +++ head/print/Makefile Tue Oct 1 17:05:01 2019 (r513497) > @@ -185,6 +185,7 @@ > SUBDIR += py-fonttools > SUBDIR += py-fonttools-graphite > SUBDIR += py-fonttools-interpolatable > + SUBDIR += py-fonttools-lxml > SUBDIR += py-fpdf > SUBDIR += py-pdf > SUBDIR += py-pdf2 > > Added: head/print/py-fonttools-lxml/Makefile > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/print/py-fonttools-lxml/Makefile Tue Oct 1 17:05:01 2019 (r513497) > @@ -0,0 +1,25 @@ > +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> > +# $FreeBSD$ > + > +PORTNAME= fonttools > +PORTVERSION= 3.44.0 > +CATEGORIES= print python > +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > +PKGNAMESUFFIX= -lxml > + > +MAINTAINER= sunpoet@FreeBSD.org > +COMMENT= Dependencies for lxml functionality of FontTools > + > +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.0<5:devel/py-lxml@${PY_FLAVOR} \ > + ${PY_TYPING} > + > +USES= metaport python:env > +USE_PYTHON= flavors > + > +.include <bsd.port.pre.mk> > + > +.if ${PYTHON_REL} < 3400 > +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>=3.4.0.3:devel/py-singledispatch@${PY_FLAVOR} > +.endif > + > +.include <bsd.port.post.mk> > > Added: head/print/py-fonttools-lxml/pkg-descr > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/print/py-fonttools-lxml/pkg-descr Tue Oct 1 17:05:01 2019 (r513497) > @@ -0,0 +1,6 @@ > +This port is the extra dependencies for lxml functionality of FontTools. > + > +Add both print/py-fonttools and print/py-fonttools-lxml to RUN_DEPENDS if you > +need "fonttools[lxml]". > + > +WWW: https://github.com/fonttools/fonttools >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f503a0fd-610e-b9a0-b58d-656350ff131c>