forked from pool/python-pyp
- Use release from github, the new release was created there
(gh#hauntsaninja/pyp#33) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyp?expand=0&rev=4
This commit is contained in:
@@ -25,8 +25,7 @@ Summary: Python at the shell
|
||||
License: MIT
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://github.com/hauntsaninja/pyp
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/pypyp/pypyp-%{version}.tar.gz
|
||||
Source1: https://github.com/hauntsaninja/pyp/archive/d79c1e7bc9bb8af99ff6ac1257fafb370a78ad4d.tar.gz#/pyp-tests.tar.gz
|
||||
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 flit-core}
|
||||
@@ -50,10 +49,8 @@ Easily run Python at the shell! Magical, but never mysterious.
|
||||
See README.md or https://github.com/hauntsaninja/pyp for examples.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n pypyp-%{version}
|
||||
%autosetup -p1 -n pyp-%{version}
|
||||
sed -i '/^#!\//, 1d' pyp.py
|
||||
mkdir pyp-tests
|
||||
tar xz -C pyp-tests -f %{SOURCE1}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
Reference in New Issue
Block a user