Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
python-precis-i18n
python-precis-i18n.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-precis-i18n.spec of Package python-precis-i18n
# # spec file for package python-precis-i18n # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 %define _name precis_i18n Name: python-precis-i18n Version: 1.0.1 Release: 0 Summary: Internationalised Usernames and Passwords License: MIT Group: Development/Languages/Python URL: https://github.com/byllyfish/precis_i18n Source: https://github.com/byllyfish/precis_i18n/archive/v%{version}.tar.gz # imported from upstream 7b6987e20 to add python 3.8 support Patch1: support_unicode_12.1_for_python_3.8.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages %description The PRECIS framework makes internationalised user names and passwords safer for use by applications. PRECIS profiles transform unicode strings into a canonical form, suitable for comparison. This module implements the PRECIS Framework as described in: - PRECIS Framework: Preparation, Enforcement, and Comparison of Internationalized Strings in Application Protocols (RFC 8264). - Preparation, Enforcement, and Comparison of Internationalized Strings Representing Usernames and Passwords (RFC 8265). - Preparation, Enforcement, and Comparison of Internationalized Strings Representing Nicknames (RFC 8266). %prep %autosetup -n %{_name}-%{version} -p1 %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib}/ %check %python_exec setup.py test %files %{python_files} %license LICENSE.txt %doc CHANGELOG.rst README.rst %{python_sitelib}/%{_name}/ %{python_sitelib}/%{_name}-* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor