Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2013 04:50:01 GMT
From:      Kubota Kazutoshi <kazu@f-tools.jp>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/158731: sysutils/byobu wants module "snack"
Message-ID:  <201301230450.r0N4o1Bw043898@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/158731; it has been noted by GNATS.

From: Kubota Kazutoshi <kazu@f-tools.jp>
To: bug-followup@FreeBSD.org, tps@vr-web.de
Cc:  
Subject: Re: ports/158731: sysutils/byobu wants module "snack"
Date: Wed, 23 Jan 2013 13:43:46 +0900 (JST)

 Dear maintainer,
 
 sysutils/byobu needs devel/newt to run configuration program
 byobu-config(1) or just press F9 key in byobu session.
 
 The following traceback is output by byobu-config.
 
 % byobu-config
 Traceback (most recent call last):
   File "/usr/local/bin/byobu-config", line 25, in <module>
     import sys, os, os.path, time, string, commands, gettext, glob, snack
 ImportError: No module named snack
 
 The module "snack" is installed with devel/newt which is build
 WITH_PYTHON option and that file is here:
 ${PYTHON_SITELIBDIR}/snack.py
 
 So, RUN_DEPENDS should modify like:
 
 --- Makefile.orig	2013-01-23 13:20:50.000000000 +0900
 +++ Makefile	2013-01-23 13:24:14.000000000 +0900
 @@ -16,7 +16,8 @@
  COMMENT=	Profile and configuration utilities for GNU Screen
  
  RUN_DEPENDS=	${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
 -		${LOCALBASE}/bin/screen:${PORTSDIR}/sysutils/screen
 +		${LOCALBASE}/bin/screen:${PORTSDIR}/sysutils/screen \
 +		${PYTHON_SITELIBDIR}/snack.py:${PORTSDIR}/devel/newt
  
  GNU_CONFIGURE=	yes
  USE_PYTHON=	yes
 
 However this patch doesn't work, because devel/newt is not built with
 enabling WITH_PYTHON.
 
 I don't know the correct way, but I hope to solve this problem.
 
 Best regards,
 ---
 Kubota Kazutoshi ($B7&ED0l<w(B / $B$/$\$?$+$:$H$7(B)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301230450.r0N4o1Bw043898>