[packages/python-virtualenvwrapper] new, version 4.3.1
glen
glen at pld-linux.org
Mon Dec 8 12:07:18 CET 2014
commit ee81279f52d69ba27bc0b8de3a7e11b0da438fc5
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Dec 8 13:06:00 2014 +0200
new, version 4.3.1
based on fedora spec e695bb2
python-virtualenvwrapper.spec | 74 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 74 insertions(+)
---
diff --git a/python-virtualenvwrapper.spec b/python-virtualenvwrapper.spec
new file mode 100644
index 0000000..a5f6cef
--- /dev/null
+++ b/python-virtualenvwrapper.spec
@@ -0,0 +1,74 @@
+#
+# Conditional build:
+%bcond_with tests # requires network to install stuff from pypi
+
+%define module virtualenvwrapper
+Summary: Enhancements to virtualenv
+Name: python-%{module}
+Version: 4.3.1
+Release: 1
+License: MIT
+Group: Development/Languages
+Source0: http://pypi.python.org/packages/source/v/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5: 4327d04b0e65d4229352454ab8ce3f37
+URL: http://pypi.python.org/pypi/virtualenvwrapper
+BuildRequires: python-pbr
+BuildRequires: python-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+%if %{with tests}
+BuildRequires: python-stevedore
+BuildRequires: python-virtualenv
+BuildRequires: python-virtualenv-clone
+## Just for tests
+BuildRequires: ksh
+BuildRequires: python-tox
+BuildRequires: zsh
+%endif
+Requires: python-stevedore
+Requires: python-virtualenv
+Requires: python-virtualenv-clone
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+virtualenvwrapper is a set of extensions to Ian Bicking's virtualenv
+tool. The extensions include wrappers for creating and deleting
+virtual environments and otherwise managing your development workflow,
+making it easier to work on more than one project at a time without
+introducing conflicts in their dependencies.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%if %{with tests}
+tox -e py27
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --skip-build \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+install -d $RPM_BUILD_ROOT/etc/profile.d
+ln -s %{_bindir}/virtualenvwrapper.sh $RPM_BUILD_ROOT/etc/profile.d/virtualenvwrapper.sh
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc PKG-INFO docs
+/etc/profile.d/virtualenvwrapper.sh
+%attr(755,root,root) %{_bindir}/virtualenvwrapper.sh
+%attr(755,root,root) %{_bindir}/virtualenvwrapper_lazy.sh
+%{py_sitescriptdir}/virtualenvwrapper
+%{py_sitescriptdir}/virtualenvwrapper-%{version}-py*-nspkg.pth
+%{py_sitescriptdir}/virtualenvwrapper-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-virtualenvwrapper.git/commitdiff/ee81279f52d69ba27bc0b8de3a7e11b0da438fc5
More information about the pld-cvs-commit
mailing list