diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-12 04:34:10 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 04:34:10 +0000 |
commit | 46da90a2b6a37fc39584979c42755a6a14f7408d (patch) | |
tree | c997041fdedf16b24a30d68aacf8fc1cd541c4ce | |
parent | ff0ce4158cde84668880b69aeeab0592e457ae3f (diff) |
automatic import of python-brunns-matchers
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-brunns-matchers.spec | 226 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 228 insertions, 0 deletions
@@ -0,0 +1 @@ +/brunns-matchers-2.6.0.tar.gz diff --git a/python-brunns-matchers.spec b/python-brunns-matchers.spec new file mode 100644 index 0000000..d387038 --- /dev/null +++ b/python-brunns-matchers.spec @@ -0,0 +1,226 @@ +%global _empty_manifest_terminate_build 0 +Name: python-brunns-matchers +Version: 2.6.0 +Release: 1 +Summary: Custom PyHamcrest matchers +License: MIT License +URL: https://github.com/brunns/brunns-matchers/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/31/8c/dc81e29a70b0106416791f83d7b42e54492d632e37f5fbd8e77ba55ce4a0/brunns-matchers-2.6.0.tar.gz +BuildArch: noarch + +Requires: python3-beautifulsoup4 +Requires: python3-brunns-row +Requires: python3-Deprecated +Requires: python3-furl +Requires: python3-pyhamcrest +Requires: python3-requests +Requires: python3-typing-extensions + +%description +# brunns-matchers + +Various custom [PyHamcrest](https://pyhamcrest.readthedocs.io) matchers. + +[](https://www.python.org/) +[](https://travis-ci.org/brunns/brunns-matchers) +[](https://pypi.org/project/brunns-matchers/#history) +[](https://pypi.org/project/brunns-matchers/) +[](https://github.com/brunns/brunns-matchers/blob/master/LICENSE) +[](https://github.com/brunns/brunns-matchers/releases/) +[](https://github.com/brunns/brunns-matchers/network/members) +[](https://github.com/brunns/brunns-matchers/stargazers/) +[](https://github.com/brunns/brunns-matchers/watchers/) +[](https://github.com/brunns/brunns-matchers/graphs/contributors/) +[](https://github.com/brunns/brunns-matchers/issues/) +[](https://github.com/brunns/brunns-matchers/issues?q=is%3Aissue+is%3Aclosed) +[](https://github.com/brunns/brunns-matchers/pulls) +[](https://github.com/brunns/brunns-matchers/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aclosed) +[](https://www.codacy.com/app/brunns/brunns-matchers) +[](https://www.codacy.com/app/brunns/brunns-matchers) +[](https://github.com/brunns/brunns-matchers) + +## Setup + +Install with pip: + + pip install brunns-matchers + +(As usual, use of a [venv](https://docs.python.org/3/library/venv.html) or [virtualenv](https://virtualenv.pypa.io) is recommended.) + +## Developing + +Requires [tox](https://tox.readthedocs.io). Run `make precommit` tells you if you're OK to commit. For more options, run: + + make help + +## Releasing + +Requires [hub](https://hub.github.com/), [setuptools](https://setuptools.readthedocs.io), [wheel](https://pypi.org/project/wheel/) and [twine](https://twine.readthedocs.io). To release `n.n.n`: + +```sh +version="n.n.n" +make precommit && git commit -am"Release $version" && git push # If not already all pushed, which it should be. +hub release create $version -m"Release $version" +python setup.py sdist bdist_wheel +twine upload dist/*$version* +git checkout master +git merge "release-$version" +``` + + +%package -n python3-brunns-matchers +Summary: Custom PyHamcrest matchers +Provides: python-brunns-matchers +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-brunns-matchers +# brunns-matchers + +Various custom [PyHamcrest](https://pyhamcrest.readthedocs.io) matchers. + +[](https://www.python.org/) +[](https://travis-ci.org/brunns/brunns-matchers) +[](https://pypi.org/project/brunns-matchers/#history) +[](https://pypi.org/project/brunns-matchers/) +[](https://github.com/brunns/brunns-matchers/blob/master/LICENSE) +[](https://github.com/brunns/brunns-matchers/releases/) +[](https://github.com/brunns/brunns-matchers/network/members) +[](https://github.com/brunns/brunns-matchers/stargazers/) +[](https://github.com/brunns/brunns-matchers/watchers/) +[](https://github.com/brunns/brunns-matchers/graphs/contributors/) +[](https://github.com/brunns/brunns-matchers/issues/) +[](https://github.com/brunns/brunns-matchers/issues?q=is%3Aissue+is%3Aclosed) +[](https://github.com/brunns/brunns-matchers/pulls) +[](https://github.com/brunns/brunns-matchers/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aclosed) +[](https://www.codacy.com/app/brunns/brunns-matchers) +[](https://www.codacy.com/app/brunns/brunns-matchers) +[](https://github.com/brunns/brunns-matchers) + +## Setup + +Install with pip: + + pip install brunns-matchers + +(As usual, use of a [venv](https://docs.python.org/3/library/venv.html) or [virtualenv](https://virtualenv.pypa.io) is recommended.) + +## Developing + +Requires [tox](https://tox.readthedocs.io). Run `make precommit` tells you if you're OK to commit. For more options, run: + + make help + +## Releasing + +Requires [hub](https://hub.github.com/), [setuptools](https://setuptools.readthedocs.io), [wheel](https://pypi.org/project/wheel/) and [twine](https://twine.readthedocs.io). To release `n.n.n`: + +```sh +version="n.n.n" +make precommit && git commit -am"Release $version" && git push # If not already all pushed, which it should be. +hub release create $version -m"Release $version" +python setup.py sdist bdist_wheel +twine upload dist/*$version* +git checkout master +git merge "release-$version" +``` + + +%package help +Summary: Development documents and examples for brunns-matchers +Provides: python3-brunns-matchers-doc +%description help +# brunns-matchers + +Various custom [PyHamcrest](https://pyhamcrest.readthedocs.io) matchers. + +[](https://www.python.org/) +[](https://travis-ci.org/brunns/brunns-matchers) +[](https://pypi.org/project/brunns-matchers/#history) +[](https://pypi.org/project/brunns-matchers/) +[](https://github.com/brunns/brunns-matchers/blob/master/LICENSE) +[](https://github.com/brunns/brunns-matchers/releases/) +[](https://github.com/brunns/brunns-matchers/network/members) +[](https://github.com/brunns/brunns-matchers/stargazers/) +[](https://github.com/brunns/brunns-matchers/watchers/) +[](https://github.com/brunns/brunns-matchers/graphs/contributors/) +[](https://github.com/brunns/brunns-matchers/issues/) +[](https://github.com/brunns/brunns-matchers/issues?q=is%3Aissue+is%3Aclosed) +[](https://github.com/brunns/brunns-matchers/pulls) +[](https://github.com/brunns/brunns-matchers/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aclosed) +[](https://www.codacy.com/app/brunns/brunns-matchers) +[](https://www.codacy.com/app/brunns/brunns-matchers) +[](https://github.com/brunns/brunns-matchers) + +## Setup + +Install with pip: + + pip install brunns-matchers + +(As usual, use of a [venv](https://docs.python.org/3/library/venv.html) or [virtualenv](https://virtualenv.pypa.io) is recommended.) + +## Developing + +Requires [tox](https://tox.readthedocs.io). Run `make precommit` tells you if you're OK to commit. For more options, run: + + make help + +## Releasing + +Requires [hub](https://hub.github.com/), [setuptools](https://setuptools.readthedocs.io), [wheel](https://pypi.org/project/wheel/) and [twine](https://twine.readthedocs.io). To release `n.n.n`: + +```sh +version="n.n.n" +make precommit && git commit -am"Release $version" && git push # If not already all pushed, which it should be. +hub release create $version -m"Release $version" +python setup.py sdist bdist_wheel +twine upload dist/*$version* +git checkout master +git merge "release-$version" +``` + + +%prep +%autosetup -n brunns-matchers-2.6.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-brunns-matchers -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 2.6.0-1 +- Package Spec generated @@ -0,0 +1 @@ +d9da61f35603dd1328d86081ecca7867 brunns-matchers-2.6.0.tar.gz |