import CS python3.14-pyyaml-6.0.3-1.el9
This commit is contained in:
parent
11a8dd4e2c
commit
dc7cb47b39
@ -1 +0,0 @@
|
||||
1
|
||||
27
.gitignore
vendored
27
.gitignore
vendored
@ -1,26 +1 @@
|
||||
PyYAML-3.09.tar.gz
|
||||
/PyYAML-3.10.tar.gz
|
||||
/PyYAML-3.11.tar.gz
|
||||
/PyYAML-3.12.tar.gz
|
||||
/PyYAML-4.1.tar.gz
|
||||
/pyyaml-4.1.tar.gz
|
||||
/PyYAML-4.2b4.tar.gz
|
||||
/PyYAML-5.1b1.tar.gz
|
||||
/PyYAML-5.1b3.tar.gz
|
||||
/PyYAML-5.1b6.tar.gz
|
||||
/PyYAML-5.1.tar.gz
|
||||
/PyYAML-5.1.1.tar.gz
|
||||
/PyYAML-5.1.2.tar.gz
|
||||
/5.1.2.tar.gz
|
||||
/5.2.tar.gz
|
||||
/5.3.tar.gz
|
||||
/5.3.1.tar.gz
|
||||
/5.4b1.tar.gz
|
||||
/5.4b2.tar.gz
|
||||
/5.4.tar.gz
|
||||
/5.4.1.tar.gz
|
||||
/6.0b1.tar.gz
|
||||
/6.0.tar.gz
|
||||
/6.0.1.tar.gz
|
||||
/6.0.2.tar.gz
|
||||
/6.0.3.tar.gz
|
||||
SOURCES/6.0.3.tar.gz
|
||||
|
||||
1
.python3.14-pyyaml.metadata
Normal file
1
.python3.14-pyyaml.metadata
Normal file
@ -0,0 +1 @@
|
||||
122becdd41b66799d5ea790827bf178f3ba94470 SOURCES/6.0.3.tar.gz
|
||||
@ -1,3 +1,13 @@
|
||||
## START: Set by rpmautospec
|
||||
## (rpmautospec version 0.6.5)
|
||||
## RPMAUTOSPEC: autorelease, autochangelog
|
||||
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||
release_number = 1;
|
||||
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
||||
print(release_number + base_release_number - 1);
|
||||
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
||||
## END: Set by rpmautospec
|
||||
|
||||
%global python3_pkgversion 3.14
|
||||
|
||||
Name: python%{python3_pkgversion}-pyyaml
|
||||
@ -64,4 +74,13 @@ rm -rf ext/_yaml.c
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
## START: Generated by rpmautospec
|
||||
* Fri Nov 28 2025 Tomáš Hrnčiar <thrnciar@redhat.com> - 6.0.3-1
|
||||
- New upstream release 6.0.3
|
||||
|
||||
* Fri Nov 28 2025 Lukáš Zachar <lzachar@redhat.com> - 6.0.2-2
|
||||
- Add gating.yaml
|
||||
|
||||
* Fri Nov 28 2025 Tomáš Hrnčiar <thrnciar@redhat.com> - 6.0.2-1
|
||||
- Convert from Fedora for the Python 3.14 stack in RHEL
|
||||
## END: Generated by rpmautospec
|
||||
@ -1,6 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
1
sources
1
sources
@ -1 +0,0 @@
|
||||
SHA512 (6.0.3.tar.gz) = a0da43e32d127409ad61b11dc1d733b2e9c743977b3d72c05c81fc2ab183b40bc284452b0874dbeae1a736e1cd4a34f0df641ceefd5e9df38b3e53155fc5f633
|
||||
@ -1,5 +0,0 @@
|
||||
test: ./runtest.sh
|
||||
framework: beakerlib
|
||||
require:
|
||||
- python3.14-pyyaml
|
||||
duration: 5m
|
||||
@ -1,3 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
import yaml
|
||||
print(yaml.dump({'name': 'Silenthand Olleander', 'race': 'Human', 'traits': ['ONE_HAND', 'ONE_EYE']}))
|
||||
@ -1,13 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
import yaml
|
||||
documents = """
|
||||
---
|
||||
name: foo
|
||||
---
|
||||
name: bar
|
||||
---
|
||||
name: foobar
|
||||
"""
|
||||
|
||||
for data in yaml.load_all(documents, Loader=yaml.SafeLoader):
|
||||
print(data)
|
||||
@ -1,24 +0,0 @@
|
||||
import yaml
|
||||
class Hero:
|
||||
def __init__(self, name, hp, sp):
|
||||
self.name = name
|
||||
self.hp = hp
|
||||
self.sp = sp
|
||||
def __repr__(self):
|
||||
return "%s(name=%r, hp=%r, sp=%r)" % (
|
||||
self.__class__.__name__, self.name, self.hp, self.sp)
|
||||
|
||||
STRING = """
|
||||
!!python/object:__main__.Hero
|
||||
name: Welthyr Syxgon
|
||||
hp: 1200
|
||||
sp: 0
|
||||
"""
|
||||
|
||||
try:
|
||||
yaml.load(STRING, Loader=yaml.SafeLoader)
|
||||
raise RuntimeError("Didn't raise exception")
|
||||
except yaml.constructor.ConstructorError:
|
||||
pass
|
||||
|
||||
print(yaml.unsafe_load(STRING))
|
||||
@ -1,9 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
import yaml
|
||||
document = """
|
||||
a: 1
|
||||
b:
|
||||
c: 3
|
||||
d: 4
|
||||
"""
|
||||
print(yaml.dump(yaml.load(document, Loader=yaml.SafeLoader)))
|
||||
@ -1,74 +0,0 @@
|
||||
#!/bin/bash
|
||||
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# runtest.sh of /CoreOS/PyYAML/Sanity/Smoke
|
||||
# Description: Smoke test for this component
|
||||
# Author: Stepan Sigut <ssigut@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2016 Red Hat, Inc.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License as
|
||||
# published by the Free Software Foundation, either version 2 of
|
||||
# the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# Include Beaker environment
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PYTHON=${PYTHON:-"python3.14"}
|
||||
|
||||
PATTERN1="{'name': 'foo'}
|
||||
{'name': 'bar'}
|
||||
{'name': 'foobar'}"
|
||||
PATTERN3="name: Silenthand Olleander
|
||||
race: Human
|
||||
traits: [ONE_HAND, ONE_EYE]"
|
||||
PATTERN4="a: 1
|
||||
b: {c: 3, d: 4}"
|
||||
PATTERN5="Hero(name='Welthyr Syxgon', hp=1200, sp=0)"
|
||||
|
||||
set -o pipefail
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
# export python's MAJOR and MINOR version
|
||||
rlRun "export $($PYTHON -c \
|
||||
'import sys; print("MAJOR={0} MINOR={1}".format(\
|
||||
sys.version_info[0],sys.version_info[1]))')"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest "Running pyyaml_load.py"
|
||||
rlRun -s "$PYTHON pyyaml_load.py"
|
||||
rlAssertGrep "$PATTERN1" "$rlRun_LOG"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest "Running pyyaml_dump.py"
|
||||
rlRun -s "$PYTHON pyyaml_dump.py"
|
||||
rlAssertGrep "$PATTERN3" "$rlRun_LOG"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest "Running pyyaml_parse.py"
|
||||
rlRun -s "$PYTHON pyyaml_parse.py"
|
||||
rlAssertGrep "$PATTERN4" "$rlRun_LOG"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest "Running pyyaml_object.py"
|
||||
rlRun -s "$PYTHON pyyaml_object.py"
|
||||
rlAssertGrep "$PATTERN5" "$rlRun_LOG"
|
||||
rlPhaseEnd
|
||||
|
||||
rlJournalPrintText
|
||||
rlJournalEnd
|
||||
Loading…
Reference in New Issue
Block a user