From owner-svn-ports-all@freebsd.org Fri Apr 12 09:02:33 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12E5015772E5; Fri, 12 Apr 2019 09:02:33 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A446A6B982; Fri, 12 Apr 2019 09:02:32 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 940C61F400; Fri, 12 Apr 2019 09:02:32 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x3C92WpX013041; Fri, 12 Apr 2019 09:02:32 GMT (envelope-from bofh@FreeBSD.org) Received: (from bofh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x3C92WnZ013040; Fri, 12 Apr 2019 09:02:32 GMT (envelope-from bofh@FreeBSD.org) Message-Id: <201904120902.x3C92WnZ013040@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bofh set sender to bofh@FreeBSD.org using -f From: Muhammad Moinur Rahman Date: Fri, 12 Apr 2019 09:02:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r498708 - head/games/pythonsudoku X-SVN-Group: ports-head X-SVN-Commit-Author: bofh X-SVN-Commit-Paths: head/games/pythonsudoku X-SVN-Commit-Revision: 498708 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A446A6B982 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Apr 2019 09:02:33 -0000 Author: bofh Date: Fri Apr 12 09:02:32 2019 New Revision: 498708 URL: https://svnweb.freebsd.org/changeset/ports/498708 Log: games/pythonsudoku: Change DEPENDS from py-reportlab1 to py-reportlab - Modernize OPTIONS Modified: head/games/pythonsudoku/Makefile Modified: head/games/pythonsudoku/Makefile ============================================================================== --- head/games/pythonsudoku/Makefile Fri Apr 12 09:01:15 2019 (r498707) +++ head/games/pythonsudoku/Makefile Fri Apr 12 09:02:32 2019 (r498708) @@ -3,7 +3,7 @@ PORTNAME= pythonsudoku PORTVERSION= 0.13 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= games python MASTER_SITES= SF/${PORTNAME}/Python%20Sudoku/${PORTVERSION}/ \ SF/nemysisfreebsdp/games/:icons @@ -12,7 +12,7 @@ DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ DIST_SUBDIR= python EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Text and graphical program to create or resolve Sudokus LICENSE= GPLv2+ @@ -21,25 +21,23 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS+= libcups.so:print/cups RUN_DEPENDS= ${PYGAME} \ ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}reportlab1>=0:print/py-reportlab1@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}reportlab>=0:print/py-reportlab@${PY_FLAVOR} -USES= python:2.7 tar:bzip2 +USES= gnome python:2.7 tar:bzip2 USE_GNOME= pygtk2 USE_PYTHON= distutils -INSTALLS_ICONS= yes PORTDOCS= * DESKTOP_ENTRIES="Python Sudoku" "" "${PORTNAME}" \ "${PORTNAME}" "Game;LogicGame;" "" +INSTALLS_ICONS= yes +NO_ARCH= yes OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes - NLS_USES= gettext-runtime:run -.include - post-patch: @${REINPLACE_CMD} -e 's|/usr/games|${PREFIX}/bin|; \ s|/usr/share/games|${PREFIX}/share|' \ @@ -52,11 +50,10 @@ post-patch: 's|/usr/lib/python2.4|${PYTHON_CMD}|' @${FIND} ${WRKSRC} -name "*.bak" -delete -.if ! ${PORT_OPTIONS:MNLS} +post-patch-NLS-off: @${REINPLACE_CMD} -i '' \ '/for lingua in linguas():/,/\["locale\/%s\/LC_MESSAGES\/pythonsudoku.mo" % lingua\]))/s/^/#/' \ ${WRKSRC}/setup.py -.endif post-install: @cd ${STAGEDIR}${PREFIX}/bin && ${LN} -sf pysdk-gui.py ${PORTNAME}