From owner-svn-ports-head@freebsd.org Mon Feb 15 07:14:49 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65BDAAA8063; Mon, 15 Feb 2016 07:14:49 +0000 (UTC) (envelope-from rm@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 mx1.freebsd.org (Postfix) with ESMTPS id 219B41A5A; Mon, 15 Feb 2016 07:14:49 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1F7EmlI071437; Mon, 15 Feb 2016 07:14:48 GMT (envelope-from rm@FreeBSD.org) Received: (from rm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1F7ElR1071435; Mon, 15 Feb 2016 07:14:47 GMT (envelope-from rm@FreeBSD.org) Message-Id: <201602150714.u1F7ElR1071435@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rm set sender to rm@FreeBSD.org using -f From: Ruslan Makhmatkhanov Date: Mon, 15 Feb 2016 07:14:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408919 - head/math/py-gato X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 07:14:49 -0000 Author: rm Date: Mon Feb 15 07:14:47 2016 New Revision: 408919 URL: https://svnweb.freebsd.org/changeset/ports/408919 Log: math/py-gato: update to 1.2.2 - update to 1.2.2 - switch to CHEESESHOP (upstream moved development from SF) - define LICENSE (LGPL21) - switch to distutils from manual installation; utilize autoplist - limit python version to 2.x, add NO_ARCH - pass maintainership to python@ Deleted: head/math/py-gato/pkg-plist Modified: head/math/py-gato/Makefile head/math/py-gato/distinfo Modified: head/math/py-gato/Makefile ============================================================================== --- head/math/py-gato/Makefile Mon Feb 15 02:13:48 2016 (r408918) +++ head/math/py-gato/Makefile Mon Feb 15 07:14:47 2016 (r408919) @@ -2,52 +2,29 @@ # $FreeBSD$ PORTNAME= gato -PORTVERSION= 1.02 -PORTREVISION= 1 +PORTVERSION= 1.2.2 CATEGORIES= math python -MASTER_SITES= http://gato.sourceforge.net/Download/ +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Gato-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= python@FreeBSD.org COMMENT= Python-based toolbox to visualise algorithms on graphs -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter - -WRKSRC= ${WRKDIR}/Gato +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/LGPL.txt -USES= python +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter -EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} +NO_ARCH= yes +PORTEXAMPLES= * +USES= python:2 +USE_PYTHON= autoplist distutils -post-patch: - @${REINPLACE_CMD} -e 's,^.*__future__.*$$,,' ${WRKSRC}/DataStructures.py - @${GREP} -lR "^#!" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ - '/^#!/s|python.*$$|python|g' - -pre-build: - @${TOUCH} ${WRKSRC}/__init__.py - -do-build: - ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ - -d ${PYTHON_SITELIBDIR} \ - -f ${WRKSRC} - ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ - -d ${PYTHON_SITELIBDIR} \ - -f ${WRKSRC} - -do-install: - @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/Gato -.for pyfile in *.py *.pyc *.pyo - ${INSTALL_DATA} ${WRKSRC}/${pyfile} ${STAGEDIR}${PYTHON_SITELIBDIR}/Gato -.endfor -.for script in Gato Gred - @${CHMOD} ${BINMODE} ${STAGEDIR}${PYTHON_SITELIBDIR}/Gato/${script}.py - @${LN} -sf ${PYTHON_SITELIBDIR}/Gato/${script}.py ${STAGEDIR}${PREFIX}/bin/${script} -.endfor +post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} -.for egfile in *.alg *.pro *.cat - ${INSTALL_DATA} ${WRKSRC}/${egfile} ${STAGEDIR}${EXAMPLESDIR} +.for sample in *.alg *.pro *.cat + ${INSTALL_DATA} ${WRKSRC}/${sample} ${STAGEDIR}${EXAMPLESDIR} .endfor .include Modified: head/math/py-gato/distinfo ============================================================================== --- head/math/py-gato/distinfo Mon Feb 15 02:13:48 2016 (r408918) +++ head/math/py-gato/distinfo Mon Feb 15 07:14:47 2016 (r408919) @@ -1,2 +1,2 @@ -SHA256 (Gato-1.02.tar.gz) = 28632f326429534ccc4919b49aedb4b4b210ac9318024a0aa677a37239231035 -SIZE (Gato-1.02.tar.gz) = 182323 +SHA256 (Gato-1.2.2.tar.gz) = d353b8af72ad780f0301912f101ea528822d616bea717c7ca84eaeb0609fa42f +SIZE (Gato-1.2.2.tar.gz) = 274369