summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2008-04-21 19:47:02 +0000
committerMarkus Ullmann <jokey@gentoo.org>2008-04-21 19:47:02 +0000
commit815b7e5e7737ba97e7ded8abf08faf8364f206c2 (patch)
tree5c65ea09f1acddc8127082ed9467965bd5c1bcd6 /dev-python/fuse-python
parentVersion bump with fixes from bug #196627 (diff)
downloadgentoo-2-815b7e5e7737ba97e7ded8abf08faf8364f206c2.tar.gz
gentoo-2-815b7e5e7737ba97e7ded8abf08faf8364f206c2.tar.bz2
gentoo-2-815b7e5e7737ba97e7ded8abf08faf8364f206c2.zip
Package move from sys-fs/fuse-python to dev-python/fuse-python part 1
(Portage version: 2.1.5_rc5)
Diffstat (limited to 'dev-python/fuse-python')
-rw-r--r--dev-python/fuse-python/ChangeLog32
-rw-r--r--dev-python/fuse-python/Manifest7
-rw-r--r--dev-python/fuse-python/files/fuse_python_accept_none.patch75
-rw-r--r--dev-python/fuse-python/fuse-python-0.2.ebuild21
-rw-r--r--dev-python/fuse-python/fuse-python-0.2_pre2.ebuild21
-rw-r--r--dev-python/fuse-python/metadata.xml13
6 files changed, 169 insertions, 0 deletions
diff --git a/dev-python/fuse-python/ChangeLog b/dev-python/fuse-python/ChangeLog
new file mode 100644
index 000000000000..1cb0765d1565
--- /dev/null
+++ b/dev-python/fuse-python/ChangeLog
@@ -0,0 +1,32 @@
+# ChangeLog for sys-fs/fuse-python
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/fuse-python/ChangeLog,v 1.1 2008/04/21 19:47:01 jokey Exp $
+
+ 21 Apr 2008; Markus Ullmann <jokey@gentoo.org>
+ +files/fuse_python_accept_none.patch, +metadata.xml,
+ +fuse-python-0.2_pre2.ebuild, +fuse-python-0.2.ebuild:
+ Package move from sys-fs/fuse-python to dev-python/fuse-python part 1
+
+*fuse-python-0.2 (21 Apr 2008)
+
+ 21 Apr 2008; Markus Ullmann <jokey@gentoo.org>
+ +files/fuse_python_accept_none.patch, metadata.xml,
+ +fuse-python-0.2.ebuild:
+ Version bump with fixes from bug #196627
+
+ 12 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
+ Removing Josh Glover (jmglov, #206782) from metadata.xml.
+
+ 13 Feb 2008; Christian Faulhammer <opfer@gentoo.org> metadata.xml:
+ add no-herd
+
+ 27 Jun 2007; Sven Wegener <swegener@gentoo.org>
+ fuse-python-0.2_pre2.ebuild:
+ Add ~amd64 keyword.
+
+*fuse-python-0.2_pre2 (17 Jun 2007)
+
+ 17 Jun 2007; Josh Glover <jmglov@gentoo.org> +metadata.xml,
+ +fuse-python-0.2_pre2.ebuild:
+ This package was submitted by Moritz Armingeon in bug #63789
+
diff --git a/dev-python/fuse-python/Manifest b/dev-python/fuse-python/Manifest
new file mode 100644
index 000000000000..80f029f129b9
--- /dev/null
+++ b/dev-python/fuse-python/Manifest
@@ -0,0 +1,7 @@
+AUX fuse_python_accept_none.patch 2020 RMD160 558d43b4f5e4e8a7b405f42a7845796c37e1e70b SHA1 30421df4771421a996fa2b54296e27a803fc9a00 SHA256 f0837a17a5b31513ddb13a44d37c381279caad0ce28e60e30e8027412a60422d
+DIST fuse-python-0.2-pre2.tar.gz 47339 RMD160 8619e87caafae9c6f1f73ae254a0bbc79e235c02 SHA1 622b2f3f2f273c0fc08e34f58f6116d136029893 SHA256 cd67d49663a5a78162f1f9dfee76a4126880771de6e46e5583345c42a3b13a02
+DIST fuse-python-0.2.tar.gz 53728 RMD160 dfefb8a632b52b104beacc3435f1d7a67e679073 SHA1 f2be16b1b72bedd85a6db2f2aaf22862de903640 SHA256 89f3e9ac096759e10b6292632216c9653d7e35c2c99847267173d94afdf85b92
+EBUILD fuse-python-0.2.ebuild 601 RMD160 8e5eaa09a9fbb01c4b4a99d664279fa6ed658390 SHA1 e0532a6427a6fe4727b1a3d040b38cec92f19a30 SHA256 250cc582fc99e3a88c7c8e27d028fc215558b7f3a02dac99ed5e85636efaafb0
+EBUILD fuse-python-0.2_pre2.ebuild 577 RMD160 c515ec3a2bc014c0aa382c7070a03c89c3877ceb SHA1 1f4ea1f72e11c1aef07c8c5d54cbfdbdea4444b6 SHA256 2f6c34978230105e692b09b115aec4ccb2e03cd645e42de8251f39129ae0592a
+MISC ChangeLog 1156 RMD160 3bec1779124d4cb4a7225d381ed6e77359394b15 SHA1 94f50d5a36bdb6e3e36126837cf50b94949ecabe SHA256 02bc1ae7ef6886d26b8092a8bdd281a382366bdcc6ca28a0793dec0d00b8a3db
+MISC metadata.xml 342 RMD160 8d556f93522973886a24fd30828662e0127d79df SHA1 178def9e5c76d840fca7dd6d6ae4271b5c8b44a9 SHA256 29d67b9ba66df374a1856bbd3d60b379d72603db0097c5f5afad3cb163d21e75
diff --git a/dev-python/fuse-python/files/fuse_python_accept_none.patch b/dev-python/fuse-python/files/fuse_python_accept_none.patch
new file mode 100644
index 000000000000..9f7180050b9c
--- /dev/null
+++ b/dev-python/fuse-python/files/fuse_python_accept_none.patch
@@ -0,0 +1,75 @@
+--- fuseparts/_fusemodule.c.old 2007-06-18 16:20:09.000000000 +0200
++++ fuseparts/_fusemodule.c 2008-04-08 01:18:43.000000000 +0200
+@@ -182,8 +182,50 @@
+ * the getattr type functions.
+ */
+
+-#define fetchattr_soft_d(st, attr, defa) \
+- fetchattr_soft(st, attr) else st->attr = defa
++// <spaghetti_code> (sorry ...)
++
++#define good(attr) _GOOD_SPAGHETTI_ ## attr
++#define bad(attr) _BAD_SPAGHETTI_ ## attr
++
++/*
++ * This macro checks whether an attribute is available and not None.
++ * Success --> set attribute and goto _GOOD_SPAGHETTI
++ * Failure --> goto _BAD_SPAGHETTI
++ * Error --> goto OUT_DECREF
++ */
++#define fetchattr_soft_none_pre(st, attr) \
++ if (PyObject_HasAttrString(v, #attr)) { \
++ if (!(pytmp = PyObject_GetAttrString(v, #attr))) \
++ goto OUT_DECREF; \
++ else if (pytmp != Py_None) { \
++ py2attr(st, attr) \
++ goto good(attr); \
++ } \
++ else { \
++ Py_DECREF(pytmp); \
++ goto bad(attr); \
++ } \
++ } \
++ goto bad(attr);
++
++/**
++ * Calls fetchattr_soft_none_pre and ignores failure.
++ */
++#define fetchattr_soft_none(st, attr) \
++ fetchattr_soft_none_pre(st, attr); \
++ good(attr): ; \
++ bad(attr): ;
++
++/**
++ * Calls fetchattr_soft_none_pre and sets a default value on failure.
++ */
++#define fetchattr_soft_d(st, attr, defa) \
++ fetchattr_soft_none_pre(st, attr); \
++ bad(attr): \
++ st->attr = defa; \
++ good(attr): ;
++
++// </spaghetti_code>
+
+ #define FETCH_STAT_DATA() \
+ fetchattr(st, st_mode); \
+@@ -206,7 +248,7 @@
+ * autotools so we just dare to throw these in as is. \
+ */ \
+ \
+- fetchattr_soft(st, st_rdev); \
++ fetchattr_soft_none(st, st_rdev); \
+ fetchattr_soft_d(st, st_blksize, 4096); \
+ fetchattr_soft_d(st, st_blocks, (st->st_size + 511)/512)
+
+@@ -245,6 +287,10 @@
+ #endif
+
+ #undef fetchattr_soft_d
++#undef fetchattr_soft_none
++#undef fetchattr_soft_none_pre
++#undef good
++#undef bad
+ #undef FETCH_STAT_DATA
+
+ static int
diff --git a/dev-python/fuse-python/fuse-python-0.2.ebuild b/dev-python/fuse-python/fuse-python-0.2.ebuild
new file mode 100644
index 000000000000..9dae32021ce8
--- /dev/null
+++ b/dev-python/fuse-python/fuse-python-0.2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/fuse-python/fuse-python-0.2.ebuild,v 1.1 2008/04/21 19:47:01 jokey Exp $
+
+inherit eutils distutils
+
+KEYWORDS="~amd64 ~x86"
+DESCRIPTION="Python FUSE bindings"
+HOMEPAGE="http://fuse.sourceforge.net/wiki/index.php/FusePython"
+SRC_URI="mirror://sourceforge/fuse/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND=">=dev-lang/python-2.3
+ >=sys-fs/fuse-2.0"
+
+src_compile () {
+ epatch "${FILESDIR}/fuse_python_accept_none.patch"
+ distutils_src_compile
+}
diff --git a/dev-python/fuse-python/fuse-python-0.2_pre2.ebuild b/dev-python/fuse-python/fuse-python-0.2_pre2.ebuild
new file mode 100644
index 000000000000..8864032acb99
--- /dev/null
+++ b/dev-python/fuse-python/fuse-python-0.2_pre2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/fuse-python/fuse-python-0.2_pre2.ebuild,v 1.1 2008/04/21 19:47:01 jokey Exp $
+
+inherit distutils
+
+# Upstream version is -pre2
+MY_P=${P/_/-}
+
+S="${WORKDIR}/${MY_P}"
+
+KEYWORDS="~amd64 ~x86"
+DESCRIPTION="Python FUSE bindings"
+HOMEPAGE="http://fuse.sourceforge.net/wiki/index.php/FusePython"
+SRC_URI="mirror://sourceforge/fuse/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND=">=dev-lang/python-2.3
+ >=sys-fs/fuse-2.0"
diff --git a/dev-python/fuse-python/metadata.xml b/dev-python/fuse-python/metadata.xml
new file mode 100644
index 000000000000..e0e56447576d
--- /dev/null
+++ b/dev-python/fuse-python/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>jokey@gentoo.org</email>
+ <name>Markus Ullmann</name>
+</maintainer>
+<maintainer>
+ <email>necoro@necoro.net</email>
+ <name>René Neumann</name>
+</maintainer>
+</pkgmetadata>