diff options
Diffstat (limited to 'development/google-appengine-gosdk')
-rw-r--r-- | development/google-appengine-gosdk/README | 52 | ||||
-rw-r--r-- | development/google-appengine-gosdk/doinst.sh | 17 | ||||
-rw-r--r-- | development/google-appengine-gosdk/gae.csh | 3 | ||||
-rw-r--r-- | development/google-appengine-gosdk/gae.sh | 3 | ||||
-rw-r--r-- | development/google-appengine-gosdk/go.csh | 3 | ||||
-rw-r--r-- | development/google-appengine-gosdk/go.sh | 3 | ||||
-rw-r--r-- | development/google-appengine-gosdk/google-appengine-gosdk.SlackBuild | 76 | ||||
-rw-r--r-- | development/google-appengine-gosdk/google-appengine-gosdk.info | 10 | ||||
-rw-r--r-- | development/google-appengine-gosdk/slack-desc | 19 |
9 files changed, 0 insertions, 186 deletions
diff --git a/development/google-appengine-gosdk/README b/development/google-appengine-gosdk/README deleted file mode 100644 index 205d62aa8049..000000000000 --- a/development/google-appengine-gosdk/README +++ /dev/null @@ -1,52 +0,0 @@ -Google App Engine Go Language SDK - -The Go SDK's includes a web server application that simulates the -AppEngine environment, including a local version of the datastore, -Google Accounts, and the ability to fetch URLs and send email directly -from your computer using the App Engine APIs. The Go SDK uses slightly -modified versions of the development tools from the Python SDK, and -will run on any Intel-based Mac OS X or Linux computer with Python -2.5. - -Homepage: http://code.google.com/appengine - -Alternate download site: http://code.google.com/p/googleappengine - -NOTE: There are some minor limitations to the Go SDK for -App Engine vs the full blown Go Language SDK, but for -most part this package can be used to develop and compile -stand-alone Go programs as well. See The Go Programming -Language Blog, Tuesday, May 10, 2011, Go and Google Appengine at -http://blog.golang.org/2011/05/go-and-google-app-engine.html for more -details. - -WARNING: This SlackBuild puts the Google Appengine Go SDK tools onto -your PATH using the script gae.sh (or gae.csh) in /etc/profile.d that -is sourced by /etc/profile (or /etc/csh.login). If you also install -the Google Appengine Python SDK then the gae.sh (and gae.csh) scripts -will clash and you'll be left with a gae.sh.new (and gae.csh.new) file -in /etc/profile.d. - -THIS IS INTENTIONAL!!! - -This is because Google's Go and Python SDK's for Appengine contain -Python scripts with the same names that are different: you cannot use, -for example, the appcfg.py or dev_appserver.py from one SDK on apps -written with the other SDK! - -It is up to you to sort out this mess and decide which - if any - -SDK's tools you want on the PATH and which you'll call with the -full path. I had written some wrapper scripts (inspired by Google's -own gomake script) that work around this issue; but I felt this -solution was more appropriate for Slackware and absolved me of the -responsability of untangling Google's mess! - -AND ANOTHER WARNING: If you also install the Google Go language -SlackBuild you'll have another clash since the Appengine Go SDK -contains a subset of the Go language SDK; it has some of the same -tools and relies on the same environment variables (in particular -GOROOT). So you need decide if you want to keep the Go Appengine -on your PATH or the Go Language (via /etc/profile.d/go.sh and -/etc/profile.d/go.csh). - -Sorry, but I don't write 'em - I just build 'em! diff --git a/development/google-appengine-gosdk/doinst.sh b/development/google-appengine-gosdk/doinst.sh deleted file mode 100644 index 9535a57a0fcb..000000000000 --- a/development/google-appengine-gosdk/doinst.sh +++ /dev/null @@ -1,17 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -config etc/profile.d/gae.csh.new -config etc/profile.d/gae.sh.new -config etc/profile.d/go.csh.new -config etc/profile.d/go.sh.new diff --git a/development/google-appengine-gosdk/gae.csh b/development/google-appengine-gosdk/gae.csh deleted file mode 100644 index fda9ecddcc2c..000000000000 --- a/development/google-appengine-gosdk/gae.csh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/csh -setenv GAEBIN /opt/google/appengine-gosdk -setenv PATH ${PATH}:${GAEROOT} diff --git a/development/google-appengine-gosdk/gae.sh b/development/google-appengine-gosdk/gae.sh deleted file mode 100644 index 6f06a45bdc43..000000000000 --- a/development/google-appengine-gosdk/gae.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/csh -export GAEBIN=/opt/google/appengine-gosdk -export PATH=${PATH}:${GAEROOT} diff --git a/development/google-appengine-gosdk/go.csh b/development/google-appengine-gosdk/go.csh deleted file mode 100644 index 42de43374886..000000000000 --- a/development/google-appengine-gosdk/go.csh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/csh -setenv GOROOT /opt/google/appengine-gosdk/goroot -setenv PATH ${PATH}:${GOROOT}/bin diff --git a/development/google-appengine-gosdk/go.sh b/development/google-appengine-gosdk/go.sh deleted file mode 100644 index fb5fc62cd4cf..000000000000 --- a/development/google-appengine-gosdk/go.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -export GOROOT=/opt/google/appengine-gosdk/goroot -export PATH="${PATH}:${GOROOT}/bin" diff --git a/development/google-appengine-gosdk/google-appengine-gosdk.SlackBuild b/development/google-appengine-gosdk/google-appengine-gosdk.SlackBuild deleted file mode 100644 index 546fc867b1f6..000000000000 --- a/development/google-appengine-gosdk/google-appengine-gosdk.SlackBuild +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh -# Slackware build script for google-appengine-gosdk -# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org -# -# Copyright (c) 2011 Eric Schultz -# -# Permission is hereby granted, free of charge, to any person obtaining a copy of -# this software and associated documentation files (the "Software"), to deal in -# the Software without restriction, including without limitation the rights to -# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -# the Software, and to permit persons to whom the Software is furnished to do so, -# subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -# Written by Eric Schultz eric at schultzter dot ca - -PRGNAM=google-appengine-gosdk -VERSION=${VERSION:-1.9.27} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -case "$( uname -m )" in - i?86) ARCH="i386" ; GARCH="386" ;; - x86_64) ARCH="x86_64"; GARCH="amd64" ;; - *) echo "Package for $(uname -m) architecture is not available." ; exit 1;; -esac - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG/opt/google $OUTPUT -cd $PKG/opt/google -unzip $CWD/go_appengine_sdk_linux_$GARCH-$VERSION.zip -mv go_appengine appengine-gosdk -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# Put the profile scripts for setting PATH and env variables -mkdir -p $PKG/etc/profile.d -install -m0755 -oroot $CWD/gae.csh $PKG/etc/profile.d/gae.csh.new -install -m0755 -oroot $CWD/gae.sh $PKG/etc/profile.d/gae.sh.new -install -m0755 -oroot $CWD/go.csh $PKG/etc/profile.d/go.csh.new -install -m0755 -oroot $CWD/go.sh $PKG/etc/profile.d/go.sh.new - -cd appengine-gosdk -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - BUGS LICENSE RELEASE_NOTES VERSION \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cp $CWD/doinst.sh $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/google-appengine-gosdk/google-appengine-gosdk.info b/development/google-appengine-gosdk/google-appengine-gosdk.info deleted file mode 100644 index c977d394b82b..000000000000 --- a/development/google-appengine-gosdk/google-appengine-gosdk.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="google-appengine-gosdk" -VERSION="1.9.27" -HOMEPAGE="https://cloud.google.com/appengine/docs" -DOWNLOAD="https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_386-1.9.27.zip" -MD5SUM="3b99f5e77f037702a6f84b7499b40500" -DOWNLOAD_x86_64="https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.27.zip" -MD5SUM_x86_64="302c712f403f2e00b7d6ff2d6ed6b2cf" -REQUIRES="" -MAINTAINER="orphaned - no maintainer" -EMAIL="nobody@nowhere" diff --git a/development/google-appengine-gosdk/slack-desc b/development/google-appengine-gosdk/slack-desc deleted file mode 100644 index 5bdaa46af018..000000000000 --- a/development/google-appengine-gosdk/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -google-appengine-gosdk: google-appengine-gosdk (Google Appengine Go SDK) -google-appengine-gosdk: -google-appengine-gosdk: The Go SDK's includes a web server application that simulates -google-appengine-gosdk: the AppEngine environment, including a local version of the -google-appengine-gosdk: datastore, Google Accounts, and the ability to fetch URLs and -google-appengine-gosdk: send email directly from your computer using the App Engine APIs. -google-appengine-gosdk: The Go SDK uses slightly modified versions of the development tools -google-appengine-gosdk: from the Python SDK, and will run on any Intel-based Mac OS X or -google-appengine-gosdk: Linux computer with Python 2.5. -google-appengine-gosdk: -google-appengine-gosdk: https://cloud.google.com/appengine/docs |