debian/0000755000000000000000000000000011567161020007165 5ustar debian/postinst0000644000000000000000000000116611537677541011020 0ustar #!/bin/sh set -e case "$1" in configure) update-alternatives \ --install /usr/bin/bibtex bibtex /usr/bin/bibtex.pybtex 10 \ --slave /usr/share/man/man1/bibtex.1.gz bibtex.1.gz /usr/share/man/man1/bibtex.pybtex.1.gz update-alternatives \ --install /usr/bin/pybtex pybtex /usr/bin/bibtex.pybtex 200 \ --slave /usr/share/man/man1/pybtex.1.gz pybtex.1.gz /usr/share/man/man1/bibtex.pybtex.1.gz ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/prerm0000644000000000000000000000053511537677541010261 0ustar #!/bin/sh set -e case "$1" in remove|deconfigure) update-alternatives --remove bibtex /usr/bin/bibtex.pybtex update-alternatives --remove pybtex /usr/bin/bibtex.pybtex ;; upgrade|failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/copyright0000644000000000000000000000567711566764060011153 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174 Upstream-Name: pybtex Upstream-Contact: Andrey Golovizin Source: http://pybtex.sourceforge.net/ Files: * Copyright: 2006-2011 Andrey Golovizin License: Expat Files: debian/* Copyright: 2009-2010 Jakub Wilk 2011 Daniel Stender License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: custom_fixers/fix_alt_unicode.py Copyright: 2009-2011 Jinja Team License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/watch0000644000000000000000000000013011343575624010223 0ustar version=3 http://pypi.python.org/packages/source/p/pybtex/pybtex-([0-9.]+)[.]tar[.]bz2 debian/control0000644000000000000000000000250411556553174010606 0ustar Source: pybtex Section: tex Priority: optional Maintainer: Daniel Stender Uploaders: Python Applications Packaging Team Build-Depends: debhelper (>= 7.0.50~), elinks-lite | elinks, python-all (>= 2.6.5-13~), python-docutils, python-jinja2, python-nose, python-pygments, python-pyparsing, python-setuptools, python-support (>= 0.90), python-yaml X-Python-Version: >= 2.6 Standards-Version: 3.9.2 Homepage: http://pybtex.sourceforge.net/ Vcs-Svn: svn://svn.debian.org/python-apps/packages/pybtex/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/pybtex/trunk/ Package: pybtex Architecture: all Depends: python-pyparsing, ${misc:Depends}, ${python:Depends} Conflicts: pybliographer (<< 1.2.12-3.1~), texlive-base-bin (<< 2009-5~), texlive-binaries (<< 2009-5~) Recommends: python-yaml Description: BibTeX-compatible bibliography processor Pybtex reads citation information from a file and produces a formatted bibliography. BibTeX style files are supported. Alternatively it is possible to write styles in Python. . Pybtex currently understands the following bibliography formats: * BibTeX * BibTeXML * YAML-based format . The resulting bibliography may be output in one of the following formats: * LaTeX * HTML * plain text debian/clean0000644000000000000000000000003411537677541010210 0ustar *.egg-info/* docs/changelog debian/compat0000644000000000000000000000000211246301036010360 0ustar 7 debian/examples0000644000000000000000000000001311537677541010741 0ustar examples/* debian/manpages0000644000000000000000000000002611537677541010722 0ustar docs/man[0-9]/*.[0-9] debian/docs0000644000000000000000000000003411537677541010056 0ustar README docs/html/ docs/rst/ debian/lintian-overrides0000644000000000000000000000033711412116634012551 0ustar # Breaks is not sufficient for pybtex. pybtex: conflicts-with-version pybliographer (<< 1.2.12-3.1~) pybtex: conflicts-with-version texlive-base-bin (<< 2009-5~) pybtex: conflicts-with-version texlive-binaries (<< 2009-5~) debian/doc-base0000644000000000000000000000044611537677541010612 0ustar Document: pybtex-documentation Title: Pybtex documentation Author: Andrey Golovizin Section: Text Format: HTML Index: /usr/share/doc/pybtex/html/index.html Files: /usr/share/doc/pybtex/html/*.html Format: Text Index: /usr/share/doc/pybtex/rst/index.rst Files: /usr/share/doc/pybtex/rst/*.rst debian/changelog0000644000000000000000000000526111567160773011061 0ustar pybtex (0.15-1) unstable; urgency=low * New maintainer (closes: #587423). * New upstream release + Upstream relicenced everything to Expat. * Changed debian/copyright + to meet CANDIDATE DEP-5. + removed GPL-2+ license for database/convert/__main__.py. + added BSD-3-clause license for custom_fixers/fix_alt_unicode.py * Bumped standards version to 3.9.2 (no changes needed). * Uploaded to Unstable. -- Daniel Stender Wed, 25 May 2011 13:00:53 +0200 pybtex (0.14-1) experimental; urgency=low * New upstream release. + Bump minimum Python version to 2.6. + Drop patch to import bzrlib only when needed; applied upstream. + Improve performance on very long name lists (closes: #595082). -- Jakub Wilk Sat, 25 Sep 2010 12:58:04 +0200 pybtex (0.13.2-2) unstable; urgency=low * Fix a typo in debian/rules. Thanks to Michael Fladischer for spotting that. * Drop work-around for bug #575377. * Bump standards version to 3.9.1. + Override lintian's conflicts-with-version (Breaks is not sufficient for pybtex). * Get rid of build-dependency on bzr (closes: #593029). -- Jakub Wilk Tue, 17 Aug 2010 23:58:25 +0200 pybtex (0.13.2-1) unstable; urgency=low * New upstream release. * Run tests for all supported Python versions. + Build-depend on python-all. * Fix watch file to accept more than one dot in version number. * Work around the fact that different PKG-INFO files can be generated for different Python versions. -- Jakub Wilk Thu, 04 Mar 2010 14:56:58 +0100 pybtex (0.13.1-1) unstable; urgency=low * New upstream release: + Drop Python 2.5 compatibility patch, applied upstream. * Bump standards version to 3.8.4 (no changes needed). * Update my e-mail address. * Remove requires.txt (dpkg is better at handling dependencies). * Respect the ‘nocheck’ build option. * Update debian/copyright. -- Jakub Wilk Thu, 18 Feb 2010 19:54:23 +0100 pybtex (0.12-2) unstable; urgency=low * Don't remove alternatives in prerm/upgrade. * Replace Breaks with Conflicts. * Install alternative for /usr/bin/bibtex (closes: #560376). Conflict with TeX Live packages, which installed this file. * Update debian/copyright in accordance to the latest DEP-5 version. * Switch to source format 3.0 (quilt). * Make tests/run_bibtex.py compatible with Python 2.5. * Run unit-tests at build time. -- Jakub Wilk Tue, 29 Dec 2009 14:07:07 +0100 pybtex (0.12-1) unstable; urgency=low * Initial release (closes: #535116). -- Jakub Wilk Sat, 05 Dec 2009 15:35:02 +0100 debian/rules0000755000000000000000000000230211537703735010256 0ustar #!/usr/bin/make -f .PHONY: override_dh_auto_install override_dh_auto_install: dh_auto_install cd debian/pybtex/usr/bin && mv pybtex bibtex.pybtex for module in tests docgen; do \ rm -Rf debian/pybtex/usr/lib/python*/*-packages/pybtex/$$module/; \ done rm -f debian/pybtex/usr/lib/python*/*-packages/*.egg-info/requires.txt .PHONY: override_dh_installman override_dh_installman: dh_installman cd debian/pybtex/ && rename.ul pybtex bibtex.pybtex usr/share/man/man*/pybtex.[0-9] .PHONY: override_dh_auto_test override_dh_auto_test: ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) set -e; \ for python in $(shell pyversions -r); do \ $$python setup.py nosetests; \ done endif .PHONY: override_dh_installchangelogs override_dh_installchangelogs: elinks -config-file /dev/null -dump -no-numbering -no-references docs/html/history.html \ | grep -A1000 ^Version \ | sed -e '/ *-\{50,\}- *$$/ { s///; q }' \ > docs/changelog dh_installchangelogs docs/changelog .PHONY: build build-arch build-indep binary binary-arch binary-indep clean build build-arch build-indep binary binary-indep clean: dh $(@) # In order not to confuse lintian, binary-arch is a separate target: binary-arch: # vim:ts=4 sw=4 noet debian/source/0000755000000000000000000000000011567161016010472 5ustar debian/source/format0000644000000000000000000000001411316373253011700 0ustar 3.0 (quilt)