mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Don't hardcode python version.
Submitted by: makc@
This commit is contained in:
parent
165258bbc0
commit
4c695fef39
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351368
@ -23,6 +23,8 @@ python_OLD_CMD?= /usr/bin/env python
|
||||
python_CMD?= ${LOCALBASE}/bin/python${PYTHON_VER}
|
||||
SHEBANG_FILES= examples/*.py examples/*/*.py test/*.py
|
||||
|
||||
PLIST_SUB+= PYTVER=${PYTHON_VER:S/.//}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|python %s|${PYTHON_CMD} %s|g' \
|
||||
${WRKSRC}/test/examples_test.py
|
||||
|
@ -1,6 +1,6 @@
|
||||
include/pycairo/py3cairo.h
|
||||
%%PYTHON_SITELIBDIR%%/cairo/__pycache__/__init__.cpython-33.pyc
|
||||
%%PYTHON_SITELIBDIR%%/cairo/__pycache__/__init__.cpython-33.pyo
|
||||
%%PYTHON_SITELIBDIR%%/cairo/__pycache__/__init__.cpython-%%PYTVER%%.pyc
|
||||
%%PYTHON_SITELIBDIR%%/cairo/__pycache__/__init__.cpython-%%PYTVER%%.pyo
|
||||
%%PYTHON_SITELIBDIR%%/cairo/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/cairo/_cairo.so
|
||||
libdata/pkgconfig/py3cairo.pc
|
||||
|
Loading…
Reference in New Issue
Block a user