[Python-modules-commits] r13138 - in packages/pyopenfst/trunk (10 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Sat May 29 16:04:37 UTC 2010


    Date: Saturday, May 29, 2010 @ 16:04:27
  Author: jwilk
Revision: 13138

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/pyopenfst/trunk/debian/
  packages/pyopenfst/trunk/debian/changelog
  packages/pyopenfst/trunk/debian/clean
  packages/pyopenfst/trunk/debian/compat
  packages/pyopenfst/trunk/debian/control
  packages/pyopenfst/trunk/debian/copyright
  packages/pyopenfst/trunk/debian/examples
  packages/pyopenfst/trunk/debian/python-openfst-dbg.install
  packages/pyopenfst/trunk/debian/python-openfst.install
  packages/pyopenfst/trunk/debian/rules


Property changes on: packages/pyopenfst/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/pyopenfst/trunk/debian/changelog
===================================================================
--- packages/pyopenfst/trunk/debian/changelog	                        (rev 0)
+++ packages/pyopenfst/trunk/debian/changelog	2010-05-29 16:04:27 UTC (rev 13138)
@@ -0,0 +1,5 @@
+pyopenfst (0+hg34-1) UNRELEASED; urgency=low
+
+  * Initial release (closes: #579401).
+
+ -- Jakub Wilk <jwilk at debian.org>  Sat, 29 May 2010 12:39:26 +0200

Added: packages/pyopenfst/trunk/debian/clean
===================================================================
--- packages/pyopenfst/trunk/debian/clean	                        (rev 0)
+++ packages/pyopenfst/trunk/debian/clean	2010-05-29 16:04:27 UTC (rev 13138)
@@ -0,0 +1,5 @@
+test-*.stamp
+temp.fst
+_test.fst
+openfst_wrap.cpp
+openfst.py

Added: packages/pyopenfst/trunk/debian/compat
===================================================================
--- packages/pyopenfst/trunk/debian/compat	                        (rev 0)
+++ packages/pyopenfst/trunk/debian/compat	2010-05-29 16:04:27 UTC (rev 13138)
@@ -0,0 +1 @@
+7

Added: packages/pyopenfst/trunk/debian/control
===================================================================
--- packages/pyopenfst/trunk/debian/control	                        (rev 0)
+++ packages/pyopenfst/trunk/debian/control	2010-05-29 16:04:27 UTC (rev 13138)
@@ -0,0 +1,42 @@
+Source: pyopenfst
+Section: python
+Priority: optional
+Maintainer: Jakub Wilk <jwilk at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7.0.50~),
+  libfst-dev,
+  python-all (>= 2.5), python-all-dbg, swig, python-support (>= 0.90)
+XS-Python-Version: all
+Standards-Version: 3.8.4
+Homepage: http://pyopenfst.googlecode.com/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyopenfst/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyopenfst/trunk/
+
+Package: python-openfst
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}
+Description: Python bindings for the OpenFst library
+ OpenFst is a library for constructing, combining, optimizing, and searching
+ weighted finite-state transducers (FSTs). Weighted finite-state transducers
+ are automata where each transition has an input label, an output label, and a
+ weight. The more familiar finite-state acceptor is represented as a transducer
+ with each transition's input and output label equal. Finite-state acceptors
+ are used to represent sets of strings (specifically, regular or rational
+ sets); finite-state transducers are used to represent binary relations between
+ pairs of strings (specifically, rational transductions). The weights can be
+ used to represent the cost of taking a particular transition. 
+ . 
+ This package contains the Python bindings.
+
+Package: python-openfst-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, python-openfst (= ${binary:Version}), ${python:Depends}
+Recommends: python-dbg
+Description: Python bindings for the OpenFst library (debug version)
+ OpenFst is a library for constructing, combining, optimizing, and searching
+ weighted finite-state transducers (FSTs). 
+ .
+ This package contains the Python bindings built for the Python debug
+ interpreter.

Added: packages/pyopenfst/trunk/debian/copyright
===================================================================
--- packages/pyopenfst/trunk/debian/copyright	                        (rev 0)
+++ packages/pyopenfst/trunk/debian/copyright	2010-05-29 16:04:27 UTC (rev 13138)
@@ -0,0 +1,29 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135
+Name: pyopenfst
+Maintainer: ?
+Source: http://pyopenfst.googlecode.com/
+
+Files: *
+Copyright: ?
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2010 Jakub Wilk <jwilk at debian.org>
+License: Apache-2.0
+
+
+License: Apache-2.0
+  Licensed under the Apache License, Version 2.0 (the “License”); you may not
+  use this file except in compliance with the License. You may obtain a copy of
+  the License at
+  . 
+  http://www.apache.org/licenses/LICENSE-2.0
+  . 
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an “AS IS” BASIS, WITHOUT
+  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+  License for the specific language governing permissions and limitations under
+  the License.
+  .
+  On Debian systems, the complete text of the license can be found in the
+  /usr/share/common-licenses/Apache-2.0 file.

Added: packages/pyopenfst/trunk/debian/examples
===================================================================
--- packages/pyopenfst/trunk/debian/examples	                        (rev 0)
+++ packages/pyopenfst/trunk/debian/examples	2010-05-29 16:04:27 UTC (rev 13138)
@@ -0,0 +1 @@
+scripts/*

Added: packages/pyopenfst/trunk/debian/python-openfst-dbg.install
===================================================================
--- packages/pyopenfst/trunk/debian/python-openfst-dbg.install	                        (rev 0)
+++ packages/pyopenfst/trunk/debian/python-openfst-dbg.install	2010-05-29 16:04:27 UTC (rev 13138)
@@ -0,0 +1 @@
+/usr/lib/python*/*-packages/*_d.so

Added: packages/pyopenfst/trunk/debian/python-openfst.install
===================================================================
--- packages/pyopenfst/trunk/debian/python-openfst.install	                        (rev 0)
+++ packages/pyopenfst/trunk/debian/python-openfst.install	2010-05-29 16:04:27 UTC (rev 13138)
@@ -0,0 +1,3 @@
+/usr/lib/python*/*-packages/*[a-z][a-z].so
+/usr/lib/python*/*-packages/*.py
+/usr/lib/python*/*-packages/*.egg-info

Added: packages/pyopenfst/trunk/debian/rules
===================================================================
--- packages/pyopenfst/trunk/debian/rules	                        (rev 0)
+++ packages/pyopenfst/trunk/debian/rules	2010-05-29 16:04:27 UTC (rev 13138)
@@ -0,0 +1,37 @@
+#!/usr/bin/make -f
+
+PYTHONPATH = $$($(1) -c 'from distutils.command.build import build; from distutils.core import Distribution; b = build(Distribution()); b.finalize_options() ; print b.build_platlib')
+
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+
+.PHONY: override_dh_auto_test
+override_dh_auto_test: $(patsubst %,test-python%-dbg.stamp,$(shell pyversions -rv))
+
+test-python%.stamp:
+	set -e -x; \
+	for test in test-*.py; do \
+		PYTHONPATH=$(call PYTHONPATH,python$(*)) python$(*) $$test; \
+	done
+	touch $(@)
+
+endif
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+	rm -f Makefile
+	dh_auto_build
+
+.PHONY: override_dh_strip
+override_dh_strip:
+ifeq ($(filter nostrip,$(DEB_BUILD_OPTIONS)),)
+	dh_strip --dbg-package=python-openfst-dbg
+	cd debian/*-dbg/usr/lib/debug/usr/lib && mv pyshared pymodules
+endif
+
+.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


Property changes on: packages/pyopenfst/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *




More information about the Python-modules-commits mailing list