rpms/pygpgme/EL-5 pygpgme-0.1-gpgme_ctx_set_engine_info.patch, NONE, 1.1 pygpgme.spec, 1.3, 1.4
Jesse Keating
jkeating at fedoraproject.org
Wed Jul 29 00:07:44 UTC 2009
- Previous message (by thread): rpms/libqinfinity/F-10 libqinfinity-1.0b3-cmake-libsuffix.patch, NONE, 1.1 libqinfinity-1.0b3-install-libsuffix.patch, NONE, 1.1 libqinfinity.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/pygpgme/devel pygpgme-0.1-gpgme_ctx_set_engine_info.patch, NONE, 1.1 pygpgme.spec, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jkeating
Update of /cvs/pkgs/rpms/pygpgme/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6445
Modified Files:
pygpgme.spec
Added Files:
pygpgme-0.1-gpgme_ctx_set_engine_info.patch
Log Message:
* Tue Jul 28 2009 Jesse Keating <jkeating at redhat.com> - 0.1-7
- Patch from mitr for gpgme_ctx_set_engine_info
pygpgme-0.1-gpgme_ctx_set_engine_info.patch:
pygpgme-context.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
--- NEW FILE pygpgme-0.1-gpgme_ctx_set_engine_info.patch ---
--- pygpgme-0.1/src/pygpgme-context.c~ 2006-02-14 05:05:15.000000000 +0100
+++ pygpgme/src/pygpgme-context.c 2008-11-06 15:01:58.000000000 +0100
@@ -356,6 +356,22 @@
{ NULL, (getter)0, (setter)0 }
};
+static PyObject *
+pygpgme_context_set_engine_info(PyGpgmeContext *self, PyObject *args)
+{
+ int protocol;
+ const char *file_name, *home_dir;
+
+ if (!PyArg_ParseTuple(args, "izz", &protocol, &file_name, &home_dir))
+ return NULL;
+
+ if (pygpgme_check_error(gpgme_ctx_set_engine_info(self->ctx, protocol,
+ file_name, home_dir)))
+ return NULL;
+
+ Py_RETURN_NONE;
+}
+
/* XXX: set_locale */
static PyObject *
pygpgme_context_set_locale(PyGpgmeContext *self, PyObject *args)
@@ -1136,6 +1152,7 @@
// pygpgme_context_trustlist
static PyMethodDef pygpgme_context_methods[] = {
+ { "set_engine_info", (PyCFunction)pygpgme_context_set_engine_info, METH_VARARGS },
{ "set_locale", (PyCFunction)pygpgme_context_set_locale, METH_VARARGS },
{ "get_key", (PyCFunction)pygpgme_context_get_key, METH_VARARGS },
{ "encrypt", (PyCFunction)pygpgme_context_encrypt, METH_VARARGS },
Index: pygpgme.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pygpgme/EL-5/pygpgme.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- pygpgme.spec 14 Dec 2007 22:48:16 -0000 1.3
+++ pygpgme.spec 29 Jul 2009 00:07:44 -0000 1.4
@@ -2,7 +2,7 @@
Name: pygpgme
Version: 0.1
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Python module for working with OpenPGP messages
Group: Development/Languages
@@ -10,6 +10,7 @@ License: LGPLv2+
URL: http://cheeseshop.python.org/pypi/pygpgme/0.1
Source0: http://cheeseshop.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
Patch0: pygpgme-0.1-py23.patch
+Patch1: pygpgme-0.1-gpgme_ctx_set_engine_info.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel
BuildRequires: gpgme-devel
@@ -24,6 +25,7 @@ the GPGME library.
# Patch necessary for python version 2.3 and below.
%patch0 -p1 -b .py23
+%patch1 -p1 -b .ctx_set_engine
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
@@ -46,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitearch}/gpgme/
%changelog
+* Tue Jul 28 2009 Jesse Keating <jkeating at redhat.com> - 0.1-7
+- Patch from mitr for gpgme_ctx_set_engine_info
+
* Fri May 18 2007 Toshio Kuratomi <toshio at tiki-lounge.com> - 0.1-6
- Rebuild to pick up enhancements from gcc on F-8.
- Update licensing to conform to new guidelines.
- Previous message (by thread): rpms/libqinfinity/F-10 libqinfinity-1.0b3-cmake-libsuffix.patch, NONE, 1.1 libqinfinity-1.0b3-install-libsuffix.patch, NONE, 1.1 libqinfinity.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/pygpgme/devel pygpgme-0.1-gpgme_ctx_set_engine_info.patch, NONE, 1.1 pygpgme.spec, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list