Toggle navigationtar.gzzipHTTPSSHread-onlyCurrent branch/tag:master rosa2012lts rosa2014.1 rosa2016.1 rosa2019.0 rosa2019.05 rosa2019.1 rosa2021.1 rosa2021.15 rosa2023.1rosa13-42.0.8-2 rosa13-44.0.1-1 rosa2014.1-0.7.2-1 rosa2014.1-1.1-1 rosa2014.1-1.1-2 rosa2014.1-1.1-3 rosa2016.1-1.1-3 rosa2016.1-1.3.2-1 rosa2016.1-1.5.3-1 rosa2016.1-1.5.3-2 rosa2016.1-1.7.2-1 rosa2016.1-2.6.1-2 rosa2019.0-2.6.1-4 rosa2019.0-2.6.1-5 rosa2019.05-2.6.1-5 rosa2019.1-2.6.1-1 rosa2019.1-2.6.1-2 rosa2019.1-2.8-1 rosa2019.1-2.8-2 rosa2019.1-2.9-1 rosa2019.1-3.1.1-1 rosa2019.1-3.2.1-1 rosa2019.1-3.2.1-2 rosa2019.1-3.2.1-3 rosa2021.1-3.4.7-1 rosa2021.1-3.4.8-1 rosa2021.1-3.4.8-2 rosa2021.15-3.4.8-2 rosa2023.1-3.4.8-2 rosa2023.1-3.4.8-3 rosa2023.1-3.4.8-4 rosa2023.1-41.0.3-1 rosa2023.1-41.0.3-2 rosa2023.1-41.0.7-1 rosa2023.1-42.0.8-1 rosa2023.1-42.0.8-2Cloning the repository:~ "cd python-cryptography"Add this repository as a remote to an existing local repository:~ "git fetch python-cryptography"~ "git checkout -b my-local-tracking-branch python-cryptography/master_or_other_branch" Files Commits Branches ({{singleton.project.branches_count}}) Tags (36)About project PyCA's cryptography library Last commitproklov_av has added baf03f5740 Update version to 44.0.1 Files inpython-cryptographypython-cryptography.spec 100644 | 82 lines (68 sloc) | 2.07 KB Raw | Blame | History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 # see https://github.com/pyca/cryptography/issues/9023 %global _disable_lto 1 %global debug_package %{nil} %global pypi_name cryptography Summary: PyCA's cryptography library Name: python-%{pypi_name} Version: 44.0.1 Release: 1 License: ASL 2.0 or BSD Group: Development/Python Url: https://cryptography.io/en/latest Source0: %pypi_source # use upd.sh for create vendor archive Source1: cryptography-vendor-44.0.1.tar.xz Source10: upd.sh BuildRequires: pyproject-rpm-macros BuildRequires: cargo BuildRequires: rust BuildRequires: python3dist(bcrypt) BuildRequires: python3dist(cryptography-vectors) BuildRequires: python3dist(pretend) BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-benchmark) BuildRequires: python3dist(certifi) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(python3) %description cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. #---------------------------------------------------------------------------- %package -n python3-%{pypi_name} Summary: PyCA's cryptography library Group: Development/Python Requires: openssl Requires: python3dist(cffi) Requires: python3dist(six) %description -n python3-%{pypi_name} cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.rst docs %license LICENSE LICENSE.APACHE LICENSE.BSD # Humm may be wrong place? %{python3_sitearch}/rust #---------------------------------------------------------------------------- %prep %autosetup -p1 -n %{pypi_name}-%{version} -a1 mkdir .cargo cat >.cargo/config.toml <<EOF [source.crates-io] replace-with = "vendored-sources" [source.vendored-sources] directory = "vendor" EOF %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pypi_name} %check # some tests fail on i686, not supported arch %ifnarch %{ix86} sed -i "s/ --benchmark-disable//" pyproject.toml sed -i "/def test_vector_version/,/^$/d" tests/test_utils.py %pytest %endif