From owner-svn-ports-head@FreeBSD.ORG Thu Aug 14 08:55:30 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1A51EA0E; Thu, 14 Aug 2014 08:55:30 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 065E22735; Thu, 14 Aug 2014 08:55:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7E8tTvx071246; Thu, 14 Aug 2014 08:55:29 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7E8tTDv071235; Thu, 14 Aug 2014 08:55:29 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201408140855.s7E8tTDv071235@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Thu, 14 Aug 2014 08:55:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364839 - in head/www: . py-slimit py-slimit/files 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.18-1 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: Thu, 14 Aug 2014 08:55:30 -0000 Author: koobs Date: Thu Aug 14 08:55:28 2014 New Revision: 364839 URL: http://svnweb.freebsd.org/changeset/ports/364839 QAT: https://qat.redports.org/buildarchive/r364839/ Log: www/py-slimit: JavaScript minifier written in Python SlimIt is a JavaScript minifier written in Python. It compiles JavaScript into more compact code so that it downloads and runs faster. SlimIt also provides a library that includes a JavaScript parser, lexer, pretty printer and a tree visitor. WWW: http://slimit.readthedocs.org PR: 191386 (with minor changes) Submitted by: Melvyn Sopacua Added: head/www/py-slimit/ head/www/py-slimit/Makefile (contents, props changed) head/www/py-slimit/distinfo (contents, props changed) head/www/py-slimit/files/ head/www/py-slimit/files/patch-setup.py (contents, props changed) head/www/py-slimit/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Thu Aug 14 08:43:08 2014 (r364838) +++ head/www/Makefile Thu Aug 14 08:55:28 2014 (r364839) @@ -1684,6 +1684,7 @@ SUBDIR += py-selector SUBDIR += py-selenium SUBDIR += py-slimmer + SUBDIR += py-slimit SUBDIR += py-slumber SUBDIR += py-splinter SUBDIR += py-surl Added: head/www/py-slimit/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-slimit/Makefile Thu Aug 14 08:55:28 2014 (r364839) @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= slimit +PORTVERSION= 0.8.1 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= melvyn@magemana.nl +COMMENT= JavaScript minifier written in Python + +LICENSE= BSD3CLAUSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=3.4:${PORTSDIR}/devel/py-ply +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=3.4:${PORTSDIR}/devel/py-ply + +USES= zip +USE_PYTHON= 2 +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes + +# Maintainer: Reminder to keep testing python 3.x compatibility. +.include + +.if ${PYTHON_REL} >= 300 +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six +pre-build: + @cd ${WRKSRC} && 2to3-${PYTHON_VER} -w src +.endif + +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + +.include Added: head/www/py-slimit/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-slimit/distinfo Thu Aug 14 08:55:28 2014 (r364839) @@ -0,0 +1,2 @@ +SHA256 (slimit-0.8.1.zip) = f433dcef899f166b207b67d91d3f7344659cb33b8259818f084167244e17720b +SIZE (slimit-0.8.1.zip) = 88217 Added: head/www/py-slimit/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-slimit/files/patch-setup.py Thu Aug 14 08:55:28 2014 (r364839) @@ -0,0 +1,11 @@ +--- setup.py.orig 2013-03-26 09:09:32.000000000 +0100 ++++ setup.py 2014-08-01 21:18:22.838964037 +0200 +@@ -52,6 +52,7 @@ + """, + classifiers=filter(None, classifiers.split('\n')), + long_description=read('README.rst') + '\n\n' + read('CHANGES'), +- extras_require={'test': []} ++ extras_require={'test': []}, ++ test_suite='slimit.tests', + ) + Added: head/www/py-slimit/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-slimit/pkg-descr Thu Aug 14 08:55:28 2014 (r364839) @@ -0,0 +1,7 @@ +SlimIt is a JavaScript minifier written in Python. It compiles +JavaScript into more compact code so that it downloads and runs faster. + +SlimIt also provides a library that includes a JavaScript parser, lexer, +pretty printer and a tree visitor. + +WWW: http://slimit.readthedocs.org