Blame python-virtualenv-api.spec

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}
796c43a
Version:        2.1.18
796c43a
Release:        1%{?dist}
7712960
Summary:        An API for virtualenv/pip
7712960
7712960
License:        BSD
7712960
URL:            https://github.com/sjkingo/virtualenv-api
796c43a
Source0:        %pypi_source
7712960
c9614cd
# Add tests and LICENSE missing in sources
c9614cd
Patch0:         add_tests_license.patch
7712960
7712960
BuildArch:      noarch
7712960
 
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     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
%py3_build
7712960
7712960
%install
7712960
%py3_install
7712960
cd485ba
%if 0%{run_test_suite}
cd485ba
%check
a9a30bd
%{__python3} tests.py
cd485ba
%endif # run_test_suite
7712960
7712960
%files -n python3-%{pypi_name} 
7712960
%license LICENSE
7712960
%doc README.rst
7712960
%{python3_sitelib}/virtualenvapi
e3435ba
%{python3_sitelib}/%{underscore_name}-%{version}-py%{python3_version}.egg-info
7712960
7712960
%changelog
796c43a
* Wed Dec 09 2020 Charalampos Stratakis <cstratak@redhat.com> - 2.1.18-1
796c43a
- Update to 2.1.18 (rhbz#1797387)
796c43a
d6f638e
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.16-13
d6f638e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d6f638e
a407291
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.1.16-12
a407291
- Rebuilt for Python 3.9
a407291
84f6f3f
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.16-11
84f6f3f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
84f6f3f
c135603
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.16-10
c135603
- Rebuilt for Python 3.8.0rc1 (#1748018)
c135603
45e6d3b
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.16-9
45e6d3b
- Rebuilt for Python 3.8
45e6d3b
7b12f8e
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.16-8
7b12f8e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7b12f8e
76b97eb
* Tue Mar 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.16-7
76b97eb
- Subpackage python2-virtualenv-api has been removed
76b97eb
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
76b97eb
944ef75
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.16-6
944ef75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
944ef75
159c064
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.16-5
159c064
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
159c064
9bbd456
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.1.16-4
9bbd456
- Rebuilt for Python 3.7
9bbd456
615ea0a
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.16-3
615ea0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
615ea0a
5639a4f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.16-2
5639a4f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5639a4f
a9a30bd
* Mon Mar 20 2017 Michal Cyprian <mcyprian@redhat.com> - 2.1.16-1
a9a30bd
- Update to 2.1.16
a9a30bd
9bee803
* Thu Feb 23 2017 Michal Cyprian <mcyprian@redhat.com> - 2.1.14-1
9bee803
- Update to 2.1.14
9bee803
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.