From 2cf361c3b39f0a2fdf09bde2a6e5f999e1aaee2ba3bdfe83c0db172325d81b84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 15 Dec 2023 12:23:20 +0000 Subject: [PATCH] Accepting request 1132699 from home:thomas-schraitle:branches:devel:languages:python Add further dependencies that are needed to build Python versions when calling "pyenv install". List taken from https://github.com/pyenv/pyenv/wiki#suggested-build-environment OBS-URL: https://build.opensuse.org/request/show/1132699 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/pyenv?expand=0&rev=77 --- pyenv.changes | 8 ++++++++ pyenv.spec | 24 ++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/pyenv.changes b/pyenv.changes index 07aae5a..27a4efb 100644 --- a/pyenv.changes +++ b/pyenv.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Dec 12 11:52:05 UTC 2023 - Thomas Schraitle - 2.3.35 + +- Add further dependencies that are needed to build Python versions + when calling "pyenv install". + List taken from https://github.com/pyenv/pyenv/wiki#suggested-build-environment + + ------------------------------------------------------------------- Fri Dec 8 13:50:18 UTC 2023 - Thomas Schraitle - 2.3.35 diff --git a/pyenv.spec b/pyenv.spec index e9a66e2..b638a0b 100644 --- a/pyenv.spec +++ b/pyenv.spec @@ -27,6 +27,30 @@ Group: Development/Languages/Python URL: https://github.com/pyenv/pyenv Source: https://github.com/pyenv/pyenv/archive/refs/tags/v%{version}.tar.gz#/pyenv-%{version}.tar.gz # +# Additional soft build requirements. +# Use list from https://github.com/pyenv/pyenv/wiki#suggested-build-environment +# +# Once pyenv is installed and user requests a new Python version, +# we need to make sure it will build: +Recommends: automake +Recommends: bzip2 +Recommends: findutils +Recommends: gcc +Recommends: gdbm-devel +Recommends: libbz2-devel +Recommends: libffi-devel +Recommends: lzma-sdk-devel +Recommends: ncurses-devel +Recommends: openssl-devel +Recommends: patch +Recommends: readline5-devel +Recommends: sqlite3-devel +Recommends: tcl-devel +Recommends: tk-devel +Recommends: xz +Recommends: xz-devel +Recommends: zlib-devel +# BuildRequires: bash-completion BuildRequires: fdupes BuildRequires: fish