diff options
author | markd <markd@pkgsrc.org> | 2017-02-06 01:29:10 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2017-02-06 01:29:10 +0000 |
commit | 8406c295f0c402c1801e2303aee9f7540bb5001d (patch) | |
tree | a042e0496a4b3b97f5818afcaee928f3b69c67f8 /graphics/blender | |
parent | dbd7bc94627380a3b6ababcd80f59fded9fa651d (diff) | |
download | pkgsrc-8406c295f0c402c1801e2303aee9f7540bb5001d.tar.gz |
Allow python3.6
Diffstat (limited to 'graphics/blender')
-rw-r--r-- | graphics/blender/Makefile | 18 | ||||
-rw-r--r-- | graphics/blender/PLIST | 20 | ||||
-rw-r--r-- | graphics/blender/PLIST.Linux | 24 | ||||
-rw-r--r-- | graphics/blender/PLIST.NetBSD | 7 |
4 files changed, 40 insertions, 29 deletions
diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile index 8222b3dd452..ee9d99b4cd7 100644 --- a/graphics/blender/Makefile +++ b/graphics/blender/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.126 2017/01/19 10:03:00 markd Exp $ +# $NetBSD: Makefile,v 1.127 2017/02/06 01:29:10 markd Exp $ DISTNAME= blender-2.77a -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= graphics MASTER_SITES= http://download.blender.org/source/ @@ -15,6 +15,12 @@ USE_CMAKE= yes USE_LANGUAGES= c c++ CMAKE_OPTS+= -DWITH_OPENAL:BOOL=OFF CMAKE_OPTS+= -DPYVERSSUFFIX:STRING=${PYVERSSUFFIX} +CMAKE_OPTS+= -DPYTHON_VERSION:STRING=${PYVERSSUFFIX} +CMAKE_OPTS+= -DPYTHON_ROOT_DIR:STRING=${PREFIX} +CMAKE_OPTS+= -DPYTHON_INCLUDE_DIR:STRING=${PREFIX}/${PYINC} +CMAKE_OPTS+= -DPYTHON_INCLUDE_CONFIG_DIR:STRING=${PREFIX}/${PYINC} +CMAKE_OPTS+= -DPYTHON_EXECUTABLE:FILEPATH=${PYTHONBIN} +CMAKE_OPTS+= -DPYTHON_LIBRARY:FILEPATH=${PREFIX}/lib/libpython${PYVERSSUFFIX}.so CMAKE_OPTS+= -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX}/share/blender CMAKE_OPTS+= -DCMAKE_MODULE_PATH:PATH=${_CMAKE_DIR} CMAKE_OPTS+= -DCMAKE_SKIP_RPATH:BOOL=TRUE @@ -29,10 +35,12 @@ CMAKE_OPTS+= -DOPENGL_glu_LIBRARY:STRING=GLU CXXFLAGS+= -std=c++11 CMAKE_OPTS+= -DCMAKE_CXX_FLAGS:STRING=${CXXFLAGS:Q} -PYTHON_VERSIONS_INCOMPATIBLE= 27 36 +PYTHON_VERSIONS_INCOMPATIBLE= 27 GCC_REQD+= 4.7 DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat +CMAKE_OPTS+= -DWITH_PYTHON_INSTALL_NUMPY:BOOL=OFF +CMAKE_OPTS+= -DWITH_PYTHON_INSTALL_REQUESTS:BOOL=OFF REPLACE_PYTHON= release/bin/blender-thumbnailer.py @@ -49,7 +57,7 @@ PLIST_SUBST+= NETBSDVER=netbsd7 PLIST_SUBST+= NETBSDVER=netbsd6 .endif -PLIST_VARS+= py34 py35 +PLIST_VARS+= py34 py35 py36 OBJDIR= ../build CONFIGURE_DIRS= ${OBJDIR} @@ -91,6 +99,8 @@ post-install: PLIST.py34= yes .elif ${PYVERSSUFFIX} == "3.5" PLIST.py35= yes +.elif ${PYVERSSUFFIX} == "3.6" +PLIST.py36= yes .endif .include "../../mk/bsd.pkg.mk" diff --git a/graphics/blender/PLIST b/graphics/blender/PLIST index 921106372a4..7a20b83c020 100644 --- a/graphics/blender/PLIST +++ b/graphics/blender/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.23 2016/08/15 19:26:18 ryoon Exp $ +@comment $NetBSD: PLIST,v 1.24 2017/02/06 01:29:10 markd Exp $ bin/blender share/blender/${BLENDERVER}/datafiles/fonts/bmonofont-i18n.ttf.gz share/blender/${BLENDERVER}/datafiles/fonts/droidsans.ttf.gz @@ -50,7 +50,7 @@ share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/_pydecimal.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/_pyio.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/_sitebuiltins.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/_strptime.py -share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/_sysconfigdata.py +${PLIST.py35}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/_sysconfigdata.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/_threading_local.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/_weakrefset.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/abc.py @@ -61,7 +61,9 @@ share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/ast.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/asynchat.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/asyncio/__init__.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/asyncio/base_events.py +${PLIST.py36}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/asyncio/base_futures.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/asyncio/base_subprocess.py +${PLIST.py36}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/asyncio/base_tasks.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/asyncio/compat.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/asyncio/constants.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/asyncio/coroutines.py @@ -98,7 +100,7 @@ share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/code.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/codecs.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/codeop.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/collections/__init__.py -share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/collections/__main__.py +${PLIST.py35}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/collections/__main__.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/collections/abc.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/colorsys.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/compileall.py @@ -269,6 +271,7 @@ share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/encodings/mac_roman share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/encodings/mac_romanian.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/encodings/mac_turkish.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/encodings/mbcs.py +${PLIST.py36}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/encodings/oem.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/encodings/palmos.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/encodings/ptcp154.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/encodings/punycode.py @@ -295,8 +298,10 @@ share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/encodings/uu_codec. share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/encodings/zlib_codec.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/ensurepip/__init__.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/ensurepip/__main__.py -share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/ensurepip/_bundled/pip-8.1.1-py2.py3-none-any.whl -share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/ensurepip/_bundled/setuptools-20.10.1-py2.py3-none-any.whl +${PLIST.py35}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/ensurepip/_bundled/pip-8.1.1-py2.py3-none-any.whl +${PLIST.py35}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/ensurepip/_bundled/setuptools-20.10.1-py2.py3-none-any.whl +${PLIST.py36}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/ensurepip/_bundled/pip-9.0.1-py2.py3-none-any.whl +${PLIST.py36}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/ensurepip/_bundled/setuptools-28.8.0-py2.py3-none-any.whl share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/ensurepip/_uninstall.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/enum.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/filecmp.py @@ -341,7 +346,9 @@ share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/json/encoder.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/json/scanner.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/json/tool.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/keyword.py +${PLIST.py36}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/_asyncio.so share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/_bisect.so +${PLIST.py36}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/_blake2.so share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/_bz2.so share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/_codecs_cn.so share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/_codecs_hk.so @@ -370,6 +377,7 @@ share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/_posixs share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/_random.so share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/_sha1.so share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/_sha256.so +${PLIST.py36}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/_sha3.so share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/_sha512.so share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/_socket.so share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/_ssl.so @@ -466,6 +474,7 @@ share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/reprlib.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/rlcompleter.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/runpy.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/sched.py +${PLIST.py36}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/secrets.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/selectors.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/shelve.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/shlex.py @@ -1508,3 +1517,4 @@ share/blender/blender.svg share/blender/copyright.txt share/blender/jemalloc-license.txt share/blender/readme.html +@pkgdir share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/site-packages diff --git a/graphics/blender/PLIST.Linux b/graphics/blender/PLIST.Linux index c3b78da8427..ab15200bcf4 100644 --- a/graphics/blender/PLIST.Linux +++ b/graphics/blender/PLIST.Linux @@ -1,20 +1,10 @@ -@comment $NetBSD: PLIST.Linux,v 1.4 2015/12/19 20:52:12 markd Exp $ +@comment $NetBSD: PLIST.Linux,v 1.5 2017/02/06 01:29:10 markd Exp $ +${PLIST.py36}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/_sysconfigdata_linux.py share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/_sqlite3.so share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/ossaudiodev.so -share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/pyexpat.so share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/lib-dynload/readline.so -share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/plat-linux/CDROM.py -share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/plat-linux/DLFCN.py -share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/plat-linux/IN.py -share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/plat-linux/TYPES.py -share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/plat-linux/regen -share/blender/blender-thumbnailer.py -share/blender/icons/16x16/apps/blender.png -share/blender/icons/22x22/apps/blender.png -share/blender/icons/24x24/apps/blender.png -share/blender/icons/256x256/apps/blender.png -share/blender/icons/32x32/apps/blender.png -share/blender/icons/48x48/apps/blender.png -share/blender/icons/blender_icon_source.svg -share/blender/icons/scalable/apps/blender.svg -share/blender/blenderplayer +${PLIST.py35}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/plat-linux/CDROM.py +${PLIST.py35}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/plat-linux/DLFCN.py +${PLIST.py35}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/plat-linux/IN.py +${PLIST.py35}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/plat-linux/TYPES.py +${PLIST.py35}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/plat-linux/regen diff --git a/graphics/blender/PLIST.NetBSD b/graphics/blender/PLIST.NetBSD index aac4a32e9f2..8ec6b0a5eaf 100644 --- a/graphics/blender/PLIST.NetBSD +++ b/graphics/blender/PLIST.NetBSD @@ -1,3 +1,4 @@ -@comment $NetBSD: PLIST.NetBSD,v 1.4 2015/12/19 20:52:12 markd Exp $ -share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/plat-${NETBSDVER}/IN.py -share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/plat-${NETBSDVER}/regen +@comment $NetBSD: PLIST.NetBSD,v 1.5 2017/02/06 01:29:10 markd Exp $ +${PLIST.py36}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/_sysconfigdata_${NETBSDVER}.py +${PLIST.py35}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/plat-${NETBSDVER}/IN.py +${PLIST.py35}share/blender/${BLENDERVER}/python/lib/python${PYVERSSUFFIX}/plat-${NETBSDVER}/regen |