diff options
author | David Woodfall <dave@slackbuilds.org> | 2021-04-21 15:23:52 +0000 |
---|---|---|
committer | Dave Woodfall <dave@slackbuilds.org> | 2021-04-22 14:07:03 +0000 |
commit | e7f673e463b08e4f7738f640604cc72b3121e251 (patch) | |
tree | a2798876a82b587e1378a048dc7419d55be6ca44 /python/python-elementtree | |
parent | 6c21906c0a831e78d3d722e8f61d89ba4940014f (diff) |
python/python-elementtree: Updated for version 1.3.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'python/python-elementtree')
-rw-r--r-- | python/python-elementtree/python-elementtree.SlackBuild | 26 | ||||
-rw-r--r-- | python/python-elementtree/python-elementtree.info | 6 |
2 files changed, 9 insertions, 23 deletions
diff --git a/python/python-elementtree/python-elementtree.SlackBuild b/python/python-elementtree/python-elementtree.SlackBuild index fb746101facb5..e499e891f5287 100644 --- a/python/python-elementtree/python-elementtree.SlackBuild +++ b/python/python-elementtree/python-elementtree.SlackBuild @@ -23,12 +23,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=python-elementtree -VERSION=${VERSION:-1.2.7_20070827_preview} +VERSION=${VERSION:-1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCNAM=elementtree -ARCVERSION=$(echo $VERSION | tr _ -) +COMMIT=405fb0295388a54104f3641eedfeb4c8a3e1ae4d +SRCNAM=py-elementtree if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -43,28 +43,14 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$ARCVERSION -unzip $CWD/$SRCNAM-$ARCVERSION.zip -cd $SRCNAM-$ARCVERSION +rm -rf $SRCNAM-$COMMIT +tar xvf $CWD/$SRCNAM-$COMMIT.tar.gz +cd $SRCNAM-$COMMIT chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/python/python-elementtree/python-elementtree.info b/python/python-elementtree/python-elementtree.info index 56ef0b59375d1..9977ee05904f3 100644 --- a/python/python-elementtree/python-elementtree.info +++ b/python/python-elementtree/python-elementtree.info @@ -1,8 +1,8 @@ PRGNAM="python-elementtree" -VERSION="1.2.7_20070827_preview" +VERSION="1.3" HOMEPAGE="http://effbot.org/zone/element-index.htm" -DOWNLOAD="http://effbot.org/media/downloads/elementtree-1.2.7-20070827-preview.zip" -MD5SUM="30e2fe5edd143f347e03a8baf5d60f8a" +DOWNLOAD="https://github.com/vkris/py-elementtree/archive/405fb0295388a54104f3641eedfeb4c8a3e1ae4d/py-elementtree-405fb0295388a54104f3641eedfeb4c8a3e1ae4d.tar.gz" +MD5SUM="c40a3521424528e32f0998e31a3b36f3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |