Compare commits

..

No commits in common. "c10s" and "c9-beta" have entirely different histories.

8 changed files with 53 additions and 108 deletions

14
.gitignore vendored
View File

@ -1,13 +1 @@
/marshalparser-0.1.1.tar.gz SOURCES/marshalparser-0.3.0.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
.marshalparser.metadata Normal file
View File

@ -0,0 +1 @@
e1780d46e43c2548e614a99aa28b96a4c08dfc1e SOURCES/marshalparser-0.3.0.tar.gz

View File

@ -1,3 +0,0 @@
# marshalparser
The marshalparser package

View File

@ -1,15 +1,57 @@
* Sat Nov 05 2022 Lumír Balhar <lbalhar@redhat.com> - 0.3.3-1 Name: marshalparser
- Update to 0.3.3 Version: 0.3.0
Resolves: rhbz#2140261 Release: 5%{?dist}
Summary: Parser for Python internal Marshal format
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-3 License: MIT
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild URL: https://github.com/fedora-python/%{name}
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.3.1-2 BuildRequires: python3-devel
- Rebuilt for Python 3.11 BuildRequires: pyproject-rpm-macros
* Mon May 16 2022 Lumír Balhar <lbalhar@redhat.com> - 0.3.1-1 # Test dependencies
- Update to 0.3.1 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
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2 * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

View File

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

View File

@ -1,53 +0,0 @@
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

View File

@ -1 +0,0 @@
SHA512 (marshalparser-0.3.4.tar.gz) = 51ee373fed1cf4c9fb4f5453590ce6275fd84ee386bfc5e86af5c9c24cbbdfe9781fd9a37f227334300bd43019180f60bc6aee33e0d5d2ad11cc33741355d86c

View File

@ -1,24 +0,0 @@
---
- 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