|
 |
7d3f7e |
%global pypi_name requests_unixsocket2
|
|
 |
7d3f7e |
%global package_name requests-unixsocket
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
# pypi:requests-unixsocket is nolonger maintained upstream
|
|
 |
7d3f7e |
# pypi:requests-unixsocket2 is a for that provides requests-unixsocket
|
|
 |
7d3f7e |
# This package pulls from requests-unixsocket2 and packages as requests-unixsocket
|
|
 |
7d3f7e |
# See change log 0.4.0-1 for details.
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
Name: python-%{package_name}
|
|
 |
7d3f7e |
Version: 0.4.0
|
|
 |
7d3f7e |
Release: 7%{?dist}
|
|
 |
7d3f7e |
Summary: Use requests to talk HTTP via a UNIX domain socket
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
# Automatically converted from old format: ASL 2.0 - review is highly recommended.
|
|
 |
7d3f7e |
License: Apache-2.0
|
|
 |
7d3f7e |
URL: https://github.com/thelabnyc/requests-unixsocket2
|
|
 |
7d3f7e |
Source0: %{pypi_source}
|
|
 |
7d3f7e |
BuildArch: noarch
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
%description
|
|
 |
7d3f7e |
%{summary}.
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
%package -n python3-%{package_name}
|
|
 |
7d3f7e |
Summary: Use requests to talk HTTP via a UNIX domain socket
|
|
 |
7d3f7e |
%{?python_provide:%python_provide python3-%{package_name}}
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
Requires: python3dist(requests)
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
BuildRequires: python3dist(pytest)
|
|
 |
7d3f7e |
BuildRequires: python3dist(waitress)
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
%description -n python3-%{package_name}
|
|
 |
7d3f7e |
%{summary}.
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
%prep
|
|
 |
7d3f7e |
%autosetup -n %{pypi_name}-%{version}
|
|
 |
7d3f7e |
# Remove shebangs
|
|
 |
7d3f7e |
sed -i '1d' requests_unixsocket/tests/test_requests_unixsocket.py
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
%generate_buildrequires
|
|
 |
7d3f7e |
%pyproject_buildrequires -t
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
%build
|
|
 |
7d3f7e |
%pyproject_wheel
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
%install
|
|
 |
7d3f7e |
%pyproject_install
|
|
 |
7d3f7e |
mv %{buildroot}%{python3_sitelib}/requests_unixsocket2-%{version}.dist-info %{buildroot}%{python3_sitelib}/requests_unixsocket-%{version}.dist-info
|
|
 |
7d3f7e |
sed -i 's/unixsocket2/unixsocket/g' %{buildroot}%{python3_sitelib}/requests_unixsocket-%{version}.dist-info/METADATA
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
%check
|
|
 |
7d3f7e |
%pytest
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
%files -n python3-%{package_name}
|
|
 |
7d3f7e |
%doc README.md
|
|
 |
7d3f7e |
%license LICENSE
|
|
 |
7d3f7e |
%{python3_sitelib}/requests_unixsocket
|
|
 |
7d3f7e |
%{python3_sitelib}/requests_unixsocket-%{version}.dist-info
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
%changelog
|
|
 |
7d3f7e |
* Thu Nov 07 2024 Dan Radez <dradez@redhat.com> - 0.4.0-7
|
|
 |
7d3f7e |
- generate build requires
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Wed Jul 24 2024 Miroslav Suchý <msuchy@redhat.com> - 0.4.0-6
|
|
 |
7d3f7e |
- convert license to SPDX
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-5
|
|
 |
7d3f7e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 0.4.0-4
|
|
 |
7d3f7e |
- Rebuilt for Python 3.13
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Fri Jun 07 2024 Miro Hrončok <mhroncok@redhat.com> - 0.4.0-3
|
|
 |
7d3f7e |
- Do not needlessly BuildRequire poetry, this package uses poetry-core
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Mon Jun 03 2024 Dan Radez <dradez@redhat.com> - 0.4.0-1
|
|
 |
7d3f7e |
- RHBZ#2284361
|
|
 |
7d3f7e |
Updating to new upstream project, see comment at
|
|
 |
7d3f7e |
https://github.com/msabramo/requests-unixsocket/issues/73#issuecomment-2125848213
|
|
 |
7d3f7e |
Dated: May 22, 2024
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
FYI to all: since this project seems to be abandoned, but its longevity is important to my team,
|
|
 |
7d3f7e |
we've forked the project as requests-unixsocket2. It should be a drop in replacement for this package.
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
PyPI: https://pypi.org/project/requests-unixsocket2/0.4.0/
|
|
 |
7d3f7e |
Repository: https://gitlab.com/thelabnyc/requests-unixsocket2
|
|
 |
7d3f7e |
We've migrated the fix for this issue there, merged it, and released to PyPI as part of v0.4.0.
|
|
 |
7d3f7e |
- Updated to pyproject macros
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-10
|
|
 |
7d3f7e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-9
|
|
 |
7d3f7e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-8
|
|
 |
7d3f7e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.2.0-7
|
|
 |
7d3f7e |
- Rebuilt for Python 3.12
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-6
|
|
 |
7d3f7e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-5
|
|
 |
7d3f7e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.0-4
|
|
 |
7d3f7e |
- Rebuilt for Python 3.11
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Tue Feb 08 2022 Dan Radez <dradez@redhat.com> - 0.2.0-3
|
|
 |
7d3f7e |
- Don't remove egginfo
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
|
|
 |
7d3f7e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Tue Jan 04 2022 Dan Radez <dradez@redhat.com> - 0.2.0-1
|
|
 |
7d3f7e |
- update to 0.2.0
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-11
|
|
 |
7d3f7e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 0.1.5-10
|
|
 |
7d3f7e |
- Rebuilt for Python 3.10
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-9
|
|
 |
7d3f7e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-8
|
|
 |
7d3f7e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.5-7
|
|
 |
7d3f7e |
- Rebuilt for Python 3.9
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-6
|
|
 |
7d3f7e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.5-5
|
|
 |
7d3f7e |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.5-4
|
|
 |
7d3f7e |
- Rebuilt for Python 3.8
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-3
|
|
 |
7d3f7e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
7d3f7e |
|
|
 |
7d3f7e |
* Tue Apr 2 2019 Dan Radez <dradez@redhat.com> - 0.1.5-2
|
|
 |
7d3f7e |
- Updates to initial package to address review comments
|
|
 |
7d3f7e |
* Tue Mar 8 2016 Haïkel Guémar <hguemar@fedoraproject.org> - 0.1.5-1
|
|
 |
7d3f7e |
- Initial package.
|