diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 09:27:43 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 09:27:43 +0000 |
commit | 074d2c8222ed2bebcecb2e19ec2cb87b2c78fc06 (patch) | |
tree | 70e1a95e027b39c220d0b99672efe38357eb4481 | |
parent | a6dc157c9707969217966e1c74fc00e9e2d96ea9 (diff) |
automatic import of python-pomaceopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pomace.spec | 282 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 284 insertions, 0 deletions
@@ -0,0 +1 @@ +/pomace-0.12.1.tar.gz diff --git a/python-pomace.spec b/python-pomace.spec new file mode 100644 index 0000000..fa4c00f --- /dev/null +++ b/python-pomace.spec @@ -0,0 +1,282 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pomace +Version: 0.12.1 +Release: 1 +Summary: Dynamic page objects for browser automation. +License: MIT +URL: https://pypi.org/project/pomace +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/33/be/bf752ae1de82461cb0c43bf79ec465895f7d29c5908667b8de847520bb3d/pomace-0.12.1.tar.gz +BuildArch: noarch + +Requires: python3-cleo +Requires: python3-bullet +Requires: python3-ipdb +Requires: python3-ipython +Requires: python3-flask-api +Requires: python3-universal-startfile +Requires: python3-playwright +Requires: python3-selenium +Requires: python3-splinter +Requires: python3-webdriver_manager +Requires: python3-datafiles +Requires: python3-gitman +Requires: python3-parse +Requires: python3-faker +Requires: python3-zipcodes +Requires: python3-us +Requires: python3-fake-useragent +Requires: python3-beautifulsoup4 +Requires: python3-inflection +Requires: python3-minilog +Requires: python3-nest-asyncio + +%description +# Pomace + +Dynamic page objects for browser automation. + +[](https://github.com/jacebrowning/pomace/actions) +[](https://ci.appveyor.com/project/jacebrowning/pomace) +[](https://codecov.io/gh/jacebrowning/pomace) +[](https://pypi.org/project/pomace) +[](https://pypi.org/project/pomace) + +## Quick Start + +Open **Terminal.app** in macOS and paste: + +```shell +python3 -m pip install --upgrade pomace && python3 -m pomace run +``` + +or if you have Homebrew: + +```shell +brew install pipx; pipx run --no-cache pomace run +``` + +## Full Demo + +If you're planning to run Pomace multiple times, install it with [pipx](https://pipxproject.github.io/pipx/) first: + +```shell +pipx install pomace +``` + +or get the latest version: + +```shell +pipx upgrade pomace +``` + +Then download some site models: + +```shell +pomace clone https://github.com/jacebrowning/pomace-twitter.com +``` + +And launch the application: + +```shell +pomace run twitter.com +``` + +# Usage + +Install this library directly into an activated virtual environment: + +```shell +pip install pomace +``` + +or add it to your [Poetry](https://poetry.eustace.io/) project: + +```shell +poetry add pomace +``` + + +%package -n python3-pomace +Summary: Dynamic page objects for browser automation. +Provides: python-pomace +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pomace +# Pomace + +Dynamic page objects for browser automation. + +[](https://github.com/jacebrowning/pomace/actions) +[](https://ci.appveyor.com/project/jacebrowning/pomace) +[](https://codecov.io/gh/jacebrowning/pomace) +[](https://pypi.org/project/pomace) +[](https://pypi.org/project/pomace) + +## Quick Start + +Open **Terminal.app** in macOS and paste: + +```shell +python3 -m pip install --upgrade pomace && python3 -m pomace run +``` + +or if you have Homebrew: + +```shell +brew install pipx; pipx run --no-cache pomace run +``` + +## Full Demo + +If you're planning to run Pomace multiple times, install it with [pipx](https://pipxproject.github.io/pipx/) first: + +```shell +pipx install pomace +``` + +or get the latest version: + +```shell +pipx upgrade pomace +``` + +Then download some site models: + +```shell +pomace clone https://github.com/jacebrowning/pomace-twitter.com +``` + +And launch the application: + +```shell +pomace run twitter.com +``` + +# Usage + +Install this library directly into an activated virtual environment: + +```shell +pip install pomace +``` + +or add it to your [Poetry](https://poetry.eustace.io/) project: + +```shell +poetry add pomace +``` + + +%package help +Summary: Development documents and examples for pomace +Provides: python3-pomace-doc +%description help +# Pomace + +Dynamic page objects for browser automation. + +[](https://github.com/jacebrowning/pomace/actions) +[](https://ci.appveyor.com/project/jacebrowning/pomace) +[](https://codecov.io/gh/jacebrowning/pomace) +[](https://pypi.org/project/pomace) +[](https://pypi.org/project/pomace) + +## Quick Start + +Open **Terminal.app** in macOS and paste: + +```shell +python3 -m pip install --upgrade pomace && python3 -m pomace run +``` + +or if you have Homebrew: + +```shell +brew install pipx; pipx run --no-cache pomace run +``` + +## Full Demo + +If you're planning to run Pomace multiple times, install it with [pipx](https://pipxproject.github.io/pipx/) first: + +```shell +pipx install pomace +``` + +or get the latest version: + +```shell +pipx upgrade pomace +``` + +Then download some site models: + +```shell +pomace clone https://github.com/jacebrowning/pomace-twitter.com +``` + +And launch the application: + +```shell +pomace run twitter.com +``` + +# Usage + +Install this library directly into an activated virtual environment: + +```shell +pip install pomace +``` + +or add it to your [Poetry](https://poetry.eustace.io/) project: + +```shell +poetry add pomace +``` + + +%prep +%autosetup -n pomace-0.12.1 + +%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-pomace -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.12.1-1 +- Package Spec generated @@ -0,0 +1 @@ +79c2832e4d086542a74273c392cac1e1 pomace-0.12.1.tar.gz |