View | Details | Raw Unified | Return to bug 202227
Collapse All | Expand All

(-)/usr/ports/devel/py-itools/Makefile (-4 / +16 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	itools
4
PORTNAME=	itools
5
PORTVERSION=	0.75.2
5
PORTVERSION=	0.75.2
6
PORTREVISION=	4
6
PORTREVISION=	5
7
CATEGORIES=	devel python
7
CATEGORIES=	devel python
8
MASTER_SITES=	CHEESESHOP
8
MASTER_SITES=	CHEESESHOP
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 17-26 Link Here
17
BUILD_DEPENDS=  ${LOCALBASE}/include/poppler/goo/gtypes.h:${PORTSDIR}/graphics/poppler \
17
BUILD_DEPENDS=  ${LOCALBASE}/include/poppler/goo/gtypes.h:${PORTSDIR}/graphics/poppler \
18
		${LOCALBASE}/include/git2.h:${PORTSDIR}/devel/libgit2 \
18
		${LOCALBASE}/include/git2.h:${PORTSDIR}/devel/libgit2 \
19
		${PYTHON_PKGNAMEPREFIX}reportlab2>=2.3:${PORTSDIR}/print/py-reportlab2 \
19
		${PYTHON_PKGNAMEPREFIX}reportlab2>=2.3:${PORTSDIR}/print/py-reportlab2 \
20
		${PYTHON_PKGNAMEPREFIX}pygit2>0:${PORTSDIR}/devel/py-pygit2 \
21
		${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \
22
		${PYTHON_PKGNAMEPREFIX}xlrd>0:${PORTSDIR}/textproc/py-xlrd \
23
		${PYTHON_PKGNAMEPREFIX}magic>0:${PORTSDIR}/devel/py-magic \
24
		${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx \
20
		${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \
25
		${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \
21
		${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib \
26
		${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib \
22
		${PYTHON_PKGNAMEPREFIX}gobject>=2.16.1:${PORTSDIR}/devel/py-gobject \
27
		${PYTHON_PKGNAMEPREFIX}gobject>=2.16.1:${PORTSDIR}/devel/py-gobject \
23
		python:${PORTSDIR}/lang/python
28
		${LOCALBASE}/bin/git:${PORTSDIR}/devel/git \
29
		xapian-bindings>1.0.8:${PORTSDIR}/databases/xapian-bindings
24
RUN_DEPENDS:=	${BUILD_DEPENDS}
30
RUN_DEPENDS:=	${BUILD_DEPENDS}
25
LIB_DEPENDS=	libglib-2.0.so:${PORTSDIR}/devel/glib20 \
31
LIB_DEPENDS=	libglib-2.0.so:${PORTSDIR}/devel/glib20 \
26
		libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
32
		libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
Lines 32-41 Link Here
32
USES=		gettext-tools:run pkgconfig python:2.7+
38
USES=		gettext-tools:run pkgconfig python:2.7+
33
USE_PYTHON=	autoplist distutils
39
USE_PYTHON=	autoplist distutils
34
40
35
OPTIONS_DEFINE=	DOCS
41
OPTIONS_DEFINE=	DOCS EXAMPLES
36
42
37
PORTDOCS=	INSTALL.txt LICENSE.txt MANIFEST README.rst RELEASE-0.75.0 \
43
PORTDOCS=	INSTALL.txt MANIFEST README.rst RELEASE-0.75.0 \
38
		RELEASE-0.75.1 RELEASE-0.75.2 UPGRADE-0.75.0
44
		RELEASE-0.75.1 RELEASE-0.75.2 UPGRADE-0.75.0
45
PORTEXAMPLES=	*
39
46
40
.include <bsd.port.options.mk>
47
.include <bsd.port.options.mk>
41
48
Lines 49-54 Link Here
49
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
56
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
50
.endif
57
.endif
51
58
59
.if ${PORT_OPTIONS:MEXAMPLES}
60
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
61
	cd ${WRKSRC}/docs/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
62
.endif
63
52
regression-test: build
64
regression-test: build
53
	cd ${WRKSRC}/test && ${PYTHON_CMD} test.py
65
	cd ${WRKSRC}/test && ${PYTHON_CMD} test.py
54
66

Return to bug 202227