Created attachment 145609 [details] patch for the port directory Update graphics/py-stltools update for the USES=python changes. This patch has been tested: ~/tmp/ports/py-stltools> env DEVELOPER=yes make stage && make check-plist && make package ===> License BSD2CLAUSE accepted by the user ===> Found saved configuration for py27-stltools-3.2 ===> py27-stltools-3.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by py27-stltools-3.2 for building ===> Extracting for py27-stltools-3.2 => SHA256 Checksum OK for stltools-3.2.zip. ===> Patching for py27-stltools-3.2 ===> py27-stltools-3.2 depends on package: py27-setuptools27>0 - found ===> py27-stltools-3.2 depends on file: /usr/local/bin/python2.7 - found ===> Configuring for py27-stltools-3.2 running config ===> Building for py27-stltools-3.2 running build running build_py creating build creating build/lib creating build/lib/stltools copying stltools/__init__.py -> build/lib/stltools copying stltools/bbox.py -> build/lib/stltools copying stltools/matrix.py -> build/lib/stltools copying stltools/stl.py -> build/lib/stltools copying stltools/utils.py -> build/lib/stltools copying stltools/vecops.py -> build/lib/stltools running build_scripts creating build/scripts-2.7 copying and adjusting stl2pov -> build/scripts-2.7 copying and adjusting stl2ps -> build/scripts-2.7 copying and adjusting stl2pdf -> build/scripts-2.7 copying and adjusting stlinfo -> build/scripts-2.7 changing mode of build/scripts-2.7/stl2pov from 644 to 755 changing mode of build/scripts-2.7/stl2ps from 644 to 755 changing mode of build/scripts-2.7/stl2pdf from 644 to 755 changing mode of build/scripts-2.7/stlinfo from 644 to 755 ===> Staging for py27-stltools-3.2 ===> py27-stltools-3.2 depends on file: /usr/local/lib/python2.7/site-packages/numpy/core/numeric.py - found ===> py27-stltools-3.2 depends on package: py27-setuptools27>0 - found ===> py27-stltools-3.2 depends on file: /usr/local/bin/python2.7 - found ===> Generating temporary packing list running install running build running build_py running build_scripts running install_lib creating /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7 creating /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages creating /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools copying build/lib/stltools/__init__.py -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools copying build/lib/stltools/bbox.py -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools copying build/lib/stltools/matrix.py -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools copying build/lib/stltools/stl.py -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools copying build/lib/stltools/utils.py -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools copying build/lib/stltools/vecops.py -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools byte-compiling /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools/__init__.py to __init__.pyc byte-compiling /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools/bbox.py to bbox.pyc byte-compiling /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools/matrix.py to matrix.pyc byte-compiling /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools/stl.py to stl.pyc byte-compiling /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools/utils.py to utils.pyc byte-compiling /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools/vecops.py to vecops.pyc writing byte-compilation script '/tmp/tmpZugCxB.py' /usr/local/bin/python2.7 -O /tmp/tmpZugCxB.py removing /tmp/tmpZugCxB.py running install_egg_info running egg_info creating stltools.egg-info writing stltools.egg-info/PKG-INFO writing top-level names to stltools.egg-info/top_level.txt writing dependency_links to stltools.egg-info/dependency_links.txt writing manifest file 'stltools.egg-info/SOURCES.txt' reading manifest file 'stltools.egg-info/SOURCES.txt' writing manifest file 'stltools.egg-info/SOURCES.txt' Copying stltools.egg-info to /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools-3.2-py2.7.egg-info running install_scripts copying build/scripts-2.7/stl2pov -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin copying build/scripts-2.7/stl2ps -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin copying build/scripts-2.7/stl2pdf -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin copying build/scripts-2.7/stlinfo -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin changing mode of /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin/stl2pov to 755 changing mode of /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin/stl2ps to 755 changing mode of /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin/stl2pdf to 755 changing mode of /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin/stlinfo to 755 writing list of installed files to '/home/rsmith/tmp/ports/py-stltools/work/.PLIST.pymodtmp' ====> Compressing man pages (compress-man) if [ -d "/home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools-3.2-py2.7.egg-info" ]; then /bin/ls /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools-3.2-py2.7.egg-info | while read f; do echo lib/python2.7/site-packages/stltools-3.2-py2.7.egg-info/${f} >> /home/rsmith/tmp/ports/py-stltools/work/.PLIST.mktmp; done; echo "@dirrmtry lib/python2.7/site-packages/stltools-3.2-py2.7.egg-info" >> /home/rsmith/tmp/ports/py-stltools/work/.PLIST.mktmp; fi; ====> Running Q/A tests (stage-qa) ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for directories owned by MTREEs ===> Checking for directories handled by dependencies ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) ===> Building package for py27-stltools-3.2
Created attachment 145861 [details] Updated patch Updated the patch for the current state of the port and switch to USE_PYTHON.
Updated build test for updated patch 2014-08-16 11:25 CEST: Script started on Sat Aug 16 11:19:40 2014 slackbox:~/tmp/ports/py-stltools> env DEVELOPER=yes make stage && make check-plist && make package ===> License BSD2CLAUSE accepted by the user ===> Found saved configuration for py27-stltools-3.2 ===> py27-stltools-3.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by py27-stltools-3.2 for building ===> Extracting for py27-stltools-3.2 => SHA256 Checksum OK for stltools-3.2.zip. ===> Patching for py27-stltools-3.2 ===> py27-stltools-3.2 depends on package: py27-setuptools27>0 - found ===> py27-stltools-3.2 depends on file: /usr/local/bin/python2.7 - found ===> Configuring for py27-stltools-3.2 running config ===> Building for py27-stltools-3.2 running build running build_py creating build creating build/lib creating build/lib/stltools copying stltools/__init__.py -> build/lib/stltools copying stltools/bbox.py -> build/lib/stltools copying stltools/matrix.py -> build/lib/stltools copying stltools/stl.py -> build/lib/stltools copying stltools/utils.py -> build/lib/stltools copying stltools/vecops.py -> build/lib/stltools running build_scripts creating build/scripts-2.7 copying and adjusting stl2pov -> build/scripts-2.7 copying and adjusting stl2ps -> build/scripts-2.7 copying and adjusting stl2pdf -> build/scripts-2.7 copying and adjusting stlinfo -> build/scripts-2.7 changing mode of build/scripts-2.7/stl2pov from 644 to 755 changing mode of build/scripts-2.7/stl2ps from 644 to 755 changing mode of build/scripts-2.7/stl2pdf from 644 to 755 changing mode of build/scripts-2.7/stlinfo from 644 to 755 ===> Staging for py27-stltools-3.2 ===> py27-stltools-3.2 depends on file: /usr/local/lib/python2.7/site-packages/numpy/core/numeric.py - found ===> py27-stltools-3.2 depends on package: py27-setuptools27>0 - found ===> py27-stltools-3.2 depends on file: /usr/local/bin/python2.7 - found ===> Generating temporary packing list running install running build running build_py running build_scripts running install_lib creating /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7 creating /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages creating /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools copying build/lib/stltools/__init__.py -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools copying build/lib/stltools/bbox.py -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools copying build/lib/stltools/matrix.py -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools copying build/lib/stltools/stl.py -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools copying build/lib/stltools/utils.py -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools copying build/lib/stltools/vecops.py -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools byte-compiling /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools/__init__.py to __init__.pyc byte-compiling /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools/bbox.py to bbox.pyc byte-compiling /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools/matrix.py to matrix.pyc byte-compiling /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools/stl.py to stl.pyc byte-compiling /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools/utils.py to utils.pyc byte-compiling /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools/vecops.py to vecops.pyc writing byte-compilation script '/tmp/tmpl1O2GZ.py' /usr/local/bin/python2.7 -O /tmp/tmpl1O2GZ.py removing /tmp/tmpl1O2GZ.py running install_egg_info running egg_info creating stltools.egg-info writing stltools.egg-info/PKG-INFO writing top-level names to stltools.egg-info/top_level.txt writing dependency_links to stltools.egg-info/dependency_links.txt writing manifest file 'stltools.egg-info/SOURCES.txt' reading manifest file 'stltools.egg-info/SOURCES.txt' writing manifest file 'stltools.egg-info/SOURCES.txt' Copying stltools.egg-info to /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools-3.2-py2.7.egg-info running install_scripts copying build/scripts-2.7/stl2pov -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin copying build/scripts-2.7/stl2ps -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin copying build/scripts-2.7/stl2pdf -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin copying build/scripts-2.7/stlinfo -> /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin changing mode of /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin/stl2pov to 755 changing mode of /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin/stl2ps to 755 changing mode of /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin/stl2pdf to 755 changing mode of /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/bin/stlinfo to 755 writing list of installed files to '/home/rsmith/tmp/ports/py-stltools/work/.PLIST.pymodtmp' ====> Compressing man pages (compress-man) if [ -d "/home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools-3.2-py2.7.egg-info" ]; then /bin/ls /home/rsmith/tmp/ports/py-stltools/work/stage/usr/local/lib/python2.7/site-packages/stltools-3.2-py2.7.egg-info | while read f; do echo lib/python2.7/site-packages/stltools-3.2-py2.7.egg-info/${f} >> /home/rsmith/tmp/ports/py-stltools/work/.PLIST.mktmp; done; echo "@dirrmtry lib/python2.7/site-packages/stltools-3.2-py2.7.egg-info" >> /home/rsmith/tmp/ports/py-stltools/work/.PLIST.mktmp; fi; ====> Running Q/A tests (stage-qa) ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for directories owned by MTREEs ===> Checking for directories handled by dependencies ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) ===> Building package for py27-stltools-3.2 slackbox:~/tmp/ports/py-stltools> exit exit Script done on Sat Aug 16 11:19:53 2014
It works, but I get this: =======================<phase: check-sanity >============================ /!\ py27-stltools-3.2: Makefile warnings, please consider fixing /!\ USE_PYTHON is deprecated, please use USES=python:distutils
(In reply to John Marino from comment #3) > It works, but I get this: > =======================<phase: check-sanity >============================ > /!\ py27-stltools-3.2: Makefile warnings, please consider fixing /!\ > > USE_PYTHON is deprecated, please use USES=python:distutils Disregard this, my bsd.port.mk is outdated.
A commit references this bug: Author: marino Date: Sat Aug 16 12:01:39 UTC 2014 New revision: 365074 URL: http://svnweb.freebsd.org/changeset/ports/365074 Log: graphics/py-stltools: switch to USES=python PR: 192549 Submitted by: maintainer (rsmith) Changes: head/graphics/py-stltools/Makefile