Summary: Python cryptography library Name: python3-cryptography Version: 38.0.1 Release: 2%{?dist} Url: https://pypi.python.org/pypi/cryptography License: ASL 2.0 Group: Development/Languages/Python Vendor: VMware, Inc. Distribution: Photon Source0: https://pypi.io/packages/source/c/cryptography/cryptography-%{version}.tar.gz %define sha512 cryptography=a0e9eb645888a74e01377c0ed79427d066a50d10a9b628828195e82b7ee44ff59866f3659f2028541856bba818340c404e00061645c2676bc63f8ece42fd511e BuildRequires: openssl-devel BuildRequires: python3-devel BuildRequires: python3-cffi BuildRequires: python3-setuptools BuildRequires: python3-xml BuildRequires: python3-setuptools-rust BuildRequires: python3-typing-extensions BuildRequires: python3-semantic-version BuildRequires: rust BuildRequires: ca-certificates %if 0%{?with_check} BuildRequires: python3-pip BuildRequires: curl-devel %endif Requires: openssl Requires: python3 Requires: python3-libs Requires: python3-cffi Requires: python3-idna Requires: python3-pyasn1 Requires: python3-six Requires: python3-packaging Requires: python3-asn1crypto %description Cryptography is a Python library which exposes cryptographic recipes and primitives. %prep %autosetup -p1 -n cryptography-%{version} %build %{py3_build} %install %{py3_install} %check openssl req \ -new \ -newkey rsa:4096 \ -days 365 \ -nodes \ -x509 \ -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=photon.com" \ -keyout photon.key \ -out photon.cert openssl rsa -in photon.key -out photon.pem mv photon.pem /etc/ssl/certs pip3 install pretend pytest hypothesis iso8601 cryptography_vectors pytz python3 setup.py test %files %defattr(-,root,root,-) %{python3_sitelib}/* %changelog * Sun Nov 19 2023 Shreenidhi Shedi 38.0.1-2 - Bump version as a part of openssl upgrade * Mon Oct 17 2022 Prashant S Chauhan 38.0.1-1 - Update to 38.0.1 * Sat Nov 13 2021 Satya Naga Vasamsetty 3.3.2-1 - update to version 3.3.2 and openssl 3.0.0 support * Fri Nov 06 2020 Gerrit Photon 3.2.1-1 - Automatic Version Bump * Tue Sep 29 2020 Satya Naga Vasamsetty 3.1.1-2 - openssl 1.1.1 * Tue Sep 22 2020 Gerrit Photon 3.1.1-1 - Automatic Version Bump * Tue Sep 01 2020 Gerrit Photon 3.1-1 - Automatic Version Bump * Wed Aug 26 2020 Gerrit Photon 3.0-1 - Automatic Version Bump * Mon Jun 15 2020 Tapas Kundu 2.8-2 - Mass removal python2 * Tue Mar 03 2020 Tapas Kundu 2.8-1 - Update to version 2.8 - Fix make check * Sun Sep 09 2018 Tapas Kundu 2.3.1-1 - Update to version 2.3.1 * Mon Aug 14 2017 Xiaolin Li 2.0.3-1 - Updated to version 2.0.3. * Tue Jul 25 2017 Divya Thaluru 1.8.1-4 - Added missing requires python-six and python-enum34 - Removed python-enum from requires * Wed Jun 07 2017 Xiaolin Li 1.8.1-3 - Add python3-setuptools and python3-xml to python3 sub package Buildrequires. * Fri May 05 2017 Priyesh Padmavilasom 1.8.1-2 - Added missing requires python-enum * Tue Apr 04 2017 Xiaolin Li 1.8.1-1 - Updated to version 1.8.1. * Thu Feb 02 2017 Xiaolin Li 1.7.2-1 - Updated to version 1.7.2 and added python3 package. * Mon Oct 03 2016 ChangLee 1.2.3-3 - Modified %check * Tue May 24 2016 Priyesh Padmavilasom 1.2.3-2 - GA - Bump release of all rpms * Mon Mar 07 2016 Anish Swaminathan 1.2.3-1 - Upgrade to 1.2.3 * Fri Feb 26 2016 Anish Swaminathan 1.2.2-1 - Upgrade version to 1.2.2 * Thu Jan 21 2016 Anish Swaminathan 1.2.1-1 - Upgrade version * Wed Nov 18 2015 Divya Thaluru 1.1-1 - Initial packaging for Photon