import CS python3.14-Cython-3.2.4-2.el9

This commit is contained in:
AlmaLinux RelEng Bot 2026-04-16 04:55:13 -04:00
parent 222c95180f
commit 46bd8c8654
13 changed files with 40 additions and 92 deletions

View File

@ -1 +0,0 @@
1

2
.gitignore vendored
View File

@ -1 +1 @@
/Cython-*.tar.gz SOURCES/Cython-3.2.4.tar.gz

View File

@ -0,0 +1 @@
c7137e84421ae578f334f22ff945c703608cfcf3 SOURCES/Cython-3.2.4.tar.gz

View File

@ -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 = 2;
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 %global python3_pkgversion 3.14
%bcond tests 0 %bcond tests 0
@ -134,4 +144,31 @@ export CFLAGS="${CFLAGS} -g1"
%changelog %changelog
%autochangelog ## START: Generated by rpmautospec
* Tue Jan 20 2026 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.2.4-2
- CI: call pip3.14 instead of pip
* Tue Jan 20 2026 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.2.4-1
- Update to 3.2.4
- Fixes: rhbz#2427014
* Tue Dec 16 2025 Charalampos Stratakis <cstratak@redhat.com> - 3.2.1-1
- Update to 3.2.1
- Fixes: rhbz#2414622
* Tue Dec 16 2025 Charalampos Stratakis <cstratak@redhat.com> - 3.1.6-1
- Update to 3.1.6
- Fixes: rhbz#2405056
* Fri Nov 28 2025 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.1.4-1
- Update to 3.1.4 - taken from Fedora d26d9ef
* Fri Nov 28 2025 Lukáš Zachar <lzachar@redhat.com> - 3.1.3-3
- Add gating.yaml
* Fri Nov 28 2025 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.1.3-2
- Convert from Fedora for the Python 3.14 stack in RHEL
* Fri Nov 28 2025 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.1.3-1
- RHEL: Rename SPEC to python3.14-Cython.spec
## END: Generated by rpmautospec

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1,5 +0,0 @@
discover:
how: fmf
dist-git-source: true
execute:
how: tmt

View File

@ -1 +0,0 @@
SHA512 (Cython-3.2.4.tar.gz) = 5ab8e39739a79debbe89b2ff5b6d88e1b7aafd5ad34460f14f3fc2bd90c10bdc9d6aa5b5844a48e30402dde9790cb9abcba3dc2b4e8cde24c4eeee818a180099

View File

@ -1 +0,0 @@
print("Hello World")

View File

@ -1,9 +0,0 @@
summary: smoke test
test: ./runtest.sh
framework: beakerlib
require:
- gcc
- python3.14-devel
- python3.14-cython
- python3.14-setuptools
duration: 10m

View File

@ -1,41 +0,0 @@
#!/bin/bash
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# runtest.sh of /CoreOS/Cython/Sanity/smoke
# Description: smoke test
# Author: Jan Kepler <jkepler@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2017 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
set -o pipefail
PYTHON="${PYTHON:-python3.14}"
rlJournalStart
rlPhaseStartTest
rlRun "$PYTHON setup.py build_ext --inplace" 0 "Building Cython file"
rlRun "$PYTHON -c 'import helloworld' | tee output.log" 0 "Running Cython file"
rlAssertGrep "Hello World" "output.log"
rlPhaseEnd
rlJournalPrintText
rlJournalEnd

View File

@ -1,6 +0,0 @@
from setuptools import setup
from Cython.Build import cythonize
setup(
ext_modules = cythonize("helloworld.pyx")
)

View File

@ -1,20 +0,0 @@
summary: upstream testsuite
require:
- gcc
- gcc-c++
- gdb
- python3.14-devel
- python3.14-test
- python3.14-cython
- python3.14-setuptools
- python3.14-pip
- python3.14-numpy
- python3.14-pytest
- blas-devel # for pythran
# ipython and pythran installed from PyPI, not available in RHEL
# Add ipython again when upstream resolves https://github.com/cython/cython/issues/7075
test: |
pip3.14 install pythran==0.18.0 &&
cd $(dirname $TMT_SOURCE_DIR/cython-*/tests) &&
python3.14 runtests.py -vv --no-pyregr --exclude 'run.pstats_profile_test*'
duration: 240m