1
0
forked from pool/python-pybtex

14 Commits

Author SHA256 Message Date
f88b0d3c87 Accepting request 1174636 from home:dimstar:Factory
- Use %autosetup macro: allows us to eliminate usage of deprecated
  %patchN syntax.

OBS-URL: https://build.opensuse.org/request/show/1174636
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=24
2024-05-17 08:03:23 +00:00
ad57e23f4e Accepting request 1069871 from home:pgajdos:python
- do not require python-six
- added patches
  fix 6afabe217a
  + python-pybtex-no-six.patch

OBS-URL: https://build.opensuse.org/request/show/1069871
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=22
2023-03-08 07:30:27 +00:00
3587d7d818 Accepting request 922255 from home:StevenK:branches:Publishing
- Update to 0.24.0:
  * Added support for sup and sub tags to LaTeX and Markdown backends.
  * Added support for @online entries and the urldate field.
  * Fixed bugs in the example plugin.
  * Fixed bad get_default_encoding() call.
  * Reimplemented pybtex.utils.OrderedCaseInsensitiveDict using
    collections.OrderedDict (so it has a __delitem__).
  * unsrt.py now supports type when formatting phdthesis.
  * Added from_string to pybtex.database.BibliographyData.
  * Added from_string and to_string to pybtex.database.Entry.
  * Preserve order in pybtex.utils.OrderedCaseInsensitiveDict.__repr__.
  * Fixed entries with duplicate keys being removed during sorting.
  * Fixed handling of duplicate person fields
  * Use xml.etree.ElementTree instead of the deprecated cElementTree.
  * Import base classes from collections.abc instead of collections.
  * Use __iter__ instead of deprecated Element.getchildren().
- Switch to using pytest to run tests, and run the testsuite.

OBS-URL: https://build.opensuse.org/request/show/922255
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=21
2021-10-06 13:57:29 +00:00
fc29550b13 - Do not ship tests
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=19
2020-10-02 08:44:14 +00:00
077c0045ca Accepting request 835009 from home:dirkmueller:branches:Publishing
- update to 0.22.2:
  * Fixed compatibility with Python 2 and older versions of Python 3.
  * Fixed non-working ``--backend`` option with ``pybtex -l python``.
  * Fixed handling of duplicate fields in ``.bib`` biles.
  * BibTeX parser is now up to 10% faster on some files.
  * Fixed parsing of names with ``\~`` characters.
  * Fixed formatting proceedings without an ``editor`` field in ``unsrt.py``.
  * In case of too many braces in a BibTeX string, ``PybtexSyntaxError`` is now raised instead
  * Dropped ``2to3``, made the code compatible with both Python 2 and 3 with Six_.
  * Moved tests outside of the ``pybtex`` package.
  * Fixed searching in docs with recent versions of Sphinx_.
  * API: renamed ``bibtex.BibTeXEntryIterator`` to ``bibtex.LowLevelParser`` for clarity.
  * API: removed confusing usage of ``Person.text`` in ``tempate.names``.
  * API: ``Entry.fields`` does not automagically look for cross-referenced entries
+  anymore.

OBS-URL: https://build.opensuse.org/request/show/835009
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=18
2020-09-18 12:30:06 +00:00
c3fc600ece Accepting request 807608 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/807608
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=16
2020-05-20 11:43:13 +00:00
562d48fb6d - Needs to go along sr#561628
- Update to version 0.21:
- Convert to singlespec

OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=14
2018-01-04 13:15:57 +00:00
OBS User mrdocs
9049eac40c Accepting request 347802 from home:nemysis:branches:Publishing
Please accept these changes.

OBS-URL: https://build.opensuse.org/request/show/347802
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=12
2015-12-17 06:42:07 +00:00
OBS User mrdocs
b633dc30f0 Accepting request 316312 from home:nemysis:branches:Publishing
Please accept these changes.

OBS-URL: https://build.opensuse.org/request/show/316312
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=10
2015-07-12 21:14:21 +00:00
Guido Berhoerster
27cd75c57d - update to version 0.18
- Pybtex is now fully case-insensitive (like BibTeX). As a
    consequence, IEEEtran styles now work corretly.
  - Added ``--preserve-case`` optoin to ``pybtex-convert`` (by
    default all identifiers are converted to lower case).
  - An erorr is reported if two citations have the same key but
    different case, like in BibTeX. (Example: ddt1999 and DDT1999).
  - Fixed parsing unused bibliography entries with strings
    containing @ characters.
  - ``entry.max$`` constant is now set to 250, ``global.max$`` is
    set to 20000, like in BibTeX.
  - Added ``--strict`` option to ``pybtex-convert`` and
    ``pybtex-format`` (turns warning to errors).
  - Strict mode is now enabled by default when using pybtex as a
    library (exceptions are raised on all errors instead of just
    printing warnings to stderr).
    Non-strict error handling is still enabled when using pybtex
    from the command line, for compatibility with BibTeX. Use
    ``--strict`` option if you don't like this.
  - Added missing pybtex-format manpage.

OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=8
2014-08-26 07:10:25 +00:00
Guido Berhoerster
671a2fa3b7 - update to version 1.3
* Windows RT viewer app for MuPDF.
  * Library changes to support progressive loading (display PDF
    files as they download). Windows/Linux/MacOS viewer supports
    this using curl.
  * Incremental updates to PDF files are now (optionally) preserved
    on loading/saving.
  * Prototype support for checking PDF Digital Signatures.
  * Initial annotation support (strike-out, underline, highlight
   and ink) (library and android builds only).
  * Fix operation on Android API level 8.
  * Android redraw optimisations.
  * Android app now supports Google Cloud Print.
  * Android app translated into many languages.
  * Android support for more architectures.
  * Improvements to store (avoid collisions causing unnecessary
    evictions).
  * Windows apps use Unicode filenames now.
  * PDF function handling improved; functions can now be passed to
    devices without 'sampling'.
  * PDF image handling improved; images can now be passed to
   devices without decompression.
  * Indexed images are no longer uncompressed at load time, saving
    memory.
  * Caching of rendered tiles for speed.
  * Improved text analysis mode, capable of spotting
    columns/indents, right-to-left text etc.
  * HTML output mode now includes image output.
  * PDF password encoding handling improved.
  * MuPDF now opens Jpeg, Tiff and PNG files directly.

OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=6
2014-05-26 15:22:34 +00:00
Guido Berhoerster
059e316de7 - update to version 0.16
- BibTeX .bib and .bst parsers were completely rewritten; they
    are now much faster and more BibTeX-compatible
  - syntax errors and undefined strings in .bib files now result in
    warnings instead of errors, like in BibTeX
  - unused entries in .bib files are now skipped, like in BibTeX
  - the case of entry keys is now preserved (in previous versions
    they were converted to lowercase)
  - pythonic style engine now supports sorting
  - pythonic style engine: fixed nested optional() blocks
  - fixed parsing of some names with a Last part but no von part
  - fixed processing of brace-level-one "special characters" in
    purify$ BibTeX built-in function
  - added proper error messages on encoding errors in .bib files
  - the default encoding is now UTF-8 on all platforms
  - pybtex-convert now preserves the order of entries in BibTeX and
    BibTeXML files
  - fixed first_of behavior when non-empty child is followed by a
    child that has a missing field
  - fixed crossref lookups when key is not lower case
  - completed unsrt and plain python styles: they now contain all
    entry types
  - added doctree backend for rendering into a tree of docutils
    nodes
  - added support for non-string backends

OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=4
2012-05-16 10:46:08 +00:00
Guido Berhoerster
518db9ba92 - update to version 0.15
- changed license from GPL-3 to MIT
  - when parsing multiple BibTeX files, macros defined in earlier
    files are now available to all subsequent files, like in BibTeX
  - BibTeX .bst interpreter now prints warnings on missing entries,
    like BibTeX, instead of raising a KeyError
  - call.type$ BibTeX built-in function now uses default.entry for
    unknown entry types, like in BibTeX
  - substring$ now accepts start=0 and returns an empty string.
  - added more detailed error messages for already defined
    variables in .bst files
  - bugfixes

OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=2
2011-06-13 16:51:04 +00:00
Pavol Rusnak
daf536a1b1 Accepting request 57614 from home:gberh
OBS-URL: https://build.opensuse.org/request/show/57614
OBS-URL: https://build.opensuse.org/package/show/Publishing/python-pybtex?expand=0&rev=1
2011-02-09 17:22:41 +00:00