# -*- coding: ascii; tab-width: 4 -*-
Info2: <<
Package: regex-py%type_pkg[python]
Version: 2023.12.25
Revision: 1
Type: python (3.7 3.8 3.9 3.10)

Description: Alternate regular expr. module, to replace re
DescDetail: <<
    regex is an alternative to the re package in the Python standard
    library. It is intended to act as a drop in replacement, and one day to
    replace re.
<<
Maintainer: Daniel Johnson <daniel@daniel-johnson.org>
License: OSI-Approved
Homepage: https://pypi.org/project/regex

Source: https://files.pythonhosted.org/packages/source/r/regex/regex-%v.tar.gz
Source-Checksum: SHA256(29171aa128da69afdf4bde412d5bedc335f2ca8fcfe4489038577d05f16181e5)

Depends: python%type_pkg[python]
BuildDepends: setuptools-tng-py%type_pkg[python]

CompileScript: %p/bin/python%type_raw[python] setup.py build

InfoTest: <<
    TestScript: <<
		#!/bin/bash -ev
		PYTHONPATH=$(ls -d %b/build/lib.macosx-*-%type_raw[python]) %p/bin/python%type_raw[python] -m unittest -v regex.test_regex || exit 2
		find ./build -name "*.pyc" -delete
    <<
<<
        
InstallScript: %p/bin/python%type_raw[python] setup.py install --root=%d

DocFiles: LICENSE.txt README.rst docs/*
<<