Compare commits
No commits in common. "c8" and "c10s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
9
.gitignore
vendored
9
.gitignore
vendored
@ -1 +1,8 @@
|
||||
SOURCES/py3c-1.2.tar.gz
|
||||
/py3c-0.6.tar.gz
|
||||
/py3c-0.7.tar.gz
|
||||
/py3c-0.8.tar.gz
|
||||
/py3c-1.0.tar.gz
|
||||
/py3c-1.1.tar.gz
|
||||
/py3c-1.2.tar.gz
|
||||
/py3c-1.3.tar.gz
|
||||
/py3c-1.4.tar.gz
|
||||
|
||||
@ -1 +0,0 @@
|
||||
34968631850de8307fedac41041cdc0bcfea5976 SOURCES/py3c-1.2.tar.gz
|
||||
5
gating.yaml
Normal file
5
gating.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
--- !Policy
|
||||
|
||||
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:
|
||||
how: shell
|
||||
tests:
|
||||
- name: pkgconf lists py3c
|
||||
test: pkgconf py3c --exists
|
||||
require:
|
||||
- pkgconf
|
||||
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
@ -2,22 +2,23 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: py3c
|
||||
Version: 1.2
|
||||
Release: 4%{?dist}
|
||||
Version: 1.4
|
||||
Release: 10%{?dist}
|
||||
Summary: Guide and compatibility macros for porting extensions to Python 3
|
||||
|
||||
# Licences differ for subpackages
|
||||
License: MIT and CC-BY-SA
|
||||
License: MIT AND CC-BY-SA-3.0
|
||||
|
||||
URL: http://py3c.readthedocs.io/
|
||||
|
||||
Source0: https://github.com/encukou/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-sphinx
|
||||
BuildRequires: python3-sphinx_rtd_theme
|
||||
BuildRequires: python3-sphinx_rtd_theme >= 0.4.3
|
||||
|
||||
%description
|
||||
py3c helps you port C extensions to Python 3.
|
||||
@ -41,11 +42,9 @@ Because py3c is a header-only library, there is no matching run-time package.
|
||||
|
||||
%package doc
|
||||
BuildArch: noarch
|
||||
License: CC-BY-SA
|
||||
License: CC-BY-SA-3.0
|
||||
Summary: Guide for porting C extensions to Python 3
|
||||
|
||||
Requires: python3-sphinx_rtd_theme
|
||||
|
||||
%description doc
|
||||
Guide for porting CPython extensions from Python 2 to Python 3, using the
|
||||
py3c macros.
|
||||
@ -54,20 +53,12 @@ py3c macros.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} py3c.pc includedir=%{_includedir}
|
||||
%make_build py3c.pc includedir=%{_includedir}
|
||||
|
||||
make %{?_smp_mflags} doc SPHINXBUILD=sphinx-build-3
|
||||
|
||||
# unbundle fonts provided by the theme package
|
||||
bundledfonts=doc/build/html/_static/fonts
|
||||
themefonts=%{python3_sitelib}/sphinx_rtd_theme/static/fonts
|
||||
diff -r $bundledfonts $themefonts
|
||||
rm -rv $bundledfonts
|
||||
ln -s $themefonts $bundledfonts
|
||||
%make_build doc SPHINXBUILD=sphinx-build-3
|
||||
|
||||
%check
|
||||
export CFLAGS="%{optflags}"
|
||||
make %{?_smp_mflags} test-python3
|
||||
%make_build test-python3
|
||||
|
||||
%install
|
||||
make install prefix=%{buildroot}%{_prefix} includedir=%{buildroot}%{_includedir}
|
||||
@ -89,13 +80,48 @@ sed --in-place -e's!%{buildroot}!!' %{buildroot}%{_datadir}/pkgconfig/py3c.pc
|
||||
%doc %{_pkgdocdir}/
|
||||
|
||||
%changelog
|
||||
* Fri Oct 30 2020 Tomas Orsava <torsava@redhat.com> - 1.2-4
|
||||
- Rebuild with gating
|
||||
- Resolves: rhbz#1841060
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.4-10
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Mon Sep 07 2020 Tomas Orsava <torsava@redhat.com> - 1.2-3
|
||||
- Including in RHEL8
|
||||
- Resolves: rhbz#1841060
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.4-9
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed Jul 12 2023 Karolina Surma <ksurma@redhat.com> - 1.4-5
|
||||
- Migrate the License tags to SPDX expressions
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Oct 15 2021 Petr Viktorin <pviktori@redhat.com> - 1.4-1
|
||||
- Update to 1.4
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Jan 07 2021 Petr Viktorin <pviktori@redhat.com> - 1.3-2
|
||||
- No longer unbundle fonts
|
||||
|
||||
* Sun Nov 29 2020 Petr Viktorin <pviktori@redhat.com> - 1.3-1
|
||||
- Update to 1.3
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
Loading…
Reference in New Issue
Block a user