diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-unimatrix-ext-crypto.spec | 267 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 269 insertions, 0 deletions
@@ -0,0 +1 @@ +/unimatrix.ext.crypto-0.24.0.tar.gz diff --git a/python-unimatrix-ext-crypto.spec b/python-unimatrix-ext-crypto.spec new file mode 100644 index 0000000..ade85ea --- /dev/null +++ b/python-unimatrix-ext-crypto.spec @@ -0,0 +1,267 @@ +%global _empty_manifest_terminate_build 0 +Name: python-unimatrix.ext.crypto +Version: 0.24.0 +Release: 1 +Summary: Enter a description for this Unimatrix package +License: GNU General Public License (GPL) +URL: https://gitlab.com/unimatrixone/libraries/python-unimatrix +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f8/c5/b030a3c10ff47dccb2de30da1f87b15649c97137f624b2dfdbeb5f987063/unimatrix.ext.crypto-0.24.0.tar.gz +BuildArch: noarch + + +%description +# Cryptographic Abstraction Layer + +The `unimatrix.ext.crypto` package provides an abstraction layer to +apply cryptographic algorithms independent of the key management technology +used. + +Install `unimatrix.ext.crypto`: + +``` +$ $ pip install --upgrade unimatrix.ext.crypto +``` + +Make sure that your local environment satisfies the [specified prequisites](#prequisites). + +Head over to the [development section](#developing) if you plan to contribute +to this project. The technical documentation is available at +https://unimatrixone.gitlab.io/libraries/python-unimatrix/crypto/. + + +## Prequisites + +The following Python version(s) are compatible with the `unimatrix.ext.crypto` package: + +- 3.8 +- 3.9 + +To install or upgrade Python, visit https://www.python.org/downloads/ and +choose one of the supported releases. + +## Developing ## + +Clone the source code repository: + +``` +$ git clone git@gitlab.com:unimatrixone/libraries/python-unimatrix/crypto.git +``` + +- Run `make env` to set up the local development environment. +- Run `make console` to start a Python interpreter. +- If new requirements are added to the project (see `git log requirements.txt`), + run `make depsrebuild`. +- Export the environment variables to a file with `make .env`. Use this command + when integrating with third-party IDEs such as Eclipse or VSCode. Do not check + in this file to the version control system - it is local to your environment + only. +- Build the technical documentation with `make documentation`. +- Additional targets may be specified in [`config.mk`](./config.mk). + +## License + +Proprietary + +[Click or tap here for licensing requests](mailto:cochise.ruhulessin@unimatrixone.io). + +## Author information + +This Python package was created by **Cochise Ruhulessin** for the +[Unimatrix One](https://cloud.unimatrixone.io) project. + +- [Send me an email](mailto:cochise.ruhulessin@unimatrixone.io) +- [GitLab](https://gitlab.com/unimatrixone) +- [GitHub](https://github.com/cochiseruhulessin) +- [LinkedIn](https://www.linkedin.com/in/cochise-ruhulessin-0b48358a/) +- [Twitter](https://twitter.com/magicalcochise) + + + +%package -n python3-unimatrix.ext.crypto +Summary: Enter a description for this Unimatrix package +Provides: python-unimatrix.ext.crypto +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-unimatrix.ext.crypto +# Cryptographic Abstraction Layer + +The `unimatrix.ext.crypto` package provides an abstraction layer to +apply cryptographic algorithms independent of the key management technology +used. + +Install `unimatrix.ext.crypto`: + +``` +$ $ pip install --upgrade unimatrix.ext.crypto +``` + +Make sure that your local environment satisfies the [specified prequisites](#prequisites). + +Head over to the [development section](#developing) if you plan to contribute +to this project. The technical documentation is available at +https://unimatrixone.gitlab.io/libraries/python-unimatrix/crypto/. + + +## Prequisites + +The following Python version(s) are compatible with the `unimatrix.ext.crypto` package: + +- 3.8 +- 3.9 + +To install or upgrade Python, visit https://www.python.org/downloads/ and +choose one of the supported releases. + +## Developing ## + +Clone the source code repository: + +``` +$ git clone git@gitlab.com:unimatrixone/libraries/python-unimatrix/crypto.git +``` + +- Run `make env` to set up the local development environment. +- Run `make console` to start a Python interpreter. +- If new requirements are added to the project (see `git log requirements.txt`), + run `make depsrebuild`. +- Export the environment variables to a file with `make .env`. Use this command + when integrating with third-party IDEs such as Eclipse or VSCode. Do not check + in this file to the version control system - it is local to your environment + only. +- Build the technical documentation with `make documentation`. +- Additional targets may be specified in [`config.mk`](./config.mk). + +## License + +Proprietary + +[Click or tap here for licensing requests](mailto:cochise.ruhulessin@unimatrixone.io). + +## Author information + +This Python package was created by **Cochise Ruhulessin** for the +[Unimatrix One](https://cloud.unimatrixone.io) project. + +- [Send me an email](mailto:cochise.ruhulessin@unimatrixone.io) +- [GitLab](https://gitlab.com/unimatrixone) +- [GitHub](https://github.com/cochiseruhulessin) +- [LinkedIn](https://www.linkedin.com/in/cochise-ruhulessin-0b48358a/) +- [Twitter](https://twitter.com/magicalcochise) + + + +%package help +Summary: Development documents and examples for unimatrix.ext.crypto +Provides: python3-unimatrix.ext.crypto-doc +%description help +# Cryptographic Abstraction Layer + +The `unimatrix.ext.crypto` package provides an abstraction layer to +apply cryptographic algorithms independent of the key management technology +used. + +Install `unimatrix.ext.crypto`: + +``` +$ $ pip install --upgrade unimatrix.ext.crypto +``` + +Make sure that your local environment satisfies the [specified prequisites](#prequisites). + +Head over to the [development section](#developing) if you plan to contribute +to this project. The technical documentation is available at +https://unimatrixone.gitlab.io/libraries/python-unimatrix/crypto/. + + +## Prequisites + +The following Python version(s) are compatible with the `unimatrix.ext.crypto` package: + +- 3.8 +- 3.9 + +To install or upgrade Python, visit https://www.python.org/downloads/ and +choose one of the supported releases. + +## Developing ## + +Clone the source code repository: + +``` +$ git clone git@gitlab.com:unimatrixone/libraries/python-unimatrix/crypto.git +``` + +- Run `make env` to set up the local development environment. +- Run `make console` to start a Python interpreter. +- If new requirements are added to the project (see `git log requirements.txt`), + run `make depsrebuild`. +- Export the environment variables to a file with `make .env`. Use this command + when integrating with third-party IDEs such as Eclipse or VSCode. Do not check + in this file to the version control system - it is local to your environment + only. +- Build the technical documentation with `make documentation`. +- Additional targets may be specified in [`config.mk`](./config.mk). + +## License + +Proprietary + +[Click or tap here for licensing requests](mailto:cochise.ruhulessin@unimatrixone.io). + +## Author information + +This Python package was created by **Cochise Ruhulessin** for the +[Unimatrix One](https://cloud.unimatrixone.io) project. + +- [Send me an email](mailto:cochise.ruhulessin@unimatrixone.io) +- [GitLab](https://gitlab.com/unimatrixone) +- [GitHub](https://github.com/cochiseruhulessin) +- [LinkedIn](https://www.linkedin.com/in/cochise-ruhulessin-0b48358a/) +- [Twitter](https://twitter.com/magicalcochise) + + + +%prep +%autosetup -n unimatrix.ext.crypto-0.24.0 + +%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-unimatrix.ext.crypto -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.24.0-1 +- Package Spec generated @@ -0,0 +1 @@ +e136957203aa2f37bc8bf3382dbb3c03 unimatrix.ext.crypto-0.24.0.tar.gz |