forked from pool/python-pyp
Accepting request 1068349 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1068349 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyp?expand=0&rev=2
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a3275b7e27039ef56a9dec70c32e1e45a6b298024eb8a553d46aa2e98af13c4b
|
||||
size 23598
|
3
pyp-1.1.0.tar.gz
Normal file
3
pyp-1.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1c6a843ee6eb85304f4ad170958ba5decd72964d1936ed4460a72d02b696f543
|
||||
size 25848
|
@@ -1,3 +1,33 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 22 06:20:21 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Use release from github, the new release was created there
|
||||
(gh#hauntsaninja/pyp#33)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 21 16:35:23 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Use release from pypi, the last release it not tagged in github, but
|
||||
add a new source with the github repo to get the tests that are not
|
||||
in the pypi release. (gh#hauntsaninja/pyp#33)
|
||||
- Update to 1.1.0:
|
||||
* Fix AST construction on Python 3.11
|
||||
* Constructed ASTs now have a more convincing end_lineno
|
||||
* Test coverage for fallback unparsing, other test improvements
|
||||
* Now packaged by flit
|
||||
- [v1.0.0]
|
||||
* Configuration now allows the use of magic variables, effectively
|
||||
allowing you to define your own magic variables. See README.md for
|
||||
details
|
||||
* Explicit printing in used config functions will now disable
|
||||
automatic printing
|
||||
* Config definitions can now use things defined from wildcard
|
||||
imports. Automatic imports now work in config as well
|
||||
* Removed s as a magic variable. If you miss it, you can redefine it
|
||||
in your config using s = x
|
||||
* Implement correct scoping semantics for comprehensions, including
|
||||
with assignment expressions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 9 08:38:33 UTC 2021 - Hans-Peter Jansen <hpj@urpla.net>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyp
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2020-2021 LISA GmbH, Bingen, Germany
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -17,10 +17,9 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-pyp
|
||||
Version: 0.3.4
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
Summary: Python at the shell
|
||||
License: MIT
|
||||
@@ -29,17 +28,19 @@ URL: https://github.com/hauntsaninja/pyp
|
||||
Source0: https://github.com/hauntsaninja/pyp/archive/v%{version}.tar.gz#/pyp-%{version}.tar.gz
|
||||
BuildRequires: %{python_module astunparse}
|
||||
BuildRequires: %{python_module base}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# testing requirements
|
||||
BuildRequires: bc
|
||||
BuildRequires: jq
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: jq
|
||||
Requires: python-astunparse
|
||||
BuildArch: noarch
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -48,14 +49,14 @@ Easily run Python at the shell! Magical, but never mysterious.
|
||||
See README.md or https://github.com/hauntsaninja/pyp for examples.
|
||||
|
||||
%prep
|
||||
%setup -q -n pyp-%{version}
|
||||
%autosetup -p1 -n pyp-%{version}
|
||||
sed -i '/^#!\//, 1d' pyp.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/pyp
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
@@ -74,7 +75,9 @@ PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -vv #k '
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc *.md
|
||||
%{python_sitelib}/
|
||||
%{python_sitelib}/pyp.py
|
||||
%{python_sitelib}/pypyp-%{version}*-info
|
||||
%pycache_only %{python_sitelib}/__pycache__
|
||||
%python_alternative %{_bindir}/pyp
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user