commit python-pycryptopp for openSUSE:Factory

2018-05-29 Thread root
Hello community,

here is the log from the commit of package python-pycryptopp for 
openSUSE:Factory checked in at 2018-05-29 10:44:26

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


Package is "python-pycryptopp"

Tue May 29 10:44:26 2018 rev:3 rq:612267 
version:0.7.1.869544967005693312591928092448767568728501330214

Changes:

--- /work/SRC/openSUSE:Factory/python-pycryptopp/python-pycryptopp.changes  
2018-03-11 15:25:37.102425150 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycryptopp.new/python-pycryptopp.changes 
2018-05-29 10:44:26.553549469 +0200
@@ -1,0 +2,5 @@
+Fri May 25 13:21:59 UTC 2018 - bwiedem...@suse.com
+
+- Extend reproducible.patch to catch all cases
+
+---



Other differences:
--
++ reproducible.patch ++
--- /var/tmp/diff_new_pack.kQ7BqR/_old  2018-05-29 10:44:27.109528952 +0200
+++ /var/tmp/diff_new_pack.kQ7BqR/_new  2018-05-29 10:44:27.113528804 +0200
@@ -13,11 +13,11 @@
  setup.py | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/setup.py b/setup.py
-index 2915b8d..a1d9904 100644
 a/setup.py
-+++ b/setup.py
-@@ -163,7 +163,7 @@
+Index: 
pycryptopp-0.7.1.869544967005693312591928092448767568728501330214/setup.py
+===
+--- 
pycryptopp-0.7.1.869544967005693312591928092448767568728501330214.orig/setup.py
 pycryptopp-0.7.1.869544967005693312591928092448767568728501330214/setup.py
+@@ -161,13 +161,13 @@ sources.extend([os.path.join("src-ed2551
  if s.endswith(".c") and s!="test.c"])
  m = Extension("pycryptopp.publickey.ed25519._ed25519",
include_dirs=[os.path.join("src-ed25519","supercop-ref")],
@@ -26,3 +26,23 @@
  ext_modules.append(m)
  
  
+ if BUILD_DOUBLE_LOAD_TESTER:
+ ext_modules.append(
+-Extension('_doubleloadtester', extra_srcs + srcs, 
include_dirs=include_dirs, library_dirs=library_dirs, libraries=libraries, 
extra_link_args=extra_link_args, extra_compile_args=extra_compile_args, 
define_macros=define_macros, undef_macros=undef_macros)
++Extension('_doubleloadtester', sorted(extra_srcs) + srcs, 
include_dirs=include_dirs, library_dirs=library_dirs, libraries=libraries, 
extra_link_args=extra_link_args, extra_compile_args=extra_compile_args, 
define_macros=define_macros, undef_macros=undef_macros)
+ )
+ 
+ miscdeps=os.path.join(os.getcwd(), 'misc', 'dependencies')
+Index: 
pycryptopp-0.7.1.869544967005693312591928092448767568728501330214/src-cryptopp/GNUmakefile
+===
+--- 
pycryptopp-0.7.1.869544967005693312591928092448767568728501330214.orig/src-cryptopp/GNUmakefile
 
pycryptopp-0.7.1.869544967005693312591928092448767568728501330214/src-cryptopp/GNUmakefile
+@@ -93,7 +93,7 @@ endif
+ endif
+ endif
+ 
+-SRCS = $(wildcard *.cpp)
++SRCS = $(sort $(wildcard *.cpp))
+ ifeq ($(SRCS),)   # workaround wildcard function 
bug in GNU Make 3.77
+ SRCS = $(shell echo *.cpp)
+ endif




commit python-pycryptopp for openSUSE:Factory

2018-03-11 Thread root
Hello community,

here is the log from the commit of package python-pycryptopp for 
openSUSE:Factory checked in at 2018-03-11 15:25:34

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


Package is "python-pycryptopp"

Sun Mar 11 15:25:34 2018 rev:2 rq:585110 
version:0.7.1.869544967005693312591928092448767568728501330214

Changes:

--- /work/SRC/openSUSE:Factory/python-pycryptopp/python-pycryptopp.changes  
2016-10-10 16:19:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycryptopp.new/python-pycryptopp.changes 
2018-03-11 15:25:37.102425150 +0100
@@ -1,0 +2,5 @@
+Fri Mar  9 10:16:08 UTC 2018 - bwiedem...@suse.com
+
+- Add reproducible.patch to make build reproducible (boo#1041090)
+
+---

New:

  reproducible.patch



Other differences:
--
++ python-pycryptopp.spec ++
--- /var/tmp/diff_new_pack.8C8h4d/_old  2018-03-11 15:25:37.774401043 +0100
+++ /var/tmp/diff_new_pack.8C8h4d/_new  2018-03-11 15:25:37.774401043 +0100
@@ -25,6 +25,8 @@
 Url:http://allmydata.org/trac/pycryptopp
 Source: 
https://files.pythonhosted.org/packages/source/p/pycryptopp/pycryptopp-%{version}.tar.gz
 
 Patch0: pycryptopp-0.5.29-disable-w-flag.patch
+# PATCH-FIX-UPSTREAM https://github.com/tahoe-lafs/pycryptopp/pull/41
+Patch1: reproducible.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
 BuildRequires:  libcryptopp-devel
@@ -41,6 +43,7 @@
 %prep
 %setup -q -n pycryptopp-%{version}
 %patch0
+%patch1 -p1
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"

++ reproducible.patch ++
>From e404f611f0e297fe2fe9ccdee15f78451aeed186 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" 
Date: Tue, 30 May 2017 19:03:41 +0200
Subject: [PATCH] sort input files

when building packages (e.g. for openSUSE Linux)
(random) filesystem order of input files
influences ordering of functions in the output,
thus without the patch, builds (in disposable VMs) would usually differ.

See https://reproducible-builds.org/ for why this matters.
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 2915b8d..a1d9904 100644
--- a/setup.py
+++ b/setup.py
@@ -163,7 +163,7 @@
 if s.endswith(".c") and s!="test.c"])
 m = Extension("pycryptopp.publickey.ed25519._ed25519",
   include_dirs=[os.path.join("src-ed25519","supercop-ref")],
-  sources=sources)
+  sources=sorted(sources))
 ext_modules.append(m)