Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37732244
en ru br
ALT Linux repos
S:0.1.5-alt5

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

%define oname unicode_slugify

%def_without check

Name: python3-module-%oname
Version: 0.1.5
Release: alt5

Summary: A slugifier that works in unicode
License: BSD-3-Clause
BuildArch: noarch
Group: Development/Python3
Url: https://pypi.org/project/unicode-slugify

# https://github.com/mozilla/unicode-slugify.git

Source: %name-%version.tar
Patch1: %name-%version-alt.patch

BuildRequires(pre): rpm-build-intro >= 2.2.4
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(six) python3(unidecode)

%description
Unicode Slugify is a slugifier that generates unicode slugs.
It was originally used in the Firefox Add-ons web site
to generate slugs for add-ons and add-on collections.
Many of these add-ons and collections had
unicode characters and required more than simple transliteration.

%prep
%setup
%patch1 -p1

%build
%python3_build

%install
%python3_install
%python3_prune

%check
python3 setup.py test

%files
%doc README.md LICENSE
%python3_sitelibdir/*
%exclude %python3_sitelibdir/%oname/tests.*


%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