6a32d3b
%global modname virtualenvwrapper
6a32d3b
6a32d3b
Name:             python-virtualenvwrapper
6bc72b7
Version:          4.5.0
6bc72b7
Release:          1%{?dist}
6a32d3b
Summary:          Enhancements to virtualenv
6a32d3b
6a32d3b
Group:            Development/Languages
6a32d3b
License:          MIT
dd088fe
URL:              http://pypi.python.org/pypi/%{modname}
dd088fe
Source0:          http://pypi.python.org/packages/source/v/%{modname}/%{modname}-%{version}.tar.gz
6a32d3b
6a32d3b
BuildArch:        noarch
6a32d3b
6a32d3b
001049e
BuildRequires:      python-devel
001049e
BuildRequires:      python-setuptools
001049e
BuildRequires:      python-virtualenv
001049e
BuildRequires:      python-virtualenv-clone
001049e
BuildRequires:      python-stevedore
aa8d16c
BuildRequires:      python-pbr
aa8d16c
6a32d3b
001049e
## Just for tests
001049e
#BuildRequires:      python-tox
001049e
#BuildRequires:      ksh
001049e
#BuildRequires:      zsh
001049e
001049e
Requires:           python-virtualenv
001049e
Requires:           python-virtualenv-clone
001049e
Requires:           python-stevedore
6a32d3b
6a32d3b
%description
6a32d3b
virtualenvwrapper is a set of extensions to Ian Bicking's `virtualenv
6a32d3b
<http://pypi.python.org/pypi/virtualenv>`_ tool.  The extensions include
6a32d3b
wrappers for creating and deleting virtual environments and otherwise
6a32d3b
managing your development workflow, making it easier to work on more than
6a32d3b
one project at a time without introducing conflicts in their dependencies.
6a32d3b
6a32d3b
%prep
6a32d3b
%setup -q -n %{modname}-%{version}
6a32d3b
6a32d3b
%build
6a32d3b
%{__python} setup.py build 
6a32d3b
6a32d3b
%install
888f454
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
888f454
888f454
%{__mkdir_p} %{buildroot}/%{_sysconfdir}/profile.d/
092d776
ln -s %{_bindir}/virtualenvwrapper_lazy.sh %{buildroot}/%{_sysconfdir}/profile.d/virtualenvwrapper.sh
6a32d3b
001049e
#%%check
001049e
# Tests won't fly in koji since they try to install stuff from pypi
001049e
#tox -e py27
6a32d3b
6a32d3b
%files
899a061
%doc PKG-INFO docs
dd088fe
%{python_sitelib}/%{modname}
dd088fe
%{python_sitelib}/%{modname}-%{version}*
6a32d3b
%{_bindir}/virtualenvwrapper.sh
dd088fe
%{_bindir}/virtualenvwrapper_lazy.sh
092d776
%config(noreplace) %{_sysconfdir}/profile.d/virtualenvwrapper.sh
6a32d3b
6a32d3b
%changelog
6bc72b7
* Mon Apr 27 2015 Ralph Bean <rbean@redhat.com> - 4.5.0-1
6bc72b7
- new version
6bc72b7
092d776
* Mon Apr 27 2015 Ralph Bean <rbean@redhat.com> - 4.3.2-2
092d776
- Use virtualenvwrapper_lazy.sh by default, fixing #1213121.
092d776
648d99a
* Wed Feb 18 2015 Ralph Bean <rbean@redhat.com> - 4.3.2-1
648d99a
- new version
648d99a
e695bb2
* Thu Jul 24 2014 Ralph Bean <rbean@redhat.com> - 4.3.1-1
e695bb2
- Latest upstream.
e695bb2
7bac739
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2-3
7bac739
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7bac739
888f454
* Wed Jan 29 2014 Ralph Bean <rbean@redhat.com> - 4.2-2
888f454
- Add a symlink to /etc/profile.d/ so that the package works out of the box.
888f454
c957fe1
* Tue Jan 28 2014 Ralph Bean <rbean@redhat.com> - 4.2-1
c957fe1
- Latest upstream
c957fe1
aa8d16c
* Wed Dec 04 2013 Ralph Bean <rbean@redhat.com> - 4.1.1-2
aa8d16c
- BuildRequires on python-pbr
aa8d16c
8b9030b
* Wed Dec 04 2013 Ralph Bean <rbean@redhat.com> - 4.1.1-1
8b9030b
- Latest upstream.
8b9030b
801ddc6
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-2
801ddc6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
801ddc6
28f8054
* Mon Apr 29 2013 Ralph Bean <rbean@redhat.com> - 4.0-1
28f8054
- Latest upstream including the following:
28f8054
- The python modules for extensions are now always run with
28f8054
  PWD=$WORKON_HOME (previously the value of PWD varied depending
28f8054
  on the hook). The shell portion of any hook (anything sourced
28f8054
  by the user’s shell when the hook is run) is still run in the
28f8054
  same place as before.
28f8054
- Fix the name of the script in an error message produced by
28f8054
  virtualenvwrapper_lazy.sh.
28f8054
29ed1fe
* Mon Apr 08 2013 Ralph Bean <rbean@redhat.com> - 3.7.1-1
29ed1fe
- Latest upstream including the following bugfix changes.
29ed1fe
- Rename functions for generating help so they do not pollute the global
29ed1fe
  namespace, and especially so they do not interfere with tab completion.
29ed1fe
  Contributed by davidszotten.
29ed1fe
- Fix an issue with listing project templates if none are installed.
29ed1fe
  (issue 179)
29ed1fe
- Fix an issue with the --python option to mkvirtualenv becoming sticky
29ed1fe
  for future calls that do not explicitly specify the option. (issue 178)
29ed1fe
899a061
* Wed Mar 20 2013 Ralph Bean <rbean@redhat.com> - 3.7-1
899a061
- Latest upstream.
899a061
- Improve tab-completion support for users of the lazy-loading mode.
899a061
- Add --help option to mkproject.
899a061
- Add --help option to workon.
899a061
- Turn off logging from the hook loader by default.
899a061
- Use flake8 for style checking.
899a061
49d2790
* Fri Mar 08 2013 Ralph Bean <rbean@redhat.com> - 3.6.1-1
49d2790
- Latest upstream
49d2790
f3968e7
* Mon Feb 25 2013 Ralph Bean <rbean@redhat.com> - 3.6-1
f3968e7
- Latest upstream
f3968e7
0c05a8b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5-4
0c05a8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0c05a8b
020b694
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5-3
020b694
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
020b694
facd601
* Mon Jul 16 2012 Ralph Bean <rbean@redhat.com> 3.5-2
facd601
- Added new dependency on python-virtualenv-clone
facd601
9c49fca
* Mon Jul 09 2012 Ralph Bean <rbean@redhat.com> 3.5-1
9c49fca
- Latest upstream version.
9c49fca
dd088fe
* Fri May 25 2012 Ralph Bean <rbean@redhat.com> 3.4-1
dd088fe
- New upstream release with security fix and new features.
dd088fe
- Packaging new file virtualenvwrapper_lazy.sh
dd088fe
- More explicit directory ownership in python_sitelib.
dd088fe
- Removed old patches due to upstream bugfixes.
dd088fe
- Using modname macro in Source url.
dd088fe
739ac2a
* Mon May 07 2012 Ralph Bean <rbean@redhat.com> 3.2-4
739ac2a
- Fixed a typo in the changelog
739ac2a
9fa97f8
* Mon May 07 2012 Ralph Bean <rbean@redhat.com> 3.2-3
739ac2a
- Applied security patch from Aron Griffis.  http://bit.ly/IHJqxs
9fa97f8
6a32d3b
* Tue Apr 17 2012 Ralph Bean <rbean@redhat.com> 3.2-2
6a32d3b
- Updated the Shebangs-and-permissions patch to add a shebang to
6a32d3b
  /usr/bin/virtualenvwrapper.sh
6a32d3b
6a32d3b
* Mon Apr 09 2012 Ralph Bean <rbean@redhat.com> 3.2-1
6a32d3b
- Packaged latest version which includes disambiguated license.
6a32d3b
- Removed %defattr macro.
6a32d3b
- Added patch to quiet up rpmlint.
6a32d3b
6a32d3b
* Wed Apr 04 2012 Ralph Bean <rbean@redhat.com> 3.1-1
6a32d3b
- initial package for Fedora