1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

- Update to 1.0.1

This commit is contained in:
Dmitry Marakasov 2009-06-17 17:20:43 +00:00
parent 9cf0597c0d
commit 362246da74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=236144
4 changed files with 92 additions and 69 deletions

View File

@ -6,32 +6,37 @@
#
PORTNAME= hgview
PORTVERSION= 0.11.2
PORTVERSION= 1.0.1
CATEGORIES= devel
MASTER_SITES= http://ftp.logilab.org/pub/hgview/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Gtk or Qt4 based mercurial repository browser
COMMENT= A fast Mercurial log navigator written in pyqt4
RUN_DEPENDS= hg:${PORTSDIR}/devel/mercurial \
${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui \
${PYTHON_SITELIBDIR}/PyQt4/Qsci.so:${PORTSDIR}/devel/py-qt4-qscintilla2 \
${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py:${PORTSDIR}/lang/py-mx-base
BUILD_DEPENDS= hg:${PORTSDIR}/devel/mercurial
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PORTDOCS= *
MAN1= hgview.1
OPTIONS= GTK "GTK dependency" on \
QT "QT4 dependency" off
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_GTK)
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gtk>=2.12.1:${PORTSDIR}/x11-toolkits/py-gtk2
.endif
.if defined(WITH_QT)
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui
.endif
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/__pkginfo__.py
@${REINPLACE_CMD} -e 's|share/python-support/mercurial-common|${PYTHON_SITELIBDIR:C,^${PYTHONBASE}/,,}|' \
${WRKSRC}/hgviewlib/__pkginfo__.py
@${FIND} ${WRKSRC} -name __pkginfo__.py | ${XARGS} \
${REINPLACE_CMD} -e 's|share/man|man|'
@${REINPLACE_CMD} -e 's|path/to.*hgview.py|${PYTHON_SITELIBDIR}/hgext/hgview.py|' \
${WRKSRC}/README
.include <bsd.port.post.mk>
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (hgview-0.11.2.tar.gz) = b699102bbe407eff68d58ab546ea428b
SHA256 (hgview-0.11.2.tar.gz) = e478a1e9a9d69216b3c6ac1620ecdd79bb7bc551516e5e73aaac73b59b920034
SIZE (hgview-0.11.2.tar.gz) = 46006
MD5 (hgview-1.0.1.tar.gz) = 6fc4a31ba122d4ea8397eb0ef2a7fadb
SHA256 (hgview-1.0.1.tar.gz) = 0417ab0074ac57ce9520d7e7387e9e9105a617472d4f8a126f3e040a8c4b132f
SIZE (hgview-1.0.1.tar.gz) = 73649

View File

@ -1,4 +1,4 @@
A faster implementation of hgk using pygtk/pyqt4. Its primary purpose
A faster implementation of hgk using pyqt4. Its primary purpose
was to be able to browse the linux kernel mercurial repository.
WWW: http://www.logilab.org/project/name/hgview/

View File

@ -1,49 +1,67 @@
bin/hgview
%%PYTHON_SITELIBDIR%%/hgview/__init__.py
%%PYTHON_SITELIBDIR%%/hgview/__init__.pyc
%%PYTHON_SITELIBDIR%%/hgview/__init__.pyo
%%PYTHON_SITELIBDIR%%/hgview/__pkginfo__.py
%%PYTHON_SITELIBDIR%%/hgview/__pkginfo__.pyc
%%PYTHON_SITELIBDIR%%/hgview/__pkginfo__.pyo
%%PYTHON_SITELIBDIR%%/hgview/buildtree.py
%%PYTHON_SITELIBDIR%%/hgview/buildtree.pyc
%%PYTHON_SITELIBDIR%%/hgview/buildtree.pyo
%%PYTHON_SITELIBDIR%%/hgview/fixes.py
%%PYTHON_SITELIBDIR%%/hgview/fixes.pyc
%%PYTHON_SITELIBDIR%%/hgview/fixes.pyo
%%PYTHON_SITELIBDIR%%/hgview/gtk/__init__.py
%%PYTHON_SITELIBDIR%%/hgview/gtk/__init__.pyc
%%PYTHON_SITELIBDIR%%/hgview/gtk/__init__.pyo
%%PYTHON_SITELIBDIR%%/hgview/gtk/diffstatrenderer.py
%%PYTHON_SITELIBDIR%%/hgview/gtk/diffstatrenderer.pyc
%%PYTHON_SITELIBDIR%%/hgview/gtk/diffstatrenderer.pyo
%%PYTHON_SITELIBDIR%%/hgview/gtk/graphrenderer.py
%%PYTHON_SITELIBDIR%%/hgview/gtk/graphrenderer.pyc
%%PYTHON_SITELIBDIR%%/hgview/gtk/graphrenderer.pyo
%%PYTHON_SITELIBDIR%%/hgview/gtk/hgview_gtk.py
%%PYTHON_SITELIBDIR%%/hgview/gtk/hgview_gtk.pyc
%%PYTHON_SITELIBDIR%%/hgview/gtk/hgview_gtk.pyo
%%PYTHON_SITELIBDIR%%/hgview/hgrepo.py
%%PYTHON_SITELIBDIR%%/hgview/hgrepo.pyc
%%PYTHON_SITELIBDIR%%/hgview/hgrepo.pyo
%%PYTHON_SITELIBDIR%%/hgview/hgview_ext.py
%%PYTHON_SITELIBDIR%%/hgview/hgview_ext.pyc
%%PYTHON_SITELIBDIR%%/hgview/hgview_ext.pyo
%%PYTHON_SITELIBDIR%%/hgview/hgviewrc.py
%%PYTHON_SITELIBDIR%%/hgview/hgviewrc.pyc
%%PYTHON_SITELIBDIR%%/hgview/hgviewrc.pyo
%%PYTHON_SITELIBDIR%%/hgview/qt4/__init__.py
%%PYTHON_SITELIBDIR%%/hgview/qt4/__init__.pyc
%%PYTHON_SITELIBDIR%%/hgview/qt4/__init__.pyo
%%PYTHON_SITELIBDIR%%/hgview/qt4/hgrepomodel.py
%%PYTHON_SITELIBDIR%%/hgview/qt4/hgrepomodel.pyc
%%PYTHON_SITELIBDIR%%/hgview/qt4/hgrepomodel.pyo
%%PYTHON_SITELIBDIR%%/hgview/qt4/hgview_qt4.py
%%PYTHON_SITELIBDIR%%/hgview/qt4/hgview_qt4.pyc
%%PYTHON_SITELIBDIR%%/hgview/qt4/hgview_qt4.pyo
%%DATADIR%%/hgview.glade
%%DATADIR%%/hgview.ui
@dirrm %%DATADIR%%
@dirrm %%PYTHON_SITELIBDIR%%/hgview/qt4
@dirrm %%PYTHON_SITELIBDIR%%/hgview/gtk
@dirrm %%PYTHON_SITELIBDIR%%/hgview
%%PYTHON_SITELIBDIR%%/hgext/hgview.py
%%PYTHON_SITELIBDIR%%/hgviewlib/__init__.py
%%PYTHON_SITELIBDIR%%/hgviewlib/__init__.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/__init__.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/__pkginfo__.py
%%PYTHON_SITELIBDIR%%/hgviewlib/__pkginfo__.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/__pkginfo__.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/config.py
%%PYTHON_SITELIBDIR%%/hgviewlib/config.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/config.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/decorators.py
%%PYTHON_SITELIBDIR%%/hgviewlib/decorators.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/decorators.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/hggraph.py
%%PYTHON_SITELIBDIR%%/hgviewlib/hggraph.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/hggraph.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/__init__.py
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/__init__.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/__init__.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/blockmatcher.py
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/blockmatcher.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/blockmatcher.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/filediffviewer_ui.py
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/filediffviewer_ui.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/filediffviewer_ui.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/fileviewer_ui.py
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/fileviewer_ui.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/fileviewer_ui.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgdialogmixin.py
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgdialogmixin.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgdialogmixin.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgfileview.py
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgfileview.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgfileview.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgfileviewer.py
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgfileviewer.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgfileviewer.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgqv_rc.py
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgqv_rc.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgqv_rc.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgqv_ui.py
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgqv_ui.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgqv_ui.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgrepomodel.py
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgrepomodel.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgrepomodel.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgrepoview.py
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgrepoview.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgrepoview.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgrepoviewer.py
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgrepoviewer.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/hgrepoviewer.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/lexers.py
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/lexers.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/lexers.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/manifestviewer_ui.py
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/manifestviewer_ui.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/manifestviewer_ui.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/quickbar.py
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/quickbar.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/qt4/quickbar.pyo
%%PYTHON_SITELIBDIR%%/hgviewlib/util.py
%%PYTHON_SITELIBDIR%%/hgviewlib/util.pyc
%%PYTHON_SITELIBDIR%%/hgviewlib/util.pyo
@dirrm %%PYTHON_SITELIBDIR%%/hgviewlib/qt4
@dirrm %%PYTHON_SITELIBDIR%%/hgviewlib