[pybtex] 02/108: [svn-inject] Applying Debian modifications to trunk
Daniel Stender
stender at moszumanska.debian.org
Fri Jul 21 10:18:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
stender pushed a commit to branch master
in repository pybtex.
commit fbdad8f0caa1d3d3b99f03a4d71df27be5fb00dc
Author: Jakub Wilk <jwilk at debian.org>
Date: Sat Aug 29 19:31:42 2009 +0000
[svn-inject] Applying Debian modifications to trunk
---
debian/changelog | 5 +++++
debian/clean | 2 ++
debian/compat | 1 +
debian/control | 31 +++++++++++++++++++++++++++++++
debian/copyright | 32 ++++++++++++++++++++++++++++++++
debian/doc-base | 12 ++++++++++++
debian/docs | 3 +++
debian/examples | 1 +
debian/manpages | 1 +
debian/postinst | 22 ++++++++++++++++++++++
debian/prerm | 21 +++++++++++++++++++++
debian/rules | 24 ++++++++++++++++++++++++
debian/watch | 3 +++
13 files changed, 158 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5e351c1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pybtex (0.10-1) UNRELEASED; urgency=low
+
+ * Initial release (closes: #535116).
+
+ -- Jakub Wilk <ubanus at users.sf.net> Sat, 29 Aug 2009 21:17:39 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..f5d63ff
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+*.egg-info/*
+docs/changelog
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3e9450c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: pybtex
+Section: tex
+Priority: optional
+Maintainer: Jakub Wilk <ubanus at users.sf.net>
+Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7.0.50~), python-support (>= 0.90), python-setuptools, elinks
+XS-Python-Version: >= 2.5
+Standards-Version: 3.8.3
+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: any
+Depends: ${misc:Depends}, ${python:Depends}, python-pyparsing
+Breaks: pybliographer (<< 1.2.12-2)
+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
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9d45151
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=59
+Name: pybtex
+Maintainer: Andrey Golovizin
+Source: http://pybtex.sourceforge.net/
+
+Files: *
+Copyright: 2006, 2007, 2008, 2009, Andrey Golovizin
+License: GPL-3+
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in the /usr/share/common-licenses/GPL-3 file.
+
+Files: debian/*
+Copyright: 2009, Jakub Wilk
+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.
diff --git a/debian/doc-base b/debian/doc-base
new file mode 100644
index 0000000..e2231eb
--- /dev/null
+++ b/debian/doc-base
@@ -0,0 +1,12 @@
+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
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..f166710
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+README
+docs/html/
+docs/rst/
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..92b1061
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+docs/man[0-9]/*.[0-9]
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..7970288
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ configure)
+ 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
diff --git a/debian/prerm b/debian/prerm
new file mode 100644
index 0000000..042f38b
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ remove|upgrade|deconfigure)
+ update-alternatives --remove pybtex /usr/bin/bibtex.pybtex
+ ;;
+
+ failed-upgrade)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0a6ff2e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+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
+
+override_dh_installman:
+ dh_installman
+ cd debian/pybtex/ && rename.ul pybtex bibtex.pybtex usr/share/man/man*/pybtex.[0-9]
+
+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
+
+%:
+ dh $(@)
+
+# vim:ts=4 sw=4 noet
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..863abf5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://pypi.python.org/packages/source/p/pybtex/pybtex-(\d+[.]\d+)[.]tar[.]bz2
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pybtex.git
More information about the debian-science-commits
mailing list