From owner-freebsd-ports@FreeBSD.ORG Thu Jul 31 20:34:00 2014 Return-Path: Delivered-To: ports@freebsd.org 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 ESMTPS id EFC11187 for ; Thu, 31 Jul 2014 20:34:00 +0000 (UTC) Received: from gproxy4-pub.mail.unifiedlayer.com (gproxy4-pub.mail.unifiedlayer.com [69.89.23.142]) by mx1.freebsd.org (Postfix) with SMTP id C557324BA for ; Thu, 31 Jul 2014 20:34:00 +0000 (UTC) Received: (qmail 7944 invoked by uid 0); 31 Jul 2014 20:33:53 -0000 Received: from unknown (HELO cmgw2) (10.0.90.83) by gproxy4.mail.unifiedlayer.com with SMTP; 31 Jul 2014 20:33:53 -0000 Received: from host356.hostmonster.com ([66.147.240.156]) by cmgw2 with id Z8Zm1o00j3P9sDu018ZpNX; Thu, 31 Jul 2014 14:33:52 -0600 X-Authority-Analysis: v=2.1 cv=EJKVjTpC c=1 sm=1 tr=0 a=FWcRu7l24H2k7lU03+oCMQ==:117 a=FWcRu7l24H2k7lU03+oCMQ==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=krj2tpGRp2AA:10 a=czKNTQoGAHQA:10 a=jyw3duuQOWkA:10 a=ApEToP7uZ4IA:10 a=8nJEP1OIZ-IA:10 a=VMbx4hZHAAAA:8 a=ItMCKu-tgkAA:10 a=2HOvWpw9LtYA:10 a=x2m3GPe0AAAA:8 a=6I5d2MoRAAAA:8 a=1XWaLZrsAAAA:8 a=j5VUOKisA9wnxmpaXjEA:9 a=wPNLvfGTeEIA:10 a=SV7veod9ZcQA:10 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=klahnpages.net; s=default; h=Content-Transfer-Encoding:Content-Type:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=PWOssR7L7iYV0u7mKwGU9illIR4dv3++/dS1Im8xE9c=; b=jMP9Xxz52Ezzu0llqIKwuUbiNoa2FE4SLWdcQ8ytBZYi6UZJRBLO+GHulCUfIwjhIj5cau+u0OcvAgEw0eSXm/DLxzyNfS+FL5kuydOzzpgfTcDRgQZ7OUfMWeXUgm94; Received: from [128.173.100.225] (port=42448) by host356.hostmonster.com with esmtpa (Exim 4.82) (envelope-from ) id 1XCx2p-0003Hx-N9; Thu, 31 Jul 2014 14:33:47 -0600 Message-ID: <53DAA828.90205@klahnpages.net> Date: Thu, 31 Jul 2014 16:33:44 -0400 From: Brian Klahn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: nivit@FreeBSD.org Subject: FreeBSD Port: google-appengine-1.9.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {2919:host356.hostmonster.com:klahnpag:klahnpages.net} {sentby:smtp auth 128.173.100.225 authed with bdk@klahnpages.net} Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2014 20:34:01 -0000 Hi, Might you be able to help me? I've been searching for hours. Is your port supposed to allow this to not fail?: $ python Python 2.7.6 (default, Mar 4 2014, 19:30:28) [GCC 4.2.1 Compatible FreeBSD Clang 3.3 (tags/RELEASE_33/final 183502)] on freebsd10 Type "help", "copyright", "credits" or "license" for more information. >>> from google.appengine.api import mail Traceback (most recent call last): File "", line 1, in ImportError: No module named google.appengine.api >>> The module name tab completion in IPython doesn't even show a "google" base module name: In [1]: from google google_sql googlecl My system: $ uname -a FreeBSD optiplex-9010 10.0-RELEASE-p15 FreeBSD 10.0-RELEASE-p15 #0: Wed Jul 9 15:46:53 UTC 2014 root@amd64-builder.pcbsd.org:/usr/obj/usr/src/sys/GENERIC amd6 I refreshed my ports tree (as root) and did: cd /usr/ports/www/py-google-api-python-client make install && make clean pkg info google-appengine-1.9.6 gives . . . google-appengine-1.9.6 Name : google-appengine Version : 1.9.6 Installed on : Thu Jul 31 15:13:05 EDT 2014 Origin : www/google-appengine Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : www python devel Licenses : PSFL and MPL and MIT and LGPL21 and GPLv2 and BSD3CLAUSE and APACHE20 Maintainer : nivit@FreeBSD.org WWW : https://developers.google.com/appengine/ Comment : Development tools for Google App Engine (SDK) Options : EXAMPLES : on . . . I can't tell what your port is supposed to install, and where (no pkg-plist). By the Makefile, it apparently uses the default PREFIX, which is /usr/local, but . . . # find /usr/local/ -name "*appengine*" /usr/local/share/examples/py-gdata/oauth/oauth_on_appengine /usr/local/share/examples/py-gdata/oauth/oauth_on_appengine/appengine_utilities /usr/local/share/examples/py-gdata/apps/marketplace_sample/appengine_utilities /usr/local/share/examples/py-gdata/blogger/oauth-appengine /usr/local/share/examples/py27-google-api-python-client/appengine /usr/local/share/examples/py27-google-api-python-client/storage_serviceaccount_appengine /usr/local/share/examples/py27-google-api-python-client/tasks_appengine /usr/local/share/examples/google-appengine /usr/local/share/examples/google-appengine/demos/php/minishell/static/appengine_button_noborder.gif /usr/local/share/google-appengine /usr/local/share/google-appengine/lib/PyAMF-0.6.1/pyamf/adapters/_google_appengine_ext_blobstore.pyc /usr/local/share/google-appengine/lib/PyAMF-0.6.1/pyamf/adapters/_google_appengine_ext_db.py /usr/local/share/google-appengine/lib/PyAMF-0.6.1/pyamf/adapters/_google_appengine_ext_db.pyc /usr/local/share/google-appengine/lib/PyAMF-0.6.1/pyamf/adapters/_google_appengine_ext_blobstore.py /usr/local/share/google-appengine/lib/webapp2-2.3/webapp2_extras/appengine /usr/local/share/google-appengine/lib/webapp2-2.5.2/webapp2_extras/appengine /usr/local/share/google-appengine/lib/google-api-python-client/oauth2client/appengine.pyc /usr/local/share/google-appengine/lib/google-api-python-client/oauth2client/appengine.py /usr/local/share/google-appengine/lib/google-api-python-client/apiclient/ext/appengine.py /usr/local/share/google-appengine/lib/google-api-python-client/apiclient/ext/appengine.pyc /usr/local/share/google-appengine/lib/webapp2-2.5.1/webapp2_extras/appengine /usr/local/share/google-appengine/google/appengine /usr/local/share/google-appengine/google/appengine/ext/appstats/sample_appengine_config.py /usr/local/share/google-appengine/google/appengine/ext/appstats/sample_appengine_config.pyc /usr/local/share/google-appengine/google/appengine/tools/appengine_rpc_httplib2.pyc /usr/local/share/google-appengine/google/appengine/tools/appengine_rpc_httplib2.py /usr/local/share/google-appengine/google/appengine/tools/appengine_rpc.py /usr/local/share/google-appengine/google/appengine/tools/appengine_rpc.pyc /usr/local/share/licenses/google-appengine-1.9.6 /usr/local/lib/python2.7/site-packages/gdata/alt/appengine.pyo /usr/local/lib/python2.7/site-packages/gdata/alt/appengine.pyc /usr/local/lib/python2.7/site-packages/gdata/alt/appengine.py /usr/local/lib/python2.7/site-packages/oauth2client/appengine.py /usr/local/lib/python2.7/site-packages/oauth2client/appengine.pyc /usr/local/lib/python2.7/site-packages/oauth2client/appengine.pyo The py-google-api-python-client port, for example, is easily imported, and lives here: /usr/local/lib/python2.7/site-packages/apiclient I get the same error when I, for example, run this: $python /usr/local/lib/python2.7/site-packages/gdata/alt/appengine.py Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/gdata/alt/appengine.py", line 39, in from google.appengine.api import urlfetch ImportError: No module named google.appengine.api Maybe I am mistaken in thinking your port is supposed to provide google.appengine.api. Thank you for any input you have time to provide. -Brian