Compare commits
No commits in common. "c9-beta" and "c10s" have entirely different histories.
14
.gitignore
vendored
14
.gitignore
vendored
@ -1 +1,13 @@
|
||||
SOURCES/marshalparser-0.3.0.tar.gz
|
||||
/marshalparser-0.1.1.tar.gz
|
||||
/marshalparser-0.2.0.tar.gz
|
||||
/marshalparser-0.2.1.tar.gz
|
||||
/marshalparser-0.2.2.tar.gz
|
||||
/marshalparser-0.2.3.tar.gz
|
||||
/marshalparser-0.2.4.tar.gz
|
||||
/marshalparser-0.2.5.tar.gz
|
||||
/marshalparser-0.2.6.tar.gz
|
||||
/marshalparser-0.3.0.tar.gz
|
||||
/marshalparser-0.3.1.tar.gz
|
||||
/marshalparser-0.3.2.tar.gz
|
||||
/marshalparser-0.3.3.tar.gz
|
||||
/marshalparser-0.3.4.tar.gz
|
||||
|
@ -1 +0,0 @@
|
||||
e1780d46e43c2548e614a99aa28b96a4c08dfc1e SOURCES/marshalparser-0.3.0.tar.gz
|
@ -1,57 +1,15 @@
|
||||
Name: marshalparser
|
||||
Version: 0.3.0
|
||||
Release: 5%{?dist}
|
||||
Summary: Parser for Python internal Marshal format
|
||||
* Sat Nov 05 2022 Lumír Balhar <lbalhar@redhat.com> - 0.3.3-1
|
||||
- Update to 0.3.3
|
||||
Resolves: rhbz#2140261
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/fedora-python/%{name}
|
||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: pyproject-rpm-macros
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.3.1-2
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
# Test dependencies
|
||||
BuildRequires: python3-pytest
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
%description
|
||||
Parser for Python internal Marshal format which can fix pyc files
|
||||
reproducibility.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
# Remove tests for Python versions that we don't ship, leave 3.9.
|
||||
# They are skipped automatically, but it takes a long time.
|
||||
rm -rf test/python_stdlib/{3.10,3.11,3.6,3.7,3.8}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files %{name}
|
||||
|
||||
%check
|
||||
%pytest -v test.py
|
||||
|
||||
%files -f %{pyproject_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Thu May 05 2022 Tomas Orsava <torsava@redhat.com> - 0.3.0-5
|
||||
- Rebuild to imrove gating
|
||||
|
||||
* Wed May 04 2022 Tomas Orsava <torsava@redhat.com> - 0.3.0-4
|
||||
- Rebuild to activate gating
|
||||
|
||||
* Thu Mar 03 2022 Tomas Orsava <torsava@redhat.com> - 0.3.0-3
|
||||
- Convert spec file to CentOS Stream 9 and RHEL 9
|
||||
* Mon May 16 2022 Lumír Balhar <lbalhar@redhat.com> - 0.3.1-1
|
||||
- Update to 0.3.1
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
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}
|
53
marshalparser.spec
Normal file
53
marshalparser.spec
Normal file
@ -0,0 +1,53 @@
|
||||
Name: marshalparser
|
||||
Version: 0.3.4
|
||||
Release: %autorelease
|
||||
Summary: Parser for Python internal Marshal format
|
||||
|
||||
# SPDX
|
||||
License: MIT
|
||||
URL: https://github.com/fedora-python/%{name}
|
||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: pyproject-rpm-macros
|
||||
|
||||
# For tests on various pyc files
|
||||
# We intentionally skip those on RHEL to avoid pulling other Pythons into next RHEL.
|
||||
# When a new Python is added into RHEL, the new version should be explicitly added.
|
||||
%if %{undefined rhel}
|
||||
BuildRequires: python3.6
|
||||
BuildRequires: python3.8
|
||||
BuildRequires: python3.9
|
||||
BuildRequires: python3.10
|
||||
BuildRequires: python3.11
|
||||
BuildRequires: python3.12
|
||||
%endif
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -x test
|
||||
|
||||
%description
|
||||
Parser for Python internal Marshal format which can fix pyc files
|
||||
reproducibility.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files %{name}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files -f %{pyproject_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (marshalparser-0.3.4.tar.gz) = 51ee373fed1cf4c9fb4f5453590ce6275fd84ee386bfc5e86af5c9c24cbbdfe9781fd9a37f227334300bd43019180f60bc6aee33e0d5d2ad11cc33741355d86c
|
24
tests/tests.yml
Normal file
24
tests/tests.yml
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- classic
|
||||
tasks:
|
||||
- dnf:
|
||||
name: "*"
|
||||
state: latest
|
||||
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
repositories:
|
||||
- repo: "https://src.fedoraproject.org/tests/python.git"
|
||||
dest: "python"
|
||||
tests:
|
||||
- marshalparser_compatibility312:
|
||||
dir: python/marshalparser
|
||||
run: VERSION=3.12 SAMPLE=200 test_marshalparser_compatibility.sh
|
||||
required_packages:
|
||||
- python3.12
|
||||
- marshalparser
|
Loading…
Reference in New Issue
Block a user