Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2014 16:32:36 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365673 - head/devel/py-itools
Message-ID:  <201408221632.s7MGWa1x033792@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri Aug 22 16:32:36 2014
New Revision: 365673
URL: http://svnweb.freebsd.org/changeset/ports/365673
QAT: https://qat.redports.org/buildarchive/r365673/

Log:
  devel/py-itools: 0.62.9 -> 0.75.2, unbreak
  
  PR:		192668
  Submitted by:	Carlos Jacobo Puga Medina <cpm@fbsd.es>

Deleted:
  head/devel/py-itools/pkg-plist
Modified:
  head/devel/py-itools/Makefile
  head/devel/py-itools/distinfo

Modified: head/devel/py-itools/Makefile
==============================================================================
--- head/devel/py-itools/Makefile	Fri Aug 22 16:29:02 2014	(r365672)
+++ head/devel/py-itools/Makefile	Fri Aug 22 16:32:36 2014	(r365673)
@@ -2,33 +2,54 @@
 # $FreeBSD$
 
 PORTNAME=	itools
-PORTVERSION=	0.62.9
-PORTREVISION=	1
+PORTVERSION=	0.75.2
 CATEGORIES=	devel python
-MASTER_SITES=	http://download.hforge.org/itools/0.62/
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	cpm@fbsd.es
 COMMENT=	Python library Provides Wide Range Of Capabilities
 
 LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-BROKEN=		Fails to build
-
-BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}reportlab2>=2.3:${PORTSDIR}/print/py-reportlab2 \
+BUILD_DEPENDS=  ${LOCALBASE}/include/poppler/goo/gtypes.h:${PORTSDIR}/graphics/poppler \
+		${LOCALBASE}/include/git2.h:${PORTSDIR}/devel/libgit2 \
+		${PYTHON_PKGNAMEPREFIX}reportlab2>=2.3:${PORTSDIR}/print/py-reportlab2 \
 		${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \
 		${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib \
 		${PYTHON_PKGNAMEPREFIX}gobject>=2.16.1:${PORTSDIR}/devel/py-gobject \
-		${PYTHON_PKGNAMEPREFIX}pygit2>=0:${PORTSDIR}/devel/py-pygit2 \
+		gettext:${PORTSDIR}/devel/gettext \
 		python:${PORTSDIR}/lang/python
-RUN_DEPENDS+=	${BUILD_DEPENDS}
-LIB_DEPENDS=	libglib.so:${PORTSDIR}/devel/glib20 \
-		libsoup.so:${PORTSDIR}/devel/libsoup
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+LIB_DEPENDS=	libglib-2.0.so:${PORTSDIR}/devel/glib20 \
+		libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
+		libwv2.so:${PORTSDIR}/textproc/wv2
 
+CFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/poppler
 LDFLAGS+=	-L${LOCALBASE}/lib
-USES=		pkgconfig
-USE_PYTHON=	yes
-USE_PYDISTUTILS=	yes
 
-NO_STAGE=	yes
+USES=	pkgconfig python:2.7+
+USE_PYTHON=	autoplist distutils
+
+OPTIONS_DEFINE=	DOCS
+
+PORTDOCS=	INSTALL.txt LICENSE.txt MANIFEST README.rst RELEASE-0.75.0 \
+		RELEASE-0.75.1 RELEASE-0.75.2 UPGRADE-0.75.0
+
+.include <bsd.port.options.mk>
+
+post-install:
+.for f in office pdf web xml
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/${f}/*.so
+.endfor
+
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+.endif
+
+regression-test: build
+	cd ${WRKSRC}/test && ${PYTHON_CMD} test.py
+
 .include <bsd.port.mk>

Modified: head/devel/py-itools/distinfo
==============================================================================
--- head/devel/py-itools/distinfo	Fri Aug 22 16:29:02 2014	(r365672)
+++ head/devel/py-itools/distinfo	Fri Aug 22 16:32:36 2014	(r365673)
@@ -1,2 +1,2 @@
-SHA256 (itools-0.62.9.tar.gz) = 3fec662a0ea77d70df1a6c9e599baaf7ded3a9f774c43d626e57be8ba0bfd027
-SIZE (itools-0.62.9.tar.gz) = 854398
+SHA256 (itools-0.75.2.tar.gz) = ade21dcd815ded81b1fd3f35c9a48f20afccd6d2dff441fd54cd970459d88df4
+SIZE (itools-0.75.2.tar.gz) = 852116



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408221632.s7MGWa1x033792>