From a70ad0e71dd1a5ceddcafdc62ea7d9e7821069bc48ce1b900f102d5c351c0699 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 6 May 2023 21:02:11 +0000 Subject: [PATCH] - Upgrade to 2.0.3: List of changes is too long to enlist here, CHANGELOG.md is packaged. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sh?expand=0&rev=34 --- python-sh.changes | 7 +++++++ python-sh.spec | 19 +++++++++++-------- sh-1.14.3.tar.gz | 3 --- sh-2.0.3.tar.gz | 3 +++ 4 files changed, 21 insertions(+), 11 deletions(-) delete mode 100644 sh-1.14.3.tar.gz create mode 100644 sh-2.0.3.tar.gz diff --git a/python-sh.changes b/python-sh.changes index 1a6075e..ed9d931 100644 --- a/python-sh.changes +++ b/python-sh.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat May 6 20:58:14 UTC 2023 - Matej Cepl + +- Upgrade to 2.0.3: + List of changes is too long to enlist here, CHANGELOG.md is + packaged. + ------------------------------------------------------------------- Fri Apr 21 12:34:00 UTC 2023 - Dirk Müller diff --git a/python-sh.spec b/python-sh.spec index 8315784..0f4d06a 100644 --- a/python-sh.spec +++ b/python-sh.spec @@ -18,13 +18,16 @@ %{?sle15_python_module_pythons} Name: python-sh -Version: 1.14.3 +Version: 2.0.3 Release: 0 Summary: Python subprocess interface License: MIT URL: https://github.com/amoffat/sh Source: https://files.pythonhosted.org/packages/source/s/sh/sh-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core} +BuildRequires: %{python_module testsuite} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -42,13 +45,13 @@ function: sh is not a collection of system commands implemented in Python. %prep -%setup -q -n sh-%{version} +%autosetup -p1 -n sh-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -57,8 +60,8 @@ sh is not a collection of system commands implemented in Python. %files %{python_files} %license LICENSE.txt %doc CHANGELOG.md README.rst -%{python_sitelib}/sh.py* -%pycache_only %{python_sitelib}/__pycache__/sh.*py* -%{python_sitelib}/sh-%{version}-*.egg-info +%{python_sitelib}/sh.py +%pycache_only %{python_sitelib}/__pycache__/sh.*pyc +%{python_sitelib}/sh-%{version}*-info %changelog diff --git a/sh-1.14.3.tar.gz b/sh-1.14.3.tar.gz deleted file mode 100644 index ad39467..0000000 --- a/sh-1.14.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e4045b6c732d9ce75d571c79f5ac2234edd9ae4f5fa9d59b09705082bdca18c7 -size 62851 diff --git a/sh-2.0.3.tar.gz b/sh-2.0.3.tar.gz new file mode 100644 index 0000000..ca0c99e --- /dev/null +++ b/sh-2.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:800efeda403b63879b0a5625f65a0021fd1ea61ed181954da0346372a7b2a341 +size 345365