diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:41:58 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:41:58 +0000 |
commit | 7feec5bada3cfdee1409b7cb2a89f9a0534742c9 (patch) | |
tree | 58157118b09689bfdab8e08ccff9558999b87ee1 | |
parent | c474ad8026e168208156f6f17941fb1924bf0343 (diff) |
automatic import of python-cryptojwtopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-cryptojwt.spec | 101 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 103 insertions, 0 deletions
@@ -0,0 +1 @@ +/cryptojwt-1.8.3.tar.gz diff --git a/python-cryptojwt.spec b/python-cryptojwt.spec new file mode 100644 index 0000000..e27f186 --- /dev/null +++ b/python-cryptojwt.spec @@ -0,0 +1,101 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cryptojwt +Version: 1.8.3 +Release: 1 +Summary: Python implementation of JWT, JWE, JWS and JWK +License: Apache-2.0 +URL: https://github.com/IdentityPython/JWTConnect-Python-CryptoJWT +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/32/09/ee9d76a9288def0ec7457913a4e66f4b2377f1c29fafa2f89e40e755077d/cryptojwt-1.8.3.tar.gz +BuildArch: noarch + +Requires: python3-cryptography +Requires: python3-requests + +%description +# cryptojwt + + + +[](https://github.com/psf/black) + +An implementation of the JSON cryptographic specs JWS, JWE, JWK, and JWA [RFC 7515-7518] and JSON Web Token (JWT) [RFC 7519] + +Please read the [Official Documentation](https://cryptojwt.readthedocs.io/en/latest/) for getting usage examples and further informations. + + +%package -n python3-cryptojwt +Summary: Python implementation of JWT, JWE, JWS and JWK +Provides: python-cryptojwt +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-cryptojwt +# cryptojwt + + + +[](https://github.com/psf/black) + +An implementation of the JSON cryptographic specs JWS, JWE, JWK, and JWA [RFC 7515-7518] and JSON Web Token (JWT) [RFC 7519] + +Please read the [Official Documentation](https://cryptojwt.readthedocs.io/en/latest/) for getting usage examples and further informations. + + +%package help +Summary: Development documents and examples for cryptojwt +Provides: python3-cryptojwt-doc +%description help +# cryptojwt + + + +[](https://github.com/psf/black) + +An implementation of the JSON cryptographic specs JWS, JWE, JWK, and JWA [RFC 7515-7518] and JSON Web Token (JWT) [RFC 7519] + +Please read the [Official Documentation](https://cryptojwt.readthedocs.io/en/latest/) for getting usage examples and further informations. + + +%prep +%autosetup -n cryptojwt-1.8.3 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-cryptojwt -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.8.3-1 +- Package Spec generated @@ -0,0 +1 @@ +e3f3236631628d55e1b1b40de456364c cryptojwt-1.8.3.tar.gz |