summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-08-22 07:31:20 +0000
committerCoprDistGit <infra@openeuler.org>2023-08-22 07:31:20 +0000
commit906fc7cd77a369558d23ba13779b8b2f77c0fa24 (patch)
treef3bce9bfd70bfcf9e51ef50075b8124761532870
parent5699e4ef7acda3813bd6f6648733ef5daf4af65f (diff)
automatic import of python-precis_i18nopeneuler23.03
-rw-r--r--.gitignore1
-rw-r--r--python-precis_i18n.spec82
-rw-r--r--sources1
3 files changed, 84 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..83680cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/precis_i18n-1.0.4.tar.gz
diff --git a/python-precis_i18n.spec b/python-precis_i18n.spec
new file mode 100644
index 0000000..ece700f
--- /dev/null
+++ b/python-precis_i18n.spec
@@ -0,0 +1,82 @@
+%global srcname precis_i18n
+
+Name: python-%{srcname}
+Version: 1.0.4
+Release: 1
+Summary: Python library for internationalized usernames and passwords
+License: MIT
+URL: https://github.com/byllyfish/precis_i18n
+Source0: https://github.com/byllyfish/precis_i18n/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
+BuildArch: noarch
+
+%global desc If you want your application to accept Unicode user names and passwords, you\
+must be careful in how you validate and compare them. The PRECIS framework\
+makes internationalized user names and passwords safer for use by applications.\
+PRECIS profiles transform Unicode strings into a canonical form, suitable for\
+comparison.\
+\
+This Python 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)
+
+%description
+%{desc}
+
+%package -n python3-%{srcname}
+Summary: %{summary}
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+%{?python_provide:%python_provide python3-%{srcname}}
+
+%description -n python3-%{srcname}
+%{desc}
+
+%prep
+%autosetup -p1 -n %{srcname}-%{version}
+
+%build
+%py3_build
+
+%install
+%py3_install
+
+%check
+%{__python3} setup.py test
+
+%files -n python3-%{srcname}
+%license LICENSE.txt
+%doc README.rst CHANGELOG.rst
+%{python3_sitelib}/%{srcname}-*.egg-info/
+%{python3_sitelib}/%{srcname}/
+
+%changelog
+* Mon Aug 21 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.0.4-1
+- Upgrade version to 1.0.4
+
+* Wed Jun 08 2022 tanyulong <tanyulong@kylinos.cn> - 1.0.1-4
+- update upstream version
+
+* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Mon Jul 22 2019 Michal Schmidt <mschmidt@redhat.com> - 1.0.1-2
+- Support Unicode 12.1 for Python 3.8.
+
+* Mon Jul 22 2019 Michal Schmidt <mschmidt@redhat.com> - 1.0.1-1
+- Upstream release 1.0.1.
+
+* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Mon Jan 28 2019 Michal Schmidt <mschmidt@redhat.com> - 1.0-2
+- In the package description spell "Unicode" with uppercase U.
+
+* Wed Jan 23 2019 Michal Schmidt <mschmidt@redhat.com> - 1.0-1
+- Initial package.
diff --git a/sources b/sources
new file mode 100644
index 0000000..e060290
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b4009be4dd90113972e3399f20e08c67 precis_i18n-1.0.4.tar.gz