Commit graph

14 commits

Author SHA1 Message Date
asau
1f96787c11 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-25 06:55:37 +00:00
obache
60d04e9f1b Bump PKGREVISION from libyaml-0.1.4 ABI change (shlib major bump). 2012-09-22 11:43:28 +00:00
wiz
6c2c61b5d5 Update to 3.10:
3.10 (2011-05-30)
-----------------

* Do not try to build LibYAML bindings on platforms other than CPython
  (Thank to olt(at)bogosoft(dot)com).
* Clear cyclic references in the parser and the emitter
  (Thank to kristjan(at)ccpgames(dot)com).
* Dropped support for Python 2.3 and 2.4.

3.09 (2009-08-31)
-----------------

* Fixed an obscure scanner error not reported when there is
  no line break at the end of the stream (Thank to Ingy).
* Fixed use of uninitialized memory when emitting anchors with
  LibYAML bindings (Thank to cegner(at)yahoo-inc(dot)com).
* Fixed emitting incorrect BOM characters for UTF-16 (Thank to
  Valentin Nechayev)
* Fixed the emitter for folded scalars not respecting the preferred
  line width (Thank to Ingy).
* Fixed a subtle ordering issue with emitting '%TAG' directives
  (Thank to Andrey Somov).
* Fixed performance regression with LibYAML bindings.
2012-08-12 16:09:30 +00:00
wiz
c595076396 All supported python versions in pkgsrc support eggs, so remove
${PLIST.eggfile} from PLISTs and support code from lang/python.
2012-04-08 20:21:41 +00:00
joerg
9a0666357e Tag the 28 locations that result in a Python 3.1 package as supporting so.
Remove it from the default list for the rest.
2011-12-03 00:02:14 +00:00
obache
8fc4f45e82 * Convert PYDISTUTILSPKG to register egg-info.
Bump PKGREVISION.
2011-10-16 07:27:49 +00:00
wiz
b260457da3 Set LICENSE to mit. 2009-08-09 09:37:00 +00:00
wiz
665e0458d2 Update to 3.08, depend on libyaml.
3.08 (2008-12-31)
-----------------

* Python 3 support (Thank to Erick Tryzelaar).
* Use Cython instead of Pyrex to build LibYAML bindings.
* Refactored support for unicode and byte input/output streams.

3.07 (2008-12-29)
-----------------

* The emitter learned to use an optional indentation indicator
  for block scalar; thus scalars with leading whitespaces
  could now be represented in a literal or folded style.
* The test suite is now included in the source distribution.
  To run the tests, type 'python setup.py test'.
* Refactored the test suite: dropped unittest in favor of
  a custom test appliance.
* Fixed the path resolver in CDumper.
* Forced an explicit document end indicator when there is
  a possibility of parsing ambiguity.
* More setup.py improvements: the package should be usable
  when any combination of setuptools, Pyrex and LibYAML
  is installed.
* Windows binary packages are built against LibYAML-0.1.2.
* Minor typos and corrections (Thank to Ingy dot Net
  and Andrey Somov).


3.06 (2008-10-03)
-----------------

* setup.py checks whether LibYAML is installed and if so, builds
  and installs LibYAML bindings.  To force or disable installation
  of LibYAML bindings, use '--with-libyaml' or '--without-libyaml'
  respectively.
* The source distribution includes compiled Pyrex sources so
  building LibYAML bindings no longer requires Pyrex installed.
* 'yaml.load()' raises an exception if the input stream contains
  more than one YAML document.
* Fixed exceptions produced by LibYAML bindings.
* Fixed a dot '.' character being recognized as !!float.
* Fixed Python 2.3 compatibility issue in constructing !!timestamp values.
* Windows binary packages are built against the LibYAML stable branch.
* Added attributes 'yaml.__version__' and  'yaml.__with_libyaml__'.
2009-08-09 09:33:11 +00:00
joerg
73ae0afd90 Remove @dirrm entries from PLISTs 2009-06-14 18:17:11 +00:00
joerg
b9d9951b4c Supports DESTDIR 2008-05-08 18:32:19 +00:00
joerg
a77e7015fe Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
2008-04-25 20:39:06 +00:00
wiz
2aa9780f23 Update to 3.05:
3.05 (2007-05-13)

* Allow for immutable subclasses of YAMLObject. Fixed #53.
* Make the encoding of the unicode->str conversion explicit; fixed #52.
* Fixed a problem when the DOCUMENT-END event is not emitted until
  the beginning of the next document is available. Fixed #51. Thanks
  edward(at)sweetbytes.net for the bug report.
* Improve output of float values. Fixed #49.
* Fix the bug when the path in add_path_resolver contains boolean
  values. Fixed #43 (thanks to jstroud(at)mbi.ucla.edu for reporting
  and pointing to the cause).
* Use the types module instead of constructing type objects by
  hand. Fixed #41. Thanks to v.haisman(at)sh.cvut.cz for the patch.
* Fix loss of microsecond precision in datetime.datetime constructor
  (fix #30). Thanks to edemaine(at)mit.edu for the bug report and the patch.
* Fixed loading an empty YAML stream.

3.04 (2006-08-20)

* Include experimental LibYAML bindings.
* Fully support recursive structures (close #5).
* Sort dictionary keys (close #23). Mapping node values are now
  represented as lists of pairs instead of dictionaries. Do not
  check for duplicate mapping keys as it didn't work correctly
  anyway.
* Fix invalid output of single-quoted scalars in cases when a single
  quote is not escaped when preceeded by whitespaces or line breaks
  (close #17).
* To make porting easier, rewrite Parser not using generators.
* Fix handling of unexpected block mapping values, like

: foo

* Fix a bug in Representer.represent_object: copy_reg.dispatch_table
  was not correctly handled.
* Fix a bug when a block scalar is incorrectly emitted in the simple
  key context.
* Hold references to the objects being represented (close #22).
* Make Representer not try to guess !!pairs when a list is represented.
* Fix timestamp constructing and representing (close #25).
* Fix the 'N' plain scalar being incorrectly recognized as !!bool (close #26).
2007-07-01 00:06:46 +00:00
joerg
1b00d00268 Nuke some whitespace. 2006-08-20 16:25:42 +00:00
joerg
922cc0c756 Import textproc/py-yaml. From DESCR:
YAML is a data serialization format designed for human readability and
interaction with scripting languages.  PyYAML is a YAML parser and
emitter for Python.

PyYAML features a complete YAML 1.1 parser, Unicode support, pickle
support, capable extension API, and sensible error messages.  PyYAML
supports standard YAML tags and provides Python-specific tags that allow
to represent an arbitrary Python object.

PyYAML is applicable for a broad range of tasks from complex
configuration files to object serialization and persistance.
2006-08-02 10:05:35 +00:00