SHA256
1
0
forked from pool/pyenv

Accepting request 957590 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/957590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pyenv?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2022-02-25 20:24:50 +00:00 committed by Git OBS Bridge
commit 887ef85173
4 changed files with 58 additions and 9 deletions

3
pyenv-2.2.4-1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6aa38fb7c7d7aa68e6a3c8b812b273e15e367f629f31dd9d24552403b48df459
size 686154

View File

@ -1,3 +1,49 @@
-------------------------------------------------------------------
Fri Feb 25 09:40:29 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Put fish completions in thr right directory.
We don't have to worry about conflicting files, because fish
has a special directory for vendor completions which have
precedence over the fish native ones.
-------------------------------------------------------------------
Thu Feb 24 06:51:26 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Fix tarball name and version.
-------------------------------------------------------------------
Fri Feb 18 15:44:18 UTC 2022 - Thomas Schraitle <thomas.schraitle@suse.com> - 2.2.4
- Install fish completion into directory '/usr/share/fish/completions' (bsc#1196047)
- Apply spec-cleaner
- Update to 2.2.4
- Added docstrings to several undocumented functions by @fluencydoc (#2197)
- Fix incorrect pypy 2.7-7.3.6 sha256 hashes by @joestrach in (#2208)
- Fix a regression in include paths when compiling ctypes in 3.6.15/3.7.12 by @chipx86 (#2209)
- Revert "Disable coreutils on M1 Apple Silicon with arm64 (#2020)" by @native-api (#2212)
- CPython 3.11.0a4 by @nedbat in (#2217)
- CPython 3.9.10 and 3.10.2 by @nedbat in (#2219)
- miniconda3-latest: added Linux-aarch64 by @verdimrc (#2221)
- Add GraalPython 22.0.0 by @msimacek in (#2226)
- Full changelog at https://github.com/pyenv/pyenv/releases/tag/v2.2.4-1
- Update to 2.2.3
- Add new pypy versions (pypy2.7-7.3.2~7.3.5) to the version list (#2194)
- Fix Python 3.7.12 compilation on macOS arm64/M1. (#2190)
- Fix Python 3.6.15 compilation on macOS arm64/M1. (#2189)
- Add Anaconda3-2021.11 (#2193)
- CPython 3.11.0a3 (#2187)
- Fix errant "echo" in README install instructions (#2185)
- Add Miniforge and Mambaforge 4.10.3-10 (#2184)
- Add CPython 3.10.1 (#2183)
- Fix 3.6.15 build on macOS (#2182)
- Full changelog at https://github.com/pyenv/pyenv/releases/tag/v2.2.3
- Update to 2.2.2
- Add support for macOS Apple M1 (#2164)
-------------------------------------------------------------------
Mon Nov 22 17:27:02 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package pyenv
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,13 +19,15 @@
%define pyenv_dir %{_libexecdir}/pyenv
#
Name: pyenv
Version: 2.2.1
Version: 2.2.4_1
# We have to overcome weird version, temporarily.
%define upver 2.2.4-1
Release: 0
Summary: Python Version Management
License: MIT
Group: Development/Languages/Python
URL: https://github.com/pyenv/pyenv
Source0: https://github.com/pyenv/pyenv/archive/refs/tags/v%{version}.tar.gz
Source: https://github.com/pyenv/pyenv/archive/refs/tags/v%{upver}.tar.gz#/pyenv-%{upver}.tar.gz
BuildRequires: bash-completion
BuildRequires: fdupes
BuildRequires: fish
@ -70,14 +72,15 @@ BuildArch: noarch
Zsh command line completion support for %{name}.
%prep
%setup -q
%autosetup -p1 -n %{name}-%{upver}
sed -i -e '1s,^#!%{_bindir}/env bash,#!/bin/bash,' libexec/* pyenv.d/exec/pip-rehash/* plugins/python-build/bin/*
%build
##
pushd src
%configure
make %{?_smp_mflags}
%make_build
popd
%install
@ -94,8 +97,8 @@ cp -a pyenv.d %{buildroot}%{_sysconfdir}/
## Install shell completions:
install -D -m0644 completions/pyenv.bash %{buildroot}%{_datadir}/bash-completion/completions/pyenv
install -D -m0644 completions/pyenv.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/pyenv.fish
install -D -m0644 completions/pyenv.zsh %{buildroot}%{_sysconfdir}/zsh_completion.d/pyenv
install -D -m0644 completions/pyenv.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/pyenv.fish
## Install manpage
install -D -m0644 man/man1/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:200a84bfe5a9308eaeed3adc6fb4e1530c0aa18da43f2b19ec33cf79163effb0
size 672237