17
0

Compare commits

4 Commits

Author SHA256 Message Date
e16343b040 Accepting request 1235236 from devel:languages:python
- Add README-SUSE.rst to describe the location of
  `/usr/local/bin/virtualenvwrapper*.sh` in our packages
  (bsc#1235076).

OBS-URL: https://build.opensuse.org/request/show/1235236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-virtualenvwrapper?expand=0&rev=29
2025-01-07 19:52:58 +00:00
c57675b208 - Add README-SUSE.rst to describe the location of
`/usr/local/bin/virtualenvwrapper*.sh` in our packages
  (bsc#1235076).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenvwrapper?expand=0&rev=75
2025-01-06 16:17:45 +00:00
aae77fd73a Accepting request 1221618 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1221618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-virtualenvwrapper?expand=0&rev=28
2024-11-06 15:52:29 +00:00
fd64624504 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenvwrapper?expand=0&rev=73
2024-11-05 22:54:13 +00:00
6 changed files with 44 additions and 7 deletions

8
README-SUSE.rst Normal file
View 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``).

View File

@@ -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>

View 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.*");

View File

@@ -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

View File

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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:112e7ea34a9a3ce90aaea54182f0d3afef4d1a913eeb75e98a263b4978cd73c6
size 95964