14
0

Accepting request 862824 from home:Guillaume_G:branches:openSUSE:Factory:ARM

- Backport patch to add aarch64 support:
  * add-aarch64-support.patch
- Update to 0.9.7:
  * Add missing module to install directives
- Update to 0.9.6:
  * Drop Python 2.7 support. six dependency is no longer needed
  * Add close_fds and pass_fds to createChild() function
  * Enhance strace.py output for open flags and open optional parameters
  * Add support for PowerPC 64-bit (ppc64)

OBS-URL: https://build.opensuse.org/request/show/862824
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-ptrace?expand=0&rev=16
This commit is contained in:
2021-01-13 08:59:50 +00:00
committed by Git OBS Bridge
parent 18870bd75d
commit 7a42fa50d3
5 changed files with 794 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-ptrace
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,23 +20,21 @@
%define pkg_name python-ptrace
%define skip_python2 1
Name: python-%{pkg_name}
Version: 0.9.5
Version: 0.9.7
Release: 0
Summary: Python binding for ptrace
License: GPL-2.0-only
Group: Development/Languages/Python
URL: https://github.com/vstinner/python-ptrace
Source: https://github.com/haypo/%{pkg_name}/archive/%{version}.tar.gz#!./%{pkg_name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM - https://github.com/vstinner/python-ptrace/pull/59
Patch1: add-aarch64-support.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
Requires(post): update-alternatives
Requires(postun): update-alternatives
# aarch64 is not yet supported - https://github.com/vstinner/python-ptrace/issues/57
ExcludeArch: aarch64
%python_subpackages
%description
@@ -44,6 +42,7 @@ python-ptrace is a debugger using ptrace written in Python.
%prep
%setup -q -n %{pkg_name}-%{version}
%patch1 -p1
sed -i 's/\x0D$//' doc/*.rst
chmod 0644 examples/*.py