Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  9 Jul 2008 06:37:55 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/125417: [PATCH] devel/py-glewpy: unbreak
Message-ID:  <20080709023755.12EC517030@hades.panopticon>
Resent-Message-ID: <200807090240.m692e6JU029579@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125417
>Category:       ports
>Synopsis:       [PATCH] devel/py-glewpy: unbreak
>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:   Wed Jul 09 02:40:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #1: Wed Jun 25 15:36:22 MSD 2008 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
Currently py-glewpy is broken (doesn't build with never versions of pyrex).
This fix contains all source files for glewpy generated with older pyrex-0.9.4.1, so newer pyrex is not actually used in the build.
Thus, the port build and works again (tested with games/fretsonfire, the only py-glewpy consumer).

>How-To-Repeat:
>Fix:

--- py-glewpy.patch begins here ---
diff -ruN py-glewpy.orig/Makefile py-glewpy/Makefile
--- py-glewpy.orig/Makefile	2008-07-08 01:49:54.000000000 +0400
+++ py-glewpy/Makefile	2008-07-09 05:36:48.000000000 +0400
@@ -7,11 +7,14 @@
 
 PORTNAME=	glewpy
 PORTVERSION=	0.7.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics python
 MASTER_SITES=	SF
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DIST_SUBDIR=	python
+PATCH_SITES=	http://www.amdmi3.ru/distfiles/ \
+		${MASTER_SITE_LOCAL:S|%SUBDIR%|amdmi3|}
+PATCHFILES=	glewpy-${PORTVERSION}-generatedsources.diff.bz2
 
 MAINTAINER=	acm@FreeBSD.org
 COMMENT=	Advanced OpenGL extensions to Python
@@ -19,10 +22,6 @@
 BUILD_DEPENDS=	pyrex>=0.9.6.2:${PORTSDIR}/devel/pyrex
 LIB_DEPENDS=	GLEW.1:${PORTSDIR}/graphics/glew
 
-BROKEN=		fails to install
-DEPRECATED=	Has been broken for more than 6 months
-EXPIRATION_DATE=2008-09-19
-
 USE_PYTHON=	2.4+
 USE_PYDISTUTILS=yes
 
diff -ruN py-glewpy.orig/distinfo py-glewpy/distinfo
--- py-glewpy.orig/distinfo	2008-07-08 01:49:54.000000000 +0400
+++ py-glewpy/distinfo	2008-07-09 05:32:55.000000000 +0400
@@ -1,3 +1,6 @@
 MD5 (python/glewpy-0.7.4.tar.gz) = 3d2aae86aae328ab60897915bf9530fc
 SHA256 (python/glewpy-0.7.4.tar.gz) = 19434289d079d9f70d7dde75b6eb4d8ca6488a1427fb2786ebd6fe24fb97a0ec
 SIZE (python/glewpy-0.7.4.tar.gz) = 65262
+MD5 (python/glewpy-0.7.4-generatedsources.diff.bz2) = ee6ed1f96c0275d9f3968c91fa68b9d5
+SHA256 (python/glewpy-0.7.4-generatedsources.diff.bz2) = b143b18e981169b6bfefdc173138ca47e0bc8049d5a1b90b2cd24d8a1b615a5a
+SIZE (python/glewpy-0.7.4-generatedsources.diff.bz2) = 193256
--- py-glewpy.patch ends here ---

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



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