Update hgview to 1.8.2.
OK benoit@
This commit is contained in:
parent
8e7ff95b60
commit
1c9e3bb02b
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2014/05/01 08:48:19 edd Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2014/09/16 13:15:52 edd Exp $
|
||||
|
||||
COMMENT = fast Mercurial log navigator
|
||||
|
||||
MODPY_EGG_VERSION = 1.8.0
|
||||
MODPY_EGG_VERSION = 1.8.2
|
||||
DISTNAME = hgview-${MODPY_EGG_VERSION}
|
||||
|
||||
CATEGORIES = devel
|
||||
@ -12,8 +12,7 @@ MAINTAINER = Edd Barrett <edd@openbsd.org>
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MASTER_SITES = http://download.logilab.org/pub/hgview/
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_PYPI:=h/hgview/}
|
||||
MODULES = lang/python
|
||||
BUILD_DEPENDS = textproc/asciidoc \
|
||||
textproc/xmlto \
|
||||
@ -27,4 +26,12 @@ RUN_DEPENDS = x11/py-qt4 \
|
||||
USE_GMAKE = Yes
|
||||
NO_TEST = Yes
|
||||
|
||||
# Aside from the examples, the doc dir is empty. Check this is still
|
||||
# the case when updating.
|
||||
post-install:
|
||||
mv ${PREFIX}/share/doc/hgview/examples/ \
|
||||
${PREFIX}/share/examples/hgview
|
||||
rm -Rf ${PREFIX}/share/doc/hgview
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (hgview-1.8.0.tar.gz) = A8gDFs0GU3jSjuUUUrTvBhf/SfsUXJsWv7O9hxJs7f0=
|
||||
SIZE (hgview-1.8.0.tar.gz) = 177378
|
||||
SHA256 (hgview-1.8.2.tar.gz) = D0wtfkDTxqt6REUCNm7iYv22ysqXwyHnjU5DDnGgRlU=
|
||||
SIZE (hgview-1.8.2.tar.gz) = 178453
|
||||
|
@ -1,19 +0,0 @@
|
||||
$OpenBSD: patch-hgviewlib_curses_application_py,v 1.1.1.1 2014/05/01 08:48:19 edd Exp $
|
||||
|
||||
Detect urwid properly. From here:
|
||||
https://www.logilab.org/ticket/182147
|
||||
|
||||
--- hgviewlib/curses/application.py.orig Fri Jan 31 19:40:05 2014
|
||||
+++ hgviewlib/curses/application.py Mon Feb 3 14:30:28 2014
|
||||
@@ -59,9 +59,9 @@ class HgViewUrwidApplication(HgViewApplication):
|
||||
def get_screen(self):
|
||||
"""return the screen instance to use"""
|
||||
if self.opts.interface == 'curses' and \
|
||||
- map(int, URWID_VERSION.split('.')) < (1,0,0):
|
||||
+ tuple(map(int, URWID_VERSION.split('.'))) < (1,0,0):
|
||||
raise ApplicationError('The "curses" interface could not be use '
|
||||
- 'with old urwid version ()%s < 1.0.0.'
|
||||
+ 'with old urwid version (%s < 1.0.0).'
|
||||
'Use the"raw" interface' %
|
||||
URWID_VERSION)
|
||||
if self.opts.interface == 'raw':
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-setup_py,v 1.1.1.1 2014/05/01 08:48:19 edd Exp $
|
||||
$OpenBSD: patch-setup_py,v 1.2 2014/09/16 13:15:52 edd Exp $
|
||||
|
||||
Fix calls to gmake.
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/05/01 08:48:19 edd Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2014/09/16 13:15:53 edd Exp $
|
||||
bin/hgview
|
||||
lib/python${MODPY_VERSION}/site-packages/hgext/
|
||||
lib/python${MODPY_VERSION}/site-packages/hgext/hgview.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hgext/hgview.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hgview-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
|
||||
@ -99,5 +98,5 @@ lib/python${MODPY_VERSION}/site-packages/hgviewlib/qt4/styleditemdelegate.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/hgviewlib/util.py
|
||||
lib/python${MODPY_VERSION}/site-packages/hgviewlib/util.pyc
|
||||
@man man/man1/hgview.1
|
||||
share/hgview/
|
||||
share/hgview/description.css
|
||||
share/examples/hgview/
|
||||
share/examples/hgview/description.css
|
||||
|
Loading…
x
Reference in New Issue
Block a user