commit python-efilter for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package python-efilter for openSUSE:Leap:15.2 checked in at 2020-03-09 18:04:52 Comparing /work/SRC/openSUSE:Leap:15.2/python-efilter (Old) and /work/SRC/openSUSE:Leap:15.2/.python-efilter.new.26092 (New) Package is "python-efilter" Mon Mar 9 18:04:52 2020 rev:12 rq:776596 version:1.6.0 Changes: --- /work/SRC/openSUSE:Leap:15.2/python-efilter/python-efilter.changes 2020-01-15 15:48:47.571437975 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-efilter.new.26092/python-efilter.changes 2020-03-09 18:04:52.728803017 +0100 @@ -1,0 +2,17 @@ +Mon Jan 13 12:43:08 UTC 2020 - Ondřej Súkup + +- switch to rekall-innovations fork +- update to 1.6.0 + * fully support python3 + +--- +Thu Jan 9 19:47:57 UTC 2020 - Ondřej Súkup + +- convert to singlespec + +--- +Mon Oct 14 13:37:16 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + +--- Old: efilter-1-1.5.tar.gz New: v1.6.0.tar.gz Other differences: -- ++ python-efilter.spec ++ --- /var/tmp/diff_new_pack.IdQWMC/_old 2020-03-09 18:04:54.264803781 +0100 +++ /var/tmp/diff_new_pack.IdQWMC/_new 2020-03-09 18:04:54.268803782 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-efilter # -# Copyright (c) 2016 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 @@ -12,56 +12,54 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define base_name efilter -%define version 1.1.5 -%define mangled_version 1!1.5 -%define unmangled_version 1-1.5 -%define release 1 -Name: python-%{base_name} -Version:1.1.5 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-efilter +Version:1.6.0 Release:0 Summary:EFILTER query language License:Apache-2.0 -Group: Development/Libraries/Python -# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"; -Url:https://github.com/google/dotty/ -Source0: https://pypi.python.org/packages/9f/48/82fd1254d70b5d7831ece84270cb99c178c0254e2568efad72c5ca2a31c7/%{base_name}-%{unmangled_version}.tar.gz +URL:https://github.com/rekall-innovations/efilter +Source0: https://github.com/rekall-innovations/efilter/archive/v%{version}.tar.gz +BuildRequires: %{python_module future} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module python-dateutil} +BuildRequires: %{python_module pytz} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} BuildRequires: fdupes -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros +Requires: python-future Requires: python-python-dateutil +Requires: python-pytz Requires: python-six >= 1.4.0 -Requires: python-tz -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +%python_subpackages %description EFILTER is a general-purpose destructuring and search language implemented in Python, and suitable for integration with any Python project that requires a search function for some of its data. -%package -n python-%{name} -Summary:EFILTER query language -Group: Development/Libraries/Python - -%description -n python-%{name} -EFILTER is a general-purpose destructuring and search language implemented in Python, and suitable for integration with any Python project that requires a search function for some of its data. - %prep -%setup -q -n %{base_name}-%{unmangled_version} +%setup -q -n efilter-%{version} %build -python setup.py build +%python_build %install -python setup.py install -O1 --root=%{buildroot} -%fdupes -s %{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest -%files -%defattr(-,root,root) -%doc AUTHORS.txt LICENSE.txt README.md +%files %{python_files} +%license LICENSE.txt +%doc AUTHORS.txt README.md %{python_sitelib}/efilter* +%{python_sitelib}/rekall_efilter* %exclude %{python_sitelib}/sample_projects %changelog
commit python-efilter for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package python-efilter for openSUSE:Leap:15.2 checked in at 2020-05-07 19:29:02 Comparing /work/SRC/openSUSE:Leap:15.2/python-efilter (Old) and /work/SRC/openSUSE:Leap:15.2/.python-efilter.new.2738 (New) Package is "python-efilter" Thu May 7 19:29:02 2020 rev:13 rq:801317 version:1.6.0 Changes: --- /work/SRC/openSUSE:Leap:15.2/python-efilter/python-efilter.changes 2020-03-09 18:04:52.728803017 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-efilter.new.2738/python-efilter.changes 2020-05-07 19:38:12.666795159 +0200 @@ -1,0 +2,5 @@ +Tue May 5 12:17:07 UTC 2020 - Marketa Calabkova + +- Add patch fix-executable.patch to fix tests + +--- New: fix-executable.patch Other differences: -- ++ python-efilter.spec ++ --- /var/tmp/diff_new_pack.AdVDwB/_old 2020-05-07 19:38:13.738797305 +0200 +++ /var/tmp/diff_new_pack.AdVDwB/_new 2020-05-07 19:38:13.738797305 +0200 @@ -24,6 +24,8 @@ License:Apache-2.0 URL:https://github.com/rekall-innovations/efilter Source0: https://github.com/rekall-innovations/efilter/archive/v%{version}.tar.gz +# fix executable in tests +Patch0: fix-executable.patch BuildRequires: %{python_module future} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil} @@ -44,6 +46,7 @@ %prep %setup -q -n efilter-%{version} +%patch0 -p1 %build %python_build ++ fix-executable.patch ++ Index: efilter-1.6.0/efilter_tests/testlib.py === --- efilter-1.6.0.orig/efilter_tests/testlib.py +++ efilter-1.6.0/efilter_tests/testlib.py @@ -22,6 +22,7 @@ from builtins import object __author__ = "Adam Sindelar " import os +import sys import subprocess import unittest @@ -41,7 +42,7 @@ def get_fixture_path(name): class EfilterTestCase(unittest.TestCase): def runPythonScript(self, script_path, args=()): -cmd = ["python", os.path.join(os.getcwd(), script_path)] +cmd = [sys.executable, os.path.join(os.getcwd(), script_path)] cmd.extend(args) proc = subprocess.Popen(args=cmd, stdout=subprocess.PIPE,