ports/179298: [patch] devel/tevent: 0.9.18 and fix ldb package build
Tijl Coosemans
tijl at FreeBSD.org
Tue Jun 4 13:40:02 UTC 2013
>Number: 179298
>Category: ports
>Synopsis: [patch] devel/tevent: 0.9.18 and fix ldb package build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 04 13:40:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Tijl Coosemans
>Release: FreeBSD 10.0-CURRENT i386
>Organization:
>Environment:
>Description:
- update devel/tevent to 0.9.18.
- precompile tevent.py to fix databases/ldb package build:
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9.20130528113939.pointyhat/ldb-1.1.15.log
>How-To-Repeat:
>Fix:
--- tevent.patch begins here ---
Index: devel/tevent/Makefile
===================================================================
--- devel/tevent/Makefile (revision 319762)
+++ devel/tevent/Makefile (working copy)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= tevent
-PORTVERSION= 0.9.17
+PORTVERSION= 0.9.18
PORTREVISION= 0
PORTEPOCH= 0
CATEGORIES= devel
@@ -61,7 +61,9 @@ _MAKE_JOBS= --jobs=${MAKE_JOBS_NUMBER}
.if ${PORT_OPTIONS:MPYTHON}
USE_PYTHON_RUN= yes
PLIST_FILES+= %%PYTHON_SITELIBDIR%%/_tevent.so \
- %%PYTHON_SITELIBDIR%%/tevent.py
+ %%PYTHON_SITELIBDIR%%/tevent.py \
+ %%PYTHON_SITELIBDIR%%/tevent.pyc \
+ %%PYTHON_SITELIBDIR%%/tevent.pyo
PLIST_DIRSTRY+= %%PYTHON_SITELIBDIR%% \
%%PYTHON_LIBDIR%%
.else
@@ -100,5 +102,9 @@ do-build:
do-install:
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${INSTALL_WRKSRC}/${WAF_TOOL} ${MAKE_ARGS} ${INSTALL_TARGET})
+.if ${PORT_OPTIONS:MPYTHON}
+ ${PYTHON_CMD} -m py_compile ${PYTHON_SITELIBDIR}/tevent.py
+ ${PYTHON_CMD} -O -m py_compile ${PYTHON_SITELIBDIR}/tevent.py
+.endif
.include <bsd.port.post.mk>
Index: devel/tevent/distinfo
===================================================================
--- devel/tevent/distinfo (revision 319762)
+++ devel/tevent/distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (tevent-0.9.17.tar.gz) = 9155a85e83b6df38d251c292ca70950dd3f2ba325aad2cb8429ae0a3ee1d6b6c
-SIZE (tevent-0.9.17.tar.gz) = 496964
+SHA256 (tevent-0.9.18.tar.gz) = 5c636a0c55a7b59745bae0d8ae3900b5ea8c09bfff6001dcd95f1db9cd06ea4f
+SIZE (tevent-0.9.18.tar.gz) = 505276
--- tevent.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list