From owner-freebsd-ports Sat Dec 28 8:15:25 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9702637B401 for ; Sat, 28 Dec 2002 08:15:24 -0800 (PST) Received: from eskimo.tundraware.com (eskimo.tundraware.com [64.2.229.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DA6143EC2 for ; Sat, 28 Dec 2002 08:15:20 -0800 (PST) (envelope-from tundra@tundraware.com) Received: from tundraware.com (viper.tundraware.com [192.168.0.2]) by eskimo.tundraware.com (8.12.6/8.12.6) with ESMTP id gBSGFEDu018048 for ; Sat, 28 Dec 2002 10:15:14 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <3E0DCE12.5020707@tundraware.com> Date: Sat, 28 Dec 2002 10:15:14 -0600 From: Tim Daneliuk Reply-To: tundra@tundraware.com Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20021221 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Ports Mailing List Subject: Port Authoring Questions Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Is there a way to express a dependency which says something like, "this program requires Python 2.2 *or later*". I don't want to have to modify the port every time Python changes version, but I need at least version 2.2 in place for the port in question. "USE_PYTHON=yes" does not appear to guarantee any particular version of Python. In a similar vein, I want to make sure the correct version of Tkinter is installed. At the moment, I am using this: BUILD_DEPENDS=${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter RUN_DEPENDS=${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter Again, this does not specify a version - i.e., That this version of Tkinter tracks the Python 2.2 or later release. I've looked in the Porter's Handbook, and can't quite seem to find what I need here. Any ideas? -- ------------------------------------------------------------------------------ Tim Daneliuk tundra@tundraware.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message