Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#46116 closed submission (fixed)

New port: pyxplot 0.9.2

Reported by: Schamschula (Marius Schamschula) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: pyxplot

Description

I've created a Portfile for pyxplot 0.9.2.

Pyxplot is a multi-purpose graph plotting tool, scientific scripting language, vector graphics suite, and 
data processing package. Its interface is designed to make common tasks – e.g., plotting labelled graphs 
of data – accessible via short, simple, intuitive commands.

But these commands also take many optional settings, allowing their output to be fine-tuned into styles 
appropriate for reports, talks or academic journals.

Attachments (2)

patch-Makefile.skel.diff (412 bytes) - added by Schamschula (Marius Schamschula) 10 years ago.
Portfile (1.8 KB) - added by Schamschula (Marius Schamschula) 10 years ago.

Download all attachments as: .zip

Change History (12)

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: patch-Makefile.skel.diff added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Keywords: haspatch maintainer removed
Version: 2.3.3

comment:2 Changed 10 years ago by Schamschula (Marius Schamschula)

Fixed livecheck regex.

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Your patchfile hardcodes /opt/local. You need to somehow arrange for the Portfile variable ${prefix} to be used instead.

comment:4 Changed 10 years ago by Schamschula (Marius Schamschula)

Replaced the hard coded prefix patch with a post-patch to reinplace the original path with ${prefix}.

comment:5 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:6 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Does it build for you using -t (trace)?

Checking for latex             ............. YES
Checking for ImageMagick convert............ YES
Checking for sed               ............. YES
Checking for gunzip            ............. YES
Checking for wget              ............. YES
Checking for ghostscript       ............. YES
Checking for ghostview         ............. YES (gv, double hyphen options)
Checking for ggv               ............. NO
Checking for GNU make          ............. YES (make)
Checking for gcc               ............. YES
Checking for libreadline-dev   ............. NO
Checking for libcfitsio-dev    ............. NO
Checking for libgsl0-dev       ............. NO
ERROR: Header files for required library 'libgsl' could not be found.

Also doesn't seem to be using the right compiler

https://trac.macports.org/wiki/UsingTheRightCompiler

Warning: The following files inside the MacPorts prefix not installed by a port were accessed:
  /opt/local/bin/no_default_gcc/cc
  /opt/local/bin/no_default_gcc/gcc

comment:7 Changed 10 years ago by Schamschula (Marius Schamschula)

I just built pyxplot in trace mode: clean build. However, I noticed that the Portfile was missing python27 as a dependency. The Portfile has been updated accordingly.

gsl is listed as a dependency, so I don't understand why the configuration script did not find it.

On my MBP, where I performed a fresh build using trace mode, I did not see a warning regarding cc/gcc either. Also, gcc48 is installed as a prerequisite for fftw +gfortran, so there should be proper gcc.

comment:8 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

# 14. CHECK TO SEE WHETHER THIS SYSTEM HAS GSL HEADERS

echo $ECHO_N "Checking for libgsl0-dev       ............. $ECHO_C"
if printf '#include <gsl/gsl_version.h>\nint main() { return 0; }\n' | gcc `gsl-config --cflags` -x c - -o conf.out > conf.stdout 2> conf.stderr
then
 rm -f conf.*
 echo "YES"
else

is pulling my /opt/local/bin/no_default_gcc/gcc

Removing that allows it to build - not a show stopper.

comment:9 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

done r 130436

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile added

comment:10 Changed 10 years ago by Schamschula (Marius Schamschula)

Oops. Just noticed that this one had been closed. I'll open a new ticket.

Last edited 10 years ago by Schamschula (Marius Schamschula) (previous) (diff)
Note: See TracTickets for help on using tickets.