summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIoannis Aslanidis <deathwing00@gentoo.org>2009-06-15 16:48:19 +0000
committerIoannis Aslanidis <deathwing00@gentoo.org>2009-06-15 16:48:19 +0000
commitb55075c94418aa1fd16bced2524f0d3e8225ec9c (patch)
tree38311feb3c07c5774227a134bd6ea5ea035f7af4 /dev-python/pyinotify
parentStable for HPPA (bug #274191). (diff)
downloadhistorical-b55075c94418aa1fd16bced2524f0d3e8225ec9c.tar.gz
historical-b55075c94418aa1fd16bced2524f0d3e8225ec9c.tar.bz2
historical-b55075c94418aa1fd16bced2524f0d3e8225ec9c.zip
Version bump. Dropped broken libc check with a custom patch.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pyinotify')
-rw-r--r--dev-python/pyinotify/ChangeLog8
-rw-r--r--dev-python/pyinotify/Manifest5
-rw-r--r--dev-python/pyinotify/files/pyinotify-0.8.6-libc-fix.patch21
-rw-r--r--dev-python/pyinotify/pyinotify-0.8.6.ebuild40
4 files changed, 72 insertions, 2 deletions
diff --git a/dev-python/pyinotify/ChangeLog b/dev-python/pyinotify/ChangeLog
index bc088e8c8836..962d9d23c665 100644
--- a/dev-python/pyinotify/ChangeLog
+++ b/dev-python/pyinotify/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pyinotify
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyinotify/ChangeLog,v 1.13 2009/04/14 09:44:50 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyinotify/ChangeLog,v 1.14 2009/06/15 16:48:18 deathwing00 Exp $
+
+*pyinotify-0.8.6 (15 Jun 2009)
+
+ 15 Jun 2009; Ioannis Aslanidis <iaslanidis@gentoo.org>
+ +files/pyinotify-0.8.6-libc-fix.patch, +pyinotify-0.8.6.ebuild:
+ Version bump. Dropped broken libc check with a custom patch.
14 Apr 2009; Raúl Porcel <armin76@gentoo.org> pyinotify-0.7.1.ebuild:
x86 stable wrt #261518
diff --git a/dev-python/pyinotify/Manifest b/dev-python/pyinotify/Manifest
index ecbe49ac7c41..6fbbe3b9da52 100644
--- a/dev-python/pyinotify/Manifest
+++ b/dev-python/pyinotify/Manifest
@@ -1,8 +1,11 @@
+AUX pyinotify-0.8.6-libc-fix.patch 806 RMD160 d571916deca1c405ffbe0064058973251ef0af86 SHA1 9286d0fae9268aa6d6b7bb8526a431bdf2d71ed7 SHA256 da7ad0c758570bc4ef8d6e69fb1640aa9071173a0834a7495be198b28e9e15fe
DIST pyinotify-0.6.3.tar.bz2 81782 RMD160 389978e5a7b8502cce6e7049504b102dcb029303 SHA1 e61546d09e915d14b5530bb11367451699975885 SHA256 e1728aeef6daa699da3f289b9624cc169d1be58c47f34d745793145eebe5dddf
DIST pyinotify-0.7.0.tar.bz2 82071 RMD160 d1292fe93e131d41f1323ad9f075a58bbd241cc3 SHA1 f73135f8195a63b4c86c49aa8fbdd764962849a0 SHA256 bcc83fb5534db62ed8dddbbd314d0f2cbfd70dede4d91e6e2a0930c644b66ef1
DIST pyinotify-0.7.1.tar.bz2 91277 RMD160 5126701480bb53e693420767234b2956d5b10627 SHA1 7677522b4bc1cf3a19fdce321da1d0297127ed2f SHA256 2b248f129fe887ad287360e189d3a8ca84d74fee545d1767ed04263e3c3b35d6
+DIST pyinotify-0.8.6.tar.gz 283334 RMD160 959db79a71bc60a72fdc4897403682e123fcb882 SHA1 8bd96c66ac7a70b44d549c7e176741ec2530a3fd SHA256 4101e211a92c16f6cbd7e79f73d47566d6815c8689781fb8c1996157d6d01355
EBUILD pyinotify-0.6.3.ebuild 467 RMD160 21ac1cee27548500e950f5160e275c3cb17fe808 SHA1 ce079d1be67635c8236733ddf28b970f832803fa SHA256 a165e711785f965d7ff6055951448664dee2c1d77116f409a3fc1ee47950b5d6
EBUILD pyinotify-0.7.0.ebuild 659 RMD160 7e7e3140db0f815b563c82f2e3d85e6fb721b1fe SHA1 69f4926c93eead7a56555472cd851e320d15cce2 SHA256 964f6a3d7227900a2c1c797220cbc6ba6335e99bba9699c874aa64216782ec25
EBUILD pyinotify-0.7.1.ebuild 665 RMD160 1bce73446b8a40fc1b7c0cf75913c7f35704b939 SHA1 766f3587c0572d01161a6a9ac0f5386423d72836 SHA256 70d4da16e824e62b3352daa9bba7e3d43debcf88e518806377d3e365d4b59385
-MISC ChangeLog 1775 RMD160 6506785521efd096617ebc42d7d1a9bd63f378d2 SHA1 6c995a211ecc110f70b0d41eeab8612b5eac999c SHA256 74355ac15b72b86872f1c1ef62fdddd5799874ec300010cecfda5f28868124f1
+EBUILD pyinotify-0.8.6.ebuild 801 RMD160 3771774b2a818fff36f9b3d3e330d3dfd8083116 SHA1 61777c3084b6834c9f25cd4bedc1dd9fa0bc604b SHA256 5365ee018e780530f6e825a2c703ac089f9e0f7d09278be119e10de1dc3ee55d
+MISC ChangeLog 1998 RMD160 e3ea5dabdb94249ae950073e8db56b62a7f08afd SHA1 8fb4a0d8c834a40327aaf9828bfa702534077ed6 SHA256 d7b5acdbb5f117e909f4b4788d2884e06da70df546393d578f76c84767ff5d70
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
diff --git a/dev-python/pyinotify/files/pyinotify-0.8.6-libc-fix.patch b/dev-python/pyinotify/files/pyinotify-0.8.6-libc-fix.patch
new file mode 100644
index 000000000000..c2ac651082c6
--- /dev/null
+++ b/dev-python/pyinotify/files/pyinotify-0.8.6-libc-fix.patch
@@ -0,0 +1,21 @@
+Common subdirectories: pyinotify.orig/docstrings and pyinotify/docstrings
+diff -Nut pyinotify.orig/pyinotify.py pyinotify/pyinotify.py
+--- pyinotify.orig/pyinotify.py 2009-06-15 18:41:58.490312591 +0200
++++ pyinotify/pyinotify.py 2009-06-15 18:42:31.990187432 +0200
+@@ -95,15 +95,6 @@
+ # load libc
+ LIBC = ctypes.cdll.LoadLibrary(ctypes.util.find_library('c'))
+
+-# the libc version check.
+-# XXX: Maybe it is better to check if the libc has the needed functions inside?
+-# Because there are inotify patches for libc 2.3.6.
+-LIBC.gnu_get_libc_version.restype = ctypes.c_char_p
+-LIBC_VERSION = LIBC.gnu_get_libc_version()
+-if LIBC_VERSION < '2.4':
+- raise UnsupportedLibcVersionError(LIBC_VERSION)
+-
+-
+ # logging
+ log = logging.getLogger("pyinotify")
+ console_handler = logging.StreamHandler()
+
diff --git a/dev-python/pyinotify/pyinotify-0.8.6.ebuild b/dev-python/pyinotify/pyinotify-0.8.6.ebuild
new file mode 100644
index 000000000000..42c8ef773c20
--- /dev/null
+++ b/dev-python/pyinotify/pyinotify-0.8.6.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyinotify/pyinotify-0.8.6.ebuild,v 1.1 2009/06/15 16:48:18 deathwing00 Exp $
+
+NEED_PYTHON="2.4"
+
+inherit distutils
+
+S="${WORKDIR}/${PN}"
+
+DESCRIPTION="Python wrapper for inotify"
+HOMEPAGE="http://trac.dbzteam.org/pyinotify"
+SRC_URI="http://seb.dbzteam.org/pub/pyinotify/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doc examples"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-libc-fix.patch
+}
+
+src_install() {
+ cd python
+ DOCS="NEWS"
+ distutils_src_install
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r src/examples
+ fi
+
+ if use doc; then
+ dohtml -r doc/*
+ fi
+}
+