Blame micropipenv.spec

b7aa512
Name:           micropipenv
df74d76
Version:        1.0.2
188bfe2
Release:        1%{?dist}
b7aa512
Summary:        A simple wrapper around pip to support Pipenv and Poetry files
b7aa512
6b1a38a
License:        LGPLv3+
b7aa512
URL:            https://github.com/thoth-station/%{name}
b7aa512
Source0:        %{url}/archive/v%{version}.tar.gz
b7aa512
BuildArch:      noarch
0b0961a
b7aa512
BuildRequires:  python3-devel
b7aa512
BuildRequires:  python3dist(pip)
b7aa512
BuildRequires:  python3dist(setuptools)
b7aa512
BuildRequires:  python3dist(toml)
b7aa512
# For testing
b7aa512
BuildRequires:  python3dist(flexmock)
b7aa512
BuildRequires:  python3dist(pytest)
b7aa512
BuildRequires:  python3dist(pytest-timeout)
c90fc19
BuildRequires:  python3dist(pytest-venv)
b7aa512
b7aa512
%{?python_provide:%python_provide python3-%{name}}
b7aa512
0b0961a
Requires:       python3dist(pip)
b7aa512
Requires:       python3dist(setuptools)
b7aa512
Requires:       python3dist(toml)
b7aa512
b7aa512
%description
b7aa512
A lightweight wrapper for pip to support Pipenv and Poetry lock files or
b7aa512
converting them to pip-tools compatible output.
b7aa512
b7aa512
%prep
b7aa512
%autosetup -n %{name}-%{version}
b7aa512
# Remove shebang line from the module
b7aa512
sed -i '1{\@^#!/usr/bin/env python@d}' %{name}.py
b7aa512
b7aa512
%build
b7aa512
%py3_build
b7aa512
b7aa512
%install
b7aa512
%py3_install
b7aa512
b7aa512
%check
8efb351
# skipped tests requires internet or checks pip version
8efb351
%pytest -m "not online" -k "not test_check_pip_version"
b7aa512
b7aa512
%files
b7aa512
%doc README.rst
6b1a38a
%license LICENSE*
b7aa512
%{_bindir}/micropipenv
b7aa512
%pycached %{python3_sitelib}/%{name}.py
b7aa512
%{python3_sitelib}/%{name}-%{version}-py*.egg-info/
b7aa512
b7aa512
%changelog
df74d76
* Fri Dec 11 2020 Lumír Balhar <lbalhar@redhat.com> - 1.0.2-1
df74d76
- Update to 1.0.2 (#1906430)
df74d76
ac46ca2
* Tue Nov 10 2020 Lumír Balhar <lbalhar@redhat.com> - 1.0.1-1
ac46ca2
- Update to 1.0.1
ac46ca2
134d538
* Fri Oct 02 2020 Lumír Balhar <lbalhar@redhat.com> - 1.0.0-1
134d538
- Update to 1.0.0 (#1884346)
134d538
c90fc19
* Thu Sep 03 2020 Lumír Balhar <lbalhar@redhat.com> - 0.6.0-1
c90fc19
- Update to 0.6.0 (#1875250)
c90fc19
188bfe2
* Thu Jul 30 2020 Lumír Balhar <lbalhar@redhat.com> - 0.5.1-1
188bfe2
- Update to 0.5.1 (#1859995)
188bfe2
9c44f96
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
9c44f96
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9c44f96
2dc0c4b
* Thu Jul 09 2020 Lumír Balhar <lbalhar@redhat.com> - 0.4.0-1
2dc0c4b
- Update to 0.4.0 (#1854424)
2dc0c4b
29ae533
* Mon Jun 15 2020 Lumír Balhar <lbalhar@redhat.com> - 0.3.0-1
29ae533
- Update to 0.3.0 (#1846944)
29ae533
6b1a38a
* Fri Jun 05 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.0-2
6b1a38a
- Correct the license tag (GPLv3+ to LGPLv3+)
6b1a38a
- Include the actual LICENSE files in the package
6b1a38a
0051265
* Thu Jun 04 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.0-1
0051265
- Update to 0.2.0 (#1838278, #1841641)
0051265
b14caff
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.6-2
b14caff
- Rebuilt for Python 3.9
b14caff
0b0961a
* Tue May 05 2020 Lumír Balhar <lbalhar@redhat.com> - 0.1.6-1
0b0961a
- Update to 0.1.6 (#1831328)
0b0961a
d6feacd
* Tue Apr 07 2020 Lumír Balhar <lbalhar@redhat.com> - 0.1.5-1
d6feacd
- Update to 0.1.5 (#1821807)
d6feacd
b7aa512
* Thu Mar 12 2020 Lumír Balhar <lbalhar@redhat.com> - 0.1.4-1
b7aa512
- Initial package.