Bug 163698 - new port graphics/py-stl (deprecates graphics/stl2pov)
Summary: new port graphics/py-stl (deprecates graphics/stl2pov)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Michael Scheidell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-29 19:00 UTC by rsmith
Modified: 2012-01-12 13:40 UTC (History)
0 users

See Also:


Attachments
py-stl-99b66e8.tgz (1.58 KB, text/plain)
2011-12-29 19:00 UTC, rsmith
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rsmith 2011-12-29 19:00:22 UTC
A port of stl2pov to the Python programming language. The core of the program
is now implemented as two modules (libraries), which makes re-using them a lot
easier. Adds programs called stl2ps and stl2pdf to generate a projected view
of the STL object to a PostScript or PDF file. Recently a script stlinfo was
added to print some statistics about an STL file or to print the STL file in
text format. It requires the Python interpreter. The stl2pdf program requires
the ReportLab toolkit.

I will maintain the new port. (I'm also the maintainer of the stl2pov port,
which should be deprecated in favor of this port.)

Fix: Inluded is a tarball with the new port Makefile, distinfo, pkg-descr and
pkg-plist. The distfile is up on my website.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-12-29 19:00:34 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (new ports should be change-requests) (via the GNATS Auto 
Assign Tool)
Comment 2 Michael Scheidell freebsd_committer freebsd_triage 2012-01-06 23:35:05 UTC
State Changed
From-To: open->feedback

Roland: is there any reason to keep the old cvs history from stl2pov? 
If so, I can implement this a repocopy, patch. 
If the old cvs history won't do anyone any good, I can procede with the 
new port and delete old one. 


Comment 3 Michael Scheidell freebsd_committer freebsd_triage 2012-01-06 23:35:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->scheidell

I'll take it
Comment 4 Michael Scheidell 2012-01-07 09:04:56 UTC
Any reason for this to be PORTVERSION 3.0, rather then PORTVERSION 1.0?


PORTNAME=               py-stl
PORTVERSION=            3.0
CATEGORIES=             graphics
MASTER_SITES=           http://rsmith.home.xs4all.nl/software/
PKGNAMEPREFIX=          ${PYTHON_PKGNAMEPREFIX}
DISTNAME=               py-stl-99b66e8



If this is the first FREEBSD port of py-stl, and the '3.0' has no 
correlation with the DISTNAME, and I don't think 'portupgrade' cares 
since you are adding a new port, and this isn't going to be an 'upgrade' 
from stl2pov.

However if there are official versions of py-stl that you would like to 
track with the PORTVERSION number, we can leave it, unless portmanagers 
disagree.
Are there any additional mirrors for this? any official mirrors? or is 
this your program?

Also, stl2pdf.  would you like me to put in a OPTIONS knob, default 
'yes' so that users who don't want pdf capabilities  don't need to build 
reportlab2 ?

something like this (and is py-reportlab2 needed for PDF only? or for 
Postscript/PDF?

OPTIONS=                STL2PDF "Add support for Postscript/PDF images" on

.if defined(WITH_STL2PDF)
#for stl2pdf only
RUN_DEPENDS=            
${PYTHON_PKGNAMEPREFIX}reportlab2>2:${PORTSDIR}/print/py-reportlab2
.endif


this keeps the build time, and distribution smaller if the OP doesn't 
want pdf, but the default is to include it, like your original port.


-- 
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
 >*| *SECNAP Network Security Corporation

    * Best Mobile Solutions Product of 2011
    * Best Intrusion Prevention Product
    * Hot Company Finalist 2011
    * Best Email Security Product
    * Certified SNORT Integrator


______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.spammertrap.com/
______________________________________________________________________  
  
Comment 5 Michael Scheidell freebsd_committer freebsd_triage 2012-01-07 09:14:06 UTC

On 1/7/12 4:04 AM, Michael Scheidell wrote:
>

> Also, stl2pdf.  would you like me to put in a OPTIONS knob, default 
> 'yes' so that users who don't want pdf capabilities  don't need to 
> build reportlab2 ?
>
nevermind on the OPTIONS, it would really need a rethink, and use of 
.include <pre> and .include <post> which might mess up port.
leaving as in, waiting for answer on version.

-- 
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
 >*| *SECNAP Network Security Corporation

    * Best Mobile Solutions Product of 2011
    * Best Intrusion Prevention Product
    * Hot Company Finalist 2011
    * Best Email Security Product
    * Certified SNORT Integrator
Comment 6 dfilter service freebsd_committer freebsd_triage 2012-01-12 13:32:29 UTC
scheidell    2012-01-12 13:32:14 UTC

  FreeBSD ports repository

  Modified files:
    .                    MOVED 
    graphics             Makefile 
  Added files:
    graphics/py-stl      Makefile distinfo pkg-descr pkg-plist 
  Removed files:
    graphics/stl2pov     Makefile distinfo pkg-descr 
  Log:
  - Author of stl2pov has replaced code with python module, py-stl
  
  PR:             ports/163698
  Submitted by:   Roland Smith <rsmith@xs4all.nl> (maintainer)
  Approved by:    maintainer, gabor (mentor)
  
  Revision  Changes    Path
  1.2741    +2 -1      ports/MOVED
  1.1478    +1 -1      ports/graphics/Makefile
  1.1       +41 -0     ports/graphics/py-stl/Makefile (new)
  1.1       +2 -0      ports/graphics/py-stl/distinfo (new)
  1.1       +11 -0     ports/graphics/py-stl/pkg-descr (new)
  1.1       +10 -0     ports/graphics/py-stl/pkg-plist (new)
  1.9       +0 -33     ports/graphics/stl2pov/Makefile (dead)
  1.8       +0 -2      ports/graphics/stl2pov/distinfo (dead)
  1.2       +0 -5      ports/graphics/stl2pov/pkg-descr (dead)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 7 Michael Scheidell freebsd_committer freebsd_triage 2012-01-12 13:32:46 UTC
State Changed
From-To: feedback->closed

Committed with changes, Thanks