%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 [![Tests](https://github.com/cjolowicz/poetry-merge-lock/workflows/Tests/badge.svg)](https://github.com/cjolowicz/poetry-merge-lock/actions?workflow=Tests) [![Codecov](https://codecov.io/gh/cjolowicz/poetry-merge-lock/branch/master/graph/badge.svg)](https://codecov.io/gh/cjolowicz/poetry-merge-lock) [![PyPI](https://img.shields.io/pypi/v/poetry-merge-lock.svg)](https://pypi.org/project/poetry-merge-lock/) [![Read the Docs](https://readthedocs.org/projects/poetry-merge-lock/badge/)](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 [![Tests](https://github.com/cjolowicz/poetry-merge-lock/workflows/Tests/badge.svg)](https://github.com/cjolowicz/poetry-merge-lock/actions?workflow=Tests) [![Codecov](https://codecov.io/gh/cjolowicz/poetry-merge-lock/branch/master/graph/badge.svg)](https://codecov.io/gh/cjolowicz/poetry-merge-lock) [![PyPI](https://img.shields.io/pypi/v/poetry-merge-lock.svg)](https://pypi.org/project/poetry-merge-lock/) [![Read the Docs](https://readthedocs.org/projects/poetry-merge-lock/badge/)](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 [![Tests](https://github.com/cjolowicz/poetry-merge-lock/workflows/Tests/badge.svg)](https://github.com/cjolowicz/poetry-merge-lock/actions?workflow=Tests) [![Codecov](https://codecov.io/gh/cjolowicz/poetry-merge-lock/branch/master/graph/badge.svg)](https://codecov.io/gh/cjolowicz/poetry-merge-lock) [![PyPI](https://img.shields.io/pypi/v/poetry-merge-lock.svg)](https://pypi.org/project/poetry-merge-lock/) [![Read the Docs](https://readthedocs.org/projects/poetry-merge-lock/badge/)](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 - 0.1.1-1 - Package Spec generated