Commit graph

5756 commits

Author SHA1 Message Date
fhajny
33d024144f Import p5-Lingua-Identify-0.50 as textproc/p5-Lingua-Identify.
Lingua::Identify identifies the language a given string or file is written in.
2012-02-24 09:40:52 +00:00
fhajny
9ac597c415 Import p5-Text-Ngram-0.14 as textproc/p5-Text-Ngram.
n-Gram analysis is a field in textual analysis which uses sliding window
character sequences in order to aid topic analysis, language determination
and so on. The n-gram spectrum of a document can be used to compare and
filter documents in multiple languages, prepare word prediction networks,
and perform spelling correction.
2012-02-24 09:40:06 +00:00
fhajny
e830428b4e Import p5-Text-Affixes-0.07 as textproc/p5-Text-Affixes.
This module exports a method that is useful for factory classes.
2012-02-24 09:39:43 +00:00
wiz
72b90e739a Bump version for unintended commit of changes. 2012-02-22 15:33:16 +00:00
wiz
10b42eef42 Mention putty-devel successor. 2012-02-22 15:31:34 +00:00
drochner
8ffca39e4a build the library thread-aware, i.e. use <pthread.h> but do not
link against libpthread. (It doesn't create threads, just uses
locking.) This seems to be wanted by some applications, eg vlc
issues a warning on startup (with no visible consequences afaict,
but anyway).
I hope this works for other OSes too. If not, we should probably
add support for these cases to mk/pthread.bl3.mk.
bump PKGREV
2012-02-22 11:10:17 +00:00
sbd
513531ac05 Files listed in CHECK_FILES_SKIP should not be in the PLIST.
Bump PKGREVISION.
2012-02-21 02:26:02 +00:00
hans
eed039b965 Fix build on SunOS. 2012-02-16 19:54:38 +00:00
hans
e400f55482 Don't look for glib2 in the default paths to avoid finding the wrong one. 2012-02-16 19:53:53 +00:00
hans
20cbca2ce7 Make sure the correct install tool is used. 2012-02-16 19:51:23 +00:00
hans
f91a438f92 Fix build on SunOS. 2012-02-16 19:49:04 +00:00
hans
2871932e35 Uses pod2man. 2012-02-16 19:48:22 +00:00
gls
abfb41fe96 Update textproc/dblatex to 0.3.2.
pkgsrc changes:
- set LICENSE

upstream changes:

Release 0.3.2
-------------

Some new features or improvements.

Add the HTML table support. See HTML Tables for more details.

Add the parameters:

- default.table.rules: parameter related to the new HTML table
support.

Improve the setup.py script in order to be able to build and
distribute a dblatex egg package. See PyPI Install for more details.

Full support of the --quiet option.

Add the ability to pass a user defined index style file to dblatex through
the option --indexstyle.

Make dblatex working in paranoid mode in order to function correctly with
the TexLive 2010 distribution (output files only in the current directory).

Some bug fixes.

Release 0.3.1
-------------

Mainly a bug fix release.

Improve the table rendering by adding the support to the tabularx
environment and improving the automatic column width feature.
See Automatic Width and Table LaTeX Styles

Add the parameters:

- linenumbering.scope.

- linenumbering.default.

- linenumbering.everyNth.

- table.default.tabstyle.

A number of bug fixes.
2012-02-15 22:06:02 +00:00
gdt
c5079ecb29 Fix HOMEPAGE, COMMENT. 2012-02-14 23:11:47 +00:00
gdt
4c1177f271 +libunistring 2012-02-14 23:07:45 +00:00
gdt
b2625765a2 Import libunistring-0.9.3 as textproc/libunistring.
libunistring provides a library that implements Unicode strings (in
three flavours: UTF-8 strings, UTF-16 strings, UTF-32 strings),
together with functions for Unicode charactets (character names,
classifications, properties) and functions for string processing
(formatted output, width, word breaks, line breaks, normalization,
case folding, regular expressions).
2012-02-14 23:06:50 +00:00
obache
c2cda38ca2 Update uni2ascii to 4.18.
per maintainer's update request by PR 45971.

2011-05-14 4.18
Fixed bug in uni2ascii in which in certain cases the subsitution
      count was too high, fixing Debian bug #626268.
Patched to handle situation in NetBSD which lacks getline.
Clarified semantics of pure option as converting characters
in ascii range other than space and newline.
Fixed bug in which this was not implemented correctly for UTF8 types.

2011-02-16 4.17
Added to uni2ascii the following conversions to nearest ascii equivalent:
       U+2022 bullet to 'o'
       U+00B7 middle dot to period
       U+0085 next line  to newline
       U+2028 line separator to newline

2010-12-12 4.16
Ascii2uni Q format now works again.
Added U+2033 to characters converted to nearest ascii equivalent by uni2ascii B option.

2010-08-29 4.15
Renamed endian.h u2a_endian.h to avoid conflict with external endian.h.
Removed getline() from ascii2uni.c since it is standard as of POSIX2008.
2012-02-14 12:04:22 +00:00
gls
87ed81e549 - Simplify /usr/bin/env handling.
- Add an option to enable source highlighting, dragging in
textproc/source-highlight. Off by default.
2012-02-13 22:38:06 +00:00
wiz
59dff9e964 hunspell shlib name change -> recursive bump 2012-02-13 14:46:11 +00:00
wiz
807ec11ca3 Update to 1.3.2:
2011-02-02: Hunspell 1.3.2 release:
  - fix library versioning
  - improved manual

2011-02-02: Hunspell 1.3.1 release:
  - bug fixes

2011-01-26: Hunspell 1.2.15/1.3 release:
  - new features: MAXDIFF, ONLYMAXDIFF, MAXCPDSUGS, FORBIDWARN, see manual
  - bug fixes

2011-01-21:
  - new features: FORCEUCASE and WARN, see manual
  - new options: -r to filter potential mistakes (rare words
    signed by flag WARN in the dictionary)
  - limited and optimized suggestions

2011-01-06: Hunspell 1.2.14 release:
  - bug fix
2011-01-03: Hunspell 1.2.13 release:
  - bug fixes
  - improved compound handling and
    other improvements supported by OpenTaal Foundation, Netherlands
2010-07-15: Hunspell 1.2.12 release
2010-05-06: Hunspell 1.2.11 release:
  - Maintenance release bug fixes
2010-04-30: Hunspell 1.2.10 release:
  - Maintenance release bug fixes
2010-03-03: Hunspell 1.2.9 release:
  - Maintenance release bug fixes and warnings
  - MAP support for composed characters or character sequences
2012-02-13 14:42:59 +00:00
hiramatsu
df38a358a3 Update p5-XML-TreePP to 0.41.
Changes from previous:
----------------------
2010/10/31 (0.41)
    * require_xml_decl option added. thanks to nicomen
      https://rt.cpan.org/Ticket/Display.html?id=42441
    * empty element when #text node is undef
      http://www.kawa.net/works/perl/treepp/treepp.html#com-2009-07-23T16:38:09Z

2009/11/21 (0.40)
    * pod typo fix: (thanks to jkutej)
      http://annocpan.org/~KAWASAKI/XML-TreePP-0.39/lib/XML/TreePP.pm#note_2382
2012-02-12 14:25:00 +00:00
drochner
e64ebb163a +itstool,yelp-xsl 2012-02-10 18:00:13 +00:00
drochner
c543035f68 add yelp-xsl-3.3.2, XSL stylesheets for Yelp help browser, from
Patrick Welche per PR pkg/45797
2012-02-10 17:57:37 +00:00
drochner
f66e9684d2 add itstool-1.1.2, from Patrick Welche per PR pkg/45794
ITS Tool allows you to translate XML documents with PO files
2012-02-10 17:55:15 +00:00
tron
11ae3f20c4 Fix "configure" script instead of always disabling the use of the
"-Bsymbolic" linker option.

Patch provided by Matthias Drochner in private e-mail.
2012-02-10 15:26:16 +00:00
tron
8ffb1c7723 Fix build under NetBSD 5.1 and Mac OS X.
Why the "configure" script insists on being invoked with the argument
"--disable-Bsymbolic" after it has correctly detected that the linker
doesn't support this option is a mystery to me. You would think that the
whole purpose of the test is to disable this option if it doesn't work.
2012-02-10 08:50:14 +00:00
drochner
71b70af240 update to 0.6.4
changes: minor cleanup and fixes
2012-02-09 20:29:20 +00:00
jnemeth
094a89c92b add and enable ruby-yajl 2012-02-09 08:35:53 +00:00
obache
6a42aa9d98 Update py-lxml to 2.3.2.
2.3.2 (2011-11-11)
==================

Features added
--------------

* ``lxml.objectify.deannotate()`` has a new boolean option
  ``cleanup_namespaces`` to remove the objectify namespace
  declarations (and generally clean up the namespace declarations)
  after removing the type annotations.

* ``lxml.objectify`` gained its own ``SubElement()`` function as a
  copy of ``etree.SubElement`` to avoid an otherwise redundant import
  of ``lxml.etree`` on the user side.

Bugs fixed
----------

* Fixed the "descendant" bug in cssselect a second time (after a first
  fix in lxml 2.3.1).  The previous change resulted in a serious
  performance regression for the XPath based evaluation of the
  translated expression.  Note that this breaks the usage of some of
  the generated XPath expressions as XSLT location paths that
  previously worked in 2.3.1.

* Fixed parsing of some selectors in cssselect. Whitespace after combinators
  ">", "+" and "~" is now correctly ignored. Previously is was parsed as
  a descendant combinator. For example, "div> .foo" was parsed the same as
  "div>* .foo" instead of "div>.foo".

Other changes
--------------


2.3.1 (2011-09-25)
==================

Features added
--------------

* New option ``kill_tags`` in ``lxml.html.clean`` to remove specific
  tags and their content (i.e. their whole subtree).

* ``pi.get()`` and ``pi.attrib`` on processing instructions to parse
  pseudo-attributes from the text content of processing instructions.

* ``lxml.get_include()`` returns a list of include paths that can be
  used to compile external C code against lxml.etree.  This is
  specifically required for statically linked lxml builds when code
  needs to compile against the exact same header file versions as lxml
  itself.

* ``Resolver.resolve_file()`` takes an additional option
  ``close_file`` that configures if the file(-like) object will be
  closed after reading or not.  By default, the file will be closed,
  as the user is not expected to keep a reference to it.

Bugs fixed
----------

* HTML cleaning didn't remove 'data:' links.

* The html5lib parser integration now uses the 'official'
  implementation in html5lib itself, which makes it work with newer
  releases of the library.

* In ``lxml.sax``, ``endElementNS()`` could incorrectly reject a plain
  tag name when the corresponding start event inferred the same plain
  tag name to be in the default namespace.

* When an open file-like object is passed into ``parse()`` or
  ``iterparse()``, the parser will no longer close it after use.  This
  reverts a change in lxml 2.3 where all files would be closed.  It is
  the users responsibility to properly close the file(-like) object,
  also in error cases.

* Assertion error in lxml.html.cleaner when discarding top-level elements.

* In lxml.cssselect, use the xpath 'A//B' (short for
  'A/descendant-or-self::node()/B') instead of 'A/descendant::B' for
  the css descendant selector ('A B').  This makes a few edge cases
  like ``"div *:last-child"`` consistent with the selector behavior in
  WebKit and Firefox, and makes more css expressions valid location
  paths (for use in xsl:template match).

* In lxml.html, non-selected ``<option>`` tags no longer show up in the
  collected form values.

* Adding/removing ``<option>`` values to/from a multiple select form
  field properly selects them and unselects them.

Other changes
--------------

* Static builds can specify the download directory with the
  ``--download-dir`` option.


2.3 (2011-02-06)
================

Features added
--------------

* When looking for children, ``lxml.objectify`` takes '{}tag' as
  meaning an empty namespace, as opposed to the parent namespace.

Bugs fixed
----------

* When finished reading from a file-like object, the parser
  immediately calls its ``.close()`` method.

* When finished parsing, ``iterparse()`` immediately closes the input
  file.

* Work-around for libxml2 bug that can leave the HTML parser in a
  non-functional state after parsing a severly broken document (fixed
  in libxml2 2.7.8).

* ``marque`` tag in HTML cleanup code is correctly named ``marquee``.

Other changes
--------------

* Some public functions in the Cython-level C-API have more explicit
  return types.


2.3beta1 (2010-09-06)
=====================

Features added
--------------

Bugs fixed
----------

* Crash in newer libxml2 versions when moving elements between
  documents that had attributes on replaced XInclude nodes.

* ``XMLID()`` function was missing the optional ``parser`` and
  ``base_url`` parameters.

* Searching for wildcard tags in ``iterparse()`` was broken in Py3.

* ``lxml.html.open_in_browser()`` didn't work in Python 3 due to the
  use of os.tempnam.  It now takes an optional 'encoding' parameter.

Other changes
--------------


2.3alpha2 (2010-07-24)
======================

Features added
--------------

Bugs fixed
----------

* Crash in XSLT when generating text-only result documents with a
  stylesheet created in a different thread.

Other changes
--------------

* ``repr()`` of Element objects shows the hex ID with leading 0x
  (following ElementTree 1.3).


2.3alpha1 (2010-06-19)
======================

Features added
--------------

* Keyword argument ``namespaces`` in ``lxml.cssselect.CSSSelector()``
  to pass a prefix-to-namespace mapping for the selector.

* New function ``lxml.etree.register_namespace(prefix, uri)`` that
  globally registers a namespace prefix for a namespace that newly
  created Elements in that namespace will use automatically.  Follows
  ElementTree 1.3.

* Support 'unicode' string name as encoding parameter in
  ``tostring()``, following ElementTree 1.3.

* Support 'c14n' serialisation method in ``ElementTree.write()`` and
  ``tostring()``, following ElementTree 1.3.

* The ElementPath expression syntax (``el.find*()``) was extended to
  match the upcoming ElementTree 1.3 that will ship in the standard
  library of Python 3.2/2.7.  This includes extended support for
  predicates as well as namespace prefixes (as known from XPath).

* During regular XPath evaluation, various ESXLT functions are
  available within their namespace when using libxslt 1.1.26 or later.

* Support passing a readily configured logger instance into
  ``PyErrorLog``, instead of a logger name.

* On serialisation, the new ``doctype`` parameter can be used to
  override the DOCTYPE (internal subset) of the document.

* New parameter ``output_parent`` to ``XSLTExtension.apply_templates()``
  to append the resulting content directly to an output element.

* ``XSLTExtension.process_children()`` to process the content of the
  XSLT extension element itself.

* ISO-Schematron support based on the de-facto Schematron reference
  'skeleton implementation'.

* XSLT objects now take XPath object as ``__call__`` stylesheet
  parameters.

* Enable path caching in ElementPath (``el.find*()``) to avoid parsing
  overhead.

* Setting the value of a namespaced attribute always uses a prefixed
  namespace instead of the default namespace even if both declare the
  same namespace URI.  This avoids serialisation problems when an
  attribute from a default namespace is set on an element from a
  different namespace.

* XSLT extension elements: support for XSLT context nodes other than
  elements: document root, comments, processing instructions.

* Support for strings (in addition to Elements) in node-sets returned
  by extension functions.

* Forms that lack an ``action`` attribute default to the base URL of
  the document on submit.

* XPath attribute result strings have an ``attrname`` property.

* Namespace URIs get validated against RFC 3986 at the API level
  (required by the XML namespace specification).

* Target parsers show their target object in the ``.target`` property
  (compatible with ElementTree).

Bugs fixed
----------

* API is hardened against invalid proxy instances to prevent crashes
  due to incorrectly instantiated Element instances.

* Prevent crash when instantiating ``CommentBase`` and friends.

* Export ElementTree compatible XML parser class as
  ``XMLTreeBuilder``, as it is called in ET 1.2.

* ObjectifiedDataElements in lxml.objectify were not hashable.  They
  now use the hash value of the underlying Python value (string,
  number, etc.) to which they compare equal.

* Parsing broken fragments in lxml.html could fail if the fragment
  contained an orphaned closing '</div>' tag.

* Using XSLT extension elements around the root of the output document
  crashed.

* ``lxml.cssselect`` did not distinguish between ``x[attr="val"]`` and
  ``x [attr="val"]`` (with a space).  The latter now matches the
  attribute independent of the element.

* Rewriting multiple links inside of HTML text content could end up
  replacing unrelated content as replacements could impact the
  reported position of subsequent matches.  Modifications are now
  simplified by letting the ``iterlinks()`` generator in ``lxml.html``
  return links in reversed order if they appear inside the same text
  node.  Thus, replacements and link-internal modifications no longer
  change the position of links reported afterwards.

* The ``.value`` attribute of ``textarea`` elements in lxml.html did
  not represent the complete raw value (including child tags etc.). It
  now serialises the complete content on read and replaces the
  complete content by a string on write.

* Target parser didn't call ``.close()`` on the target object if
  parsing failed.  Now it is guaranteed that ``.close()`` will be
  called after parsing, regardless of the outcome.

Other changes
-------------

* Official support for Python 3.1.2 and later.

* Static MS Windows builds can now download their dependencies
  themselves.

* ``Element.attrib`` no longer uses a cyclic reference back to its
  Element object.  It therefore no longer requires the garbage
  collector to clean up.

* Static builds include libiconv, in addition to libxml2 and libxslt.


2.2.8 (2010-09-02)
==================

Bugs fixed
----------

* Crash in newer libxml2 versions when moving elements between
  documents that had attributes on replaced XInclude nodes.

* Import fix for urljoin in Python 3.1+.


2.2.7 (2010-07-24)
==================

Bugs fixed
----------

* Crash in XSLT when generating text-only result documents with a
  stylesheet created in a different thread.
2012-02-07 11:54:41 +00:00
obache
a642aef22f No compiler is requilred. 2012-02-07 11:25:46 +00:00
obache
5ad8da792d distutils pkg, register egg-info.
Bump PKGREVISION.
2012-02-07 11:21:51 +00:00
obache
bd339117ab distutils pkg, register egg-info.
Bump PKGREVISION.
2012-02-07 11:05:00 +00:00
sbd
b25c6345de Add csh scripts to REPLACE_CSH and add USE_TOOLS+=csh:run
Bump PKGREVISION
2012-02-07 06:36:35 +00:00
adam
77402459b8 Changes 1.16.39: bug fixes 2012-02-06 17:43:18 +00:00
fhajny
37ef984088 Import ruby18-yajl-ruby-1.1.0 as textproc/ruby-yajl.
This gem is a C binding to the excellent YAJL JSON parsing and generation
library.
2012-02-06 14:27:30 +00:00
wiz
fb1a8e5414 Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:41:29 +00:00
obache
f5c3cd3b5a distutils pkg, register egg-info.
Bump PKGREVISION.
2012-02-06 12:39:48 +00:00
obache
71007f0e24 Simplify PLIST handling with using python/distutils.mk
(but for this package, egg file will be installed even with python24)
2012-02-06 11:47:25 +00:00
obache
f8265aeb96 No compiler is requilred. 2012-02-06 11:14:13 +00:00
obache
9fffba1a44 no compiler is required. 2012-02-06 11:06:42 +00:00
obache
1b39df4898 * LICENSE=gnu-gpl-v2 # or later
* sort Makefile paragraphs with usual order.
* distutils pkg, switch to use distutils.mk, then register egg-info.

Bump PKGREVISION.
2012-02-06 11:04:46 +00:00
obache
9d824cf5fb setting of PYDISTUTILSPKG=yes is not required here for egg pkg. 2012-02-05 13:23:54 +00:00
obache
31edef4d8f distutils pkg, use python/distutils.mk, then register egg-info.
Bump PKGREVISION.
2012-02-05 13:19:32 +00:00
obache
b06123c59a No compiler is requilred. 2012-02-04 13:10:16 +00:00
obache
394562948a * PYDISTUTILSPKG=yes is not required here for using distutils.mk.
* no compiler is required.
2012-02-04 13:07:50 +00:00
obache
e928b8f47a distutils pkg, so switch to use python/distutils, then register egg-info.
Bump PKGREVISION.
2012-02-04 13:02:41 +00:00
obache
f9aa6f5e75 setting of PYDISTUTILSPKG=yes is not required here for egg pkg. 2012-02-04 12:55:45 +00:00
obache
8745cdd5e7 No compiler is requilred. 2012-02-04 12:45:36 +00:00
obache
e281c448c4 No compiler is requilred. 2012-02-04 12:35:12 +00:00
obache
a49b44295b * No need to buildlink with obsolated py-xml, add py-expat to DEPENDS instead.
* distutils pkg, using python/distutils.mk and register egg-info.

Bump PKGREVISION.
2012-02-04 12:24:53 +00:00