|
|
328f9e |
%bcond_with check
|
|
|
328f9e |
|
|
|
328f9e |
Name: micropipenv
|
|
|
328f9e |
Version: 1.0.2
|
|
|
328f9e |
Release: 5%{?dist}
|
|
|
328f9e |
Summary: A simple wrapper around pip to support Pipenv and Poetry files
|
|
|
328f9e |
|
|
|
328f9e |
License: LGPLv3+
|
|
|
328f9e |
URL: https://github.com/thoth-station/%{name}
|
|
|
328f9e |
Source0: %{url}/archive/v%{version}.tar.gz
|
|
|
328f9e |
BuildArch: noarch
|
|
|
328f9e |
|
|
|
328f9e |
BuildRequires: python3-devel
|
|
|
328f9e |
BuildRequires: python3dist(pip)
|
|
|
328f9e |
BuildRequires: python3dist(setuptools)
|
|
|
328f9e |
BuildRequires: python3dist(toml)
|
|
|
328f9e |
%if %{with check}
|
|
|
328f9e |
# For testing
|
|
|
328f9e |
# Most of the test dependencies are not packaged in RHEL but can be pip-installed
|
|
|
328f9e |
BuildRequires: python3dist(flexmock)
|
|
|
328f9e |
BuildRequires: python3dist(pytest)
|
|
|
328f9e |
BuildRequires: python3dist(pytest-timeout)
|
|
|
328f9e |
BuildRequires: python3dist(pytest-venv)
|
|
|
328f9e |
%endif
|
|
|
328f9e |
|
|
|
328f9e |
%{?python_provide:%python_provide python3-%{name}}
|
|
|
328f9e |
|
|
|
328f9e |
Requires: python3dist(pip)
|
|
|
328f9e |
Requires: python3dist(setuptools)
|
|
|
328f9e |
Requires: python3dist(toml)
|
|
|
328f9e |
|
|
|
328f9e |
%description
|
|
|
328f9e |
A lightweight wrapper for pip to support Pipenv and Poetry lock files or
|
|
|
328f9e |
converting them to pip-tools compatible output.
|
|
|
328f9e |
|
|
|
328f9e |
%prep
|
|
|
328f9e |
%autosetup -n %{name}-%{version}
|
|
|
328f9e |
# Remove shebang line from the module
|
|
|
328f9e |
sed -i '1{\@^#!/usr/bin/env python@d}' %{name}.py
|
|
|
328f9e |
|
|
|
328f9e |
%build
|
|
|
328f9e |
%py3_build
|
|
|
328f9e |
|
|
|
328f9e |
%install
|
|
|
328f9e |
%py3_install
|
|
|
328f9e |
|
|
|
328f9e |
%check
|
|
|
328f9e |
%if %{with check}
|
|
|
328f9e |
# - skipped tests requires internet
|
|
|
328f9e |
# - skipped check of pip version - micropipenv is coupled with pip and checks
|
|
|
328f9e |
# if it's using the latest version, but it's being tested upstream with old
|
|
|
328f9e |
# RHEL versions as well, and if the rest of the test suite is passing, there
|
|
|
328f9e |
# should not be issues
|
|
|
328f9e |
%pytest -m "not online" -k "not test_check_pip_version"
|
|
|
328f9e |
%endif
|
|
|
328f9e |
|
|
|
328f9e |
%files
|
|
|
328f9e |
%doc README.rst
|
|
|
328f9e |
%license LICENSE*
|
|
|
328f9e |
%{_bindir}/micropipenv
|
|
|
328f9e |
%pycached %{python3_sitelib}/%{name}.py
|
|
|
328f9e |
%{python3_sitelib}/%{name}-%{version}-py*.egg-info/
|
|
|
328f9e |
|
|
|
328f9e |
%changelog
|
|
|
328f9e |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.2-5
|
|
|
328f9e |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
328f9e |
Related: rhbz#1991688
|
|
|
328f9e |
|
|
|
328f9e |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.2-4
|
|
|
328f9e |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
328f9e |
|
|
|
328f9e |
* Mon Mar 01 2021 Charalampos Stratakis <cstratak@redhat.com> - 1.0.2-3
|
|
|
328f9e |
- Disable the test run under RHEL due to missing dependencies
|
|
|
328f9e |
Resolves: rhbz#1932454
|
|
|
328f9e |
|
|
|
328f9e |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
|
|
328f9e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
328f9e |
|
|
|
328f9e |
* Fri Dec 11 2020 Lumír Balhar <lbalhar@redhat.com> - 1.0.2-1
|
|
|
328f9e |
- Update to 1.0.2 (#1906430)
|
|
|
328f9e |
|
|
|
328f9e |
* Tue Nov 10 2020 Lumír Balhar <lbalhar@redhat.com> - 1.0.1-1
|
|
|
328f9e |
- Update to 1.0.1
|
|
|
328f9e |
|
|
|
328f9e |
* Fri Oct 02 2020 Lumír Balhar <lbalhar@redhat.com> - 1.0.0-1
|
|
|
328f9e |
- Update to 1.0.0 (#1884346)
|
|
|
328f9e |
|
|
|
328f9e |
* Thu Sep 03 2020 Lumír Balhar <lbalhar@redhat.com> - 0.6.0-1
|
|
|
328f9e |
- Update to 0.6.0 (#1875250)
|
|
|
328f9e |
|
|
|
328f9e |
* Thu Jul 30 2020 Lumír Balhar <lbalhar@redhat.com> - 0.5.1-1
|
|
|
328f9e |
- Update to 0.5.1 (#1859995)
|
|
|
328f9e |
|
|
|
328f9e |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
|
|
|
328f9e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
328f9e |
|
|
|
328f9e |
* Thu Jul 09 2020 Lumír Balhar <lbalhar@redhat.com> - 0.4.0-1
|
|
|
328f9e |
- Update to 0.4.0 (#1854424)
|
|
|
328f9e |
|
|
|
328f9e |
* Mon Jun 15 2020 Lumír Balhar <lbalhar@redhat.com> - 0.3.0-1
|
|
|
328f9e |
- Update to 0.3.0 (#1846944)
|
|
|
328f9e |
|
|
|
328f9e |
* Fri Jun 05 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.0-2
|
|
|
328f9e |
- Correct the license tag (GPLv3+ to LGPLv3+)
|
|
|
328f9e |
- Include the actual LICENSE files in the package
|
|
|
328f9e |
|
|
|
328f9e |
* Thu Jun 04 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.0-1
|
|
|
328f9e |
- Update to 0.2.0 (#1838278, #1841641)
|
|
|
328f9e |
|
|
|
328f9e |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.6-2
|
|
|
328f9e |
- Rebuilt for Python 3.9
|
|
|
328f9e |
|
|
|
328f9e |
* Tue May 05 2020 Lumír Balhar <lbalhar@redhat.com> - 0.1.6-1
|
|
|
328f9e |
- Update to 0.1.6 (#1831328)
|
|
|
328f9e |
|
|
|
328f9e |
* Tue Apr 07 2020 Lumír Balhar <lbalhar@redhat.com> - 0.1.5-1
|
|
|
328f9e |
- Update to 0.1.5 (#1821807)
|
|
|
328f9e |
|
|
|
328f9e |
* Thu Mar 12 2020 Lumír Balhar <lbalhar@redhat.com> - 0.1.4-1
|
|
|
328f9e |
- Initial package.
|