Date: Mon, 15 Feb 2016 07:14:47 +0000 (UTC) From: Ruslan Makhmatkhanov <rm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408919 - head/math/py-gato Message-ID: <201602150714.u1F7ElR1071435@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602150714.u1F7ElR1071435>