Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2019 17:05:01 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r513497 - in head/print: . py-fonttools-lxml
Message-ID:  <201910011705.x91H51H4017661@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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?201910011705.x91H51H4017661>