From 1029f20801b652228c80fbb314c7571e0e645f148c7c3bec276c26848c581b31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 1 Apr 2020 11:16:06 +0000 Subject: [PATCH] Accepting request 790537 from home:pgajdos:python - version update to 1.14 * Repository moved to GitHub * #32: Update the LC_NAMES table * #31: Add two new load commands introduced in macOS 10.15 * #27: Missing describe method for build_version_command OBS-URL: https://build.opensuse.org/request/show/790537 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-macholib?expand=0&rev=9 --- macholib-1.11.tar.gz | 3 --- macholib-1.14.tar.gz | 3 +++ python-macholib.changes | 9 +++++++++ python-macholib.spec | 25 +++++++++++++------------ 4 files changed, 25 insertions(+), 15 deletions(-) delete mode 100644 macholib-1.11.tar.gz create mode 100644 macholib-1.14.tar.gz diff --git a/macholib-1.11.tar.gz b/macholib-1.11.tar.gz deleted file mode 100644 index 933c6c3..0000000 --- a/macholib-1.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c4180ffc6f909bf8db6cd81cff4b6f601d575568f4d5dee148c830e9851eb9db -size 485878 diff --git a/macholib-1.14.tar.gz b/macholib-1.14.tar.gz new file mode 100644 index 0000000..2b3202e --- /dev/null +++ b/macholib-1.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c436bc847e7b1d9bda0560351bf76d7caf930fb585a828d13608839ef42c432 +size 59372 diff --git a/python-macholib.changes b/python-macholib.changes index 915b04c..86b91b3 100644 --- a/python-macholib.changes +++ b/python-macholib.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Apr 1 10:32:23 UTC 2020 - pgajdos@suse.com + +- version update to 1.14 + * Repository moved to GitHub + * #32: Update the LC_NAMES table + * #31: Add two new load commands introduced in macOS 10.15 + * #27: Missing describe method for build_version_command + ------------------------------------------------------------------- Tue Dec 4 12:50:14 UTC 2018 - Matej Cepl diff --git a/python-macholib.spec b/python-macholib.spec index 0f3d8b6..7921c91 100644 --- a/python-macholib.spec +++ b/python-macholib.spec @@ -1,7 +1,7 @@ # # spec file for package python-macholib # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,22 +18,23 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-macholib -Version: 1.11 +Version: 1.14 Release: 0 Summary: Mach-O header analysis and editing License: MIT Group: Development/Languages/Python -Url: http://bitbucket.org/ronaldoussoren/macholib +URL: https://github.com/ronaldoussoren/macholib/ Source: https://files.pythonhosted.org/packages/source/m/macholib/macholib-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION test requirements -BuildRequires: %{python_module altgraph >= 0.13} -# /SECTION -Requires: python-altgraph >= 0.13 +Requires: python-altgraph >= 0.15 +Requires: python-setuptools BuildArch: noarch - +# SECTION test requirements +BuildRequires: %{python_module altgraph >= 0.15} +BuildRequires: %{python_module pytest} +# /SECTION %python_subpackages %description @@ -59,13 +60,13 @@ sed -i -e '/^#!\//, 1d' macholib/macho_standalone.py %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -%python_exec setup.py test -%endif +# tests are too much platform specific (?) +rm macholib_tests/test_{command_line,dyld}.py +%pytest %files %{python_files} -%doc README.txt +%doc README.rst doc/*.rst %license doc/license.rst %python3_only %{_bindir}/macho_find %python3_only %{_bindir}/macho_standalone