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:
parent
2a8febd69f
commit
3b899362fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129294
@ -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>
|
||||
|
3
devel/py-pqueue/files/setup.py
Normal file
3
devel/py-pqueue/files/setup.py
Normal file
@ -0,0 +1,3 @@
|
||||
from distutils.core import setup, Extension
|
||||
setup(name = "pqueue",
|
||||
ext_modules = [Extension('pqueue', ['pqueuemodule.c'])])
|
Loading…
Reference in New Issue
Block a user