pyyaml, bump version, drop python2.7, add python3.10 (#7187)

This commit is contained in:
Schrijvers Luc
2022-09-12 11:57:05 +02:00
committed by GitHub
parent 71b000f375
commit d84b7a1594

View File

@@ -1,6 +1,5 @@
SUMMARY="YAML parser and emitter for Python"
DESCRIPTION="
YAML is a data serialization format designed for human readability \
DESCRIPTION="YAML is a data serialization format designed for human readability \
and interaction with scripting languages. \
PyYAML is a YAML parser and emitter for Python.
@@ -10,17 +9,17 @@ PyYAML supports standard YAML tags and \
provides Python-specific tags that allow to represent an arbitrary Python object.
PyYAML is applicable for a broad range of tasks from \
complex configuration files to object serialization and persistance.
"
complex configuration files to object serialization and persistance."
HOMEPAGE="https://pyyaml.org/"
COPYRIGHT="2006-2019 Kirill Simonov"
COPYRIGHT="2017-2021 Ingy döt Net
2006-2016 Kirill Simonov"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="http://pyyaml.org/download/pyyaml/PyYAML-$portVersion.tar.gz"
CHECKSUM_SHA256="01adf0b6c6f61bd11af6e10ca52b7d4057dd0be0343eb9283c878cf3af56aee4"
SOURCE_DIR="PyYAML-$portVersion"
REVISION="1"
SOURCE_URI="https://github.com/yaml/pyyaml/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="f33eaba25d8e0c1a959bbf00655198c287dfc5868f5b7b01e401eaa1796cc778"
SOURCE_FILENAME="pyyaml-$portVersion.tar.gz"
ARCHITECTURES="all"
ARCHITECTURES="any"
PROVIDES="
$portName = $portVersion
@@ -36,8 +35,8 @@ BUILD_PREREQUIRES="
cmd:gcc
"
PYTHON_PACKAGES=(python python3 python38 python39)
PYTHON_VERSIONS=(2.7 3.7 3.8 3.9)
PYTHON_PACKAGES=(python3 python38 python39 python310)
PYTHON_VERSIONS=(3.7 3.8 3.9 3.10)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}