commit fb57df818d9103fb30c8bdd59768e7417162a644 Author: MSVSphere Packaging Team Date: Tue Nov 26 17:30:07 2024 +0300 import micropipenv-1.6.0-8.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..afa96a6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/v1.6.0.tar.gz diff --git a/.micropipenv.metadata b/.micropipenv.metadata new file mode 100644 index 0000000..08b9ee9 --- /dev/null +++ b/.micropipenv.metadata @@ -0,0 +1 @@ +89f1f761b65b51a63020ac7b6a86b4f569f42aae SOURCES/v1.6.0.tar.gz diff --git a/SPECS/micropipenv.spec b/SPECS/micropipenv.spec new file mode 100644 index 0000000..e6dfad2 --- /dev/null +++ b/SPECS/micropipenv.spec @@ -0,0 +1,241 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.1) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 8; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# some test dependencies are unwanted in RHEL +%if 0%{?rhel} +%bcond_with tests +%else +%bcond_without tests +%endif + +Name: micropipenv +Version: 1.6.0 +Release: %autorelease +Summary: A simple wrapper around pip to support Pipenv and Poetry files + +License: LGPL-3.0-or-later +URL: https://github.com/thoth-station/%{name} +Source0: %{url}/archive/v%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel + +%py_provides python3-%{name} + +Recommends: micropipenv+toml + +%description +A lightweight wrapper for pip to support Pipenv and Poetry lock files or +converting them to pip-tools compatible output. + +%pyproject_extras_subpkg -n %{name} toml + +%prep +%autosetup +# Remove shebang line from the module +sed -i '1{\@^#!/usr/bin/env python@d}' %{name}.py + +%generate_buildrequires +%pyproject_buildrequires -r %{?with_tests:-t} -x toml + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{name} + +%check +%if %{with tests} +# 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" +%else +%pyproject_check_import +%endif + +%files -f %pyproject_files +%doc README.rst +%{_bindir}/micropipenv + +%changelog +* Tue Nov 26 2024 MSVSphere Packaging Team - 1.6.0-8 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Mon Jun 24 2024 Troy Dawson - 1.6.0-8 +- Bump release for June 2024 mass rebuild + +* Thu May 23 2024 Tomáš Hrnčiar - 1.6.0-7 +- Add RHEL gating configuration + +* Thu May 23 2024 Tomáš Hrnčiar - 1.6.0-6 +- CI: Run upstream testsuite + +* Thu May 23 2024 Tomáš Hrnčiar - 1.6.0-5 +- Merge plans/integration.fmf into plan.fmf + +* Mon May 20 2024 Lukas Zachar - 1.6.0-4 +- Add smoke test for tmt + +* Thu Jan 25 2024 Fedora Release Engineering - 1.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 1.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Nov 28 2023 Packit - 1.6.0-1 +- Update to 1.6.0 (rhbz#rhbz#2251885) + +* Wed Nov 08 2023 Packit - 1.5.2-1 +- Update to 1.5.2 + +* Tue Nov 07 2023 Lumir Balhar - 1.5.1-2 +- Add packit config + +* Wed Oct 18 2023 Lumir Balhar - 1.5.1-1 +- Update to 1.5.1 (rhbz#2244702) + +* Thu Jul 20 2023 Fedora Release Engineering - 1.5.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sun Jul 09 2023 Yaakov Selkowitz - 1.5.0-4 +- Rebuilt for Python 3.12 + +* Fri May 19 2023 Karolina Surma - 1.5.0-3 +- Declare License tag in the SPDX format + +* Thu May 11 2023 Yaakov Selkowitz - 1.5.0-2 +- Disable tests by default in RHEL builds + +* Fri Mar 03 2023 Lumir Balhar - 1.5.0-1 +- Update to 1.5.0 (rhbz#2175133) + +* Wed Feb 22 2023 Lumir Balhar - 1.4.6-1 +- Update to 1.4.6 (rhbz#2172646) + +* Thu Jan 19 2023 Fedora Release Engineering - 1.4.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Jan 11 2023 Lumír Balhar - 1.4.5-1 +- Update to 1.4.5 (rhbz#2159707) + +* Mon Oct 31 2022 Lumír Balhar - 1.4.4-1 +- Update to 1.4.4 +Resolves: rhbz#2138859 + +* Wed Oct 05 2022 Lumír Balhar - 1.4.3-1 +- Update to 1.4.3 +Resolves: rhbz#2131986 + +* Mon Oct 03 2022 Miro Hrončok - 1.4.2-2 +- Remove manual requirement of python3dist(toml), + package and Recommend the [toml] extra instead + +* Tue Aug 02 2022 Lumír Balhar - 1.4.2-1 +- Update to 1.4.2 +Resolves: rhbz#2110900 + +* Tue Jul 26 2022 Lumír Balhar - 1.4.1-1 +- Update to 1.4.1 +Resolves: rhbz#2110900 + +* Thu Jul 21 2022 Fedora Release Engineering - 1.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jun 15 2022 Python Maint - 1.3.0-2 +- Rebuilt for Python 3.11 + +* Wed Jun 08 2022 Lumír Balhar - 1.3.0-1 +- Update to 1.3.0 +Resolves: rhbz#2083779 + +* Mon Feb 21 2022 Lumír Balhar - 1.2.1-1 +- Update to 1.2.1 +Resolves: rhbz#2056449 + +* Thu Jan 20 2022 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jan 05 2022 Lumír Balhar - 1.2.0-1 +- Update to 1.2.0 + +* Mon Oct 25 2021 Lumír Balhar - 1.1.3-1 +- Update to 1.1.3 +Resolves: rhbz#2016285 + +* Wed Oct 06 2021 Lumír Balhar - 1.1.2-1 +- Update to 1.1.2 +Resolves: rhbz#2006696 + +* Thu Jul 22 2021 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jun 21 2021 Lumír Balhar - 1.1.0-1 +- Update to 1.1.0 +Resolves: rhbz#1974255 + +* Fri Jun 04 2021 Python Maint - 1.0.4-2 +- Rebuilt for Python 3.10 + +* Tue May 04 2021 Lumír Balhar - 1.0.4-1 +- Update to 1.0.4 +Resolves: rhbz#1955039 + +* Fri Mar 12 2021 Karolina SUrma - 1.0.3-1 +- Update to 1.0.3 +Resolves: rhbz#1937471 + +* Tue Jan 26 2021 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Dec 11 2020 Lumír Balhar - 1.0.2-1 +- Update to 1.0.2 (#1906430) + +* Tue Nov 10 2020 Lumír Balhar - 1.0.1-1 +- Update to 1.0.1 + +* Fri Oct 02 2020 Lumír Balhar - 1.0.0-1 +- Update to 1.0.0 (#1884346) + +* Thu Sep 03 2020 Lumír Balhar - 0.6.0-1 +- Update to 0.6.0 (#1875250) + +* Thu Jul 30 2020 Lumír Balhar - 0.5.1-1 +- Update to 0.5.1 (#1859995) + +* Tue Jul 28 2020 Fedora Release Engineering - 0.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jul 09 2020 Lumír Balhar - 0.4.0-1 +- Update to 0.4.0 (#1854424) + +* Mon Jun 15 2020 Lumír Balhar - 0.3.0-1 +- Update to 0.3.0 (#1846944) + +* Fri Jun 05 2020 Miro Hrončok - 0.2.0-2 +- Correct the license tag (GPLv3+ to LGPLv3+) +- Include the actual LICENSE files in the package + +* Thu Jun 04 2020 Lumír Balhar - 0.2.0-1 +- Update to 0.2.0 (#1838278, #1841641) + +* Tue May 26 2020 Miro Hrončok - 0.1.6-2 +- Rebuilt for Python 3.9 + +* Tue May 05 2020 Lumír Balhar - 0.1.6-1 +- Update to 0.1.6 (#1831328) + +* Tue Apr 07 2020 Lumír Balhar - 0.1.5-1 +- Update to 0.1.5 (#1821807) + +* Thu Mar 12 2020 Lumír Balhar - 0.1.4-1 +- Initial package. + +## END: Generated by rpmautospec