commit python-yara for openSUSE:Factory

2020-08-21 Thread root
Hello community,

here is the log from the commit of package python-yara for openSUSE:Factory 
checked in at 2020-08-21 19:05:41

Comparing /work/SRC/openSUSE:Factory/python-yara (Old)
 and  /work/SRC/openSUSE:Factory/.python-yara.new.3399 (New)


Package is "python-yara"

Fri Aug 21 19:05:41 2020 rev:4 rq:828261 version:4.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-yara/python-yara.changes  2018-05-29 
16:52:13.835916131 +0200
+++ /work/SRC/openSUSE:Factory/.python-yara.new.3399/python-yara.changes
2020-08-21 19:06:29.048438440 +0200
@@ -1,0 +2,5 @@
+Wed Aug 19 11:31:56 UTC 2020 - Hans-Peter Jansen 
+
+- Update to 4.0.2, tied to changes in yara package itself only
+
+---

Old:

  v3.7.0.tar.gz

New:

  v4.0.2.tar.gz



Other differences:
--
++ python-yara.spec ++
--- /var/tmp/diff_new_pack.eUVGdI/_old  2020-08-21 19:06:32.960440764 +0200
+++ /var/tmp/diff_new_pack.eUVGdI/_new  2020-08-21 19:06:32.964440766 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-yara
 #
-# 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
@@ -12,13 +12,13 @@
 # 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/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-yara
-Version:3.7.0
+Version:4.0.2
 Release:0
 Summary:Python Bindings for YARA (from Virus Total)
 License:Apache-2.0
@@ -30,7 +30,7 @@
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
-BuildRequires:  pkgconfig(yara) >= 3.7
+BuildRequires:  pkgconfig(yara) >= 4.0
 %python_subpackages
 
 %description

++ v3.7.0.tar.gz -> v4.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yara-python-3.7.0/.gitmodules 
new/yara-python-4.0.2/.gitmodules
--- old/yara-python-3.7.0/.gitmodules   2017-11-10 11:14:43.0 +0100
+++ new/yara-python-4.0.2/.gitmodules   2020-06-26 09:22:29.0 +0200
@@ -1,3 +1,3 @@
 [submodule "yara"]
 path = yara
-url=https://plus...@github.com/VirusTotal/yara.git
+url=https://github.com/VirusTotal/yara.git
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yara-python-3.7.0/.travis.yml 
new/yara-python-4.0.2/.travis.yml
--- old/yara-python-3.7.0/.travis.yml   2017-11-10 11:14:43.0 +0100
+++ new/yara-python-4.0.2/.travis.yml   2020-06-26 09:22:29.0 +0200
@@ -1,12 +1,17 @@
 language: python
 
 python:
-  - "2.6"
   - "2.7"
-  - "3.3"
   - "3.4"
   - "3.5"
   - "3.6"
+  - "3.7"
+
+matrix:
+  include:
+- python: "3.7"
+  dist: xenial
+  sudo: true
 
 before_install:
   - sudo apt-get -qq update
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yara-python-3.7.0/README.rst 
new/yara-python-4.0.2/README.rst
--- old/yara-python-3.7.0/README.rst2017-11-10 11:14:43.0 +0100
+++ new/yara-python-4.0.2/README.rst2020-06-26 09:22:29.0 +0200
@@ -53,7 +53,7 @@
 
 .. code-block:: bash
 
-  $ sudo python setup.py install --dynamic-linking
+  $ python setup.py build --dynamic-linking
 
 For this option to work you must build and install
 `YARA `_ separately before installing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yara-python-3.7.0/appveyor.yml 
new/yara-python-4.0.2/appveyor.yml
--- old/yara-python-3.7.0/appveyor.yml  2017-11-10 11:14:43.0 +0100
+++ new/yara-python-4.0.2/appveyor.yml  2020-06-26 09:22:29.0 +0200
@@ -8,73 +8,56 @@
 
   matrix:
 
-# Python versions not pre-installed
-
-# Python 2.6.6 is the latest Python 2.6 with a Windows installer
-# See: https://github.com/ogrisel/python-appveyor-demo/issues/10
-
-- PYTHON: "C:\\Python266"
-  PYTHON_VERSION: "2.6.6"
-  PYTHON_ARCH: "32"
-  OPENSSL_LIB: "openssl-1.1.0e-vs2008"
-  VS: "Visual Studio 9 2008"
-
-- PYTHON: "C:\\Python266-x64"
-  PYTHON_VERSION: "2.6.6"
-  PYTHON_ARCH: "64"
-  OPENSSL_LIB: "openssl-1.1.0e-vs2008"
-  VS: "Visual Studio 9 2008 Win64"
-
 # Pre-installed Python versions, which Appveyor may upgrade to
 # a later point release.
 # See: 

commit python-yara for openSUSE:Factory

2018-05-29 Thread root
Hello community,

here is the log from the commit of package python-yara for openSUSE:Factory 
checked in at 2018-05-29 16:52:10

Comparing /work/SRC/openSUSE:Factory/python-yara (Old)
 and  /work/SRC/openSUSE:Factory/.python-yara.new (New)


Package is "python-yara"

Tue May 29 16:52:10 2018 rev:3 rq:612690 version:3.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-yara/python-yara.changes  2017-07-21 
22:44:59.849983708 +0200
+++ /work/SRC/openSUSE:Factory/.python-yara.new/python-yara.changes 
2018-05-29 16:52:13.835916131 +0200
@@ -1,0 +2,11 @@
+Tue May 22 10:38:56 UTC 2018 - tchva...@suse.com
+
+- Update to 3.7.0, tied to changes in yara package itself only
+- Run tests
+
+---
+Thu Aug 24 13:58:06 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+---
@@ -17,0 +29 @@
+

Old:

  v3.6.1.tar.gz

New:

  v3.7.0.tar.gz



Other differences:
--
++ python-yara.spec ++
--- /var/tmp/diff_new_pack.fIjdIQ/_old  2018-05-29 16:52:14.415894792 +0200
+++ /var/tmp/diff_new_pack.fIjdIQ/_new  2018-05-29 16:52:14.415894792 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-yara
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,38 +16,43 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-yara
-Version:3.6.1
+Version:3.7.0
 Release:0
 Summary:Python Bindings for YARA (from Virus Total)
 License:Apache-2.0
 Group:  Development/Libraries/Python
-Url:https://github.com/VirusTotal/yara-python/wiki
+URL:https://github.com/VirusTotal/yara-python
 Source: 
https://github.com/VirusTotal/yara-python/archive/v%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
-BuildRequires:  python-setuptools
-BuildRequires:  pkgconfig(python)
-BuildRequires:  pkgconfig(yara) = %{version}
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  python-rpm-macros
+BuildRequires:  pkgconfig(yara) >= 3.7
+%python_subpackages
 
 %description
-python bindings for libyara.  YARA is a tool to identify and classify malware 
samples.
+python bindings for libyara.
+YARA is a tool to identify and classify malware samples.
 
 %prep
 %setup -q -n yara-python-%{version}
 
 %build
-python setup.py build --dynamic-linking
+%python_build --dynamic-linking
 
 %install
-python setup.py install --root=%{buildroot}
-%fdupes %{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
 
-%files
-%defattr(-,root,root)
-%doc LICENSE README.rst
-%{python_sitearch}/yara_python-%{version}-py2.7.egg-info
-%{python_sitearch}/yara.so
+%check
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python tests.py
+
+%files %{python_files}
+%license LICENSE
+%doc README.rst
+%{python_sitearch}/*
 
 %changelog

++ v3.6.1.tar.gz -> v3.7.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yara-python-3.6.1/.gitmodules 
new/yara-python-3.7.0/.gitmodules
--- old/yara-python-3.6.1/.gitmodules   2017-06-06 00:49:35.0 +0200
+++ new/yara-python-3.7.0/.gitmodules   2017-11-10 11:14:43.0 +0100
@@ -1,3 +1,3 @@
 [submodule "yara"]
-   path = yara
+path = yara
 url=https://plus...@github.com/VirusTotal/yara.git
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yara-python-3.6.1/.travis.yml 
new/yara-python-3.7.0/.travis.yml
--- old/yara-python-3.6.1/.travis.yml   2017-06-06 00:49:35.0 +0200
+++ new/yara-python-3.7.0/.travis.yml   2017-11-10 11:14:43.0 +0100
@@ -8,7 +8,12 @@
   - "3.5"
   - "3.6"
 
+before_install:
+  - sudo apt-get -qq update
+  - sudo apt-get install -y libmagic-dev
+
 install:
+  - python setup.py build --enable-magic --enable-dotnet
   - python setup.py install
 
 script:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yara-python-3.6.1/README.rst 
new/yara-python-3.7.0/README.rst
--- old/yara-python-3.6.1/README.rst2017-06-06 00:49:35.0 +0200
+++ new/yara-python-3.7.0/README.rst2017-11-10 11:14:43.0 +0100
@@ -64,4 +64,4 @@
 -
 
 Find more information about how to use yara-python at
-http://yara.readthedocs.org/en/latest/yarapython.html.

commit python-yara for openSUSE:Factory

2017-07-21 Thread root
Hello community,

here is the log from the commit of package python-yara for openSUSE:Factory 
checked in at 2017-07-21 22:44:58

Comparing /work/SRC/openSUSE:Factory/python-yara (Old)
 and  /work/SRC/openSUSE:Factory/.python-yara.new (New)


Package is "python-yara"

Fri Jul 21 22:44:58 2017 rev:2 rq:501386 version:3.6.1

Changes:

--- /work/SRC/openSUSE:Factory/python-yara/python-yara.changes  2016-11-12 
13:00:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-yara.new/python-yara.changes 
2017-07-21 22:44:59.849983708 +0200
@@ -1,0 +2,6 @@
+Tue Jun  6 12:21:28 UTC 2017 - greg.freem...@gmail.com
+
+- update to v3.6.1
+  - see yara package for changelog
+
+---

Old:

  v3.5.0.tar.gz

New:

  v3.6.1.tar.gz



Other differences:
--
++ python-yara.spec ++
--- /var/tmp/diff_new_pack.QCbz1N/_old  2017-07-21 22:45:00.933830818 +0200
+++ /var/tmp/diff_new_pack.QCbz1N/_new  2017-07-21 22:45:00.937830253 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-yara
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:   python-yara
-Version:3.5.0
+Version:3.6.1
 Release:0
 Summary:Python Bindings for YARA (from Virus Total)
 License:Apache-2.0
 Group:  Development/Libraries/Python
 Url:https://github.com/VirusTotal/yara-python/wiki
-Source: https://github.com/VirusTotal/yara-python/archive/v3.5.0.tar.gz
+Source: 
https://github.com/VirusTotal/yara-python/archive/v%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
 BuildRequires:  python-setuptools

++ v3.5.0.tar.gz -> v3.6.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yara-python-3.5.0/.travis.yml 
new/yara-python-3.6.1/.travis.yml
--- old/yara-python-3.5.0/.travis.yml   1970-01-01 01:00:00.0 +0100
+++ new/yara-python-3.6.1/.travis.yml   2017-06-06 00:49:35.0 +0200
@@ -0,0 +1,15 @@
+language: python
+
+python:
+  - "2.6"
+  - "2.7"
+  - "3.3"
+  - "3.4"
+  - "3.5"
+  - "3.6"
+
+install:
+  - python setup.py install
+
+script:
+  - python tests.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yara-python-3.5.0/MANIFEST.in 
new/yara-python-3.6.1/MANIFEST.in
--- old/yara-python-3.5.0/MANIFEST.in   2016-08-03 13:33:12.0 +0200
+++ new/yara-python-3.6.1/MANIFEST.in   2017-06-06 00:49:35.0 +0200
@@ -1,3 +1,4 @@
-include *.c *.h
+include *.c
 include yara/libyara/modules/module_list
 recursive-include yara *.c *.h
+include LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yara-python-3.5.0/README.rst 
new/yara-python-3.6.1/README.rst
--- old/yara-python-3.5.0/README.rst2016-08-03 13:33:12.0 +0200
+++ new/yara-python-3.6.1/README.rst2017-06-06 00:49:35.0 +0200
@@ -1,3 +1,8 @@
+.. image:: https://travis-ci.org/VirusTotal/yara-python.svg
+:target: https://travis-ci.org/VirusTotal/yara-python
+.. image:: 
https://ci.appveyor.com/api/projects/status/gidnb9ulj3rje5s2?svg=true
+:target: https://ci.appveyor.com/project/plusvic/yara-python
+
 yara-python
 ===
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yara-python-3.5.0/appveyor/install.ps1 
new/yara-python-3.6.1/appveyor/install.ps1
--- old/yara-python-3.5.0/appveyor/install.ps1  1970-01-01 01:00:00.0 
+0100
+++ new/yara-python-3.6.1/appveyor/install.ps1  2017-06-06 00:49:35.0 
+0200
@@ -0,0 +1,229 @@
+# Sample script to install Python and pip under Windows
+# Authors: Olivier Grisel, Jonathan Helmus, Kyle Kastner, and Alex Willmer
+# License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/
+
+$MINICONDA_URL = "http://repo.continuum.io/miniconda/;
+$BASE_URL = "https://www.python.org/ftp/python/;
+$GET_PIP_URL = "https://bootstrap.pypa.io/get-pip.py;
+$GET_PIP_PATH = "C:\get-pip.py"
+
+$PYTHON_PRERELEASE_REGEX = @"
+(?x)
+(?\d+)
+\.
+(?\d+)
+\.
+(?\d+)
+(?[a-z]{1,2}\d+)
+"@
+
+
+function Download ($filename, $url) {
+$webclient = New-Object System.Net.WebClient
+
+$basedir = $pwd.Path + "\"
+$filepath = $basedir + $filename
+if (Test-Path $filename) {
+Write-Host "Reusing" $filepath
+return $filepath
+}
+
+# Download and retry up to 3 times in case of network transient errors.
+