summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepg <epg@pkgsrc.org>2008-09-04 17:20:26 +0000
committerepg <epg@pkgsrc.org>2008-09-04 17:20:26 +0000
commitbe7bbd3b8d282c369ac387b14bc5f140eefd1b1c (patch)
treeff06795b1e662f618200ce760b5e67ce9c173711
parentd15367d39e8cb5c1b6a22c88934034c8b8dc54c3 (diff)
downloadpkgsrc-be7bbd3b8d282c369ac387b14bc5f140eefd1b1c.tar.gz
Import loggerhead-1.6.
Loggerhead is a web viewer for Bazaar branches. It can be used to navigate a branch history, annotate files, perform searches... all the usual things.
-rw-r--r--www/loggerhead/DESCR3
-rw-r--r--www/loggerhead/Makefile28
-rw-r--r--www/loggerhead/PLIST146
-rw-r--r--www/loggerhead/distinfo6
-rw-r--r--www/loggerhead/patches/patch-aa22
5 files changed, 205 insertions, 0 deletions
diff --git a/www/loggerhead/DESCR b/www/loggerhead/DESCR
new file mode 100644
index 00000000000..97435d95b33
--- /dev/null
+++ b/www/loggerhead/DESCR
@@ -0,0 +1,3 @@
+Loggerhead is a web viewer for Bazaar branches. It can be used to
+navigate a branch history, annotate files, perform searches... all the
+usual things.
diff --git a/www/loggerhead/Makefile b/www/loggerhead/Makefile
new file mode 100644
index 00000000000..87d2944c2bf
--- /dev/null
+++ b/www/loggerhead/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/04 17:20:26 epg Exp $
+
+DISTNAME= loggerhead-${VER}
+CATEGORIES= www scm
+MASTER_SITES= http://launchpad.net/loggerhead/1.6/${VER}/+download/
+VER= 1.6
+
+MAINTAINER= epg@NetBSD.org
+HOMEPAGE= https://launchpad.net/loggerhead
+COMMENT= Web viewer for Bazaar branches
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= bzr>=1.6:../../devel/bzr
+DEPENDS+= ${PYPKGPREFIX}-Paste>=1.2:../../www/py-paste
+DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.6c8:../../devel/py-setuptools
+DEPENDS+= ${PYPKGPREFIX}-SimpleTAL>=4.1:../../www/py-simpletal
+DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
+
+PYDISTUTILSPKG= yes
+# Requires wsgi, which is available for older versions of Python, but not in
+# pkgsrc yet. Also requires 'sqlite3', which seems not to be available
+# separately (py-sqlite2 is for sqlite3 but is 'pysqlite2').
+PYTHON_VERSIONS_ACCEPTED=25
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/loggerhead/PLIST b/www/loggerhead/PLIST
new file mode 100644
index 00000000000..e4ac66a4852
--- /dev/null
+++ b/www/loggerhead/PLIST
@@ -0,0 +1,146 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/04 17:20:26 epg Exp $
+bin/serve-branches
+bin/start-loggerhead
+bin/stop-loggerhead
+${PYSITELIB}/loggerhead/__init__.py
+${PYSITELIB}/loggerhead/__init__.pyc
+${PYSITELIB}/loggerhead/__init__.pyo
+${PYSITELIB}/loggerhead/apps/__init__.py
+${PYSITELIB}/loggerhead/apps/__init__.pyc
+${PYSITELIB}/loggerhead/apps/__init__.pyo
+${PYSITELIB}/loggerhead/apps/branch.py
+${PYSITELIB}/loggerhead/apps/branch.pyc
+${PYSITELIB}/loggerhead/apps/branch.pyo
+${PYSITELIB}/loggerhead/apps/config.py
+${PYSITELIB}/loggerhead/apps/config.pyc
+${PYSITELIB}/loggerhead/apps/config.pyo
+${PYSITELIB}/loggerhead/apps/filesystem.py
+${PYSITELIB}/loggerhead/apps/filesystem.pyc
+${PYSITELIB}/loggerhead/apps/filesystem.pyo
+${PYSITELIB}/loggerhead/changecache.py
+${PYSITELIB}/loggerhead/changecache.pyc
+${PYSITELIB}/loggerhead/changecache.pyo
+${PYSITELIB}/loggerhead/controllers/__init__.py
+${PYSITELIB}/loggerhead/controllers/__init__.pyc
+${PYSITELIB}/loggerhead/controllers/__init__.pyo
+${PYSITELIB}/loggerhead/controllers/annotate_ui.py
+${PYSITELIB}/loggerhead/controllers/annotate_ui.pyc
+${PYSITELIB}/loggerhead/controllers/annotate_ui.pyo
+${PYSITELIB}/loggerhead/controllers/atom_ui.py
+${PYSITELIB}/loggerhead/controllers/atom_ui.pyc
+${PYSITELIB}/loggerhead/controllers/atom_ui.pyo
+${PYSITELIB}/loggerhead/controllers/changelog_ui.py
+${PYSITELIB}/loggerhead/controllers/changelog_ui.pyc
+${PYSITELIB}/loggerhead/controllers/changelog_ui.pyo
+${PYSITELIB}/loggerhead/controllers/diff_ui.py
+${PYSITELIB}/loggerhead/controllers/diff_ui.pyc
+${PYSITELIB}/loggerhead/controllers/diff_ui.pyo
+${PYSITELIB}/loggerhead/controllers/directory_ui.py
+${PYSITELIB}/loggerhead/controllers/directory_ui.pyc
+${PYSITELIB}/loggerhead/controllers/directory_ui.pyo
+${PYSITELIB}/loggerhead/controllers/download_ui.py
+${PYSITELIB}/loggerhead/controllers/download_ui.pyc
+${PYSITELIB}/loggerhead/controllers/download_ui.pyo
+${PYSITELIB}/loggerhead/controllers/inventory_ui.py
+${PYSITELIB}/loggerhead/controllers/inventory_ui.pyc
+${PYSITELIB}/loggerhead/controllers/inventory_ui.pyo
+${PYSITELIB}/loggerhead/controllers/revision_ui.py
+${PYSITELIB}/loggerhead/controllers/revision_ui.pyc
+${PYSITELIB}/loggerhead/controllers/revision_ui.pyo
+${PYSITELIB}/loggerhead/controllers/search_ui.py
+${PYSITELIB}/loggerhead/controllers/search_ui.pyc
+${PYSITELIB}/loggerhead/controllers/search_ui.pyo
+${PYSITELIB}/loggerhead/daemon.py
+${PYSITELIB}/loggerhead/daemon.pyc
+${PYSITELIB}/loggerhead/daemon.pyo
+${PYSITELIB}/loggerhead/history.py
+${PYSITELIB}/loggerhead/history.pyc
+${PYSITELIB}/loggerhead/history.pyo
+${PYSITELIB}/loggerhead/lockfile.py
+${PYSITELIB}/loggerhead/lockfile.pyc
+${PYSITELIB}/loggerhead/lockfile.pyo
+${PYSITELIB}/loggerhead/lsprof.py
+${PYSITELIB}/loggerhead/lsprof.pyc
+${PYSITELIB}/loggerhead/lsprof.pyo
+${PYSITELIB}/loggerhead/search.py
+${PYSITELIB}/loggerhead/search.pyc
+${PYSITELIB}/loggerhead/search.pyo
+${PYSITELIB}/loggerhead/static/css/annotate.css
+${PYSITELIB}/loggerhead/static/css/diff.css
+${PYSITELIB}/loggerhead/static/css/files.css
+${PYSITELIB}/loggerhead/static/css/global.css
+${PYSITELIB}/loggerhead/static/images/bg_Tabs.gif
+${PYSITELIB}/loggerhead/static/images/bg_infobox.gif
+${PYSITELIB}/loggerhead/static/images/bg_menuTabs.gif
+${PYSITELIB}/loggerhead/static/images/bg_search_input.gif
+${PYSITELIB}/loggerhead/static/images/bg_submenuTabs.gif
+${PYSITELIB}/loggerhead/static/images/deleteCode.gif
+${PYSITELIB}/loggerhead/static/images/favicon.ico
+${PYSITELIB}/loggerhead/static/images/ico_branch.gif
+${PYSITELIB}/loggerhead/static/images/ico_committer.gif
+${PYSITELIB}/loggerhead/static/images/ico_description.gif
+${PYSITELIB}/loggerhead/static/images/ico_diff.gif
+${PYSITELIB}/loggerhead/static/images/ico_file.gif
+${PYSITELIB}/loggerhead/static/images/ico_file_download.gif
+${PYSITELIB}/loggerhead/static/images/ico_file_flecha.gif
+${PYSITELIB}/loggerhead/static/images/ico_file_modify.gif
+${PYSITELIB}/loggerhead/static/images/ico_folder.gif
+${PYSITELIB}/loggerhead/static/images/ico_folder_up.gif
+${PYSITELIB}/loggerhead/static/images/ico_link.gif
+${PYSITELIB}/loggerhead/static/images/ico_mergefrom.gif
+${PYSITELIB}/loggerhead/static/images/ico_mergeto.gif
+${PYSITELIB}/loggerhead/static/images/ico_planilla.gif
+${PYSITELIB}/loggerhead/static/images/ico_rss.gif
+${PYSITELIB}/loggerhead/static/images/ico_time.gif
+${PYSITELIB}/loggerhead/static/images/newCode.gif
+${PYSITELIB}/loggerhead/static/images/treeCollapsed.png
+${PYSITELIB}/loggerhead/static/images/treeDiff.png
+${PYSITELIB}/loggerhead/static/images/treeExpanded.png
+${PYSITELIB}/loggerhead/static/javascript/custom.js
+${PYSITELIB}/loggerhead/static/javascript/mootools-1.2-core.js
+${PYSITELIB}/loggerhead/static/javascript/mootools-1.2-more.js
+${PYSITELIB}/loggerhead/templatefunctions.py
+${PYSITELIB}/loggerhead/templatefunctions.pyc
+${PYSITELIB}/loggerhead/templatefunctions.pyo
+${PYSITELIB}/loggerhead/templates/__init__.py
+${PYSITELIB}/loggerhead/templates/__init__.pyc
+${PYSITELIB}/loggerhead/templates/__init__.pyo
+${PYSITELIB}/loggerhead/templates/annotate.pt
+${PYSITELIB}/loggerhead/templates/atom.pt
+${PYSITELIB}/loggerhead/templates/browse.pt
+${PYSITELIB}/loggerhead/templates/changelog.pt
+${PYSITELIB}/loggerhead/templates/collapse-all-button.pt
+${PYSITELIB}/loggerhead/templates/collapse-button.pt
+${PYSITELIB}/loggerhead/templates/directory.pt
+${PYSITELIB}/loggerhead/templates/feed-link.pt
+${PYSITELIB}/loggerhead/templates/inventory.pt
+${PYSITELIB}/loggerhead/templates/macros.pt
+${PYSITELIB}/loggerhead/templates/menu.pt
+${PYSITELIB}/loggerhead/templates/modified-file-link-rev.pt
+${PYSITELIB}/loggerhead/templates/revision.pt
+${PYSITELIB}/loggerhead/templates/revisionfilechanges.pt
+${PYSITELIB}/loggerhead/templates/revisioninfo.pt
+${PYSITELIB}/loggerhead/templates/search-box.pt
+${PYSITELIB}/loggerhead/templates/search.pt
+${PYSITELIB}/loggerhead/util.py
+${PYSITELIB}/loggerhead/util.pyc
+${PYSITELIB}/loggerhead/util.pyo
+${PYSITELIB}/loggerhead/wholehistory.py
+${PYSITELIB}/loggerhead/wholehistory.pyc
+${PYSITELIB}/loggerhead/wholehistory.pyo
+${PYSITELIB}/loggerhead/zptsupport.py
+${PYSITELIB}/loggerhead/zptsupport.pyc
+${PYSITELIB}/loggerhead/zptsupport.pyo
+man/man1/serve-branches.1
+man/man1/start-loggerhead.1
+man/man1/stop-loggerhead.1
+share/doc/loggerhead/loggerhead.conf.example
+@dirrm share/doc/loggerhead
+@dirrm ${PYSITELIB}/loggerhead/templates
+@dirrm ${PYSITELIB}/loggerhead/static/javascript
+@dirrm ${PYSITELIB}/loggerhead/static/images
+@dirrm ${PYSITELIB}/loggerhead/static/css
+@dirrm ${PYSITELIB}/loggerhead/static
+@dirrm ${PYSITELIB}/loggerhead/controllers
+@dirrm ${PYSITELIB}/loggerhead/apps
+@dirrm ${PYSITELIB}/loggerhead
diff --git a/www/loggerhead/distinfo b/www/loggerhead/distinfo
new file mode 100644
index 00000000000..2dd9040779e
--- /dev/null
+++ b/www/loggerhead/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/09/04 17:20:26 epg Exp $
+
+SHA1 (loggerhead-1.6.tar.gz) = c37f2aab7ce4894745e247222533abaccba59f5a
+RMD160 (loggerhead-1.6.tar.gz) = 1ccf28b4bad04cc26d275e4665525c895d5c30e3
+Size (loggerhead-1.6.tar.gz) = 95065 bytes
+SHA1 (patch-aa) = dfdb406645765713564910deb30af22c7534b6eb
diff --git a/www/loggerhead/patches/patch-aa b/www/loggerhead/patches/patch-aa
new file mode 100644
index 00000000000..d1b52f597cc
--- /dev/null
+++ b/www/loggerhead/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/09/04 17:20:26 epg Exp $
+
+--- setup.py.orig 2008-08-15 09:25:26.000000000 -0700
++++ setup.py
+@@ -19,6 +19,7 @@
+ """Loggerhead is a web viewer for projects in bazaar"""
+
+
++import os
+ from distutils.core import setup
+ import loggerhead
+
+@@ -40,7 +41,8 @@ setup(
+ "static/javascript/*",
+ "static/images/*"]},
+ data_files = [
+- ('share/man/man1',['start-loggerhead.1', 'stop-loggerhead.1',
++ (os.getenv('PKGMANDIR', 'man') + '/man1',
++ ['start-loggerhead.1', 'stop-loggerhead.1',
+ 'serve-branches.1']),
+ ('share/doc/loggerhead', ['loggerhead.conf.example']),
+ ],