Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37535352
en ru br
ALT Linux repos
S:2023.5.5-alt1

Group :: Development/Python3
RPM: python3-module-regex

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

%def_without check

%define modulename regex
Name: python3-module-regex
Version: 2023.5.5
Release: alt1

Summary: Alternative regular expression module, to replace re
License: Python
Group: Development/Python3
Url: https://pypi.org/project/regex/

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: https://pypi.io/packages/source/r/%modulename/%modulename-%version.tar.gz

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3

%description
This regex implementation is backwards-compatible with the standard 're' module, but offers additional functionality.

%prep
%setup

%build
%python3_build_debug

%install
%python3_install

# don't package tests

rm -r %buildroot%python3_sitelibdir/regex/test_regex.py
rm %buildroot%python3_sitelibdir/regex/__pycache__/test_regex.*

%files
%doc README.rst docs/
%python3_sitelibdir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin