svn commit: r513497 - in head/print: . py-fonttools-lxml
Steve Wills
steve at mouf.net
Wed Oct 2 13:21:18 UTC 2019
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 at FreeBSD.org>
> +# $FreeBSD$
> +
> +PORTNAME= fonttools
> +PORTVERSION= 3.44.0
> +CATEGORIES= print python
> +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
> +PKGNAMESUFFIX= -lxml
> +
> +MAINTAINER= sunpoet at 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
>
More information about the svn-ports-all
mailing list