Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e16343b040 | |||
| c57675b208 | |||
| aae77fd73a | |||
| fd64624504 |
8
README-SUSE.rst
Normal file
8
README-SUSE.rst
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
Packaging of virtualenvwrapper for SUSE distros
|
||||||
|
===============================================
|
||||||
|
|
||||||
|
What upstream considers ``/usr/local/bin/virtualenvwrapper.sh`` and
|
||||||
|
``/usr/local/bin/virtualenvwrapper_lazy_.sh`` is packaged as
|
||||||
|
``/usr/bin/virtualenvwrapper`` and ``/usr/bin/virtualenvwrapper_lazy_``
|
||||||
|
(system packages in SUSE distributions are not supposed to store
|
||||||
|
anything in ``/usr/local``).
|
||||||
@@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 6 16:16:50 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Add README-SUSE.rst to describe the location of
|
||||||
|
`/usr/local/bin/virtualenvwrapper*.sh` in our packages
|
||||||
|
(bsc#1235076).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 14 06:37:26 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Update to 6.1.1:
|
||||||
|
- Update broken MSYS link in installation documentation
|
||||||
|
- Add additional line to mkvirtualenv help
|
||||||
|
- Update mkvirtualenv help to document -p/–python option
|
||||||
|
- move linkcheck out of main doc build
|
||||||
|
- make sure virtualenvwrapper_cd always tries to do something,
|
||||||
|
even when it cannot infer the current shell
|
||||||
|
- Add python-virtualenvwrapper.rpmlintrc to quiet various
|
||||||
|
problems with shell scripts linting.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 8 05:47:59 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
Fri Mar 8 05:47:59 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
|||||||
4
python-virtualenvwrapper.rpmlintrc
Normal file
4
python-virtualenvwrapper.rpmlintrc
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# Compatibility shims for zsh/bash compatibility are exceedingly ugly, but it doesn't look like an error
|
||||||
|
addFilter("bin-sh-syntax-error /usr/bin/virtualenvwrapper.*");
|
||||||
|
# construct while [ $something $op $# ] ; do is also ugly, but AFAIK not an error
|
||||||
|
addFilter("potential-bashisms /usr/bin/virtualenvwrapper.*");
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-virtualenvwrapper
|
# spec file for package python-virtualenvwrapper
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,14 +17,15 @@
|
|||||||
|
|
||||||
|
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%global pythons python3
|
|
||||||
Name: python-virtualenvwrapper
|
Name: python-virtualenvwrapper
|
||||||
Version: 6.1.0
|
Version: 6.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Enhancements to virtualenv
|
Summary: Enhancements to virtualenv
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://virtualenvwrapper.readthedocs.io/
|
URL: https://virtualenvwrapper.readthedocs.io/
|
||||||
Source: https://files.pythonhosted.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-%{version}.tar.gz
|
||||||
|
Source98: README-SUSE.rst
|
||||||
|
Source99: python-virtualenvwrapper.rpmlintrc
|
||||||
BuildRequires: %{python_module pbr}
|
BuildRequires: %{python_module pbr}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
@@ -40,6 +41,8 @@ BuildRequires: %{python_module stevedore}
|
|||||||
BuildRequires: %{python_module virtualenv-clone}
|
BuildRequires: %{python_module virtualenv-clone}
|
||||||
BuildRequires: %{python_module virtualenv}
|
BuildRequires: %{python_module virtualenv}
|
||||||
%endif
|
%endif
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -62,6 +65,8 @@ conflicts in their dependencies.
|
|||||||
%autosetup -p1 -n virtualenvwrapper-%{version}
|
%autosetup -p1 -n virtualenvwrapper-%{version}
|
||||||
sed -i -e '1i#!/bin/sh' virtualenvwrapper.sh
|
sed -i -e '1i#!/bin/sh' virtualenvwrapper.sh
|
||||||
|
|
||||||
|
cp -p %{SOURCE98} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
@@ -89,7 +94,7 @@ done
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.es.rst README.ja.rst README.txt
|
%doc README.es.rst README.ja.rst README.txt README-SUSE.rst
|
||||||
%python_alternative %{_bindir}/virtualenvwrapper
|
%python_alternative %{_bindir}/virtualenvwrapper
|
||||||
%python_alternative %{_bindir}/virtualenvwrapper_lazy
|
%python_alternative %{_bindir}/virtualenvwrapper_lazy
|
||||||
%{python_sitelib}/virtualenvwrapper
|
%{python_sitelib}/virtualenvwrapper
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d467beac5a44be00fb5cd1bcf332398c3dab5fb3bd3af7815ea86b4d6bb3d3a4
|
|
||||||
size 95880
|
|
||||||
3
virtualenvwrapper-6.1.1.tar.gz
Normal file
3
virtualenvwrapper-6.1.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:112e7ea34a9a3ce90aaea54182f0d3afef4d1a913eeb75e98a263b4978cd73c6
|
||||||
|
size 95964
|
||||||
Reference in New Issue
Block a user