aboutsummaryrefslogtreecommitdiff
path: root/devel/pyrex
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2002-07-29 00:15:47 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2002-07-29 00:15:47 +0000
commitaf740b3b32776772a49011c732387ee72b88c71c (patch)
treeef43fe77cbd847fc8ec2dbcdffe3525d1e023424 /devel/pyrex
parent90c3a483b45649e15fed79faa89b54a7d42b7ba5 (diff)
downloadports-af740b3b32776772a49011c732387ee72b88c71c.tar.gz
ports-af740b3b32776772a49011c732387ee72b88c71c.zip
Notes
Diffstat (limited to 'devel/pyrex')
-rw-r--r--devel/pyrex/Makefile5
-rw-r--r--devel/pyrex/distinfo2
-rw-r--r--devel/pyrex/files/setup.py8
-rw-r--r--devel/pyrex/pkg-plist7
4 files changed, 10 insertions, 12 deletions
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