mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
Remove useless SHEBANG_LANG macro
USE_PYTHON instead of the 2 _BUILD/_RUN macros
This commit is contained in:
parent
3fc236ae20
commit
32156cf6c7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350117
1 changed files with 2 additions and 4 deletions
|
@ -17,15 +17,13 @@ LICENSE= GPLv2
|
||||||
LIB_DEPENDS= libvirt.so:${PORTSDIR}/devel/libvirt
|
LIB_DEPENDS= libvirt.so:${PORTSDIR}/devel/libvirt
|
||||||
|
|
||||||
USES= pkgconfig shebangfix
|
USES= pkgconfig shebangfix
|
||||||
SHEBANG_LANG= python
|
|
||||||
SHEBANG_FILES= generator.py sanitytest.py setup.py
|
SHEBANG_FILES= generator.py sanitytest.py setup.py
|
||||||
|
|
||||||
USE_PYTHON_BUILD= yes
|
USE_PYTHON= yes
|
||||||
USE_PYTHON_RUN= yes
|
|
||||||
USE_PYDISTUTILS= yes
|
USE_PYDISTUTILS= yes
|
||||||
PYDISTUTILS_AUTOPLIST= yes
|
PYDISTUTILS_AUTOPLIST= yes
|
||||||
|
|
||||||
post-patch-script:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|"python"|"${PYTHON_CMD}"|g' \
|
@${REINPLACE_CMD} -e 's|"python"|"${PYTHON_CMD}"|g' \
|
||||||
${WRKSRC}/setup.py
|
${WRKSRC}/setup.py
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue