File pypy3.6.spec of Package pypy3.6
#
# spec file for package pypy3.6
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python3 1
%define pythons python2
Name: pypy3.6
Version: 7.3.3
Release: 0
Summary: A fast, compliant alternative implementation of Python
License: MIT
Group: Development/Languages/Python
URL: https://www.pypy.org/
Source: https://bitbucket.org/pypy/pypy/downloads/%{name}-v%{version}-src.tar.bz2
BuildRequires: gcc
BuildRequires: gdbm-devel
BuildRequires: libopenssl-devel
BuildRequires: ncurses-devel
BuildRequires: tk-devel
BuildRequires: xz-devel
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(libffi)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(zlib)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{python_module curses}
BuildRequires: %{python_module pycparser}
BuildRequires: python-rpm-macros
BuildRequires: python2
%description
%prep
%setup -q -n %{name}-v%{version}-src
%build
cd pypy/goal
%__python2 ../../rpython/bin/rpython -Ojit targetpypystandalone
%install
%post
%postun
%files
%defattr(-,root,root)
%changelog