Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2011 09:08:46 GMT
From:      Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/162087: [PATCH] games/ninix-aya: dependencies cleanup
Message-ID:  <201110280908.p9S98k01052677@red.freebsd.org>
Resent-Message-ID: <201110280910.p9S9ABBr007544@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         162087
>Category:       ports
>Synopsis:       [PATCH] games/ninix-aya: 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 09:10:11 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 math/py-numpy with ${PYNUMPY}
- change dependency on x11-toolkits/py-gtk2 with USE_GNOME= pygtk2
- whitespace fix in pkg-descr

No functional changes, so no PORTREVISION bump needed.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/Makefile b/Makefile
index 550b4bf..e4d0a7d 100644
--- a/Makefile
+++ b/Makefile
@@ -20,17 +20,12 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	png:${PORTSDIR}/graphics/png
 RUN_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip \
-		${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2 \
 		${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet \
-		${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \
+		${PYNUMPY} \
 		${PYTHON_SITELIBDIR}/pygst.py:${PORTSDIR}/multimedia/py-gstreamer
 
-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
-
 USE_PYTHON=	yes
+USE_GNOME=	pygtk2
 USE_GMAKE=	yes
 
 .include <bsd.port.pre.mk>
diff --git a/pkg-descr b/pkg-descr
index 83bc419..f009d5e 100644
--- a/pkg-descr
+++ b/pkg-descr
@@ -1,5 +1,5 @@
 Ninix-aya is a branch of ninix.
-Ninix-aya and ninix are compatible with Windows desktop mascot 
+Ninix-aya and ninix are compatible with Windows desktop mascot
 program "Ukagaka".
 
 For more information, see


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



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