Remove useless SHEBANG_LANG macro

USE_PYTHON instead of the 2 _BUILD/_RUN macros
This commit is contained in:
Baptiste Daroussin 2014-04-04 13:40:54 +00:00
parent 3fc236ae20
commit 32156cf6c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350117

View file

@ -17,15 +17,13 @@ LICENSE= GPLv2
LIB_DEPENDS= libvirt.so:${PORTSDIR}/devel/libvirt
USES= pkgconfig shebangfix
SHEBANG_LANG= python
SHEBANG_FILES= generator.py sanitytest.py setup.py
USE_PYTHON_BUILD= yes
USE_PYTHON_RUN= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
post-patch-script:
post-patch:
@${REINPLACE_CMD} -e 's|"python"|"${PYTHON_CMD}"|g' \
${WRKSRC}/setup.py