Compare commits
No commits in common. "c8" and "c10s" have entirely different histories.
7
.gitignore
vendored
7
.gitignore
vendored
@ -1 +1,6 @@
|
|||||||
SOURCES/ptyprocess-0.5.2.tar.gz
|
/ptyprocess-0.4.tar.gz
|
||||||
|
/ptyprocess-0.5.tar.gz
|
||||||
|
/ptyprocess-0.5.1.tar.gz
|
||||||
|
/ptyprocess-0.5.2.tar.gz
|
||||||
|
/ptyprocess-0.6.0.tar.gz
|
||||||
|
/ptyprocess-0.7.0.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
30b860d5509191d657397c312f2351f9559c5f4e SOURCES/ptyprocess-0.5.2.tar.gz
|
|
32
75.patch
Normal file
32
75.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From a44312974bd9084aa568d2e18ce5b2a7e0e45983 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
|
||||||
|
Date: Mon, 23 Oct 2023 15:18:02 +0200
|
||||||
|
Subject: [PATCH] Remove unittest.makeSuite, gone from Python 3.13
|
||||||
|
|
||||||
|
See https://docs.python.org/3.13/whatsnew/3.13.html
|
||||||
|
|
||||||
|
"""
|
||||||
|
Removed the following unittest functions, deprecated in Python 3.11:
|
||||||
|
|
||||||
|
unittest.findTestCases()
|
||||||
|
unittest.makeSuite()
|
||||||
|
unittest.getTestCaseNames()
|
||||||
|
"""
|
||||||
|
|
||||||
|
The removed call does not seem to have any effect when the file is executed
|
||||||
|
directly, run trough unittest discover or pytest.
|
||||||
|
---
|
||||||
|
tests/test_invalid_binary.py | 3 ---
|
||||||
|
1 file changed, 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tests/test_invalid_binary.py b/tests/test_invalid_binary.py
|
||||||
|
index cf28098..545f9f7 100755
|
||||||
|
--- a/tests/test_invalid_binary.py
|
||||||
|
+++ b/tests/test_invalid_binary.py
|
||||||
|
@@ -69,6 +69,3 @@ def test_invalid_binary(self):
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
unittest.main()
|
||||||
|
-
|
||||||
|
-suite = unittest.makeSuite(InvalidBinaryChars,'test')
|
||||||
|
-
|
@ -1,136 +0,0 @@
|
|||||||
%global modname ptyprocess
|
|
||||||
|
|
||||||
%if 0%{?rhel} > 7
|
|
||||||
# Disable python2 build by default
|
|
||||||
%bcond_with python2
|
|
||||||
%else
|
|
||||||
%bcond_without python2
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: python-ptyprocess
|
|
||||||
Version: 0.5.2
|
|
||||||
Release: 4%{?dist}
|
|
||||||
Summary: Run a subprocess in a pseudo terminal
|
|
||||||
|
|
||||||
License: ISC
|
|
||||||
URL: https://github.com/pexpect/ptyprocess
|
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/ptyprocess/ptyprocess-%{version}.tar.gz
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
%if %{with python2}
|
|
||||||
BuildRequires: python2-devel
|
|
||||||
BuildRequires: python2-pytest
|
|
||||||
%endif # with python2
|
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
|
||||||
BuildRequires: python%{python3_pkgversion}-pytest
|
|
||||||
|
|
||||||
%description
|
|
||||||
Launch a subprocess in a pseudo terminal (pty), and interact with both the
|
|
||||||
process and its pty.
|
|
||||||
|
|
||||||
%if %{with python2}
|
|
||||||
%package -n python2-ptyprocess
|
|
||||||
Summary: Run a subprocess in a pseudo terminal
|
|
||||||
%{?python_provide:%python_provide python2-%{modname}}
|
|
||||||
%description -n python2-ptyprocess
|
|
||||||
Launch a subprocess in a pseudo terminal (pty), and interact with both the
|
|
||||||
process and its pty.
|
|
||||||
%endif # with python2
|
|
||||||
|
|
||||||
%package -n python%{python3_pkgversion}-ptyprocess
|
|
||||||
Summary: Run a subprocess in a pseudo terminal
|
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}}
|
|
||||||
%description -n python%{python3_pkgversion}-ptyprocess
|
|
||||||
Launch a subprocess in a pseudo terminal (pty), and interact with both the
|
|
||||||
process and its pty.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -qn ptyprocess-%{version}
|
|
||||||
|
|
||||||
%build
|
|
||||||
%if %{with python2}
|
|
||||||
%py2_build
|
|
||||||
%endif # with python2
|
|
||||||
LC_ALL=en_US.UTF-8 \
|
|
||||||
%py3_build
|
|
||||||
|
|
||||||
%install
|
|
||||||
LC_ALL=en_US.UTF-8 \
|
|
||||||
%py3_install
|
|
||||||
%if %{with python2}
|
|
||||||
%py2_install
|
|
||||||
%endif # with python2
|
|
||||||
|
|
||||||
%check
|
|
||||||
%{_bindir}/py.test-3.* -v
|
|
||||||
%if %{with python2}
|
|
||||||
%{_bindir}/py.test-2.* -v
|
|
||||||
%endif # with python2
|
|
||||||
|
|
||||||
%if %{with python2}
|
|
||||||
%files -n python2-ptyprocess
|
|
||||||
%license LICENSE
|
|
||||||
%doc README.rst
|
|
||||||
%{python2_sitelib}/ptyprocess/
|
|
||||||
%{python2_sitelib}/ptyprocess-%{version}-py?.?.egg-info
|
|
||||||
%endif # with python2
|
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-ptyprocess
|
|
||||||
%license LICENSE
|
|
||||||
%doc README.rst
|
|
||||||
%{python3_sitelib}/ptyprocess/
|
|
||||||
%{python3_sitelib}/ptyprocess-%{version}-py?.?.egg-info
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Fri Jun 22 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.5.2-4
|
|
||||||
- Conditionalize the python2 subpackage
|
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 03 2017 Charalampos Stratakis <cstratak@redhat.com> - 0.5.2-1
|
|
||||||
- Update to 0.5.2 (#1467330)
|
|
||||||
|
|
||||||
* Thu Feb 23 2017 Orion Poplawski <orion@cora.nwra.com> - 0.5.1-6
|
|
||||||
- Really build python3 on EPEL
|
|
||||||
|
|
||||||
* Thu Feb 23 2017 Orion Poplawski <orion@cora.nwra.com> - 0.5.1-5
|
|
||||||
- Build python3 on EPEL
|
|
||||||
- Run tests verbosely
|
|
||||||
|
|
||||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 0.5.1-3
|
|
||||||
- Rebuild for Python 3.6
|
|
||||||
|
|
||||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
|
|
||||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
||||||
|
|
||||||
* Mon Apr 04 2016 Thomas Spura <tomspur@fedoraproject.org> - 0.5.1-1
|
|
||||||
- update to 0.5.1 (#1304136)
|
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Oct 14 2015 Thomas Spura <tomspur@fedoraproject.org> - 0.5-3
|
|
||||||
- Use new python macros
|
|
||||||
|
|
||||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu May 21 2015 Thomas Spura <tomspur@fedoraproject.org> - 0.5-1
|
|
||||||
- update to 0.5 (#1223718)
|
|
||||||
|
|
||||||
* Wed Jan 07 2015 Thomas Spura <tomspur@fedoraproject.org> - 0.4-1
|
|
||||||
- update to 0.4
|
|
||||||
|
|
||||||
* Wed Dec 03 2014 Thomas Spura <tomspur@fedoraproject.org> - 0.3.1-2
|
|
||||||
- Generalize with_python3 macro
|
|
||||||
- Add comment to tests section
|
|
||||||
|
|
||||||
* Tue Nov 25 2014 Thomas Spura <tomspur@fedoraproject.org> - 0.3.1-1
|
|
||||||
- initial spec for ptyprocess (#1167830)
|
|
190
python-ptyprocess.spec
Normal file
190
python-ptyprocess.spec
Normal file
@ -0,0 +1,190 @@
|
|||||||
|
%global srcname ptyprocess
|
||||||
|
|
||||||
|
%bcond_without tests
|
||||||
|
|
||||||
|
Name: python-ptyprocess
|
||||||
|
Version: 0.7.0
|
||||||
|
Release: 9%{?dist}
|
||||||
|
Summary: Run a subprocess in a pseudo terminal
|
||||||
|
|
||||||
|
License: ISC
|
||||||
|
URL: https://github.com/pexpect/ptyprocess
|
||||||
|
Source: %{pypi_source}
|
||||||
|
|
||||||
|
# Remove unittest.makeSuite, gone from Python 3.13
|
||||||
|
Patch: https://github.com/pexpect/ptyprocess/pull/75.patch
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Launch a subprocess in a pseudo terminal (pty), and interact with both the
|
||||||
|
process and its pty.
|
||||||
|
|
||||||
|
%package -n python3-ptyprocess
|
||||||
|
Summary: Run a subprocess in a pseudo terminal
|
||||||
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
%if %{with tests}
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description -n python3-ptyprocess
|
||||||
|
Launch a subprocess in a pseudo terminal (pty), and interact with both the
|
||||||
|
process and its pty.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n ptyprocess-%{version}
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
%pyproject_buildrequires
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%pyproject_save_files ptyprocess
|
||||||
|
|
||||||
|
%if %{with tests}
|
||||||
|
%check
|
||||||
|
%{__python3} -m pytest -v
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files -n python3-ptyprocess -f %{pyproject_files}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.rst
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.7.0-9
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.7.0-8
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.7.0-4
|
||||||
|
- Rebuilt for Python 3.12
|
||||||
|
|
||||||
|
* Tue Jan 24 2023 Adam Williamson <awilliam@redhat.com> - 0.7.0-3
|
||||||
|
- Build with modern pyproject macros, fixes #2164207
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Aug 31 2022 Orion Poplawski <orion@nwra.com> - 0.7.0-1
|
||||||
|
- Update to 0.7.0
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-17
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.6.0-16
|
||||||
|
- Rebuilt for Python 3.11
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.6.0-13
|
||||||
|
- Rebuilt for Python 3.10
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-10
|
||||||
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Oct 01 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-8
|
||||||
|
- Subpackage python2-ptyprocess has been removed
|
||||||
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||||
|
|
||||||
|
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-7
|
||||||
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
* Mon Jul 29 07:16:43 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.0-6
|
||||||
|
- Fix FTBFS
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.6.0-3
|
||||||
|
- Drop explicit locale setting
|
||||||
|
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
|
||||||
|
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 22 2018 Orion Poplawski <orion@nwra.com> - 0.6.0-1
|
||||||
|
- Update to 0.6.0
|
||||||
|
|
||||||
|
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.2-4
|
||||||
|
- Rebuilt for Python 3.7
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 03 2017 Charalampos Stratakis <cstratak@redhat.com> - 0.5.2-1
|
||||||
|
- Update to 0.5.2 (#1467330)
|
||||||
|
|
||||||
|
* Thu Feb 23 2017 Orion Poplawski <orion@cora.nwra.com> - 0.5.1-6
|
||||||
|
- Really build python3 on EPEL
|
||||||
|
|
||||||
|
* Thu Feb 23 2017 Orion Poplawski <orion@cora.nwra.com> - 0.5.1-5
|
||||||
|
- Build python3 on EPEL
|
||||||
|
- Run tests verbosely
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 0.5.1-3
|
||||||
|
- Rebuild for Python 3.6
|
||||||
|
|
||||||
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
|
||||||
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||||
|
|
||||||
|
* Mon Apr 04 2016 Thomas Spura <tomspur@fedoraproject.org> - 0.5.1-1
|
||||||
|
- update to 0.5.1 (#1304136)
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Oct 14 2015 Thomas Spura <tomspur@fedoraproject.org> - 0.5-3
|
||||||
|
- Use new python macros
|
||||||
|
|
||||||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu May 21 2015 Thomas Spura <tomspur@fedoraproject.org> - 0.5-1
|
||||||
|
- update to 0.5 (#1223718)
|
||||||
|
|
||||||
|
* Wed Jan 07 2015 Thomas Spura <tomspur@fedoraproject.org> - 0.4-1
|
||||||
|
- update to 0.4
|
||||||
|
|
||||||
|
* Wed Dec 03 2014 Thomas Spura <tomspur@fedoraproject.org> - 0.3.1-2
|
||||||
|
- Generalize with_python3 macro
|
||||||
|
- Add comment to tests section
|
||||||
|
|
||||||
|
* Tue Nov 25 2014 Thomas Spura <tomspur@fedoraproject.org> - 0.3.1-1
|
||||||
|
- initial spec for ptyprocess (#1167830)
|
Loading…
Reference in New Issue
Block a user