Update to 1.4.1
This commit is contained in:
parent
b6cd5cbd7a
commit
b4a4d3531e
2
.gitignore
vendored
2
.gitignore
vendored
@ -17,3 +17,5 @@
|
|||||||
/v1.2.0.tar.gz
|
/v1.2.0.tar.gz
|
||||||
/v1.2.1.tar.gz
|
/v1.2.1.tar.gz
|
||||||
/v1.3.0.tar.gz
|
/v1.3.0.tar.gz
|
||||||
|
/v1.4.0.tar.gz
|
||||||
|
/v1.4.1.tar.gz
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: micropipenv
|
Name: micropipenv
|
||||||
Version: 1.3.0
|
Version: 1.4.1
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A simple wrapper around pip to support Pipenv and Poetry files
|
Summary: A simple wrapper around pip to support Pipenv and Poetry files
|
||||||
|
|
||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
@ -9,14 +9,6 @@ Source0: %{url}/archive/v%{version}.tar.gz
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3dist(pip)
|
|
||||||
BuildRequires: python3dist(setuptools)
|
|
||||||
BuildRequires: python3dist(toml)
|
|
||||||
# For testing
|
|
||||||
BuildRequires: python3dist(flexmock)
|
|
||||||
BuildRequires: python3dist(pytest)
|
|
||||||
BuildRequires: python3dist(pytest-timeout)
|
|
||||||
BuildRequires: python3dist(pytest-venv)
|
|
||||||
|
|
||||||
%{?python_provide:%python_provide python3-%{name}}
|
%{?python_provide:%python_provide python3-%{name}}
|
||||||
|
|
||||||
@ -31,24 +23,29 @@ converting them to pip-tools compatible output.
|
|||||||
# Remove shebang line from the module
|
# Remove shebang line from the module
|
||||||
sed -i '1{\@^#!/usr/bin/env python@d}' %{name}.py
|
sed -i '1{\@^#!/usr/bin/env python@d}' %{name}.py
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
%pyproject_buildrequires -r -t
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
|
%pyproject_save_files %{name}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# skipped tests requires internet or checks pip version
|
# skipped tests requires internet or checks pip version
|
||||||
%pytest -m "not online" -k "not test_check_pip_version and not test_install_invalid_toml_file"
|
%pytest -m "not online" -k "not test_check_pip_version and not test_install_invalid_toml_file"
|
||||||
|
|
||||||
%files
|
%files -f %pyproject_files
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE*
|
|
||||||
%{_bindir}/micropipenv
|
%{_bindir}/micropipenv
|
||||||
%pycached %{python3_sitelib}/%{name}.py
|
|
||||||
%{python3_sitelib}/%{name}-%{version}-py*.egg-info/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 26 2022 Lumír Balhar <lbalhar@redhat.com> - 1.4.1-1
|
||||||
|
- Update to 1.4.1
|
||||||
|
Resolves: rhbz#2110900
|
||||||
|
|
||||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (v1.3.0.tar.gz) = e23fa98ca8a2d1a8165d1e00618b0a017af472c8f6e534152543151c70d29491e4bae0775fb8704e3c237d9c9adf56f7e0f44fe0fea7fad4ad482201f91541ad
|
SHA512 (v1.4.1.tar.gz) = 1ea1b9f647fc525e7d90a184b147489ca5dec98b5cf2e08def55f3cc1c2f8bd1bca211452b188aac286d723fe9d8274df72c640fdf2e6db1e5dca039c538286c
|
||||||
|
Loading…
Reference in New Issue
Block a user