From owner-freebsd-ports@freebsd.org Sun Jun 4 16:59:29 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C4665B7FCB1 for ; Sun, 4 Jun 2017 16:59:29 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pg0-x241.google.com (mail-pg0-x241.google.com [IPv6:2607:f8b0:400e:c05::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 62CF97C708; Sun, 4 Jun 2017 16:59:29 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pg0-x241.google.com with SMTP id f127so7199637pgc.2; Sun, 04 Jun 2017 09:59:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=beAuMLkP/q1JbHSsbBZHXUhoP8oB90Q2dJ5fa+SIRmc=; b=m3U0hZlogHHGQI3CgG0DJPKa7plR3/SgBg5/89RenwKhQ6l4VB/1/kehn/hALnsqUC lrTOHUwr+Lch8LwLRQXL2lDB3kvQ0iIfOL8Z0/j3Mt0OcY33pEUBGTOcrgBxYdSST5+B zuRAOTML4Yb4Rt74ISz9+MfAzaGf7uqS04f4BN8DeKBMtKm/szIzb1O+AjjDcoiJzkZy h21dTw9jMBfkLoQddMzfIfzGAhGonn7DQgFTXiI4AeK12MfPZZ1d2JTlfGbt+su6qNFV T+DUl2/lxvtFRGAUbDrbYFJ1iXRLKrZk7mAM2XX/+cCHPBHzD8H7+jbCb9P/5N5pWNR/ GQ9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from:cc :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=beAuMLkP/q1JbHSsbBZHXUhoP8oB90Q2dJ5fa+SIRmc=; b=Pv2fwOMXFwe2UV7nrlcbnrmIOeVvZMMpSdwV/5HytoMygU/cjSzzFRnQYXmw71wEdl Mcmig50ALt7PaEndmG2/CyUsdyxKLtma8K4gbTsP7rx7omo/lWjmvp2IkhNPRfhak3k4 DDW8hVwfVt9+IcduIXZIE+x2j7Pmn9QB0HQpROuMlmznpfKCa49+9Zr9BU4Vl4kS1BaR YrDH/Ale/fSDiF3O+KMkqiMU+836PYNdax74aS2GYp10OBJh7WYyyyhrz0D3y1qcj4Jx uV6i+iszLfEYtKfZrTsHQnbtrY9QZ8abtkenBxZ/0ONirbsZEwAzNmfDjIMjMSWDvFya 75rw== X-Gm-Message-State: AODbwcBDGr2/2VfZgKpONb4EzjK4W8NH7fpGI+zQxcVJaGBWx5yuL77G /IF/KxYd8NtYUE1Qe08= X-Received: by 10.84.218.134 with SMTP id r6mr10531588pli.288.1496595568867; Sun, 04 Jun 2017 09:59:28 -0700 (PDT) Received: from ?IPv6:2001:44b8:31ae:7b01:2042:3e8:d7ce:9b9c? (2001-44b8-31ae-7b01-2042-03e8-d7ce-9b9c.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:2042:3e8:d7ce:9b9c]) by smtp.gmail.com with ESMTPSA id s4sm45975902pgr.10.2017.06.04.09.59.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Jun 2017 09:59:28 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: py-enchant and wxPython Dependency To: Pete Wright , freebsd-ports@freebsd.org References: <6cf0c9f7-133f-ec0b-3c46-8f3f9d9cba64@nomadlogic.org> From: Kubilay Kocak Cc: Thierry Thomas Message-ID: Date: Mon, 5 Jun 2017 02:54:52 +1000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Thunderbird/54.0a2 MIME-Version: 1.0 In-Reply-To: <6cf0c9f7-133f-ec0b-3c46-8f3f9d9cba64@nomadlogic.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2017 16:59:29 -0000 On 6/5/17 2:50 AM, Pete Wright wrote: > Hi there, > > I have a webapp that is making use of textproc/py-enchant for > spellchecking in some input forms we use. when i install py-enchant via > pip it only requires some libraries that ship with textproc/enchant. > yet when i install the py27-enchant pkg it looks like i have to slup in > about 1GB of deps - including lots of X libraries (libGL for example). > This seems to be related to having "USE_WX" flag set in the > textproc/py-enchant Makefile. > > Since my use-case is for a python webapp I have no need for wxPython and > it's dependency tree. Is there an easy way to re-build this port w/o > the wxPython dependency? I can confirm the py-enchant works fine > without wxPython when it is installed via pip inside a python venv. My > understanding is that the USE_* flags are not really meant to be > user-settable. > > Cheers, > > -pete > Hi Pete, If WX is optional (for enchant) then it should be made an OPTION to at least allow ports users to disable the dependency and its consequent features, and if you're a package user, the ability to create a custom package. This should take place as a request in Bugzilla (with rationale, etc) with a summary like: textproc/py-enchant: Make WX OPTION'al CC'ing port maintainer