Compare commits

...

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

8 changed files with 41 additions and 10 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/marshalparser-0.3.0.tar.gz
/marshalparser-0.3.0.tar.gz
/marshalparser-0.3.4.tar.gz

View File

@ -1 +1 @@
e1780d46e43c2548e614a99aa28b96a4c08dfc1e SOURCES/marshalparser-0.3.0.tar.gz
27d0905c27535dfbf13871c4d4ce4bcb146dad72 marshalparser-0.3.4.tar.gz

6
gating.yaml Normal file
View 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}

View File

@ -1,6 +1,6 @@
Name: marshalparser
Version: 0.3.0
Release: 5%{?dist}
Version: 0.3.4
Release: 1%{?dist}
Summary: Parser for Python internal Marshal format
License: MIT
@ -12,10 +12,10 @@ BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros
# Test dependencies
BuildRequires: python3-pytest
BuildRequires: python3.11
%generate_buildrequires
%pyproject_buildrequires
%pyproject_buildrequires -x test
%description
Parser for Python internal Marshal format which can fix pyc files
@ -24,10 +24,6 @@ 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
@ -44,6 +40,10 @@ rm -rf test/python_stdlib/{3.10,3.11,3.6,3.7,3.8}
%{_bindir}/%{name}
%changelog
* Tue Mar 28 2023 Lumír Balhar <lbalhar@redhat.com> - 0.3.4-1
- Rebase to 0.3.4 and enable testing with Python 3.11
Resolves: RHEL-309
* Thu May 05 2022 Tomas Orsava <torsava@redhat.com> - 0.3.0-5
- Rebuild to imrove gating

13
plans/main.fmf Normal file
View File

@ -0,0 +1,13 @@
discover:
how: fmf
dist-git-source: true
execute:
how: tmt
prepare:
how: shell
script: |
dnf install -y "dnf-command(config-manager)" ;
dnf config-manager --set-enabled crb || rhel-CRB || true

1
sources Normal file
View File

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

9
tests/upstream.fmf Normal file
View File

@ -0,0 +1,9 @@
test: |
pytest -v test.py
path: marshalparser-0.3.4/
require:
- python3-pytest
- pyproject-rpm-macros
- python3-devel
- python3.11
duration: 15m