Browse Source

l/pyyaml: Renamed from python-yaml and upgraded to -5.1.2.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
ff5b29a93b
  1. 1
      l/python-yaml/PyYAML-3.12.tar.gz.sha256
  2. 12
      l/python-yaml/slack-desc
  3. 1
      l/pyyaml/PyYAML-5.1.2.tar.gz.sha256
  4. 16
      l/pyyaml/pyyaml.SlackBuild
  5. 12
      l/pyyaml/slack-desc

1
l/python-yaml/PyYAML-3.12.tar.gz.sha256

@ -1 +0,0 @@
592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab PyYAML-3.12.tar.gz

12
l/python-yaml/slack-desc

@ -1,12 +0,0 @@
|-----handy-ruler--------------------------------------------------|
python-yaml: python-yaml (YAML parser and emitter for Python=
python-yaml:
python-yaml: YAML is a data serialization format designed for human
python-yaml: readibility and interaction with scripting languages. PyYAML is a
python-yaml: TAML parser and emitter for Python. PyYAML features a complete
python-yaml: YAML 1.1 parser. Unicode support, pickle support, capable
python-yaml: extension API, and sensible error messages. PyYAML supports
python-yaml: standard YAML tags and provides Python-specific tags that allow
python-yaml: to represent an arbitrary Python object.
python-yaml:
python-yaml:

1
l/pyyaml/PyYAML-5.1.2.tar.gz.sha256

@ -0,0 +1 @@
01adf0b6c6f61bd11af6e10ca52b7d4057dd0be0343eb9283c878cf3af56aee4 PyYAML-5.1.2.tar.gz

16
l/python-yaml/python-yaml.SlackBuild → l/pyyaml/pyyaml.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2012,2015,2017 Damien Goutte-Gattat
# Copyright (C) 2012,2015,2017,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -23,16 +23,16 @@
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest PyYAML sourcecode is available at:
# <http://pyyaml.org/wiki/PyYAML>.
# <https://github.com/yaml/pyyaml>.
# Source package infos
NAMESRC=${NAMESRC:-PyYAML}
VERSION=${VERSION:-3.12}
VERSION=${VERSION:-5.1.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://pyyaml.org/download/pyyaml/$ARCHIVE}
WGET=${WGET:-https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-yaml}
NAMEPKG=${NAMEPKG:-pyyaml}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
@ -68,8 +68,10 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python setup.py build
python setup.py install --root=$PKG
python2 setup.py build
python2 setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \

12
l/pyyaml/slack-desc

@ -0,0 +1,12 @@
|-----handy-ruler--------------------------------------------------|
pyyaml: pyyaml (YAML parser and emitter for Python)
pyyaml:
pyyaml: YAML is a data serialization format designed for human
pyyaml: readibility and interaction with scripting languages. PyYAML is a
pyyaml: TAML parser and emitter for Python. PyYAML features a complete
pyyaml: YAML 1.1 parser. Unicode support, pickle support, capable
pyyaml: extension API, and sensible error messages. PyYAML supports
pyyaml: standard YAML tags and provides Python-specific tags that allow
pyyaml: to represent an arbitrary Python object.
pyyaml:
pyyaml:
Loading…
Cancel
Save