public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-libs/tevent/files: add-py-file-0.9.14.patch tevent-version.patch
@ 2012-02-12 12:28 Maxim Koltsov (maksbotan)
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Koltsov (maksbotan) @ 2012-02-12 12:28 UTC (permalink / raw
  To: gentoo-commits

maksbotan    12/02/12 12:28:08

  Added:                add-py-file-0.9.14.patch tevent-version.patch
  Log:
  Add patches to 0.9.14, fix bug 403239. Thanks to slepnoga
  
  (Portage version: 2.1.10.44/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sys-libs/tevent/files/add-py-file-0.9.14.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tevent/files/add-py-file-0.9.14.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tevent/files/add-py-file-0.9.14.patch?rev=1.1&content-type=text/plain

Index: add-py-file-0.9.14.patch
===================================================================
--- /dev/null
+++ /tevent.py
@@ -0,0 +1,29 @@
+#!/usr/bin/python
+#
+#   Python integration for tevent
+#
+#   Copyright (C) Jelmer Vernooij 2011
+#
+#     ** NOTE! The following LGPL license applies to the tevent
+#     ** library. This does NOT imply that all of Samba is released
+#     ** under the LGPL
+#
+#   This library is free software; you can redistribute it and/or
+#   modify it under the terms of the GNU Lesser General Public
+#   License as published by the Free Software Foundation; either
+#   version 3 of the License, or (at your option) any later version.
+#
+#   This library is distributed in the hope that it will be useful,
+#   but WITHOUT ANY WARRANTY; without even the implied warranty of
+#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#   Lesser General Public License for more details.
+#
+#   You should have received a copy of the GNU Lesser General Public
+#   License along with this library; if not, see <http://www.gnu.org/licenses/>.
+
+from _tevent import (
+    __version__,
+    backend_list,
+    Context,
+    Signal,
+    )



1.1                  sys-libs/tevent/files/tevent-version.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tevent/files/tevent-version.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tevent/files/tevent-version.patch?rev=1.1&content-type=text/plain

Index: tevent-version.patch
===================================================================
--- a/pytevent.c
+++ b/pytevent.c
@@ -761,4 +761,6 @@ void init_tevent(void)
 
 	Py_INCREF(&TeventFd_Type);
 	PyModule_AddObject(m, "Fd", (PyObject *)&TeventFd_Type);
+
+	PyModule_AddObject(m, "__version__", PyString_FromString(PACKAGE_VERSION));
 }
--- a/wscript
+++ b/wscript
@@ -92,7 +92,14 @@
                      'pytevent.c',
                      deps='tevent',
                      enabled=True,
-                     realname='_tevent.so')
+                     realname='_tevent.so',
+                     cflags='-DPACKAGE_VERSION=\"%s\"' % VERSION)
+    # install out various python scripts for use by make test
+    bld.SAMBA_SCRIPT('tevent_python',
+                 pattern='tevent.py',
+                 installdir='python')
+
+    bld.INSTALL_WILDCARD('${PYTHONDIR}', 'tevent.py', flat=False)
 
 
 def test(ctx):






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/tevent/files: add-py-file-0.9.14.patch tevent-version.patch
@ 2012-09-13 19:00 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 3+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2012-09-13 19:00 UTC (permalink / raw
  To: gentoo-commits

scarabeus    12/09/13 19:00:54

  Removed:              add-py-file-0.9.14.patch tevent-version.patch
  Log:
  Stabilise latest on amd64 and x86. Drop older.
  
  (Portage version: 2.2.0_alpha125/cvs/Linux x86_64)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/tevent/files: add-py-file-0.9.14.patch tevent-version.patch
@ 2012-09-20 17:53 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 3+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2012-09-20 17:53 UTC (permalink / raw
  To: gentoo-commits

scarabeus    12/09/20 17:53:58

  Added:                add-py-file-0.9.14.patch tevent-version.patch
  Log:
  Also add missing patches wrt bug#435568.
  
  (Portage version: 2.2.0_alpha129/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  sys-libs/tevent/files/add-py-file-0.9.14.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tevent/files/add-py-file-0.9.14.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tevent/files/add-py-file-0.9.14.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tevent/files/add-py-file-0.9.14.patch?r1=1.2&r2=1.3




1.3                  sys-libs/tevent/files/tevent-version.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tevent/files/tevent-version.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tevent/files/tevent-version.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/tevent/files/tevent-version.patch?r1=1.2&r2=1.3






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-20 17:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-20 17:53 [gentoo-commits] gentoo-x86 commit in sys-libs/tevent/files: add-py-file-0.9.14.patch tevent-version.patch Tomas Chvatal (scarabeus)
  -- strict thread matches above, loose matches on Subject: below --
2012-09-13 19:00 Tomas Chvatal (scarabeus)
2012-02-12 12:28 Maxim Koltsov (maksbotan)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox