Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 2032891 Details for
Bug 2280062
Review Request: python-exrex - Random string generation within bounds of regex
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh109 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
Migrated Products
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
The .spec file difference from Copr build 7435213 to 7437546
spec-from-7435213-to-7437546.diff (text/plain), 3.59 KB, created by
Fedora Review Service
on 2024-05-13 08:53:09 UTC
(
hide
)
Description:
The .spec file difference from Copr build 7435213 to 7437546
Filename:
MIME Type:
Creator:
Fedora Review Service
Created:
2024-05-13 08:53:09 UTC
Size:
3.59 KB
patch
obsolete
>--- https://copr.fedorainfracloud.org/coprs/build/7435213 >+++ https://copr.fedorainfracloud.org/coprs/build/7437546 >@@ -1,61 +1,70 @@ >-# Created by pyp2rpm-3.3.10 >-%global pypi_name exrex >-%global pypi_version 0.11.0 >- >-Name: python-%{pypi_name} >-Version: %{pypi_version} >-Release: 1%{?dist} >+Name: python-exrex >+Version: 0.11.0 >+Release: %autorelease > Summary: Irregular methods for regular expressions > > License: AGPL-3.0-or-later > URL: https://github.com/asciimoo/exrex >-Source0: %{pypi_source} >+Source: %{url}/archive/v%{version}/exrex-%{version}.tar.gz >+ > BuildArch: noarch > > BuildRequires: python3-devel >-BuildRequires: python3dist(setuptools) >+BuildRequires: help2man > >-%description >-Irregular methods for regular expressions.Exrex is a command line tool and >-python module that generates all - or random - matching strings to a given >-regular expression and more. It's pure python, without external >-dependencies.There are regular expressions with infinite matching strings (eg.: >-[a-z]+), in these cases exrex limits the maximum length of the infinite >-parts.Exrex uses generators,... >+%global _description %{expand: >+Exrex is a command line tool and python module that generates all - or random - >+maching strings to a given regular expression and more.} > >-%package -n python3-%{pypi_name} >+%description %{_description} >+ >+%package -n python3-exrex > Summary: %{summary} >-%{?python_provide:%python_provide python3-%{pypi_name}} > >-Requires: python3dist(setuptools) >-%description -n python3-%{pypi_name} >-Irregular methods for regular expressions.Exrex is a command line tool and >-python module that generates all - or random - matching strings to a given >-regular expression and more. It's pure python, without external >-dependencies.There are regular expressions with infinite matching strings (eg.: >-[a-z]+), in these cases exrex limits the maximum length of the infinite >-parts.Exrex uses generators,... >+%description -n python3-exrex %{_description} >+ >+%prep >+%autosetup -n exrex-%{version} >+ >+%generate_buildrequires >+%pyproject_buildrequires -t >+ >+%build >+%pyproject_wheel >+ >+%install >+%pyproject_install >+%pyproject_save_files -l exrex >+ >+# Rely on the generated entry point %%{_bindir}/exrex; do not package >+# %%{_bindir}/exrex.py, which is a copy of the entire library. If something >+# needs to execute exrex.py, we can add a symbolic or hard link with than name >+# for compatibility. >+rm '%{buildroot}%{_bindir}/exrex.py' >+ >+# The site-packages module does not have executable permissions, so it should >+# not have a shebang line. >+sed -r -i '1{/^#!/d}' '%{buildroot}%{python3_sitelib}/exrex.py' >+ >+# We need to do this in %%install rather than in %%build so we can use the >+# %%{_bindir}/exrex entry point. >+install -d '%{buildroot}%{_mandir}/man1' >+PYTHONPATH='%{buildroot}%{python3_sitelib}' help2man \ >+ --no-info \ >+ --version-string='%{version}' \ >+ --output='%{buildroot}%{_mandir}/man1/exrex.1' \ >+ '%{buildroot}%{_bindir}/exrex' > > >-%prep >-%autosetup -n %{pypi_name}-%{pypi_version} >-# Remove bundled egg-info >-rm -rf %{pypi_name}.egg-info >+%check >+%tox > >-%build >-%py3_build >- >-%install >-%py3_install >- >-%files -n python3-%{pypi_name} >+%files -n python3-exrex -f %{pyproject_files} > %doc README.md > %{_bindir}/exrex >-%{_bindir}/exrex.py >-%{python3_sitelib}/__pycache__/* >-%{python3_sitelib}/%{pypi_name}.py >-%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info >+%{_mandir}/man1/exrex.1* >+ > > %changelog >-* Fri May 10 2024 mockbuilder - 0.11.0-1 >-- Initial package. >+%autochangelog >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2280062
:
2032623
| 2032891