forked from pool/python-pyp
Accepting request 1162341 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1162341 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyp?expand=0&rev=3
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1c6a843ee6eb85304f4ad170958ba5decd72964d1936ed4460a72d02b696f543
|
|
||||||
size 25848
|
|
3
pyp-1.2.0.tar.gz
Normal file
3
pyp-1.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9ca70307af36d888027cc5c2a44a7585e2f0b1dddadadc8fa025cce1521149f7
|
||||||
|
size 25955
|
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 26 13:06:58 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.2.0
|
||||||
|
* Fix submodule import name detection
|
||||||
|
* Add `pypyp` as alternate command line entrypoint
|
||||||
|
* Drop support for Python 3.6 and 3.7
|
||||||
|
* Testing updates
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 22 06:20:21 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
Wed Feb 22 06:20:21 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyp
|
# spec file for package python-pyp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
# Copyright (c) 2020-2021 LISA GmbH, Bingen, Germany
|
# Copyright (c) 2020-2021 LISA GmbH, Bingen, Germany
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-pyp
|
Name: python-pyp
|
||||||
Version: 1.1.0
|
Version: 1.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python at the shell
|
Summary: Python at the shell
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -40,7 +40,7 @@ BuildRequires: jq
|
|||||||
Requires: python-astunparse
|
Requires: python-astunparse
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -58,16 +58,17 @@ sed -i '/^#!\//, 1d' pyp.py
|
|||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pyp
|
%python_clone -a %{buildroot}%{_bindir}/pyp
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/pypyp
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export PATH=$(pwd):$PATH
|
export PATH=$(pwd):$PATH
|
||||||
%{python_expand ln -sf %{buildroot}%{_bindir}/pyp-%{$python_bin_suffix} pyp
|
%{python_expand ln -sf %{buildroot}%{_bindir}/pyp-%{$python_bin_suffix} pyp
|
||||||
PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -vv #k 'not test_tracebacks'
|
PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -vv
|
||||||
}
|
}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative pyp
|
%python_install_alternative pyp pypyp
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative pyp
|
%python_uninstall_alternative pyp
|
||||||
@@ -79,5 +80,6 @@ PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -vv #k '
|
|||||||
%{python_sitelib}/pypyp-%{version}*-info
|
%{python_sitelib}/pypyp-%{version}*-info
|
||||||
%pycache_only %{python_sitelib}/__pycache__
|
%pycache_only %{python_sitelib}/__pycache__
|
||||||
%python_alternative %{_bindir}/pyp
|
%python_alternative %{_bindir}/pyp
|
||||||
|
%python_alternative %{_bindir}/pypyp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user