From owner-freebsd-ports@freebsd.org Sun Nov 13 17:16:25 2016 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 78422C40DAA for ; Sun, 13 Nov 2016 17:16:25 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 675C012EF for ; Sun, 13 Nov 2016 17:16:25 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: by mailman.ysv.freebsd.org (Postfix) id 66BD6C40DA9; Sun, 13 Nov 2016 17:16:25 +0000 (UTC) Delivered-To: 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 66604C40DA8 for ; Sun, 13 Nov 2016 17:16:25 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from mail1.g16.pair.com (unknown [IPv6:2607:f440::4227:4116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C29512EE for ; Sun, 13 Nov 2016 17:16:25 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from atomizer (c-73-174-28-246.hsd1.pa.comcast.net [73.174.28.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail1.g16.pair.com (Postfix) with ESMTPSA id 173705CE5 for ; Sun, 13 Nov 2016 12:16:17 -0500 (EST) Date: Sun, 13 Nov 2016 12:16:16 -0500 From: Rod Person To: ports FreeBSD Subject: USE_PYTHON distutils option causing error Message-ID: <20161113121616.7b44da44@atomizer> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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, 13 Nov 2016 17:16:25 -0000 Hi, I'm trying to update a port a maintain to the latest version and having this problem. The port is a python application and has the following in the Makefile USE_PYTHON= autoplist distutils This causes the error at the bottom of my email. Some searching on the internet suggest call setup.py with the egg option, but I'm not sure how to do that via the Makefile or if that is the correct option. Any suggestion would be helpful. ===> py27-spyder-3.0.1 depends on file: /usr/local/bin/python2.7 - found ===> Generating temporary packing list usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: option --single-version-externally-managed not recognized *** Error code 1 Stop. make[1]: stopped -- Rod http://www.rodperson.com He who knows himself to be one way and pretends it is another way is a thief who robs his own soul. The Mahabharata Sakuntala 25