commit python-gpgme for openSUSE:Factory
Hello community, here is the log from the commit of package python-gpgme for openSUSE:Factory checked in at 2018-01-16 09:37:35 Comparing /work/SRC/openSUSE:Factory/python-gpgme (Old) and /work/SRC/openSUSE:Factory/.python-gpgme.new (New) Package is "python-gpgme" Tue Jan 16 09:37:35 2018 rev:17 rq:563589 version:0.3 Changes: --- /work/SRC/openSUSE:Factory/python-gpgme/python-gpgme.changes 2017-06-13 16:07:01.991742904 +0200 +++ /work/SRC/openSUSE:Factory/.python-gpgme.new/python-gpgme.changes 2018-01-16 09:37:36.331071695 +0100 @@ -1,0 +2,5 @@ +Thu Jan 11 12:17:15 UTC 2018 - tchva...@suse.com + +- Use python macros to not directly pull both develpackages + +--- Other differences: -- ++ python-gpgme.spec ++ --- /var/tmp/diff_new_pack.mNJs4f/_old 2018-01-16 09:37:37.367023204 +0100 +++ /var/tmp/diff_new_pack.mNJs4f/_new 2018-01-16 09:37:37.371023017 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-gpgme # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 Neal Gompa. # # All modifications and additions to the file contributed by third parties @@ -35,12 +35,9 @@ Patch0004: 0004-add-pubkey_algo-and-hash_algo-attributes-to-signatur.patch Patch0005: 0005-add-ENCRYPT_NO_ENCRYPT_TO-constant.patch Patch0006: 0006-ignore-STATUS_KEY_CONSIDERED-when-editing.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{python_module devel} BuildRequires: gpgme-devel -BuildRequires: python-devel BuildRequires: python-rpm-macros -BuildRequires: python3-devel - %python_subpackages %description @@ -49,12 +46,6 @@ It is built on top of the GNU Privacy Guard and the GPGME library. - - -Authors: - -James Henstridge - %prep %setup -q -n pygpgme-%{version} %if 0%{?suse_version} >= 1330 @@ -68,7 +59,6 @@ %python_install %files %{python_files} -%defattr(-,root,root,-) %doc README examples tests %{python_sitearch}/*
commit python-gpgme for openSUSE:Factory
Hello community, here is the log from the commit of package python-gpgme for openSUSE:Factory checked in at 2017-06-13 16:06:57 Comparing /work/SRC/openSUSE:Factory/python-gpgme (Old) and /work/SRC/openSUSE:Factory/.python-gpgme.new (New) Package is "python-gpgme" Tue Jun 13 16:06:57 2017 rev:16 rq:501741 version:0.3 Changes: --- /work/SRC/openSUSE:Factory/python-gpgme/python-gpgme.changes 2012-02-23 15:34:34.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-gpgme.new/python-gpgme.changes 2017-06-13 16:07:01.991742904 +0200 @@ -1,0 +2,16 @@ +Tue Jun 6 12:31:55 UTC 2017 - ngomp...@gmail.com + +- Update to 0.3 +- Add patches from Fedora to fix pygpgme with new gpgme + * 0001-reflect-2.1-reporting-for-key-imports.patch + * 0002-passphrase_cb-is-deprecated.patch + * 0003-handle-generic-error-when-no-passphrase-callback-pre.patch + * 0004-add-pubkey_algo-and-hash_algo-attributes-to-signatur.patch + * 0005-add-ENCRYPT_NO_ENCRYPT_TO-constant.patch + * 0006-ignore-STATUS_KEY_CONSIDERED-when-editing.patch +- Drop old patches for pygpgme 0.1 + * pygpgme-0.1-py23.patch + * pygpgme-0.1-context.patch +- Convert to singlespec to build for Python 2 and Python 3 + +--- Old: pygpgme-0.1-context.patch pygpgme-0.1-py23.patch pygpgme-0.1.tar.bz2 New: 0001-reflect-2.1-reporting-for-key-imports.patch 0002-passphrase_cb-is-deprecated.patch 0003-handle-generic-error-when-no-passphrase-callback-pre.patch 0004-add-pubkey_algo-and-hash_algo-attributes-to-signatur.patch 0005-add-ENCRYPT_NO_ENCRYPT_TO-constant.patch 0006-ignore-STATUS_KEY_CONSIDERED-when-editing.patch pygpgme-0.3.tar.gz Other differences: -- ++ python-gpgme.spec ++ --- /var/tmp/diff_new_pack.ABm8DK/_old 2017-06-13 16:07:02.683645395 +0200 +++ /var/tmp/diff_new_pack.ABm8DK/_new 2017-06-13 16:07:02.683645395 +0200 @@ -1,7 +1,8 @@ # # spec file for package python-gpgme # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 Neal Gompa. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,19 +17,31 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-gpgme -Version:0.1 +Version:0.3 Release:0 Summary:A Python module for working with OpenPGP messages License:LGPL-2.1+ Group: Development/Libraries/Python Url:http://pypi.python.org/pypi/pygpgme -Source: pygpgme-%{version}.tar.bz2 -Patch: pygpgme-0.1-py23.patch -Patch1: pygpgme-0.1-context.patch +Source: pygpgme-%{version}.tar.gz +# Upstream is dead, but Fedora maintains a fork +# All patches tracked at: https://pagure.io/pygpgme +# Patches for working with gnupg >= 2.1 +Patch0001: 0001-reflect-2.1-reporting-for-key-imports.patch +Patch0002: 0002-passphrase_cb-is-deprecated.patch +Patch0003: 0003-handle-generic-error-when-no-passphrase-callback-pre.patch +Patch0004: 0004-add-pubkey_algo-and-hash_algo-attributes-to-signatur.patch +Patch0005: 0005-add-ENCRYPT_NO_ENCRYPT_TO-constant.patch +Patch0006: 0006-ignore-STATUS_KEY_CONSIDERED-when-editing.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gpgme-devel BuildRequires: python-devel +BuildRequires: python-rpm-macros +BuildRequires: python3-devel + +%python_subpackages %description PyGPGME is a Python module that lets you sign, verify, encrypt and @@ -44,23 +57,19 @@ %prep %setup -q -n pygpgme-%{version} -%patch -p1 -%patch1 -p2 +%if 0%{?suse_version} >= 1330 +%autopatch -p1 +%endif %build -#CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build +%python_build %install -%{__python} setup.py install --root $RPM_BUILD_ROOT --prefix=%{_prefix} -# No need to ship the tests -rm -rf $RPM_BUILD_ROOT%{py_sitedir}/gpgme/tests/ - -%clean -rm -rf $RPM_BUILD_ROOT +%python_install -%files +%files %{python_files} %defattr(-,root,root,-) -%doc README PKG-INFO -%{py_sitedir}/* +%doc README examples tests +%{python_sitearch}/* %changelog ++ 0001-reflect-2.1-reporting-for-key-imports.patch ++ >From 4f15b1c042e9cb8c68223c3f78a47b6c18678802 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Tue, 26 Jan 2016 14:24:26 -0500 Subject: [PATCH 1/6] reflect 2.1 reporting for key imports GnuPG 2.1 changes how it reports key imports. These changes should make the pygpgme test suite compatible with GnuPG 2.1. See also:
commit python-gpgme for openSUSE:Factory
Hello community, here is the log from the commit of package python-gpgme for openSUSE:Factory checked in at 2012-02-23 15:34:30 Comparing /work/SRC/openSUSE:Factory/python-gpgme (Old) and /work/SRC/openSUSE:Factory/.python-gpgme.new (New) Package is python-gpgme, Maintainer is jmate...@suse.com Changes: --- /work/SRC/openSUSE:Factory/python-gpgme/python-gpgme.changes 2011-09-23 12:42:50.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-gpgme.new/python-gpgme.changes 2012-02-23 15:34:34.0 +0100 @@ -1,0 +2,6 @@ +Wed Feb 22 13:07:05 UTC 2012 - fcro...@suse.com + +- Fix incorrect gpgme initialization (bnc#745257), patch extracted + by Benjamin Haskell. + +--- New: pygpgme-0.1-context.patch Other differences: -- ++ python-gpgme.spec ++ --- /var/tmp/diff_new_pack.f7ckrV/_old 2012-02-23 15:34:35.0 +0100 +++ /var/tmp/diff_new_pack.f7ckrV/_new 2012-02-23 15:34:35.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python-gpgme (Version 0.1) +# spec file for package python-gpgme # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,21 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: python-gpgme Version:0.1 -Release:98 +Release:0 Summary:A Python module for working with OpenPGP messages -Group: Development/Libraries/Python License:LGPL-2.1+ +Group: Development/Libraries/Python Url:http://pypi.python.org/pypi/pygpgme Source: pygpgme-%{version}.tar.bz2 Patch: pygpgme-0.1-py23.patch +Patch1: pygpgme-0.1-context.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel BuildRequires: gpgme-devel +BuildRequires: python-devel %description PyGPGME is a Python module that lets you sign, verify, encrypt and @@ -46,6 +45,7 @@ %prep %setup -q -n pygpgme-%{version} %patch -p1 +%patch1 -p2 %build #CFLAGS=$RPM_OPT_FLAGS %{__python} setup.py build ++ pygpgme-0.1-context.patch ++ Based on suggestion found at: http://lists.mandriva.com/bugs/2010-05/msg03921.php --- a/pygpgme-0.1/src/pygpgme-context.c +++ b/pygpgme-0.1/src/pygpgme-context.c @@ -83,6 +83,7 @@ static int pygpgme_context_init(PyGpgmeContext *self, PyObject *args, PyObject *kwargs) { static char *kwlist[] = { NULL }; +gpgme_check_version(NULL); if (!PyArg_ParseTupleAndKeywords(args, kwargs, , kwlist)) return -1; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-gpgme for openSUSE:Factory
Hello community, here is the log from the commit of package python-gpgme for openSUSE:Factory checked in at 2011-12-06 18:55:47 Comparing /work/SRC/openSUSE:Factory/python-gpgme (Old) and /work/SRC/openSUSE:Factory/.python-gpgme.new (New) Package is python-gpgme, Maintainer is jmate...@suse.com Changes: Other differences: -- ++ python-gpgme.spec ++ --- /var/tmp/diff_new_pack.C71TYK/_old 2011-12-06 19:29:11.0 +0100 +++ /var/tmp/diff_new_pack.C71TYK/_new 2011-12-06 19:29:11.0 +0100 @@ -23,7 +23,7 @@ Release:98 Summary:A Python module for working with OpenPGP messages Group: Development/Libraries/Python -License:LGPL v2.1 or later +License:LGPL-2.1+ Url:http://pypi.python.org/pypi/pygpgme Source: pygpgme-%{version}.tar.bz2 Patch: pygpgme-0.1-py23.patch -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org