diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 07:58:10 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 07:58:10 +0000 |
commit | cad3e6c2b704508cf6965608878b0ee425a8a901 (patch) | |
tree | 981f85ed800d1e421b667a15effe7c05c43d6954 | |
parent | 73ec01eec092a1590821e1f07641f779903d7b57 (diff) |
automatic import of python-poetry-merge-lockopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-poetry-merge-lock.spec | 157 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 159 insertions, 0 deletions
@@ -0,0 +1 @@ +/poetry-merge-lock-0.1.1.tar.gz diff --git a/python-poetry-merge-lock.spec b/python-poetry-merge-lock.spec new file mode 100644 index 0000000..2021278 --- /dev/null +++ b/python-poetry-merge-lock.spec @@ -0,0 +1,157 @@ +%global _empty_manifest_terminate_build 0 +Name: python-poetry-merge-lock +Version: 0.1.1 +Release: 1 +Summary: poetry-merge-lock +License: MIT +URL: https://github.com/cjolowicz/poetry-merge-lock +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b6/4f/9474f4a60481747a469c7d9b72343beea0830004ddd2d049de8326ecb9b3/poetry-merge-lock-0.1.1.tar.gz +BuildArch: noarch + +Requires: python3-click +Requires: python3-importlib-metadata +Requires: python3-poetry +Requires: python3-tomlkit + +%description +[](https://github.com/cjolowicz/poetry-merge-lock/actions?workflow=Tests) +[](https://codecov.io/gh/cjolowicz/poetry-merge-lock) +[](https://pypi.org/project/poetry-merge-lock/) +[](https://poetry-merge-lock.readthedocs.io/) + +# poetry-merge-lock + +This is a tool for resolving merge conflicts in the lock file of +[Poetry](http://python-poetry.org/), +a packaging and dependency manager for Python. +If the merge conflicts cannot be resolved by this tool, +you can use the `--print-content-hash` option to +compute the content hash for the `metadata.content-hash` entry, +and resolve the conflicts manually. + +## Installation + +To install poetry-merge-lock, +run this command in your terminal: + +```sh +$ pip install poetry-merge-lock +``` + +## Documentation + +[Read the full documentation](https://poetry-merge-lock.readthedocs.io/) + + +%package -n python3-poetry-merge-lock +Summary: poetry-merge-lock +Provides: python-poetry-merge-lock +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-poetry-merge-lock +[](https://github.com/cjolowicz/poetry-merge-lock/actions?workflow=Tests) +[](https://codecov.io/gh/cjolowicz/poetry-merge-lock) +[](https://pypi.org/project/poetry-merge-lock/) +[](https://poetry-merge-lock.readthedocs.io/) + +# poetry-merge-lock + +This is a tool for resolving merge conflicts in the lock file of +[Poetry](http://python-poetry.org/), +a packaging and dependency manager for Python. +If the merge conflicts cannot be resolved by this tool, +you can use the `--print-content-hash` option to +compute the content hash for the `metadata.content-hash` entry, +and resolve the conflicts manually. + +## Installation + +To install poetry-merge-lock, +run this command in your terminal: + +```sh +$ pip install poetry-merge-lock +``` + +## Documentation + +[Read the full documentation](https://poetry-merge-lock.readthedocs.io/) + + +%package help +Summary: Development documents and examples for poetry-merge-lock +Provides: python3-poetry-merge-lock-doc +%description help +[](https://github.com/cjolowicz/poetry-merge-lock/actions?workflow=Tests) +[](https://codecov.io/gh/cjolowicz/poetry-merge-lock) +[](https://pypi.org/project/poetry-merge-lock/) +[](https://poetry-merge-lock.readthedocs.io/) + +# poetry-merge-lock + +This is a tool for resolving merge conflicts in the lock file of +[Poetry](http://python-poetry.org/), +a packaging and dependency manager for Python. +If the merge conflicts cannot be resolved by this tool, +you can use the `--print-content-hash` option to +compute the content hash for the `metadata.content-hash` entry, +and resolve the conflicts manually. + +## Installation + +To install poetry-merge-lock, +run this command in your terminal: + +```sh +$ pip install poetry-merge-lock +``` + +## Documentation + +[Read the full documentation](https://poetry-merge-lock.readthedocs.io/) + + +%prep +%autosetup -n poetry-merge-lock-0.1.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-poetry-merge-lock -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.1-1 +- Package Spec generated @@ -0,0 +1 @@ +041222e638624654e427a944869a84a5 poetry-merge-lock-0.1.1.tar.gz |