aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-14 21:34:39 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:01 +0700
commitfd20879908c701a01e2e0972b37993b7bcf5e181 (patch)
tree5fbafd3ff7cfd50ea1090bab93791f416d55746b
parentea547454a0afca77834c74a1e460cea1f41b45a3 (diff)
python/python-oauth2: Renamed python2-oauth2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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 09faeaa2addb..08b932276ff0 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 10f925764c21..d1d688240715 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 c9204f012a31..c47d76ef6127 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 953fa820aff8..5d6e3ac16e65 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: