diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-10 20:46:11 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 20:46:11 +0000 |
commit | 25f3d6705ba59843994cbd22cc04831ac739961a (patch) | |
tree | b07a865d81b31abe785668217b1fa025dd103b4c | |
parent | 76ea1644e5e6dacca479ec4464a7c5c0fbfd936f (diff) |
automatic import of python-alexapy
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-alexapy.spec | 202 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 204 insertions, 0 deletions
@@ -0,0 +1 @@ +/alexapy-1.26.5.tar.gz diff --git a/python-alexapy.spec b/python-alexapy.spec new file mode 100644 index 0000000..c0dc96c --- /dev/null +++ b/python-alexapy.spec @@ -0,0 +1,202 @@ +%global _empty_manifest_terminate_build 0 +Name: python-alexapy +Version: 1.26.5 +Release: 1 +Summary: Python API to control Amazon Echo Devices Programmatically. +License: Apache-2.0 +URL: https://gitlab.com/keatontaylor/alexapy +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a4/60/1d54024303725f3ec922550ab4b35ae850c6974558e0bf2373928ac49a48/alexapy-1.26.5.tar.gz +BuildArch: noarch + +Requires: python3-beautifulsoup4 +Requires: python3-aiofiles +Requires: python3-simplejson +Requires: python3-yarl +Requires: python3-requests +Requires: python3-certifi +Requires: python3-backoff +Requires: python3-pyotp +Requires: python3-authcaptureproxy +Requires: python3-cryptography + +%description +# alexapy + +[](https://opensource.org/licenses/Apache-2.0) +[](https://pypi.org/project/alexapy) +[](https://pypi.org/project/alexapy) +[](https://gitlab.com/keatontaylor/alexapy/commits/master) + + + + +Python Package for controlling Alexa devices (echo dot, etc) programmatically. This was originally designed for [alexa_media_player](https://github.com/custom-components/alexa_media_player) a custom_component for [Home Assistant](https://www.home-assistant.io/). + +**NOTE:** Alexa has no official API; therefore, this library may stop +working at any time without warning. + +# Credits +Originally inspired by [this blog](https://blog.loetzimmer.de/2017/10/amazon-alexa-hort-auf-die-shell-echo.html) [(GitHub)](https://github.com/thorsten-gehrig/alexa-remote-control). +Additional scaffolding from [simplisafe-python](https://github.com/bachya/simplisafe-python) + +# Contributing + +1. [Check for open features/bugs](https://gitlab.com/keatontaylor/alexapy/issues) + or [initiate a discussion on one](https://gitlab.com/keatontaylor/alexapy/issues/new). +2. [Fork the repository](https://gitlab.com/keatontaylor/alexapy/forks/new). +3. Install the dev environment: `make init`. +4. Enter the virtual environment: `pipenv shell` +5. Code your new feature or bug fix. +6. Write a test that covers your new functionality. +7. Update `README.md` with any new documentation. +8. Run tests and ensure 100% code coverage for your contribution: `make coverage` +9. Ensure you have no linting errors: `make lint` +10. Ensure you have typed your code correctly: `make typing` +11. Add yourself to `AUTHORS.md`. +12. Submit a pull request! + +# License +[Apache-2.0](LICENSE). By providing a contribution, you agree the contribution is licensed under Apache-2.0. + +# API Reference +[See the docs 📚](https://alexapy.readthedocs.io/en/latest/index.html). + + +%package -n python3-alexapy +Summary: Python API to control Amazon Echo Devices Programmatically. +Provides: python-alexapy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-alexapy +# alexapy + +[](https://opensource.org/licenses/Apache-2.0) +[](https://pypi.org/project/alexapy) +[](https://pypi.org/project/alexapy) +[](https://gitlab.com/keatontaylor/alexapy/commits/master) + + + + +Python Package for controlling Alexa devices (echo dot, etc) programmatically. This was originally designed for [alexa_media_player](https://github.com/custom-components/alexa_media_player) a custom_component for [Home Assistant](https://www.home-assistant.io/). + +**NOTE:** Alexa has no official API; therefore, this library may stop +working at any time without warning. + +# Credits +Originally inspired by [this blog](https://blog.loetzimmer.de/2017/10/amazon-alexa-hort-auf-die-shell-echo.html) [(GitHub)](https://github.com/thorsten-gehrig/alexa-remote-control). +Additional scaffolding from [simplisafe-python](https://github.com/bachya/simplisafe-python) + +# Contributing + +1. [Check for open features/bugs](https://gitlab.com/keatontaylor/alexapy/issues) + or [initiate a discussion on one](https://gitlab.com/keatontaylor/alexapy/issues/new). +2. [Fork the repository](https://gitlab.com/keatontaylor/alexapy/forks/new). +3. Install the dev environment: `make init`. +4. Enter the virtual environment: `pipenv shell` +5. Code your new feature or bug fix. +6. Write a test that covers your new functionality. +7. Update `README.md` with any new documentation. +8. Run tests and ensure 100% code coverage for your contribution: `make coverage` +9. Ensure you have no linting errors: `make lint` +10. Ensure you have typed your code correctly: `make typing` +11. Add yourself to `AUTHORS.md`. +12. Submit a pull request! + +# License +[Apache-2.0](LICENSE). By providing a contribution, you agree the contribution is licensed under Apache-2.0. + +# API Reference +[See the docs 📚](https://alexapy.readthedocs.io/en/latest/index.html). + + +%package help +Summary: Development documents and examples for alexapy +Provides: python3-alexapy-doc +%description help +# alexapy + +[](https://opensource.org/licenses/Apache-2.0) +[](https://pypi.org/project/alexapy) +[](https://pypi.org/project/alexapy) +[](https://gitlab.com/keatontaylor/alexapy/commits/master) + + + + +Python Package for controlling Alexa devices (echo dot, etc) programmatically. This was originally designed for [alexa_media_player](https://github.com/custom-components/alexa_media_player) a custom_component for [Home Assistant](https://www.home-assistant.io/). + +**NOTE:** Alexa has no official API; therefore, this library may stop +working at any time without warning. + +# Credits +Originally inspired by [this blog](https://blog.loetzimmer.de/2017/10/amazon-alexa-hort-auf-die-shell-echo.html) [(GitHub)](https://github.com/thorsten-gehrig/alexa-remote-control). +Additional scaffolding from [simplisafe-python](https://github.com/bachya/simplisafe-python) + +# Contributing + +1. [Check for open features/bugs](https://gitlab.com/keatontaylor/alexapy/issues) + or [initiate a discussion on one](https://gitlab.com/keatontaylor/alexapy/issues/new). +2. [Fork the repository](https://gitlab.com/keatontaylor/alexapy/forks/new). +3. Install the dev environment: `make init`. +4. Enter the virtual environment: `pipenv shell` +5. Code your new feature or bug fix. +6. Write a test that covers your new functionality. +7. Update `README.md` with any new documentation. +8. Run tests and ensure 100% code coverage for your contribution: `make coverage` +9. Ensure you have no linting errors: `make lint` +10. Ensure you have typed your code correctly: `make typing` +11. Add yourself to `AUTHORS.md`. +12. Submit a pull request! + +# License +[Apache-2.0](LICENSE). By providing a contribution, you agree the contribution is licensed under Apache-2.0. + +# API Reference +[See the docs 📚](https://alexapy.readthedocs.io/en/latest/index.html). + + +%prep +%autosetup -n alexapy-1.26.5 + +%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-alexapy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.26.5-1 +- Package Spec generated @@ -0,0 +1 @@ +c5913759980ac3babb63a115d73b5e4b alexapy-1.26.5.tar.gz |