|
|
7712960 |
# Created by pyp2rpm-3.0.0
|
|
|
7712960 |
%global pypi_name virtualenv-api
|
|
|
7712960 |
%global underscore_name virtualenv_api
|
|
|
7712960 |
|
|
|
cd485ba |
# test suite is disabled default for koji builds,
|
|
|
c9614cd |
# because the tests require internet connection.
|
|
|
cd485ba |
%global run_test_suite 0
|
|
|
cd485ba |
|
|
|
7712960 |
Name: python-%{pypi_name}
|
|
|
c9614cd |
Version: 2.1.9
|
|
|
66fb013 |
Release: 4%{?dist}
|
|
|
7712960 |
Summary: An API for virtualenv/pip
|
|
|
7712960 |
|
|
|
7712960 |
License: BSD
|
|
|
7712960 |
URL: https://github.com/sjkingo/virtualenv-api
|
|
|
7712960 |
Source0: %{pypi_name}-%{version}.tar.gz
|
|
|
7712960 |
|
|
|
c9614cd |
# Add tests and LICENSE missing in sources
|
|
|
c9614cd |
Patch0: add_tests_license.patch
|
|
|
7712960 |
|
|
|
7712960 |
BuildArch: noarch
|
|
|
7712960 |
|
|
|
7712960 |
BuildRequires: python-setuptools
|
|
|
7712960 |
BuildRequires: python2-devel
|
|
|
7712960 |
BuildRequires: python2-virtualenv
|
|
|
cd485ba |
BuildRequires: python-six
|
|
|
cd485ba |
BuildRequires: python-pip
|
|
|
7712960 |
BuildRequires: git-all
|
|
|
7712960 |
|
|
|
7712960 |
BuildRequires: python3-setuptools
|
|
|
7712960 |
BuildRequires: python3-devel
|
|
|
7712960 |
BuildRequires: python3-virtualenv
|
|
|
cd485ba |
BuildRequires: python3-six
|
|
|
cd485ba |
BuildRequires: python3-pip
|
|
|
7712960 |
|
|
|
7712960 |
%description
|
|
|
7712960 |
virtualenv-api - an API for virtualenv
|
|
|
7712960 |
Tool to create isolated Python environments. Unfortunately,
|
|
|
7712960 |
it does not expose a native Python API. This package aims to
|
|
|
7712960 |
provide an API in the form of a wrapper around virtualenv.
|
|
|
7712960 |
|
|
|
7712960 |
%package -n python2-%{pypi_name}
|
|
|
7712960 |
Summary: An API for virtualenv/pip
|
|
|
7712960 |
%{?python_provide:%python_provide python2-%{pypi_name}}
|
|
|
7712960 |
|
|
|
7712960 |
Requires: python-six
|
|
|
cd485ba |
Requires: python2-virtualenv
|
|
|
cd485ba |
Requires: python-pip
|
|
|
7712960 |
%description -n python2-%{pypi_name}
|
|
|
7712960 |
virtualenv-api - an API for virtualenv
|
|
|
7712960 |
Tool to create isolated Python environments. Unfortunately,
|
|
|
7712960 |
it does not expose a native Python API. This package aims to
|
|
|
7712960 |
provide an API in the form of a wrapper around virtualenv.
|
|
|
7712960 |
|
|
|
7712960 |
%package -n python3-%{pypi_name}
|
|
|
7712960 |
Summary: An API for virtualenv/pip
|
|
|
7712960 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
7712960 |
|
|
|
7712960 |
Requires: python3-six
|
|
|
cd485ba |
Requires: python3-virtualenv
|
|
|
cd485ba |
Requires: python3-pip
|
|
|
7712960 |
%description -n python3-%{pypi_name}
|
|
|
7712960 |
virtualenv-api - an API for virtualenv
|
|
|
7712960 |
Tool to create isolated Python environments. Unfortunately,
|
|
|
7712960 |
it does not expose a native Python API. This package aims to
|
|
|
7712960 |
provide an API in the form of a wrapper around virtualenv.
|
|
|
7712960 |
|
|
|
7712960 |
%prep
|
|
|
7712960 |
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
7712960 |
# Remove bundled egg-info
|
|
|
7712960 |
rm -rf %{pypi_name}.egg-info
|
|
|
7712960 |
|
|
|
7712960 |
%build
|
|
|
7712960 |
%py2_build
|
|
|
7712960 |
%py3_build
|
|
|
7712960 |
|
|
|
7712960 |
%install
|
|
|
7712960 |
%py3_install
|
|
|
7712960 |
%py2_install
|
|
|
7712960 |
|
|
|
cd485ba |
%if 0%{run_test_suite}
|
|
|
cd485ba |
%check
|
|
|
cd485ba |
%{__python3} setup.py test
|
|
|
cd485ba |
%endif # run_test_suite
|
|
|
7712960 |
|
|
|
7712960 |
%files -n python2-%{pypi_name}
|
|
|
7712960 |
%license LICENSE
|
|
|
7712960 |
%doc README.rst
|
|
|
7712960 |
%{python2_sitelib}/virtualenvapi
|
|
|
7712960 |
%{python2_sitelib}/%{underscore_name}-%{version}-py?.?.egg-info
|
|
|
7712960 |
|
|
|
7712960 |
%files -n python3-%{pypi_name}
|
|
|
7712960 |
%license LICENSE
|
|
|
7712960 |
%doc README.rst
|
|
|
7712960 |
%{python3_sitelib}/virtualenvapi
|
|
|
7712960 |
%{python3_sitelib}/%{underscore_name}-%{version}-py?.?.egg-info
|
|
|
7712960 |
|
|
|
7712960 |
%changelog
|
|
|
66fb013 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.9-4
|
|
|
66fb013 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
66fb013 |
|
|
|
04cf875 |
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 2.1.9-3
|
|
|
04cf875 |
- Rebuild for Python 3.6
|
|
|
04cf875 |
|
|
|
f49f579 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.9-2
|
|
|
f49f579 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
f49f579 |
|
|
|
c9614cd |
* Mon Jun 06 2016 Michal Cyprian <mcyprian@redhat.com> - 2.1.8-4
|
|
|
c9614cd |
- Update to 2.1.9
|
|
|
c9614cd |
|
|
|
eadca44 |
* Wed Apr 13 2016 Michal Cyprian <mcyprian@redhat.com> - 2.1.8-2
|
|
|
eadca44 |
- Add requires, use test_suite enabling macro
|
|
|
eadca44 |
|
|
|
7712960 |
* Wed Mar 30 2016 Michal Cyprian <mcyprian@redhat.com> - 2.1.8-1
|
|
|
7712960 |
- Initial package.
|