forked from pool/python-ptyprocess
Compare commits
23 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e5b9a49e59 | |||
| ac42259264 | |||
| d29395122e | |||
| 407610229e | |||
| 63f696e5fa | |||
| 37a84bc40f | |||
| 717b405c7b | |||
| 5963da70db | |||
| 3d012c9f0b | |||
| dbf6831c1a | |||
|
|
e906f127f0 | ||
| 364d246132 | |||
| 01492543c5 | |||
| 0479a65e53 | |||
|
|
bbc41c76b7 | ||
| 57635fab6b | |||
| a6f00dfbf5 | |||
| 8276ccf154 | |||
|
|
b1658352f4 | ||
| 6149a6da37 | |||
| dee9dd9b41 | |||
| 2ccac0880a | |||
|
|
d84a909687 |
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 11 05:51:48 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
- No more greedy globs in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 24 12:20:37 UTC 2024 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Fix build error under Leap.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 30 12:03:04 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ptyprocess
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,19 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-ptyprocess
|
||||
Version: 0.7.0
|
||||
Release: 0
|
||||
Summary: Run a subprocess in a pseudo terminal
|
||||
License: ISC
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/pexpect/ptyprocess
|
||||
Source: https://files.pythonhosted.org/packages/source/p/ptyprocess/ptyprocess-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM - gh/pexpect/ptyprocess#75 - Remove unittest.makeSuite, gone from Python 3.13
|
||||
Patch: https://github.com/pexpect/ptyprocess/pull/75.patch#/remove-old-unittest-functions.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
Patch1: https://github.com/pexpect/ptyprocess/pull/75.patch#/remove-old-unittest-functions.patch
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -45,22 +44,27 @@ If you need to automate these things, running the process in a pseudo terminal
|
||||
(pty) is the answer.
|
||||
|
||||
%prep
|
||||
%setup -q -n ptyprocess-%{version}
|
||||
%patch -P0 -p1
|
||||
%autosetup -p1 -n ptyprocess-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
# Fix python-bytecode-inconsistent-mtime
|
||||
pushd %{buildroot}%{python_sitelib}
|
||||
find . -name '*.pyc' -exec rm -f '{}' ';'
|
||||
python%python_bin_suffix -m compileall *.py ';'
|
||||
popd
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec -m unittest discover
|
||||
%pyunittest discover
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/ptyprocess
|
||||
%{python_sitelib}/ptyprocess-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user