ports/183319: [PATCH] devel/py-gevent: Fix LIB_DEPENDS, Enable STAGE support

Kubilay Kocak koobs.freebsd at gmail.com
Sat Oct 26 04:50:01 UTC 2013


>Number:         183319
>Category:       ports
>Synopsis:       [PATCH] devel/py-gevent: Fix LIB_DEPENDS, Enable STAGE support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 26 04:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kubilay Kocak
>Release:        FreeBSD 9.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD 9-STABLE-amd64.elysium 9.2-STABLE FreeBSD 9.2-STABLE #1 r256754: Sat Oct 19 10:16:00 EST
>Description:
devel/py-gevent: Fix LIB_DEPENDS, Enable STAGE support

- Use new LIB_DEPENDS format to explicitly look for libevent 1.x
  libraries. This causes build failures in ports that depend on
  py-gevent (py-gunicorn) when libevent2 is installed
- Enable STAGE support
- Bump PORTREVISION
- Add TEST_DEPENDS and regression-test target
- Whitespace alignment

portlint: OK - looks fine.
porttest: OK - 9-STABLE amd64
testport: OK - poudriere, all versions/archs
unittest: FAIL (existing and unrelated to this change)

Port maintainer (sunpoet at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- py27-gevent-0.13.8_1.patch begins here ---
diff -ruN /usr/ports/devel/py-gevent/Makefile ./Makefile
--- /usr/ports/devel/py-gevent/Makefile	2013-09-21 03:13:42.000000000 +1000
+++ ./Makefile	2013-10-26 15:47:38.907797974 +1100
@@ -1,8 +1,9 @@
 # Created by: Peter Schuller <peter.schuller at infidyne.com>
-# $FreeBSD: devel/py-gevent/Makefile 327724 2013-09-20 17:13:42Z bapt $
+# $FreeBSD: head/devel/py-gevent/Makefile 327724 2013-09-20 17:13:42Z bapt $
 
 PORTNAME=	gevent
 PORTVERSION=	0.13.8
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,12 +13,15 @@
 
 LICENSE=	MIT
 
-LIB_DEPENDS=	event:${PORTSDIR}/devel/libevent
+LIB_DEPENDS=	libevent-1.4.so:${PORTSDIR}/devel/libevent
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}greenlet>=0:${PORTSDIR}/devel/py-greenlet
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
 
-USE_PYTHON=	-2.7
-USE_PYDISTUTILS=yes
+USE_PYTHON=		-2.7
+USE_PYDISTUTILS=	yes
 PYDISTUTILS_BUILDARGS=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
 
-NO_STAGE=	yes
+regression-test:
+	@cd ${WRKSRC}/greentest && PYTHONPATH=.. ${PYTHON_CMD} testrunner.py
+
 .include <bsd.port.mk>
--- py27-gevent-0.13.8_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list