diff --git a/pyp-1.1.0.tar.gz b/pyp-1.1.0.tar.gz deleted file mode 100644 index 85a8999..0000000 --- a/pyp-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c6a843ee6eb85304f4ad170958ba5decd72964d1936ed4460a72d02b696f543 -size 25848 diff --git a/pyp-1.2.0.tar.gz b/pyp-1.2.0.tar.gz new file mode 100644 index 0000000..98ca034 --- /dev/null +++ b/pyp-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ca70307af36d888027cc5c2a44a7585e2f0b1dddadadc8fa025cce1521149f7 +size 25955 diff --git a/python-pyp.changes b/python-pyp.changes index 0add8c1..0152121 100644 --- a/python-pyp.changes +++ b/python-pyp.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Mar 26 13:06:58 UTC 2024 - Markéta Machová + +- 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 diff --git a/python-pyp.spec b/python-pyp.spec index 87ea6b8..161f2a1 100644 --- a/python-pyp.spec +++ b/python-pyp.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyp # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2020-2021 LISA GmbH, Bingen, Germany # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %define skip_python2 1 Name: python-pyp -Version: 1.1.0 +Version: 1.2.0 Release: 0 Summary: Python at the shell License: MIT @@ -40,7 +40,7 @@ BuildRequires: jq Requires: python-astunparse BuildArch: noarch Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives %python_subpackages %description @@ -58,16 +58,17 @@ sed -i '/^#!\//, 1d' pyp.py %install %pyproject_install %python_clone -a %{buildroot}%{_bindir}/pyp +%python_clone -a %{buildroot}%{_bindir}/pypyp %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export PATH=$(pwd):$PATH %{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 -%python_install_alternative pyp +%python_install_alternative pyp pypyp %postun %python_uninstall_alternative pyp @@ -79,5 +80,6 @@ PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -vv #k ' %{python_sitelib}/pypyp-%{version}*-info %pycache_only %{python_sitelib}/__pycache__ %python_alternative %{_bindir}/pyp +%python_alternative %{_bindir}/pypyp %changelog