From a7600dda8fc1904db6e3c0e29b9210cf737ead2b Mon Sep 17 00:00:00 2001 From: Alexander Verbovetsky Date: Sat, 7 May 2022 07:08:05 +0700 Subject: libraries/python-ruamel: Updated for version 0.16.13. Signed-off-by: Willy Sudiarto Raharjo --- libraries/python-ruamel.yaml/README | 4 +--- .../python-ruamel.yaml/python-ruamel.yaml.SlackBuild | 16 +++++----------- libraries/python-ruamel.yaml/python-ruamel.yaml.info | 8 ++++---- libraries/python-ruamel.yaml/slack-desc | 2 +- 4 files changed, 11 insertions(+), 19 deletions(-) diff --git a/libraries/python-ruamel.yaml/README b/libraries/python-ruamel.yaml/README index 91a1a82256..b6476a7c67 100644 --- a/libraries/python-ruamel.yaml/README +++ b/libraries/python-ruamel.yaml/README @@ -2,7 +2,7 @@ YAML is a human friendly data serialization standard for all programming languages. It is commonly used for configuration files, logs, etc. ruamel.yaml is a YAML 1.2 loader/dumper package for Python. It is a -derivative of Kirill Simonov’s PyYAML 3.11. +derivative of Kirill Simonov's PyYAML 3.11. ruamel.yaml supports YAML 1.2 and has round-trip loaders and dumpers that preserves, among others: @@ -13,5 +13,3 @@ that preserves, among others: * flow style sequences ( ‘a: b, c, d’) * anchor names that are hand-crafted (i.e. not of the form``idNNN``) * merges in dictionaries are preserved - -Python3 is an optional dependency (autodetected). diff --git a/libraries/python-ruamel.yaml/python-ruamel.yaml.SlackBuild b/libraries/python-ruamel.yaml/python-ruamel.yaml.SlackBuild index ee57fa90b1..206783761e 100644 --- a/libraries/python-ruamel.yaml/python-ruamel.yaml.SlackBuild +++ b/libraries/python-ruamel.yaml/python-ruamel.yaml.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python-ruamel.yaml -# Copyright 2019-2021, Alexander Verbovetsky, Moscow, Russia +# Copyright 2019-2022, Alexander Verbovetsky, Moscow, Russia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-ruamel.yaml -VERSION=${VERSION:-0.16.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.16.13} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -66,11 +63,8 @@ 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 {} \; -RUAMEL_NO_PIP_INSTALL_CHECK=1 python setup.py install --root=$PKG - -if $(python3 -c 'import sys' 2>/dev/null); then - RUAMEL_NO_PIP_INSTALL_CHECK=1 python3 setup.py install --root=$PKG -fi +RUAMEL_NO_PIP_INSTALL_CHECK=1 python2 setup.py install --root=$PKG +RUAMEL_NO_PIP_INSTALL_CHECK=1 python3 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 diff --git a/libraries/python-ruamel.yaml/python-ruamel.yaml.info b/libraries/python-ruamel.yaml/python-ruamel.yaml.info index e9438e67af..23f7b95f37 100644 --- a/libraries/python-ruamel.yaml/python-ruamel.yaml.info +++ b/libraries/python-ruamel.yaml/python-ruamel.yaml.info @@ -1,8 +1,8 @@ PRGNAM="python-ruamel.yaml" -VERSION="0.16.0" -HOMEPAGE="https://bitbucket.org/ruamel/yaml" -DOWNLOAD="https://pypi.org/packages/source/r/ruamel.yaml/ruamel.yaml-0.16.0.tar.gz" -MD5SUM="ce481f80ee02dedcde75a0404209ee55" +VERSION="0.16.13" +HOMEPAGE="https://sourceforge.net/p/ruamel-yaml" +DOWNLOAD="https://pypi.org/packages/source/r/ruamel.yaml/ruamel.yaml-0.16.13.tar.gz" +MD5SUM="fa6c72a79b9f420628d83c2d50f9e4c7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/python-ruamel.yaml/slack-desc b/libraries/python-ruamel.yaml/slack-desc index 06953f1a3a..0c46c88a77 100644 --- a/libraries/python-ruamel.yaml/slack-desc +++ b/libraries/python-ruamel.yaml/slack-desc @@ -12,7 +12,7 @@ python-ruamel.yaml: ruamel.yaml is a YAML 1.2 parser and emitter for Python that python-ruamel.yaml: comment preservation. python-ruamel.yaml: python-ruamel.yaml: -python-ruamel.yaml: Homepage: https://bitbucket.org/ruamel/yaml +python-ruamel.yaml: Homepage: https://sourceforge.net/p/ruamel-yaml python-ruamel.yaml: python-ruamel.yaml: python-ruamel.yaml: -- cgit v1.2.3