Blame marshalparser.spec

20993e7
Name:           marshalparser
3d6604f
Version:        0.3.3
603fb53
Release:        %autorelease
20993e7
Summary:        Parser for Python internal Marshal format
20993e7
20993e7
License:        MIT
20993e7
URL:            https://github.com/fedora-python/%{name}
20993e7
Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
20993e7
BuildArch:      noarch
20993e7
20993e7
BuildRequires:  python3-devel
20993e7
BuildRequires:  pyproject-rpm-macros
20993e7
20993e7
# For tests on various pyc files
20993e7
BuildRequires:  python3.6
20993e7
BuildRequires:  python3.7
20993e7
BuildRequires:  python3.8
20993e7
BuildRequires:  python3.9
e34b60a
BuildRequires:  python3.10
3d6604f
BuildRequires:  python3.11
3d6604f
BuildRequires:  python3.12
20993e7
20993e7
%generate_buildrequires
20993e7
%pyproject_buildrequires -t
20993e7
20993e7
%description
20993e7
Parser for Python internal Marshal format which can fix pyc files
20993e7
reproducibility.
20993e7
20993e7
%prep
20993e7
%autosetup
20993e7
20993e7
%build
20993e7
%pyproject_wheel
20993e7
20993e7
%install
20993e7
%pyproject_install
20993e7
%pyproject_save_files %{name}
20993e7
20993e7
%check
20993e7
%tox
20993e7
20993e7
%files -f %{pyproject_files}
20993e7
%license LICENSE
20993e7
%doc README.md
20993e7
%{_bindir}/%{name}
20993e7
20993e7
%changelog
603fb53
%autochangelog