From af740b3b32776772a49011c732387ee72b88c71c Mon Sep 17 00:00:00 2001
From: Hye-Shik Chang <perky@FreeBSD.org>
Date: Mon, 29 Jul 2002 00:15:47 +0000
Subject: Update to 0.4

---
 devel/pyrex/Makefile       | 5 ++---
 devel/pyrex/distinfo       | 2 +-
 devel/pyrex/files/setup.py | 8 --------
 devel/pyrex/pkg-plist      | 7 +++++++
 4 files changed, 10 insertions(+), 12 deletions(-)
 delete mode 100644 devel/pyrex/files/setup.py

(limited to 'devel/pyrex')

diff --git a/devel/pyrex/Makefile b/devel/pyrex/Makefile
index ac5135e2bca5..2281a9605fb7 100644
--- a/devel/pyrex/Makefile
+++ b/devel/pyrex/Makefile
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	pyrex
-PORTVERSION=	0.3.4
+PORTVERSION=	0.4
 CATEGORIES=	devel lang python
 MASTER_SITES=	http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
 PKGNAMEPREFIX=	${PYTHONPKGNAMEPREFIX}
@@ -22,10 +22,9 @@ USE_PYDISTUTILS=yes
 USE_REINPLACE=	yes
 
 post-patch:
-	@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${FILESDIR}/setup.py \
-		> ${WRKSRC}/setup.py
 	@${REINPLACE_CMD} -e 's|^PYINCLUDE =.*|PYINCLUDE=${PYTHON_INCLUDEDIR}|g' \
 		-e 's|\.\./py|${PREFIX}/bin/py|g' ${WRKSRC}/Demos/Makefile
+	@${REINPLACE_CMD} -e "s|'Plex'||g" ${WRKSRC}/setup.py
 	@${RM} -f ${WRKSRC}/Demos/Makefile.bak
 
 post-install:
diff --git a/devel/pyrex/distinfo b/devel/pyrex/distinfo
index 56d1a95e765a..01d8e6ed0da6 100644
--- a/devel/pyrex/distinfo
+++ b/devel/pyrex/distinfo
@@ -1 +1 @@
-MD5 (Pyrex-0.3.4.tar.gz) = 44542e958c7eb0de34cc2077e8db89ed
+MD5 (Pyrex-0.4.tar.gz) = 01024a3f4df07ef6a5b957cc7346a15a
diff --git a/devel/pyrex/files/setup.py b/devel/pyrex/files/setup.py
deleted file mode 100644
index 7ab6cb95891c..000000000000
--- a/devel/pyrex/files/setup.py
+++ /dev/null
@@ -1,8 +0,0 @@
-from distutils.core import setup
-
-setup(
-    name = 'pyrex',
-    version = "%%PORTVERSION%%",
-    packages = ['Pyrex', 'Pyrex.Compiler', 'Pyrex.Mac'],
-    scripts = ['pyrexc'],
-    )
diff --git a/devel/pyrex/pkg-plist b/devel/pyrex/pkg-plist
index 12a4de1bda7f..3ffbb19f4b57 100644
--- a/devel/pyrex/pkg-plist
+++ b/devel/pyrex/pkg-plist
@@ -42,6 +42,12 @@ bin/pyrexc
 %%PYTHON_SITELIBDIR%%/Pyrex/Compiler/__init__.py
 %%PYTHON_SITELIBDIR%%/Pyrex/Compiler/__init__.pyc
 %%PYTHON_SITELIBDIR%%/Pyrex/Compiler/__init__.pyo
+%%PYTHON_SITELIBDIR%%/Pyrex/Distutils/__init__.py
+%%PYTHON_SITELIBDIR%%/Pyrex/Distutils/__init__.pyc
+%%PYTHON_SITELIBDIR%%/Pyrex/Distutils/__init__.pyo
+%%PYTHON_SITELIBDIR%%/Pyrex/Distutils/build_ext.py
+%%PYTHON_SITELIBDIR%%/Pyrex/Distutils/build_ext.pyc
+%%PYTHON_SITELIBDIR%%/Pyrex/Distutils/build_ext.pyo
 %%PYTHON_SITELIBDIR%%/Pyrex/Mac/Finder_Std_Suite.py
 %%PYTHON_SITELIBDIR%%/Pyrex/Mac/Finder_Std_Suite.pyc
 %%PYTHON_SITELIBDIR%%/Pyrex/Mac/Finder_Std_Suite.pyo
@@ -79,6 +85,7 @@ bin/pyrexc
 %%PYTHON_SITELIBDIR%%/Pyrex/__init__.pyc
 %%PYTHON_SITELIBDIR%%/Pyrex/__init__.pyo
 @dirrm %%PYTHON_SITELIBDIR%%/Pyrex/Mac
+@dirrm %%PYTHON_SITELIBDIR%%/Pyrex/Distutils
 @dirrm %%PYTHON_SITELIBDIR%%/Pyrex/Compiler
 @dirrm %%PYTHON_SITELIBDIR%%/Pyrex
 %%PORTDOCS%%share/doc/pyrex/About.html
-- 
cgit v1.2.3