summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-21 15:52:33 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-21 15:52:33 +0000
commit1aaf201f519ae3e683f9982f9f9feea6364974a9 (patch)
tree0269bc670e71cfb1841b94d064f2cfb67a07f4e3
parent9e17184cd37b92b6b2eb76aa570d24dfc5a5b90c (diff)
automatic import of python-awscrtopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-awscrt.spec116
-rw-r--r--sources2
3 files changed, 102 insertions, 17 deletions
diff --git a/.gitignore b/.gitignore
index 48f7351..34e56c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/awscrt-0.16.13.tar.gz
+/awscrt-0.16.15.tar.gz
diff --git a/python-awscrt.spec b/python-awscrt.spec
index 64da321..602c36d 100644
--- a/python-awscrt.spec
+++ b/python-awscrt.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-awscrt
-Version: 0.16.13
+Version: 0.16.15
Release: 1
Summary: A common runtime for AWS Python projects
License: Apache 2.0
URL: https://github.com/awslabs/aws-crt-python
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d1/0f/b70b4ee10b4eff4c6db54cd7b9240c4fd47430b1abab3feea935f00463a3/awscrt-0.16.13.tar.gz
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/cc/a0/ef5ab2a0d1a71be71e2decf2d9f762ccf54ab5d3b277e7250f8bd8ed3f34/awscrt-0.16.15.tar.gz
%description
@@ -23,25 +23,53 @@ Python 3 bindings for the AWS Common Runtime.
This library is licensed under the Apache 2.0 License.
## Minimum Requirements:
+
* Python 3.7+
## Installation
To install from pip:
-````bash
+
+```bash
python3 -m pip install awscrt
-````
+```
To install from Github:
-````bash
+
+```bash
git clone https://github.com/awslabs/aws-crt-python.git
cd aws-crt-python
git submodule update --init
python3 -m pip install .
-````
+```
To use from your Python application, declare `awscrt` as a dependency in your `setup.py` file.
+### OpenSSL and LibCrypto (Unix only)
+
+aws-crt-python does not use OpenSSL for TLS.
+On Apple and Windows devices, the OS's default TLS library is used.
+On Unix devices, [s2n-tls](https://github.com/aws/s2n-tls) is used.
+But s2n-tls uses libcrypto, the cryptography math library bundled with OpenSSL.
+
+To simplify installation, aws-crt-python has its own copy of libcrypto.
+This lets you install a wheel from PyPI without having OpenSSL installed.
+Unix wheels on PyPI come with libcrypto statically compiled in.
+Code to build libcrypto comes from [AWS-LC](https://github.com/aws/aws-lc).
+AWS-LC's code is included in the PyPI source package,
+and the git repository includes it as a submodule.
+
+If you need aws-crt-python to use the libcrypto included on your system,
+set environment variable `AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO=1` while building from source:
+
+```sh
+AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO=1 python3 -m pip install --no-binary :all: --verbose awscrt
+```
+( `--no-binary :all:` ensures you do not use the precompiled wheel from PyPI)
+
+You can ignore all this on Windows and Apple platforms, where aws-crt-python
+uses the OS's default libraries for TLS and cryptography math.
+
## Mac-Only TLS Behavior
Please note that on Mac, once a private key is used with a certificate, that certificate-key pair is imported into the Mac Keychain. All subsequent uses of that certificate will use the stored private key and ignore anything passed in programmatically. Beginning in v0.6.2, when a stored private key from the Keychain is used, the following will be logged at the "info" log level:
@@ -75,25 +103,53 @@ Python 3 bindings for the AWS Common Runtime.
This library is licensed under the Apache 2.0 License.
## Minimum Requirements:
+
* Python 3.7+
## Installation
To install from pip:
-````bash
+
+```bash
python3 -m pip install awscrt
-````
+```
To install from Github:
-````bash
+
+```bash
git clone https://github.com/awslabs/aws-crt-python.git
cd aws-crt-python
git submodule update --init
python3 -m pip install .
-````
+```
To use from your Python application, declare `awscrt` as a dependency in your `setup.py` file.
+### OpenSSL and LibCrypto (Unix only)
+
+aws-crt-python does not use OpenSSL for TLS.
+On Apple and Windows devices, the OS's default TLS library is used.
+On Unix devices, [s2n-tls](https://github.com/aws/s2n-tls) is used.
+But s2n-tls uses libcrypto, the cryptography math library bundled with OpenSSL.
+
+To simplify installation, aws-crt-python has its own copy of libcrypto.
+This lets you install a wheel from PyPI without having OpenSSL installed.
+Unix wheels on PyPI come with libcrypto statically compiled in.
+Code to build libcrypto comes from [AWS-LC](https://github.com/aws/aws-lc).
+AWS-LC's code is included in the PyPI source package,
+and the git repository includes it as a submodule.
+
+If you need aws-crt-python to use the libcrypto included on your system,
+set environment variable `AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO=1` while building from source:
+
+```sh
+AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO=1 python3 -m pip install --no-binary :all: --verbose awscrt
+```
+( `--no-binary :all:` ensures you do not use the precompiled wheel from PyPI)
+
+You can ignore all this on Windows and Apple platforms, where aws-crt-python
+uses the OS's default libraries for TLS and cryptography math.
+
## Mac-Only TLS Behavior
Please note that on Mac, once a private key is used with a certificate, that certificate-key pair is imported into the Mac Keychain. All subsequent uses of that certificate will use the stored private key and ignore anything passed in programmatically. Beginning in v0.6.2, when a stored private key from the Keychain is used, the following will be logged at the "info" log level:
@@ -121,25 +177,53 @@ Python 3 bindings for the AWS Common Runtime.
This library is licensed under the Apache 2.0 License.
## Minimum Requirements:
+
* Python 3.7+
## Installation
To install from pip:
-````bash
+
+```bash
python3 -m pip install awscrt
-````
+```
To install from Github:
-````bash
+
+```bash
git clone https://github.com/awslabs/aws-crt-python.git
cd aws-crt-python
git submodule update --init
python3 -m pip install .
-````
+```
To use from your Python application, declare `awscrt` as a dependency in your `setup.py` file.
+### OpenSSL and LibCrypto (Unix only)
+
+aws-crt-python does not use OpenSSL for TLS.
+On Apple and Windows devices, the OS's default TLS library is used.
+On Unix devices, [s2n-tls](https://github.com/aws/s2n-tls) is used.
+But s2n-tls uses libcrypto, the cryptography math library bundled with OpenSSL.
+
+To simplify installation, aws-crt-python has its own copy of libcrypto.
+This lets you install a wheel from PyPI without having OpenSSL installed.
+Unix wheels on PyPI come with libcrypto statically compiled in.
+Code to build libcrypto comes from [AWS-LC](https://github.com/aws/aws-lc).
+AWS-LC's code is included in the PyPI source package,
+and the git repository includes it as a submodule.
+
+If you need aws-crt-python to use the libcrypto included on your system,
+set environment variable `AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO=1` while building from source:
+
+```sh
+AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO=1 python3 -m pip install --no-binary :all: --verbose awscrt
+```
+( `--no-binary :all:` ensures you do not use the precompiled wheel from PyPI)
+
+You can ignore all this on Windows and Apple platforms, where aws-crt-python
+uses the OS's default libraries for TLS and cryptography math.
+
## Mac-Only TLS Behavior
Please note that on Mac, once a private key is used with a certificate, that certificate-key pair is imported into the Mac Keychain. All subsequent uses of that certificate will use the stored private key and ignore anything passed in programmatically. Beginning in v0.6.2, when a stored private key from the Keychain is used, the following will be logged at the "info" log level:
@@ -150,7 +234,7 @@ static: certificate has an existing certificate-key pair that was previously imp
%prep
-%autosetup -n awscrt-0.16.13
+%autosetup -n awscrt-0.16.15
%build
%py3_build
@@ -190,5 +274,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.16.13-1
+* Fri Apr 21 2023 Python_Bot <Python_Bot@openeuler.org> - 0.16.15-1
- Package Spec generated
diff --git a/sources b/sources
index b3c94bd..025f7c3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-242f4878cd5c05a5428bde8c761fe89e awscrt-0.16.13.tar.gz
+407ddeceb5887b964e0f7909f2226ac2 awscrt-0.16.15.tar.gz