./textproc/py-X, Package for the creation of PostScript and PDF files

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.13, Package name: py36-X-0.13, Maintainer: pkgsrc-users

PyX is a Python package for the creation of PostScript and PDF files. It
combines an abstraction of the PostScript drawing model with a TeX/LaTeX
interface. Complex tasks like 2d and 3d plots in publication-ready quality
are built out of these primitives.

Features
* PostScript and PDF output for device independent, freely scalable figures
* seamless TeX/LaTeX integration
* full access to PostScript features like paths, linestyles, fill patterns,
transformations, clipping, bitmap inclusion, etc.
* advanced geometric operations on paths like intersections, transformations,
splitting, smoothing, etc.
* sophisticated graph generation: modular design, pluggable axes, axes
partitioning based on rational number arithmetics, flexible graph styles, etc.


Required to run:
[print/kpathsea] [print/dvipsk] [print/tex-tex] [print/tex-latex-bin] [lang/python36]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 1c5d100250358897ca8c6f2237a35f1d69b1ae6d
RMD160: 0cbd1da09ae9670bb8b42a59a103d0c8a53175c3
Filesize: 1208.088 KB

Version history: (Expand)


CVS history: (Expand)


   2015-11-04 03:00:17 by Alistair G. Crooks | Files touched by this commit (797)
Log message:
Add SHA512 digests for distfiles for textproc category

Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-04-14 01:12:44 by Blue Rats | Files touched by this commit (94)
Log message:
Removing python26. EOL'd quite some ago and discussed a couple times on
tech-pkg@ and pkgsrc-users@.
   2014-01-20 13:37:04 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
Update to 0.13:

0.13 (2013/12/20):
  - Requires at least Python 3.2
  - The gallery has been moved to https://sourceforge.net/p/pyx/gallery/, which
    is a wiki. Contributions are welcome.
  - filelocator module:
    - cygwin LaTeX with windows python patch (thanks to Sybren A. Stüvel)
  - graph styles:
    - fix numerical instability of line clippings
    - remove errorbar range checks, as they fail on a reverse axis, which is
      correct (reported by Néstor Espinoza)
  - path module:
    - fix internal name clash when generating a normpath from an empty path
      (reported by Brendon Higgins)
  - normpath module:
    - several stability and precision improvements and bugfixes
    - cusp removal at normpath construction (and getting rid of invalid
      results for curvature, rotation, tangent, and trafo methods)
    - remove curveradius methods as they are invalid for straigt paths
  - deco module:
    - apply text trafos to each character in curvedtext (reported by Hans L)
    - properly apply all textattrs in curvedtext (for example colors or scalings)
  - canvas module:
    - layer method takes layer names above or below (instead of an instance),
      also reorders layer accordingly when layer is already existing
    - remove the before and after arguments of insert
    - handle trafo and clip separately in constructor and write methods
    - allow for one clipping instance only
    - optimize graphics state stack usage
  - dvi/dvifile module:
    - change special handling for transformations and colors to use subcanvases
    - apply transformations to markers
  - trafos and styles are no longer canvasitems
  - style module:
    - fillrules are now fillstyles and handled within the PS/PDF context
  - text module:
    - new texenc setting
    - major code reorganization and documentation revision (now using autodoc)
  - font/afmfile module:
    - parse more AFM files, also some with common inconsistencies (thanks to
      Markus Schwienbacher for reporting these issues)
  - color module:
    - functiongradient has been split into functiongradient_rgb, etc. and
      the function parameters are now passed directly
    - lineargradient has been removed for factory functions lineargradient_rgb, etc.
      that provide linear gradients between colors of a particular color model
  - bitmap module:
    - fix jpegimage for progressive jpeg files (thanks to Michael Schindler)
  - pyxrc:
    - use APPDATA environment variable to locate the pyxrc on windows
    - tex, latex, kpsewhich, and locate executables are now customizable in the pyxrc
  - on the package level:
    - add pyxinfo to enable output of some useful information
  - manual:
    - PyX theme and various sphinx tweaks

0.12.1 (2012/10/26):
  - graph styles:
    - fix drawing and clipping of gradient style

0.12 (2012/10/17):
  - canvas module:
    - insert method now returns canvas wrapping item if attrs are given
    - insert method allows specification of position where item is inserted
      by before and after arguments
    - new layer method allows creation of separated drawing layers for
      grouping of drawing operations
    - writeXXXfile methods now use "page_" and "write_" \ 
prefixes for passing
      the keyword arguments to the page constructor and write method
    - pipeGS now returns a file handle instead of writing to a file or to stdout
    - the new method writeGSfile restores the previous pipeGS functionality
    - support rendering as png for use in IPython notebooks (as suggested by
      Nikolas Tezak)
  - document module:
    - writeXXXfile methods now support writing to stdout when filename is set
      to "-"
  - type 1 font modules:
    - allow font slanting for T1builtinfont instances
    - improve stripped font compatibility
    - remove UniqueID lookup from embedded fonts in PostScript output (fixes
      missing glyph issue with dvips and certain fonts)
    - allow Type1 font usage without TeX and without AFM font metric
    - add support for pfm font matrices
  - epsfile module:
    - fix race condition while generating bitmap for PDF inclusion
    - fix file opening for bbox reading when using filelocator (reported by
      Michael J Gruber)
  - filelocator module:
    - fix text mode line ending issue for MS Windows
  - text module:
    - fix subprocess call on MS Windows (closefds not functional not also
      not required at all)
    - fix pyxgraphics functionality because at least some versions of graphics
      and friends seem to expect the file extension .def for the driver files
      (thanks to Michael J Gruber)
  - deco module:
    - decorator to put text along a path; based on a patch by Michael J Gruber
  - dvifile module:
    - fix for MS Windows: open virtual font files in binary mode
  - graph modules:
    - graphs:
      - uses new canvas layers to stack graph components (fixing bug #1518414,
        reported by Dominic Ford)
      - add a flipped option to graphxy to exchange x and y coordinates
      - add a 1d graph "graphx" (use case: convert a value to a color)
      - add hiddenaxes layer to the 3d graph
      - add linkedaxes for the xy-plane in 3d like in 2d (works now properly due
        to the hiddenaxes feature)
    - graph styles:
      - add density style
      - add gradient style to convert a value to a color using a 1d graph
      - add a usenames dictionary to the pos style (like rangepos had it already)
    - graph data:
      - add a join data provide which adds concatenates several data sources
    - axis module:
      - divisor was not properly taken into account in tick handling (axis
        range extension and range rating)
  - added the metapost module:
    - create smooth paths from a series of points
  - bitmap module:
    - new fundamental constructor based on arbitrary affine transformations
    - add ASCIIHexDecode end marker
  - color module:
    - add rgbgradient and cmykgradient to force color space
  - mesh module:
    - add ASCIIHexDecode end marker
  - sourceforge.net:
    - upgrade PyX project page to the Allura platform

0.11.1 (2011/05/20):
  - canvas:
    - fix pipeGS (adding support for writing using pycompat.popen)
  - deco module:
    - arrow decorator: proper sign of constriction length for positioning
      reversed arrows
  - dvi/texfont:
    - fix exception type
    - increase designsize deviation to 4 (needs some further investigation)
  - contrib files:
    - fixes due to the dvi and font restructuring
  - setup.py:
    - fix build process for extension modules
    - fix download url to allow for easy_install (hopefully)
  - manual:
    - converted to sphinx

0.11 (2011/05/15):
  - font and dvi modules:
    - major reorganization
    - TeX mapping files are a property of the writer now
      By that the pdfwriter now uses pdftex.map instead of psfonts.map
      (It's also possible to pass a fontmap to a texrunners text method to use
      different mappings within a single output file)
    - support for font matrices (afm) for Type1 fonts
      (using fonts without a metrics is still supported, but properly issues
      a warning now)
    - interface for basic TeX-less text output
    - new PS and PDF writer options: strip_fonts, text_as_path, mesh_as_bitmap,
      mesh_as_bitmap_resolution
    - fix for commented out UniqueID
    - fix rounding of font sizes
    - fix scaling of VF position increments
  - new filelocator module
  - graph modules:
    - bar style on graphxyz (single datasets only)
    - graphxyz:
      - fix position of z4 axis
      - set correct errorname for z axis (thanks to Axel Freyn)
      - fix wrong y value usage instead of z value in pos methods
    - fix unused color range settings in surface style (thanks to Michael J Gruber)
    - fallbackrange for axes with vanishing range
    - dokeyitem method (to be called with a plotitem) to alter the key order
    - doplot() was renamed to doplotitem(), dodata() was renamed to doplot()
      to have similar naming conventions like for the graph key
    - axis module: do not divide by None for data.min and/or data.max being None \ 
(see patch #2833369)
    - axis painter:
      - properly rotate axis titles when ticks are not othorgonal
        to the axis (reported by Christian Delfosse)
      - correct namedirection in bar axis painter (reported by rhunger, bug #2028032)
    - graph.style.arrow: decorator is an parameter of the constructor now
      (thanks to Axel Freyn)
    - remove ticks with unset ticklevel and labellevel to prevent rating failures
      (thanks to Brendon Higgins)
  - canvas and document modules:
    - auto-guess output filename from the script filename
    - add ciecolor flag and input type to the pipeGS method of canvas
  - pyxrc:
    - new config options for psfontmaps and pdffontmaps
    - new config option for formatting of Python warnings
    - new config section for new filelocator module
  - text module:
    - fix two bugs in the read pipe of the texrunner (thanks to
      Laurence Tratt and Eric Faurot)
    - fix "<" token handling in mapping file parser (thanks to \ 
Matthew West)
    - fix start message parse error in MiKTeX (thanks to Wojciech Jaskowski)
    - fix rigid aux file checking (thanks to Clayton E. Myers)
    - use subprocess module if available
    - proper error messages when TeX is stopped due to unrecoverable error
  - style module:
    - implement style.fillrule
  - deco module:
    - added an explicit hatch pattern as an alternative for real postscript patterns
    - arrow decorator: take into account constriction length when arrow pos < 1
  - bitmap module:
    - add support for transparent bitmaps (in postscript stencil masking only)
  - path and normpath modules:
    - remove incorrect zero length line in PDF output for each first moveto
      path element (thanks to Michael J Gruber)
    - raise correct normpath exception (thanks to Axel Freyn)
  - epsfile module:
    - an ugly way to import EPS in PDF using a bitmap (requires PIL)

0.10 (2007/10/03):
  - graph modules:
    - graph module:
      - graphxyz for 3d graphs with parallel and central projection
      - doplot method (to be called with a plotitem) to alter the plotitem order etc.
    - graph styles:
      - new surface style for 3d graphs (colored surfaces are functional
        (and useful!) for 2d graphs as well)
      - new grid style for 3d graphs
      - new impulses style
      - optional textdx/textdy columns to the text style added
      - arrowpos parameter to the arrow style added
      - bugfix: fromvalue axis range adjustment in histogram style
      - bugfix: axis range adjustment in range style
    - axis module:
      - painter: don't insert axis title twice (thanks to Tim Gray for reporting \ 
this problem)
      - parter: extend the logarithmic parter to calculate automatic partitions \ 
for huge ranges
        (TODO: documentation of the new autoexponent parameter) (suggested by \ 
Dominic Ford)
      - fix: range rating was not taken into account due in the 0.9 release
    - data module:
      - list class was renamed to points; deprecation warning added
        for instance creation, but inheritance from list failes
      - new values class
  - new mesh module:
    - internal helper module for efficient handling of triangular colored meshs
  - color module:
    - renamed: palette->gradient, functionpalette->functiongradient, \ 
linearpalette->lineargradient
    - new class palette representing a discrete ordered list of colors
    - support transparency for filling/stroking in pdf separately
    - transparency support for postscript as available by means of a proprietary
      ghostscript extension (for ps2pdf)
    - renamed method: tostring8bit -> to8bitstring (bug #2932888)
  - attr module:
    - add multichangeattr to perform a select on different changeable attributes
      depending on the selects total number
  - font modules:
    - t1font:
      - add missing glyph traversal in t1seacs updatepath
  - normpath module:
    - support zero-length normsubpaths
  - canvas module:
    - don't change order of attrs passed to canvas constructor in place
  - added __truediv__ methods according to PEP 238
   2012-10-25 08:57:09 by Aleksej Saushev | Files touched by this commit (587)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
   2012-10-04 02:22:01 by Aleksey Cheusov | Files touched by this commit (34)
Log message:
Bump revision for packages with changed CONFLICTS (PYTHON_SELF_CONFLICT)
   2012-10-04 01:40:39 by Aleksey Cheusov | Files touched by this commit (35)
Log message:
CONFLICTS between python modules
   2012-04-08 22:22:01 by Thomas Klausner | Files touched by this commit (148)
Log message:
All supported python versions in pkgsrc support eggs, so remove
${PLIST.eggfile} from PLISTs and support code from lang/python.
   2012-02-06 12:06:42 by OBATA Akio | Files touched by this commit (1)
Log message:
no compiler is required.