ports/125417: [PATCH] devel/py-glewpy: unbreak
Dmitry Marakasov
amdmi3 at amdmi3.ru
Wed Jul 9 02:40:06 UTC 2008
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list