ports/162086: [PATCH] games/gbottler: dependencies cleanup

Ruslan Mahmatkhanov cvs-src at yandex.ru
Fri Oct 28 08:20:08 UTC 2011


>Number:         162086
>Category:       ports
>Synopsis:       [PATCH] games/gbottler: dependencies cleanup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 28 08:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Mahmatkhanov
>Release:        
>Organization:
>Environment:
>Description:
- remove conditional for python < 2.4 (we haven't them in ports tree anyway and japanese/pycodec is deprecated)
- change dependency on textproc/py-xml with ${PYXML}
- change dependency on x11-toolkits/py-gtk2 with USE_GNOME= pygtk2

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/Makefile b/Makefile
index fe3ea55..2eb2773 100644
--- a/Makefile
+++ b/Makefile
@@ -14,16 +14,11 @@ MASTER_SITE_SUBDIR=	gbottler/45155
 MAINTAINER=	umeno at rr.iij4u.or.jp
 COMMENT=	SSTP Bottle client
 
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2 \
-		${PYTHON_SITELIBDIR}/_xmlplus/sax/saxutils.py:${PORTSDIR}/textproc/py-xml
-
-PYVERSION=	${PYTHON_VERSION:S/^python//}
-.if defined(PYTHON_VERSION) && ${PYVERSION:S/.//} < 24
-RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/japanese.pth:${PORTSDIR}/japanese/pycodec
-.endif # defined(PYVERSION) && ${PYVERSION:S/.//} < 24
+RUN_DEPENDS=	${PYXML}
 
 PLIST_SUB=	VERSION=${PORTVERSION}
 
+USE_GNOME=	pygtk2
 USE_PYTHON=	yes
 USE_GMAKE=	yes
 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list