summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/python2-oauth2/README (renamed from python/python-oauth2/README)3
-rw-r--r--python/python2-oauth2/python2-oauth2.SlackBuild (renamed from python/python-oauth2/python-oauth2.SlackBuild)4
-rw-r--r--python/python2-oauth2/python2-oauth2.info (renamed from python/python-oauth2/python-oauth2.info)2
-rw-r--r--python/python2-oauth2/slack-desc (renamed from python/python-oauth2/slack-desc)24
4 files changed, 17 insertions, 16 deletions
diff --git a/python/python-oauth2/README b/python/python2-oauth2/README
index 09faeaa2ad..08b932276f 100644
--- a/python/python-oauth2/README
+++ b/python/python2-oauth2/README
@@ -1 +1,2 @@
-A fully tested, abstract interface to creating OAuth clients and servers.
+A fully tested, abstract interface to creating OAuth clients and
+servers.
diff --git a/python/python-oauth2/python-oauth2.SlackBuild b/python/python2-oauth2/python2-oauth2.SlackBuild
index 10f925764c..d1d6882407 100644
--- a/python/python-oauth2/python-oauth2.SlackBuild
+++ b/python/python2-oauth2/python2-oauth2.SlackBuild
@@ -21,7 +21,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=python-oauth2
+PRGNAM=python2-oauth2
VERSION=${VERSION:-1.5.211}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,7 +70,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/python-oauth2/python-oauth2.info b/python/python2-oauth2/python2-oauth2.info
index c9204f012a..c47d76ef61 100644
--- a/python/python-oauth2/python-oauth2.info
+++ b/python/python2-oauth2/python2-oauth2.info
@@ -1,4 +1,4 @@
-PRGNAM="python-oauth2"
+PRGNAM="python2-oauth2"
VERSION="1.5.211"
HOMEPAGE="https://pypi.python.org/pypi/oauth2/"
DOWNLOAD="https://pypi.python.org/packages/source/o/oauth2/oauth2-1.5.211.tar.gz"
diff --git a/python/python-oauth2/slack-desc b/python/python2-oauth2/slack-desc
index 953fa820af..5d6e3ac16e 100644
--- a/python/python-oauth2/slack-desc
+++ b/python/python2-oauth2/slack-desc
@@ -5,15 +5,15 @@
# 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------------------------------------------------------|
-python-oauth2: python-oauth2 (OAuth clients and servers)
-python-oauth2:
-python-oauth2: A fully tested, abstract interface to creating OAuth clients and
-python-oauth2: servers.
-python-oauth2:
-python-oauth2:
-python-oauth2:
-python-oauth2:
-python-oauth2:
-python-oauth2:
-python-oauth2:
+ |-----handy-ruler------------------------------------------------------|
+python2-oauth2: python2-oauth2 (OAuth clients and servers)
+python2-oauth2:
+python2-oauth2: A fully tested, abstract interface to creating OAuth clients and
+python2-oauth2: servers.
+python2-oauth2:
+python2-oauth2:
+python2-oauth2:
+python2-oauth2:
+python2-oauth2:
+python2-oauth2:
+python2-oauth2: