Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jun 2017 18:14:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219804] textproc/py-enchant: Make wxPython OPTIONAL
Message-ID:  <bug-219804-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219804

            Bug ID: 219804
           Summary: textproc/py-enchant: Make wxPython OPTIONAL
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: thierry@FreeBSD.org
          Reporter: pete@nomadlogic.org
          Assignee: thierry@FreeBSD.org
             Flags: maintainer-feedback?(thierry@FreeBSD.org)

Hi there,=20
I use textprox/py-enchant for a web application.  Specifically we use
py-enchant to act as a spell checker inside ckeditor for some webforms in o=
ur
app.  The current py-enchant port has a USE_* dependency on wxPython.  This
pulls in a pretty large dependency tree (totaling around 1GB of packages - =
most
of which are related to X and graphics libraries) which we do not need or
really want on our web app nodes.

In my environment I have verified that I can build the port without the
following lines and things works as expected:

$ diff -u Makefile Makefile.wip=20
--- Makefile    2017-06-05 18:11:25.603805000 +0000
+++ Makefile.wip        2017-06-05 18:12:04.288514000 +0000
@@ -18,8 +18,6 @@

 USES=3D          python
 USE_PYTHON=3D    distutils
-USE_WX=3D                3.0+
-WX_COMPS=3D      python:run

 LDFLAGS+=3D      -L${LOCALBASE}/lib


Would it be a better long-term solution to define USE_WX as an optional flag
that users can override?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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