Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2016 01:12:32 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r427279 - in head: devel devel/py-lxml devel/py3-lxml textproc/sigil
Message-ID:  <201611280112.uAS1CW8l089731@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Nov 28 01:12:32 2016
New Revision: 427279
URL: https://svnweb.freebsd.org/changeset/ports/427279

Log:
  textproc/sigil: add missing dependency
  
  $ sigil
  [Embedded Python Error]
  Traceback (most recent call last):
  
    File "/usr/local/share/sigil/python3lib/xmlprocessor.py", line 6, in <module>
      from sigil_bs4.builder._lxml import LXMLTreeBuilderForXML
  
    File "/usr/local/share/sigil/plugin_launchers/python/sigil_bs4/builder/_lxml.py", line 26, in <module>
      from lxml import etree
  
  ImportError: No module named 'lxml'

Added:
  head/devel/py3-lxml/
  head/devel/py3-lxml/Makefile   (contents, props changed)
Modified:
  head/devel/Makefile   (contents, props changed)
  head/devel/py-lxml/Makefile   (contents, props changed)
  head/textproc/sigil/Makefile   (contents, props changed)

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Nov 28 00:46:12 2016	(r427278)
+++ head/devel/Makefile	Mon Nov 28 01:12:32 2016	(r427279)
@@ -4795,6 +4795,7 @@
     SUBDIR += py3-gobject3
     SUBDIR += py3-jsonschema
     SUBDIR += py3-libpeas
+    SUBDIR += py3-lxml
     SUBDIR += py3-nose
     SUBDIR += py3-pyicu
     SUBDIR += py3-pylru-cache

Modified: head/devel/py-lxml/Makefile
==============================================================================
--- head/devel/py-lxml/Makefile	Mon Nov 28 00:46:12 2016	(r427278)
+++ head/devel/py-lxml/Makefile	Mon Nov 28 01:12:32 2016	(r427279)
@@ -16,7 +16,7 @@ LICENSE_FILE=	${WRKSRC}/doc/licenses/BSD
 LIB_DEPENDS=	libxml2.so:textproc/libxml2 \
 		libxslt.so:textproc/libxslt
 
-USES=		python uniquefiles:dirs
+USES+=		python uniquefiles:dirs
 USE_PYTHON=	autoplist concurrent distutils
 
 LDFLAGS+=	-Wl,-rpath=${LOCALBASE}/lib

Added: head/devel/py3-lxml/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py3-lxml/Makefile	Mon Nov 28 01:12:32 2016	(r427279)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+MASTERDIR=	${.CURDIR}/../py-lxml
+
+USES=		python:3.2+
+
+.include "${MASTERDIR}/Makefile"

Modified: head/textproc/sigil/Makefile
==============================================================================
--- head/textproc/sigil/Makefile	Mon Nov 28 00:46:12 2016	(r427278)
+++ head/textproc/sigil/Makefile	Mon Nov 28 01:12:32 2016	(r427279)
@@ -13,6 +13,7 @@ LICENSE=	GPLv3+
 LIB_DEPENDS=	libminizip.so:archivers/minizip \
 		libpcre.so:devel/pcre \
 		libhunspell-1.3.so:textproc/hunspell
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py3-lxml
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	Sigil-Ebook



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611280112.uAS1CW8l089731>