2020-03-16 13:37:41 +00:00
|
|
|
Name: micropipenv
|
2022-06-08 12:23:28 +00:00
|
|
|
Version: 1.3.0
|
2022-06-15 14:34:36 +00:00
|
|
|
Release: 2%{?dist}
|
2020-03-16 13:37:41 +00:00
|
|
|
Summary: A simple wrapper around pip to support Pipenv and Poetry files
|
|
|
|
|
2020-06-05 08:08:07 +00:00
|
|
|
License: LGPLv3+
|
2020-03-16 13:37:41 +00:00
|
|
|
URL: https://github.com/thoth-station/%{name}
|
|
|
|
Source0: %{url}/archive/v%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
2020-05-05 17:01:30 +00:00
|
|
|
|
2020-03-16 13:37:41 +00:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3dist(pip)
|
|
|
|
BuildRequires: python3dist(setuptools)
|
|
|
|
BuildRequires: python3dist(toml)
|
|
|
|
# For testing
|
|
|
|
BuildRequires: python3dist(flexmock)
|
|
|
|
BuildRequires: python3dist(pytest)
|
|
|
|
BuildRequires: python3dist(pytest-timeout)
|
2020-09-03 08:26:48 +00:00
|
|
|
BuildRequires: python3dist(pytest-venv)
|
2020-03-16 13:37:41 +00:00
|
|
|
|
|
|
|
%{?python_provide:%python_provide python3-%{name}}
|
|
|
|
|
|
|
|
Requires: python3dist(toml)
|
|
|
|
|
|
|
|
%description
|
|
|
|
A lightweight wrapper for pip to support Pipenv and Poetry lock files or
|
|
|
|
converting them to pip-tools compatible output.
|
|
|
|
|
|
|
|
%prep
|
2021-03-12 09:48:26 +00:00
|
|
|
%autosetup
|
2020-03-16 13:37:41 +00:00
|
|
|
# Remove shebang line from the module
|
|
|
|
sed -i '1{\@^#!/usr/bin/env python@d}' %{name}.py
|
|
|
|
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
%check
|
2020-10-22 12:43:34 +00:00
|
|
|
# skipped tests requires internet or checks pip version
|
2022-02-21 09:39:11 +00:00
|
|
|
%pytest -m "not online" -k "not test_check_pip_version and not test_install_invalid_toml_file"
|
2020-03-16 13:37:41 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README.rst
|
2020-06-05 08:08:07 +00:00
|
|
|
%license LICENSE*
|
2020-03-16 13:37:41 +00:00
|
|
|
%{_bindir}/micropipenv
|
|
|
|
%pycached %{python3_sitelib}/%{name}.py
|
|
|
|
%{python3_sitelib}/%{name}-%{version}-py*.egg-info/
|
|
|
|
|
|
|
|
%changelog
|
2022-06-15 14:34:36 +00:00
|
|
|
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 1.3.0-2
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
2022-06-08 12:23:28 +00:00
|
|
|
* Wed Jun 08 2022 Lumír Balhar <lbalhar@redhat.com> - 1.3.0-1
|
|
|
|
- Update to 1.3.0
|
|
|
|
Resolves: rhbz#2083779
|
|
|
|
|
2022-02-21 09:39:11 +00:00
|
|
|
* Mon Feb 21 2022 Lumír Balhar <lbalhar@redhat.com> - 1.2.1-1
|
|
|
|
- Update to 1.2.1
|
|
|
|
Resolves: rhbz#2056449
|
|
|
|
|
2022-01-20 19:11:18 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2022-01-05 07:35:42 +00:00
|
|
|
* Wed Jan 05 2022 Lumír Balhar <lbalhar@redhat.com> - 1.2.0-1
|
|
|
|
- Update to 1.2.0
|
|
|
|
|
2021-10-25 07:13:46 +00:00
|
|
|
* Mon Oct 25 2021 Lumír Balhar <lbalhar@redhat.com> - 1.1.3-1
|
|
|
|
- Update to 1.1.3
|
|
|
|
Resolves: rhbz#2016285
|
|
|
|
|
2021-10-06 12:56:33 +00:00
|
|
|
* Wed Oct 06 2021 Lumír Balhar <lbalhar@redhat.com> - 1.1.2-1
|
|
|
|
- Update to 1.1.2
|
|
|
|
Resolves: rhbz#2006696
|
|
|
|
|
2021-07-22 14:13:53 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-21 08:25:59 +00:00
|
|
|
* Mon Jun 21 2021 Lumír Balhar <lbalhar@redhat.com> - 1.1.0-1
|
|
|
|
- Update to 1.1.0
|
|
|
|
Resolves: rhbz#1974255
|
|
|
|
|
2021-06-04 18:11:33 +00:00
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.4-2
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
2021-05-04 05:28:55 +00:00
|
|
|
* Tue May 04 2021 Lumír Balhar <lbalhar@redhat.com> - 1.0.4-1
|
|
|
|
- Update to 1.0.4
|
|
|
|
Resolves: rhbz#1955039
|
|
|
|
|
2021-03-12 09:48:26 +00:00
|
|
|
* Fri Mar 12 2021 Karolina SUrma <ksurma@redhat.com> - 1.0.3-1
|
|
|
|
- Update to 1.0.3
|
|
|
|
Resolves: rhbz#1937471
|
|
|
|
|
2021-01-26 19:43:48 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-12-11 06:43:51 +00:00
|
|
|
* Fri Dec 11 2020 Lumír Balhar <lbalhar@redhat.com> - 1.0.2-1
|
|
|
|
- Update to 1.0.2 (#1906430)
|
|
|
|
|
2020-11-12 15:37:11 +00:00
|
|
|
* Tue Nov 10 2020 Lumír Balhar <lbalhar@redhat.com> - 1.0.1-1
|
|
|
|
- Update to 1.0.1
|
|
|
|
|
2020-10-02 08:00:21 +00:00
|
|
|
* Fri Oct 02 2020 Lumír Balhar <lbalhar@redhat.com> - 1.0.0-1
|
|
|
|
- Update to 1.0.0 (#1884346)
|
|
|
|
|
2020-09-03 08:26:48 +00:00
|
|
|
* Thu Sep 03 2020 Lumír Balhar <lbalhar@redhat.com> - 0.6.0-1
|
|
|
|
- Update to 0.6.0 (#1875250)
|
|
|
|
|
2020-07-30 06:10:56 +00:00
|
|
|
* Thu Jul 30 2020 Lumír Balhar <lbalhar@redhat.com> - 0.5.1-1
|
|
|
|
- Update to 0.5.1 (#1859995)
|
|
|
|
|
2020-07-28 07:21:33 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-09 07:05:47 +00:00
|
|
|
* Thu Jul 09 2020 Lumír Balhar <lbalhar@redhat.com> - 0.4.0-1
|
|
|
|
- Update to 0.4.0 (#1854424)
|
|
|
|
|
2020-06-15 17:23:40 +00:00
|
|
|
* Mon Jun 15 2020 Lumír Balhar <lbalhar@redhat.com> - 0.3.0-1
|
|
|
|
- Update to 0.3.0 (#1846944)
|
|
|
|
|
2020-06-05 08:08:07 +00:00
|
|
|
* Fri Jun 05 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.0-2
|
|
|
|
- Correct the license tag (GPLv3+ to LGPLv3+)
|
|
|
|
- Include the actual LICENSE files in the package
|
|
|
|
|
2020-06-04 10:00:28 +00:00
|
|
|
* Thu Jun 04 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.0-1
|
|
|
|
- Update to 0.2.0 (#1838278, #1841641)
|
|
|
|
|
2020-05-26 00:52:53 +00:00
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.6-2
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-05-05 17:01:30 +00:00
|
|
|
* Tue May 05 2020 Lumír Balhar <lbalhar@redhat.com> - 0.1.6-1
|
|
|
|
- Update to 0.1.6 (#1831328)
|
|
|
|
|
2020-04-07 18:48:17 +00:00
|
|
|
* Tue Apr 07 2020 Lumír Balhar <lbalhar@redhat.com> - 0.1.5-1
|
|
|
|
- Update to 0.1.5 (#1821807)
|
|
|
|
|
2020-03-16 13:37:41 +00:00
|
|
|
* Thu Mar 12 2020 Lumír Balhar <lbalhar@redhat.com> - 0.1.4-1
|
|
|
|
- Initial package.
|