Compare commits
No commits in common. "c8" and "c9-beta" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/ptyprocess-0.5.2.tar.gz
|
SOURCES/ptyprocess-0.6.0.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
30b860d5509191d657397c312f2351f9559c5f4e SOURCES/ptyprocess-0.5.2.tar.gz
|
39622a2ff2cb456f17db542d60e5a0782e354128 SOURCES/ptyprocess-0.6.0.tar.gz
|
||||||
|
@ -1,89 +1,95 @@
|
|||||||
%global modname ptyprocess
|
%global srcname ptyprocess
|
||||||
|
|
||||||
%if 0%{?rhel} > 7
|
%bcond_without tests
|
||||||
# Disable python2 build by default
|
|
||||||
%bcond_with python2
|
|
||||||
%else
|
|
||||||
%bcond_without python2
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: python-ptyprocess
|
Name: python-ptyprocess
|
||||||
Version: 0.5.2
|
Version: 0.6.0
|
||||||
Release: 4%{?dist}
|
Release: 12%{?dist}
|
||||||
Summary: Run a subprocess in a pseudo terminal
|
Summary: Run a subprocess in a pseudo terminal
|
||||||
|
|
||||||
License: ISC
|
License: ISC
|
||||||
URL: https://github.com/pexpect/ptyprocess
|
URL: https://github.com/pexpect/ptyprocess
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/ptyprocess/ptyprocess-%{version}.tar.gz
|
Source: %{pypi_source}
|
||||||
|
|
||||||
BuildArch: noarch
|
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
|
%description
|
||||||
Launch a subprocess in a pseudo terminal (pty), and interact with both the
|
Launch a subprocess in a pseudo terminal (pty), and interact with both the
|
||||||
process and its pty.
|
process and its pty.
|
||||||
|
|
||||||
%if %{with python2}
|
%package -n python3-ptyprocess
|
||||||
%package -n python2-ptyprocess
|
|
||||||
Summary: Run a subprocess in a pseudo terminal
|
Summary: Run a subprocess in a pseudo terminal
|
||||||
%{?python_provide:%python_provide python2-%{modname}}
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
%description -n python2-ptyprocess
|
BuildRequires: python3-devel
|
||||||
Launch a subprocess in a pseudo terminal (pty), and interact with both the
|
%if %{with tests}
|
||||||
process and its pty.
|
BuildRequires: python3-pytest
|
||||||
%endif # with python2
|
%endif
|
||||||
|
|
||||||
%package -n python%{python3_pkgversion}-ptyprocess
|
%description -n python3-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
|
Launch a subprocess in a pseudo terminal (pty), and interact with both the
|
||||||
process and its pty.
|
process and its pty.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn ptyprocess-%{version}
|
%autosetup -n ptyprocess-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{with python2}
|
|
||||||
%py2_build
|
|
||||||
%endif # with python2
|
|
||||||
LC_ALL=en_US.UTF-8 \
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
LC_ALL=en_US.UTF-8 \
|
|
||||||
%py3_install
|
%py3_install
|
||||||
%if %{with python2}
|
|
||||||
%py2_install
|
|
||||||
%endif # with python2
|
|
||||||
|
|
||||||
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
%{_bindir}/py.test-3.* -v
|
%{__python3} -m pytest -v
|
||||||
%if %{with python2}
|
%endif
|
||||||
%{_bindir}/py.test-2.* -v
|
|
||||||
%endif # with python2
|
|
||||||
|
|
||||||
%if %{with python2}
|
%files -n python3-ptyprocess
|
||||||
%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
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python3_sitelib}/ptyprocess/
|
%{python3_sitelib}/ptyprocess/
|
||||||
%{python3_sitelib}/ptyprocess-%{version}-py?.?.egg-info
|
%{python3_sitelib}/ptyprocess-*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jun 22 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.5.2-4
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-12
|
||||||
- Conditionalize the python2 subpackage
|
- 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
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user