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
commit410d009f08c8aafd6136330145cc1efaaa0362a8 (patch)
tree30c97e8ea2eb5dbc216020db6e58f0279fa6d0ab /dev-python/fuse-python
parentVersion bump with fixes from bug #196627 (diff)
downloadhistorical-410d009f08c8aafd6136330145cc1efaaa0362a8.tar.gz
historical-410d009f08c8aafd6136330145cc1efaaa0362a8.tar.bz2
historical-410d009f08c8aafd6136330145cc1efaaa0362a8.zip
Package move from sys-fs/fuse-python to dev-python/fuse-python part 1
Package-Manager: portage-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/Manifest17
-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, 179 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..be2519565784
--- /dev/null
+++ b/dev-python/fuse-python/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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 605 RMD160 efe65eb48f29611c033a7857b1e3be97d77318d9 SHA1 307de2f48ed9817eb124008c6ef2df9327093ac3 SHA256 3f15959841677d1d3e6f33eeadcf325651f41a0a96584e0bc7522000112dc463
+EBUILD fuse-python-0.2_pre2.ebuild 578 RMD160 bd9523fbd6e18fedd8808f48496deb6b978f36ce SHA1 691e067b13ed1215e248cb1195324522bbd0a27f SHA256 22441c32e1fb8d189904b41ea206320a503970994ee92f95a1a91810ddd99c77
+MISC ChangeLog 1160 RMD160 3957b154d8339a6e799c09d8d0e5ef8dbcfbc2fa SHA1 3cbbf4eb4451d1ab1c62900901214323f33b9755 SHA256 8bcea77632b30bb90ce7ee201b33a0a4eee1c790b906622dda35b7f3a7ec061b
+MISC metadata.xml 342 RMD160 8d556f93522973886a24fd30828662e0127d79df SHA1 178def9e5c76d840fca7dd6d6ae4271b5c8b44a9 SHA256 29d67b9ba66df374a1856bbd3d60b379d72603db0097c5f5afad3cb163d21e75
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkgM7zsACgkQz974XjDVpbnkDACgm3a69j+w3DCELHZ5lr+O99xd
+328AoIxaKNNoRMrI1kBFtzKCiAqKjIye
+=blAk
+-----END PGP SIGNATURE-----
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>