python/python-MonthDelta: Renamed python2-MonthDelta.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
This commit is contained in:
parent
e5286256a9
commit
24da8b8941
|
@ -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------------------------------------------------------|
|
||||
python-MonthDelta: python-MonthDelta (Pythonic date calculation with months)
|
||||
python-MonthDelta:
|
||||
python-MonthDelta: Date computations with months
|
||||
python-MonthDelta:
|
||||
python-MonthDelta: Homepage: https://pypi.python.org/pypi/MonthDelta
|
||||
python-MonthDelta:
|
||||
python-MonthDelta:
|
||||
python-MonthDelta:
|
||||
python-MonthDelta:
|
||||
python-MonthDelta:
|
||||
python-MonthDelta:
|
|
@ -22,7 +22,7 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=python-MonthDelta
|
||||
PRGNAM=python2-MonthDelta
|
||||
VERSION=${VERSION:-1.0b}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -31,7 +31,7 @@ SRCNAM=$(echo $PRGNAM | cut -d- -f2)
|
|||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -42,8 +42,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"
|
||||
|
@ -71,7 +71,7 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -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 -print0 | xargs -0 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-MonthDelta"
|
||||
PRGNAM="python2-MonthDelta"
|
||||
VERSION="1.0b"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/MonthDelta"
|
||||
DOWNLOAD="https://pypi.python.org/packages/source/M/MonthDelta/MonthDelta-1.0b.tar.gz"
|
|
@ -0,0 +1,19 @@
|
|||
# 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------------------------------------------------------|
|
||||
python2-MonthDelta: python2-MonthDelta (Pythonic date calculation with months)
|
||||
python2-MonthDelta:
|
||||
python2-MonthDelta: Date computations with months
|
||||
python2-MonthDelta:
|
||||
python2-MonthDelta: Homepage: https://pypi.python.org/pypi/MonthDelta
|
||||
python2-MonthDelta:
|
||||
python2-MonthDelta:
|
||||
python2-MonthDelta:
|
||||
python2-MonthDelta:
|
||||
python2-MonthDelta:
|
||||
python2-MonthDelta:
|
Loading…
Reference in New Issue