%global _empty_manifest_terminate_build 0 Name: python-madeira Version: 1.0.24 Release: 1 Summary: Common AWS operation wrappers License: MIT URL: https://github.com/mxmader/madeira Source0: https://mirrors.aliyun.com/pypi/web/packages/76/81/3e11e8ea136fd07faece4dd356b0f9527701cea006327549f25d948705fc/madeira-1.0.24.tar.gz BuildArch: noarch Requires: python3-boto3 Requires: python3-madeira-utils %description # Madeira This is a python package which provides wrapper classes and convenience methods for the Amazon Web Servces (AWS) python deployment SDK (`boto3`). In several deployment automation projects I've built over the years, I've found that "bare metal control" over interaction with AWS services allows me to leverage features released by AWS into `boto3` the moment they're available, rather than waiting on 3rd party CM tool authors/vendors to wrap *all* required functionality. Concurrently, this reduces the footprint of project external dependencies. Given that most projects I work on are "pure python", this approach requires less mental context switching compared to using template-driven CM tools. ## Installation This package is hosted on [PyPI](pypi.org), so you may simply: ``` pip install --user madeira ``` ## Support Intended for use with Python 3.7 or later. ## Limitations Not all AWS services are represented; similarly, not all features of AWS services that are represented here are "wrapped". ## Package name origins Since the AWS python SDK is called `boto`, which refers to Amazon River dolphins, I figured I'd attempt to follow the pattern and name this after a tributary of the Amazon River, given that the point of these wrappers is to deploy objects into AWS, The analogy seemed to solve the problem of developer naming creativity... :stuck_out_tongue_winking_eye: %package -n python3-madeira Summary: Common AWS operation wrappers Provides: python-madeira BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-madeira # Madeira This is a python package which provides wrapper classes and convenience methods for the Amazon Web Servces (AWS) python deployment SDK (`boto3`). In several deployment automation projects I've built over the years, I've found that "bare metal control" over interaction with AWS services allows me to leverage features released by AWS into `boto3` the moment they're available, rather than waiting on 3rd party CM tool authors/vendors to wrap *all* required functionality. Concurrently, this reduces the footprint of project external dependencies. Given that most projects I work on are "pure python", this approach requires less mental context switching compared to using template-driven CM tools. ## Installation This package is hosted on [PyPI](pypi.org), so you may simply: ``` pip install --user madeira ``` ## Support Intended for use with Python 3.7 or later. ## Limitations Not all AWS services are represented; similarly, not all features of AWS services that are represented here are "wrapped". ## Package name origins Since the AWS python SDK is called `boto`, which refers to Amazon River dolphins, I figured I'd attempt to follow the pattern and name this after a tributary of the Amazon River, given that the point of these wrappers is to deploy objects into AWS, The analogy seemed to solve the problem of developer naming creativity... :stuck_out_tongue_winking_eye: %package help Summary: Development documents and examples for madeira Provides: python3-madeira-doc %description help # Madeira This is a python package which provides wrapper classes and convenience methods for the Amazon Web Servces (AWS) python deployment SDK (`boto3`). In several deployment automation projects I've built over the years, I've found that "bare metal control" over interaction with AWS services allows me to leverage features released by AWS into `boto3` the moment they're available, rather than waiting on 3rd party CM tool authors/vendors to wrap *all* required functionality. Concurrently, this reduces the footprint of project external dependencies. Given that most projects I work on are "pure python", this approach requires less mental context switching compared to using template-driven CM tools. ## Installation This package is hosted on [PyPI](pypi.org), so you may simply: ``` pip install --user madeira ``` ## Support Intended for use with Python 3.7 or later. ## Limitations Not all AWS services are represented; similarly, not all features of AWS services that are represented here are "wrapped". ## Package name origins Since the AWS python SDK is called `boto`, which refers to Amazon River dolphins, I figured I'd attempt to follow the pattern and name this after a tributary of the Amazon River, given that the point of these wrappers is to deploy objects into AWS, The analogy seemed to solve the problem of developer naming creativity... :stuck_out_tongue_winking_eye: %prep %autosetup -n madeira-1.0.24 %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-madeira -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Jun 20 2023 Python_Bot - 1.0.24-1 - Package Spec generated