pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/filesystems/fuse-wikipediafs Initial import of wikiped...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/316ec81d6313
branches:  trunk
changeset: 532005:316ec81d6313
user:      agc <agc%pkgsrc.org@localhost>
date:      Thu Aug 09 21:42:52 2007 +0000

description:
Initial import of wikipediafs-0.3 into the Packages Collection.

        WikipediaFS is a mountable virtual file system that allows to read and
        edit articles from Wikipedia (or any Mediawiki-based site) as if they
        were real files.

        It is thus possible to view and edit articles using your favourite
        text-editor.  Text-editors tend to be more convenient than a simple
        browser form when it comes to editing large texts and they generally
        include useful features such as Mediawiki syntax highlighting and
        spell checking.

        Advanced usage of WikipediaFS includes easy development of scripts and
        bots.  Programs simply have to deal with normal files because this is
        WikipediaFS which takes care of the HTTP layer.  For example, it would
        be possible to use WikipediaFS to perform a massive content migration
        from an existing site to a Mediawiki.

        Features

            * Reading and editing articles, including subpages.
            * User * configuration :  add your own Mediawiki.
            * Editing with your login
            * HTTPS, HTTP authentication, proxy.

diffstat:

 filesystems/fuse-wikipediafs/DESCR            |  22 ++++++++++++++
 filesystems/fuse-wikipediafs/Makefile         |  42 +++++++++++++++++++++++++++
 filesystems/fuse-wikipediafs/PLIST            |  22 ++++++++++++++
 filesystems/fuse-wikipediafs/distinfo         |   6 +++
 filesystems/fuse-wikipediafs/patches/patch-aa |  12 +++++++
 5 files changed, 104 insertions(+), 0 deletions(-)

diffs (124 lines):

diff -r f603ed037b83 -r 316ec81d6313 filesystems/fuse-wikipediafs/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-wikipediafs/DESCR        Thu Aug 09 21:42:52 2007 +0000
@@ -0,0 +1,22 @@
+WikipediaFS is a mountable virtual file system that allows to read and
+edit articles from Wikipedia (or any Mediawiki-based site) as if they
+were real files.
+
+It is thus possible to view and edit articles using your favourite
+text-editor.  Text-editors tend to be more convenient than a simple
+browser form when it comes to editing large texts and they generally
+include useful features such as Mediawiki syntax highlighting and
+spell checking.
+
+Advanced usage of WikipediaFS includes easy development of scripts and
+bots.  Programs simply have to deal with normal files because this is
+WikipediaFS which takes care of the HTTP layer.  For example, it would
+be possible to use WikipediaFS to perform a massive content migration
+from an existing site to a Mediawiki.
+
+Features
+
+    * Reading and editing articles, including subpages.
+    * User * configuration :  add your own Mediawiki.
+    * Editing with your login
+    * HTTPS, HTTP authentication, proxy.
diff -r f603ed037b83 -r 316ec81d6313 filesystems/fuse-wikipediafs/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-wikipediafs/Makefile     Thu Aug 09 21:42:52 2007 +0000
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/08/09 21:42:52 agc Exp $
+#
+
+DISTNAME=      wikipediafs-0.3
+PKGNAME=       fuse-${DISTNAME}
+CATEGORIES=    filesystems
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=wikipediafs/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://wikipediafs.sourceforge.net/
+COMMENT=       FUSE filesystem for acecssing the wikipedia
+
+NO_BUILD=      yes
+PYTHON_VERSIONS_ACCEPTED=      24
+
+PLIST_SUBST+=          PYSITELIB=${PYSITELIB:Q}
+
+SUBST_CLASSES+=                config
+SUBST_STAGE.config=    post-patch
+SUBST_FILES.config=    setup.py
+SUBST_SED.config+=     -e "s|@PREFIX@|${PREFIX}|g"
+SUBST_SED.config+=     -e "s|@PKGMANDIR@|${PKGMANDIR}|g"
+SUBST_SED.config+=     -e "s|@PYSITELIB@|${PREFIX}/${PYSITELIB}|g"
+SUBST_MESSAGE.config=   Fixing paths.
+
+do-build:
+       cd ${WRKSRC} && ${PYTHONBIN} setup.py build
+
+do-install:
+       cd ${WRKSRC} && ${PYTHONBIN} setup.py install
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+PRIVILEGED_STAGES+=    clean
+.endif
+
+.include "../../filesystems/py-fuse-bindings/buildlink3.mk"
+
+.include "../../lang/python/application.mk"
+.include "../../mk/fuse.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f603ed037b83 -r 316ec81d6313 filesystems/fuse-wikipediafs/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-wikipediafs/PLIST        Thu Aug 09 21:42:52 2007 +0000
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/08/09 21:42:52 agc Exp $
+bin/mount.wikipediafs
+${PYSITELIB}/wikipediafs/__init__.py
+${PYSITELIB}/wikipediafs/__init__.pyc
+${PYSITELIB}/wikipediafs/article.py
+${PYSITELIB}/wikipediafs/article.pyc
+${PYSITELIB}/wikipediafs/config.py
+${PYSITELIB}/wikipediafs/config.pyc
+${PYSITELIB}/wikipediafs/fs.py
+${PYSITELIB}/wikipediafs/fs.pyc
+${PYSITELIB}/wikipediafs/http.py
+${PYSITELIB}/wikipediafs/http.pyc
+${PYSITELIB}/wikipediafs/logger.py
+${PYSITELIB}/wikipediafs/logger.pyc
+${PYSITELIB}/wikipediafs/metadir.py
+${PYSITELIB}/wikipediafs/metadir.pyc
+${PYSITELIB}/wikipediafs/user.py
+${PYSITELIB}/wikipediafs/user.pyc
+${PYSITELIB}/wikipediafs/version.py
+${PYSITELIB}/wikipediafs/version.pyc
+man/man1/mount.wikipediafs.1
+@dirrm ${PYSITELIB}/wikipediafs
diff -r f603ed037b83 -r 316ec81d6313 filesystems/fuse-wikipediafs/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-wikipediafs/distinfo     Thu Aug 09 21:42:52 2007 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/08/09 21:42:52 agc Exp $
+
+SHA1 (wikipediafs-0.3.tar.gz) = 8814afbb18f122492857a06a9f7a949b16e7b714
+RMD160 (wikipediafs-0.3.tar.gz) = 16377047749665082328421ffcb108f363db3dab
+Size (wikipediafs-0.3.tar.gz) = 25409 bytes
+SHA1 (patch-aa) = 35bb8db6d74022fef921ff60fe2f4afa6340eade
diff -r f603ed037b83 -r 316ec81d6313 filesystems/fuse-wikipediafs/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-wikipediafs/patches/patch-aa     Thu Aug 09 21:42:52 2007 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/08/09 21:42:52 agc Exp $
+
+--- setup.py   2007/08/09 20:52:33     1.1
++++ setup.py   2007/08/09 20:52:59
+@@ -12,5 +12,5 @@
+     packages = ['wikipediafs'],
+     package_dir = {'wikipediafs':'src/wikipediafs/'},
+     scripts = ['src/mount.wikipediafs'],
+-    data_files = [('/usr/share/man/man1/', ['doc/mount.wikipediafs.1.gz'])],
++    data_files = [('@PKGMANDIR@/man1/', ['doc/mount.wikipediafs.1.gz'])],
+ )
+\ No newline at end of file



Home | Main Index | Thread Index | Old Index