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

Collapse All | Expand All

(-)Makefile (-6 / +7 lines)
Lines 1-60 Link Here
1
# Created by: Hizbulin Ildar <hizel@vyborg.ru>
1
# Created by: Hizbulin Ildar <hizel@vyborg.ru>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	supervisor
4
PORTNAME=	supervisor
5
PORTVERSION=	4.2.0
5
PORTVERSION=	4.2.1
6
PORTEPOCH=	1
6
PORTEPOCH=	1
7
CATEGORIES=	sysutils python
7
CATEGORIES=	sysutils python
8
MASTER_SITES=	CHEESESHOP
8
MASTER_SITES=	CHEESESHOP
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
10
10
11
MAINTAINER=	thomas@gibfest.dk
11
MAINTAINER=	thomas@gibfest.dk
12
COMMENT=	System for controlling process state under UNIX
12
COMMENT=	System for controlling process state under UNIX
13
13
14
LICENSE=	REPOZE BSD3CLAUSE MEDUSA
14
LICENSE=	BSD3CLAUSE MEDUSA REPOZE
15
LICENSE_COMB=	multi
15
LICENSE_COMB=	multi
16
LICENSE_NAME_MEDUSA=	Medusa License
16
LICENSE_NAME_MEDUSA=	Medusa License
17
LICENSE_NAME_REPOZE=	Repoze License
17
LICENSE_NAME_REPOZE=	Repoze License
18
LICENSE_FILE=	${WRKSRC}/LICENSES.txt
18
LICENSE_FILE=	${WRKSRC}/LICENSES.txt
19
LICENSE_PERMS_MEDUSA=	dist-mirror pkg-mirror auto-accept
19
LICENSE_PERMS_MEDUSA=	dist-mirror pkg-mirror auto-accept
20
LICENSE_PERMS_REPOZE=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
20
LICENSE_PERMS_REPOZE=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
21
21
22
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0.5.0:devel/py-mock@${PY_FLAVOR}
22
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0.5.0:devel/py-mock@${PY_FLAVOR}
23
23
24
USES=		python shebangfix
24
USES=		python shebangfix
25
USE_PYTHON=	distutils autoplist
25
USE_PYTHON=	autoplist distutils
26
USE_RC_SUBR=	supervisord
26
USE_RC_SUBR=	supervisord
27
SHEBANG_FILES=	supervisor/scripts/*.py supervisor/tests/fixtures/*.py
27
SHEBANG_FILES=	supervisor/scripts/*.py supervisor/tests/fixtures/*.py
28
python_OLD_CMD=	"<<PYTHON>>"
28
python_OLD_CMD=	"<<PYTHON>>"
29
29
30
NO_ARCH=	yes
30
NO_ARCH=	yes
31
SUB_LIST=	PYTHON_CMD=${PYTHON_CMD} \
31
SUB_LIST=	PIDDIR=${PIDDIR} \
32
		PIDDIR=${PIDDIR}
32
		PYTHON_CMD=${PYTHON_CMD}
33
33
PLIST_DIRS=	${PIDDIR}
34
PLIST_DIRS=	${PIDDIR}
34
PLIST_FILES=	'@sample etc/supervisord.conf.sample'
35
PLIST_FILES=	'@sample etc/supervisord.conf.sample'
35
PLIST_SUB=	PIDDIR=${PIDDIR}
36
PLIST_SUB=	PIDDIR=${PIDDIR}
36
37
37
PORTDOCS=	*.txt *.rst
38
PORTDOCS=	*.rst *.txt
38
39
39
OPTIONS_DEFINE=	DOCS
40
OPTIONS_DEFINE=	DOCS
40
41
41
PIDDIR?=	/var/run/supervisor
42
PIDDIR?=	/var/run/supervisor
42
43
43
post-patch:
44
post-patch:
44
	@${REINPLACE_CMD} -e 's!%%PREFIX%%!${PREFIX}!' ${WRKSRC}/supervisor/options.py \
45
	@${REINPLACE_CMD} -e 's!%%PREFIX%%!${PREFIX}!' ${WRKSRC}/supervisor/options.py \
45
		${WRKSRC}/supervisor/tests/test_options.py
46
		${WRKSRC}/supervisor/tests/test_options.py
46
47
47
post-install:
48
post-install:
48
	${INSTALL_DATA} ${FILESDIR}/supervisord.conf.sample ${STAGEDIR}${PREFIX}/etc
49
	${INSTALL_DATA} ${FILESDIR}/supervisord.conf.sample ${STAGEDIR}${PREFIX}/etc
49
	${INSTALL} -d ${STAGEDIR}${PIDDIR}
50
	${INSTALL} -d ${STAGEDIR}${PIDDIR}
50
51
51
post-install-DOCS-on:
52
post-install-DOCS-on:
52
	${MKDIR} ${STAGEDIR}${DOCSDIR}
53
	${MKDIR} ${STAGEDIR}${DOCSDIR}
53
.for i in ${PORTDOCS}
54
.for i in ${PORTDOCS}
54
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
55
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
55
.endfor
56
.endfor
56
57
57
do-test:
58
do-test:
58
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
59
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
59
60
60
.include <bsd.port.mk>
61
.include <bsd.port.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1590246292
1
TIMESTAMP = 1608462066
2
SHA256 (supervisor-4.2.0.tar.gz) = 64082ebedf6d36ff409ab2878f1aad5c9035f916c5f15a9a1ec7dffc6dfbbed8
2
SHA256 (supervisor-4.2.1.tar.gz) = c479c875853e9c013d1fa73e529fd2165ff1ecaecc7e82810ba57e7362ae984d
3
SIZE (supervisor-4.2.0.tar.gz) = 456056
3
SIZE (supervisor-4.2.1.tar.gz) = 460935

Return to bug 251728