python/python-oauth: Renamed python2-oauth.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
e808233762
commit
fd743313af
|
@ -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-oauth
|
||||
PRGNAM=python2-oauth
|
||||
VERSION=${VERSION:-1.0.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -30,7 +30,7 @@ SRCNAM=oauth
|
|||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
|
@ -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
|
|
@ -1,4 +1,4 @@
|
|||
PRGNAM="python-oauth"
|
||||
PRGNAM="python2-oauth"
|
||||
VERSION="1.0.1"
|
||||
HOMEPAGE="http://code.google.com/p/oauth/"
|
||||
DOWNLOAD="https://pypi.python.org/packages/source/o/oauth/oauth-1.0.1.tar.gz"
|
|
@ -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-oauth: python-oauth (open protocol to allow API authentication)
|
||||
python-oauth:
|
||||
python-oauth: An open protocol to allow API authentication from desktop and
|
||||
python-oauth: web applications.
|
||||
python-oauth:
|
||||
python-oauth:
|
||||
python-oauth:
|
||||
python-oauth:
|
||||
python-oauth:
|
||||
python-oauth:
|
||||
python-oauth:
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
python2-oauth: python2-oauth (open protocol to allow API authentication)
|
||||
python2-oauth:
|
||||
python2-oauth: An open protocol to allow API authentication from desktop and
|
||||
python2-oauth: web applications.
|
||||
python2-oauth:
|
||||
python2-oauth:
|
||||
python2-oauth:
|
||||
python2-oauth:
|
||||
python2-oauth:
|
||||
python2-oauth:
|
||||
python2-oauth:
|
Loading…
Reference in New Issue