Compare commits
No commits in common. "c8-stream-3.8" and "c9s" have entirely different histories.
c8-stream-
...
c9s
@ -1 +0,0 @@
|
||||
db2286ea3b3a6060c4294f9c3df652c5b4f60fca SOURCES/Cython-0.29.14.tar.gz
|
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
51
.gitignore
vendored
51
.gitignore
vendored
@ -1 +1,50 @@
|
||||
SOURCES/Cython-0.29.14.tar.gz
|
||||
Cython-0.12.1.tar.gz
|
||||
/Cython-0.13.tar.gz
|
||||
/Cython-0.14.tar.gz
|
||||
/Cython-0.14.1.tar.gz
|
||||
/Cython-0.15.tar.gz
|
||||
/Cython-0.15.1.tar.gz
|
||||
/Cython-0.16.tar.gz
|
||||
/Cython-0.17b3.tar.gz
|
||||
/Cython-0.17.tar.gz
|
||||
/Cython-0.17.1.tar.gz
|
||||
/Cython-0.17.2.tar.gz
|
||||
/Cython-0.17.3.tar.gz
|
||||
/Cython-0.18.tar.gz
|
||||
/Cython-0.19.tar.gz
|
||||
/Cython-0.19.2.tar.gz
|
||||
/Cython-0.20.tar.gz
|
||||
/Cython-0.20.1.tar.gz
|
||||
/Cython-0.21.tar.gz
|
||||
/Cython-0.21.1.tar.gz
|
||||
/Cython-0.22.tar.gz
|
||||
/Cython-0.23.tar.gz
|
||||
/Cython-0.23.4.tar.gz
|
||||
/Cython-0.24.1.tar.gz
|
||||
/Cython-0.25.2.tar.gz
|
||||
/Cython-0.27.1.tar.gz
|
||||
/Cython-0.27.3.tar.gz
|
||||
/Cython-0.28.1.tar.gz
|
||||
/Cython-0.28.4.tar.gz
|
||||
/Cython-0.28.5.tar.gz
|
||||
/Cython-0.29~rc2.tar.gz
|
||||
/Cython-0.29.tar.gz
|
||||
/Cython-0.29.1.tar.gz
|
||||
/Cython-0.29.3.tar.gz
|
||||
/Cython-0.29.5.tar.gz
|
||||
/Cython-0.29.6.tar.gz
|
||||
/Cython-0.29.7.tar.gz
|
||||
/Cython-0.29.9.tar.gz
|
||||
/Cython-0.29.10.tar.gz
|
||||
/Cython-0.29.11.tar.gz
|
||||
/Cython-0.29.12.tar.gz
|
||||
/Cython-0.29.13.tar.gz
|
||||
/Cython-0.29.14.tar.gz
|
||||
/Cython-0.29.15.tar.gz
|
||||
/Cython-0.29.16.tar.gz
|
||||
/Cython-0.29.17.tar.gz
|
||||
/Cython-0.29.19.tar.gz
|
||||
/Cython-0.29.21.tar.gz
|
||||
/Cython-0.29.22.tar.gz
|
||||
/Cython-0.29.30.tar.gz
|
||||
/Cython-0.29.37.tar.gz
|
||||
|
@ -1,63 +1,105 @@
|
||||
%global srcname Cython
|
||||
%global upname cython
|
||||
|
||||
# Disable tests on RHEL9 as to not pull in the test dependencies
|
||||
# Specify --with tests to run the tests e.g. on EPEL
|
||||
%bcond_with tests
|
||||
|
||||
# This bcond allows to ship a non-compiled version
|
||||
# Slower, but sometimes necessary with alpha Python versions
|
||||
%bcond_without cython_compile
|
||||
|
||||
Name: Cython
|
||||
Version: 0.29.14
|
||||
%global upver %{version_no_tilde %{nil}}
|
||||
Release: 4%{?dist}
|
||||
Version: 0.29.37
|
||||
Release: 1%{?dist}
|
||||
Summary: Language for writing Python extension modules
|
||||
|
||||
License: ASL 2.0
|
||||
URL: http://www.cython.org
|
||||
Source: https://github.com/cython/cython/archive/%{upver}/%{srcname}-%{version}.tar.gz
|
||||
Source: https://github.com/cython/cython/archive/%{version}/Cython-%{version}.tar.gz
|
||||
|
||||
# Exclude i686 arch. Due to a modularity issue it's being added to the
|
||||
# x86_64 compose of CRB, but we don't want to ship it at all.
|
||||
# See: https://projects.engineering.redhat.com/browse/RCM-72605
|
||||
ExcludeArch: i686
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
|
||||
BuildRequires: gcc
|
||||
%if %{with tests}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python3-numpy
|
||||
BuildRequires: python3-jedi
|
||||
%endif
|
||||
|
||||
%global _description \
|
||||
This is a development version of Pyrex, a language\
|
||||
for writing Python extension modules.
|
||||
%if %{with cython_compile}
|
||||
BuildRequires: gcc
|
||||
%global python3_site %{python3_sitearch}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%global python3_site %{python3_sitelib}
|
||||
%endif
|
||||
|
||||
%global _description %{expand:
|
||||
The Cython language makes writing C extensions for the Python language as easy
|
||||
as Python itself. Cython is a source code translator based on Pyrex,
|
||||
but supports more cutting edge functionality and optimizations.
|
||||
|
||||
The Cython language is a superset of the Python language (almost all Python
|
||||
code is also valid Cython code), but Cython additionally supports optional
|
||||
static typing to natively call C functions, operate with C++ classes and
|
||||
declare fast C types on variables and class attributes.
|
||||
This allows the compiler to generate very efficient C code from Cython code.
|
||||
|
||||
This makes Cython the ideal language for writing glue code for external C/C++
|
||||
libraries, and for fast C modules that speed up the execution of Python code.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package -n python%{python3_pkgversion}-%{srcname}
|
||||
|
||||
%package -n python3-Cython
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
||||
%if %{with tests}
|
||||
BuildRequires: python%{python3_pkgversion}-coverage
|
||||
BuildRequires: python%{python3_pkgversion}-numpy
|
||||
BuildRequires: python%{python3_pkgversion}-jedi
|
||||
%endif
|
||||
Provides: Cython = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Provides: Cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Provides: cython = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Provides: cython%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
%py_provides python3-cython
|
||||
|
||||
%description -n python%{python3_pkgversion}-%{srcname} %{_description}
|
||||
# A small templating library is bundled in Cython/Tempita
|
||||
# Upstream version 0.5.2 is available from https://pypi.org/project/Tempita
|
||||
# but the bundled copy is patched and reorganized.
|
||||
# Upstream homepage is inaccessible.
|
||||
Provides: bundled(python3dist(tempita))
|
||||
|
||||
%description -n python3-Cython %{_description}
|
||||
|
||||
|
||||
%package -n emacs-cython-mode
|
||||
Summary: A major mode for editing Cython source files in Emacs
|
||||
BuildArch: noarch
|
||||
BuildRequires: emacs
|
||||
Requires: emacs(bin) >= %{_emacs_version}
|
||||
|
||||
%description -n emacs-cython-mode
|
||||
cython-mode is an Emacs major mode for editing Cython source files.
|
||||
|
||||
Python 3 version.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{upname}-%{version} -p1
|
||||
%autosetup -n cython-%{version} -p1
|
||||
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%py3_build -- %{!?with_cython_compile:--no-cython-compile}
|
||||
|
||||
# emacs-cython-mode build
|
||||
echo ";;
|
||||
(require 'cython-mode)" > cython-mode-init.el
|
||||
cp -p Tools/cython-mode.el .
|
||||
%{_emacs_bytecompile} *.el
|
||||
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%py3_install -- %{!?with_cython_compile:--no-cython-compile}
|
||||
rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests
|
||||
# Rename unversioned binaries
|
||||
mv %{buildroot}%{_bindir}/cython{,-%{python3_version}}
|
||||
mv %{buildroot}%{_bindir}/cygdb{,-%{python3_version}}
|
||||
mv %{buildroot}%{_bindir}/cythonize{,-%{python3_version}}
|
||||
|
||||
# emacs-cython-mode install
|
||||
mkdir -p %{buildroot}%{_emacs_sitelispdir}/
|
||||
cp -p cython-mode.el cython-mode.elc %{buildroot}%{_emacs_sitelispdir}/
|
||||
mkdir -p %{buildroot}%{_emacs_sitestartdir}/
|
||||
cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir}/
|
||||
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
@ -68,28 +110,96 @@ mv %{buildroot}%{_bindir}/cythonize{,-%{python3_version}}
|
||||
|
||||
%endif
|
||||
|
||||
%files -n python%{python3_pkgversion}-%{srcname}
|
||||
|
||||
%files -n python3-Cython
|
||||
%license LICENSE.txt
|
||||
%doc *.txt Demos Doc Tools
|
||||
%{_bindir}/cython-%{python3_version}
|
||||
%{_bindir}/cygdb-%{python3_version}
|
||||
%{_bindir}/cythonize-%{python3_version}
|
||||
%{python3_sitearch}/%{srcname}-*.egg-info/
|
||||
%{python3_sitearch}/%{srcname}/
|
||||
%{python3_sitearch}/pyximport/
|
||||
%{python3_sitearch}/%{upname}.py
|
||||
%{python3_sitearch}/__pycache__/%{upname}.*
|
||||
%{_bindir}/cython
|
||||
%{_bindir}/cygdb
|
||||
%{_bindir}/cythonize
|
||||
%{python3_site}/Cython-*.egg-info/
|
||||
%{python3_site}/Cython/
|
||||
%{python3_site}/pyximport/
|
||||
%pycached %{python3_site}/cython.py
|
||||
|
||||
%files -n emacs-cython-mode
|
||||
%license LICENSE.txt
|
||||
%{_emacs_sitelispdir}/cython*.el*
|
||||
%{_emacs_sitestartdir}/cython*.el*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 0.29.14-4
|
||||
- Exclude unsupported i686 arch
|
||||
* Mon Oct 07 2024 Pavel Simovec <psimovec@redhat.com> - 0.29.37-1
|
||||
- Update to 0.29.37
|
||||
- Resolves: RHEL-61659
|
||||
|
||||
* Thu Nov 21 2019 Lumír Balhar <lbalhar@redhat.com> - 0.29.14-3
|
||||
- Unversioned binaries renamed
|
||||
* Wed Feb 16 2022 Tomas Orsava <torsava@redhat.com> - 0.29.22-7
|
||||
- Add gating configuration and a simple smoke test
|
||||
- Related: rhbz#1950291
|
||||
|
||||
* Wed Nov 20 2019 Lumír Balhar <lbalhar@redhat.com> - 0.29.14-2
|
||||
- Adjusted for Python 3.8 module in RHEL 8
|
||||
- without emacs plugin
|
||||
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 0.29.22-6
|
||||
- Add automatically generated Obsoletes tag with the python39- prefix
|
||||
for smoother upgrade from RHEL8
|
||||
- Related: rhbz#1990421
|
||||
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com>
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com>
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Wed Mar 10 2021 Charalampos Stratakis <cstratak@redhat.com> - 0.29.22-3
|
||||
- Disable tests on RHEL9 as to not pull in the test dependencies
|
||||
|
||||
* Tue Mar 09 2021 Miro Hrončok <mhroncok@redhat.com> - 0.29.22-2
|
||||
- Remove an obsoleted patch
|
||||
- Remove old Obsoletes and Conflicts
|
||||
- Update description
|
||||
- Provide cython, python3-cython
|
||||
|
||||
* Thu Mar 04 2021 Miro Hrončok <mhroncok@redhat.com> - 0.29.22-1
|
||||
- Update to 0.29.22
|
||||
|
||||
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.21-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Fri Nov 13 2020 Miro Hrončok <mhroncok@redhat.com> - 0.29.21-4
|
||||
- Drop build dependency on coverage
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.21-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 22 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.29.21-2
|
||||
- Re-enable tests.
|
||||
|
||||
* Wed Jul 22 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.29.21-1
|
||||
- 0.29.21
|
||||
|
||||
* Wed May 27 2020 sguelton@redhat.com - 0.29.19-1
|
||||
- Update to 0.29.19
|
||||
|
||||
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.29.17-4
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 0.29.17-3
|
||||
- Bootstrap for Python 3.9
|
||||
|
||||
* Wed May 13 2020 Petr Viktorin <pviktori@redhat.com> - 0.29.17-2
|
||||
- Backport classmethod fixes
|
||||
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1788506
|
||||
|
||||
* Tue Apr 28 2020 Marcel Plch <mplch@redhat.com> - 0.29.17-1
|
||||
- Update to 0.29.17
|
||||
|
||||
* Wed Mar 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.29.16-1
|
||||
- Update to 0.29.16 (#1816785)
|
||||
|
||||
* Sat Feb 08 2020 Miro Hrončok <mhroncok@redhat.com> - 0.29.15-1
|
||||
- Update to 0.29.15 (#1800158)
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.14-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Mon Nov 04 2019 Miro Hrončok <mhroncok@redhat.com> - 0.29.14-1
|
||||
- Update to 0.29.14 (#1768034)
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
11
plans.fmf
Normal file
11
plans.fmf
Normal file
@ -0,0 +1,11 @@
|
||||
discover:
|
||||
- name: Smoke-tests
|
||||
how: shell
|
||||
tests:
|
||||
- name: python-import-test
|
||||
test: python3 -c 'import Cython'
|
||||
require:
|
||||
- python3-Cython
|
||||
duration: 1m
|
||||
execute:
|
||||
how: tmt
|
Loading…
Reference in New Issue
Block a user