View | Details | Raw Unified | Return to bug 191386 | Differences between
and this patch

Collapse All | Expand All

(-)b/www/Makefile (+1 lines)
Lines 1690-1695 Link Here
1690
    SUBDIR += py-selector
1690
    SUBDIR += py-selector
1691
    SUBDIR += py-selenium
1691
    SUBDIR += py-selenium
1692
    SUBDIR += py-slimmer
1692
    SUBDIR += py-slimmer
1693
    SUBDIR += py-slimit
1693
    SUBDIR += py-slumber
1694
    SUBDIR += py-slumber
1694
    SUBDIR += py-splinter
1695
    SUBDIR += py-splinter
1695
    SUBDIR += py-surl
1696
    SUBDIR += py-surl
(-)b/www/py-slimit/Makefile (+36 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=	slimit
4
PORTVERSION=	0.8.1
5
CATEGORIES=	www python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	melvyn@magemana.nl
10
COMMENT=	JavaScript minifier written in Python
11
12
LICENSE=	BSD3CLAUSE
13
14
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ply>=3.4:${PORTSDIR}/devel/py-ply
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ply>=3.4:${PORTSDIR}/devel/py-ply
16
17
USES=			zip
18
USE_PYTHON=		2
19
USE_PYDISTUTILS=	yes
20
PYDISTUTILS_AUTOPLIST=	yes
21
22
regression-test: build
23
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
24
25
# Reminder to keep testing python 3.x compatibility.
26
.ifdef MAINTAINER_MODE
27
.	include <bsd.port.pre.mk>
28
.	if ${PYTHON_REL} >= 3
29
BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}six:${PORTSDIR}/devel/py-six
30
pre-build:
31
	@cd ${WRKSRC} && 2to3-${PYTHON_VER} -w src
32
.	endif # Python 3
33
.	include <bsd.port.post.mk>
34
.else # MAINTAINER_MODE
35
.include <bsd.port.mk>
36
.endif
(-)b/www/py-slimit/distinfo (+2 lines)
Added Link Here
1
SHA256 (slimit-0.8.1.zip) = f433dcef899f166b207b67d91d3f7344659cb33b8259818f084167244e17720b
2
SIZE (slimit-0.8.1.zip) = 88217
(-)b/www/py-slimit/files/patch-setup.py (+11 lines)
Added Link Here
1
--- setup.py.orig	2013-03-26 09:09:32.000000000 +0100
2
+++ setup.py	2014-08-01 21:18:22.838964037 +0200
3
@@ -52,6 +52,7 @@
4
     """,
5
     classifiers=filter(None, classifiers.split('\n')),
6
     long_description=read('README.rst') + '\n\n' + read('CHANGES'),
7
-    extras_require={'test': []}
8
+    extras_require={'test': []},
9
+    test_suite='slimit.tests',
10
     )
11
 
(-)b/www/py-slimit/pkg-descr (+7 lines)
Added Link Here
1
SlimIt is a JavaScript minifier written in Python. It compiles
2
JavaScript into more compact code so that it downloads and runs faster.
3
4
SlimIt also provides a library that includes a JavaScript parser, lexer,
5
pretty printer and a tree visitor.
6
7
WWW: http://slimit.readthedocs.org

Return to bug 191386