Bug 192549 - [maintainer update] graphics/py-stltools update for USES=python
Summary: [maintainer update] graphics/py-stltools update for USES=python
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: John Marino
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-10 13:13 UTC by rsmith
Modified: 2014-08-16 12:03 UTC (History)
1 user (show)

See Also:


Attachments
patch for the port directory (1.31 KB, patch)
2014-08-10 13:13 UTC, rsmith
no flags Details | Diff
Updated patch (397 bytes, patch)
2014-08-16 09:25 UTC, rsmith
rsmith: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rsmith 2014-08-10 13:13:59 UTC
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
Comment 1 rsmith 2014-08-16 09:25:21 UTC
Created attachment 145861 [details]
Updated patch

Updated the patch for the current state of the port and switch to USE_PYTHON.
Comment 2 rsmith 2014-08-16 09:27:22 UTC
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
Comment 3 John Marino freebsd_committer freebsd_triage 2014-08-16 11:55:36 UTC
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
Comment 4 John Marino freebsd_committer freebsd_triage 2014-08-16 11:58:56 UTC
(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.
Comment 5 commit-hook freebsd_committer freebsd_triage 2014-08-16 12:02:23 UTC
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