1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Unbreak build on Python 2.4

Spotted by:	kris
This commit is contained in:
Hye-Shik Chang 2005-02-19 18:12:47 +00:00
parent 2a8febd69f
commit 3b899362fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129294
2 changed files with 8 additions and 3 deletions

View File

@ -15,12 +15,14 @@ DISTNAME= PQueue-${PORTVERSION}
MAINTAINER= perky@FreeBSD.org
COMMENT= Fibonacci-Heap based Priority-Queue Extension for Python
PLIST_FILES= %%PYTHON_SITELIBDIR%%/pqueuemodule.so
PLIST_FILES= %%PYTHON_SITELIBDIR%%/pqueue.so
USE_BZIP2= yes
USE_PYTHON= yes
GNU_CONFIGURE= yes
ALL_TARGET= default
USE_PYDISTUTILS=yes
WRKSRC= ${WRKDIR}/PQueue
post-patch:
${CP} ${FILESDIR}/setup.py ${WRKSRC}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
from distutils.core import setup, Extension
setup(name = "pqueue",
ext_modules = [Extension('pqueue', ['pqueuemodule.c'])])