From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 7 21:30:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C823088E for ; Thu, 7 Nov 2013 21:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A62552F5F for ; Thu, 7 Nov 2013 21:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rA7LU0R3025390 for ; Thu, 7 Nov 2013 21:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rA7LU0YD025389; Thu, 7 Nov 2013 21:30:00 GMT (envelope-from gnats) Resent-Date: Thu, 7 Nov 2013 21:30:00 GMT Resent-Message-Id: <201311072130.rA7LU0YD025389@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Gmelin Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3DFC3628 for ; Thu, 7 Nov 2013 21:24:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2A3172F1F for ; Thu, 7 Nov 2013 21:24:28 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rA7LOQ0l080230 for ; Thu, 7 Nov 2013 21:24:26 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rA7LOQ8b080222; Thu, 7 Nov 2013 21:24:26 GMT (envelope-from nobody) Message-Id: <201311072124.rA7LOQ8b080222@oldred.freebsd.org> Date: Thu, 7 Nov 2013 21:24:26 GMT From: Michael Gmelin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/183763: devel/py-yaml: Confusing OPTIONS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2013 21:30:00 -0000 >Number: 183763 >Category: ports >Synopsis: devel/py-yaml: Confusing OPTIONS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 07 21:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Michael Gmelin >Release: 9.1-RELEASE >Organization: Grem Equity GmbH >Environment: FreeBSD bsd64.grem.de 9.1-RELEASE-p2 FreeBSD 9.1-RELEASE-p2 #5 r249052M: Fri May 31 17:50:16 UTC 2013 root@srv05:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The purpose of this port is providing YAML support to python, yet it defines OPTIONS_DEFINE= YAML which is not enabled by default and shown to the user as [ ] YAML YAML format or parser support As far as I can tell this option enables the libyaml plugin in PyYAML. LibYAML is written in C and as a result PyYAML is supposed to run faster/nicer etc. Unfortunately the current option name doesn't make this clear. I would suggest to use a new option called LIBYAML, e.g. OPTIONS_DEFINE= LIBYAML LIBYAML_DESC= Use textproc/libyaml for faster parsing and change .if ${PORT_OPTIONS:MYAML} to .if ${PORT_OPTIONS:MLIBYAML} Since I think that the general option YAML is about supporting yaml (and might be set globally by users) this might be a cleaner solution (alternatives would be overriding the description locally or change the default option description in /usr/ports/Mk/bsd.options.desc.mk to say "use libyaml", which most likely will lead to other problems) And change the >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: