[Python-modules-commits] r24002 - in packages/fabulous/trunk (18 files)

laarmen-guest at users.alioth.debian.org laarmen-guest at users.alioth.debian.org
Tue Apr 23 23:26:42 UTC 2013


    Date: Tuesday, April 23, 2013 @ 23:26:40
  Author: laarmen-guest
Revision: 24002

[svn-inject] Applying Debian modifications (0.1.5-1) to trunk

Added:
  packages/fabulous/trunk/debian/
  packages/fabulous/trunk/debian/changelog
  packages/fabulous/trunk/debian/clean
  packages/fabulous/trunk/debian/compat
  packages/fabulous/trunk/debian/control
  packages/fabulous/trunk/debian/copyright
  packages/fabulous/trunk/debian/fabulous-xtermspeedup.install
  packages/fabulous/trunk/debian/patches/
  packages/fabulous/trunk/debian/patches/build_xterm256_ext
  packages/fabulous/trunk/debian/patches/series
  packages/fabulous/trunk/debian/python-fabulous-doc.doc-base
  packages/fabulous/trunk/debian/python-fabulous-doc.docs
  packages/fabulous/trunk/debian/python-fabulous-doc.links
  packages/fabulous/trunk/debian/python-fabulous.install
  packages/fabulous/trunk/debian/rules
  packages/fabulous/trunk/debian/source/
  packages/fabulous/trunk/debian/source/format
  packages/fabulous/trunk/debian/watch


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

Added: packages/fabulous/trunk/debian/changelog
===================================================================
--- packages/fabulous/trunk/debian/changelog	                        (rev 0)
+++ packages/fabulous/trunk/debian/changelog	2013-04-23 23:26:40 UTC (rev 24002)
@@ -0,0 +1,5 @@
+fabulous (0.1.5-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #705947)
+
+ -- Simon Chopin <chopin.simon at gmail.com>  Tue, 23 Apr 2013 19:57:04 +0200

Added: packages/fabulous/trunk/debian/clean
===================================================================
--- packages/fabulous/trunk/debian/clean	                        (rev 0)
+++ packages/fabulous/trunk/debian/clean	2013-04-23 23:26:40 UTC (rev 24002)
@@ -0,0 +1,2 @@
+fabulous.egg-info/*
+xtermspeedup.so

Added: packages/fabulous/trunk/debian/compat
===================================================================
--- packages/fabulous/trunk/debian/compat	                        (rev 0)
+++ packages/fabulous/trunk/debian/compat	2013-04-23 23:26:40 UTC (rev 24002)
@@ -0,0 +1 @@
+9

Added: packages/fabulous/trunk/debian/control
===================================================================
--- packages/fabulous/trunk/debian/control	                        (rev 0)
+++ packages/fabulous/trunk/debian/control	2013-04-23 23:26:40 UTC (rev 24002)
@@ -0,0 +1,50 @@
+Source: fabulous
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Simon Chopin <chopin.simon at gmail.com>
+Build-Depends:
+ debhelper (>= 9),
+ python-all (>= 2.6.6-3~),
+ python-grapefruit,
+ python-sphinx (>= 1.0.7+dfsg),
+ python-setuptools
+Standards-Version: 3.9.4
+X-Python-Version: >= 2.6
+Homepage: http://lobstertech.com/fabulous.html
+Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/fabulous/trunk
+Vcs-Browser: http://anonscm.debian.org/viewsvn/python-modules/packages/fabulous/trunk/
+
+Package: python-fabulous
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Recommends: fabulous-xtermspeedup
+Description: Python module to make your terminal output fabulous
+ Fabulous is a Python library designed to make the output of terminal
+ applications look fabulous. Fabulous allows you to print colors, images, and
+ stylized text to the console (without curses.) Fabulous also offers features
+ to improve the usability of Python's standard logging system.
+
+Package: fabulous-xtermspeedup
+Architecture: any
+Depends: ${misc:Depends}, python-fabulous, ${shlibs:Depends}
+Description: Python module to make your terminal output fabulous - speedup extension
+ Fabulous is a Python library designed to make the output of terminal
+ applications look fabulous. Fabulous allows you to print colors, images, and
+ stylized text to the console (without curses.) Fabulous also offers features
+ to improve the usability of Python's standard logging system.
+ .
+ This private extension greatly speeds up the xterm256 module.
+
+Package: python-fabulous-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Python module to make your terminal output fabulous - documentation
+ Fabulous is a Python library designed to make the output of terminal
+ applications look fabulous. Fabulous allows you to print colors, images, and
+ stylized text to the console (without curses.) Fabulous also offers features
+ to improve the usability of Python's standard logging system.
+ .
+ This package provides the documentation for fabulous.
+

Added: packages/fabulous/trunk/debian/copyright
===================================================================
--- packages/fabulous/trunk/debian/copyright	                        (rev 0)
+++ packages/fabulous/trunk/debian/copyright	2013-04-23 23:26:40 UTC (rev 24002)
@@ -0,0 +1,109 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: fabulous
+Source: http://lobstertech.com/fabulous.html
+
+Files: *
+Copyright: 2010-2012 Justine A.R Tunney <jtunney at gmail.com>
+License: Expat
+
+Files: fabulous/fonts/IndUni-H-Bold.otf
+Copyright: (C) 2009-2011, John Smith <jds10 at cam.ac.uk>
+License: GPL-2.0+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License can be found in "/usr/share/common-licenses/GPL-2".
+
+Files: fabulous/fonts/DejaVuSansMono.ttf
+Copyright: 2003 Bitstream, Inc.
+License: BVFC
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of the fonts accompanying this license ("Fonts") and associated
+ documentation files (the "Font Software"), to reproduce and distribute the
+ Font Software, including without limitation the rights to use, copy, merge,
+ publish, distribute, and/or sell copies of the Font Software, and to permit
+ persons to whom the Font Software is furnished to do so, subject to the
+ following conditions:
+ .
+ The above copyright and trademark notices and this permission notice shall
+ be included in all copies of one or more of the Font Software typefaces.
+ .
+ The Font Software may be modified, altered, or added to, and in particular
+ the designs of glyphs or characters in the Fonts may be modified and
+ additional glyphs or characters may be added to the Fonts, only if the fonts
+ are renamed to names not containing either the words "Bitstream" or the word
+ "Vera".
+ .
+ This License becomes null and void to the extent applicable to Fonts or Font
+ Software that has been modified and is distributed under the "Bitstream
+ Vera" names.
+ .
+ The Font Software may be sold as part of a larger software package but no
+ copy of one or more of the Font Software typefaces may be sold by itself.
+ .
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
+ TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
+ FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING
+ ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE
+ FONT SOFTWARE.
+ .
+ Except as contained in this notice, the names of Gnome, the Gnome
+ Foundation, and Bitstream Inc., shall not be used in advertising or
+ otherwise to promote the sale, use or other dealings in this Font Software
+ without prior written authorization from the Gnome Foundation or Bitstream
+ Inc., respectively. For further information, contact: fonts at gnome dot
+ org. 
+
+Files: fabulous/fonts/cmr10.ttf
+Copyright: 0000 Blue Sky Research
+License:
+ The PostScript Type 1 implementation of the Computer Modern fonts produced by
+ and previously distributed by Blue Sky Research and Y&Y, Inc. are now freely
+ available for general use. This has been accomplished through the cooperation
+ of a consortium of scientific publishers with Blue Sky Research and Y&Y.
+ Members of this consortium include:
+ .
+        Elsevier Science
+        IBM Corporation
+        Society for Industrial and Applied Mathematics (SIAM)
+        Springer-Verlag
+
+Files: debian/*
+Copyright: 2013 Simon Chopin <chopin.simon at gmail.com>
+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.
+

Added: packages/fabulous/trunk/debian/fabulous-xtermspeedup.install
===================================================================
--- packages/fabulous/trunk/debian/fabulous-xtermspeedup.install	                        (rev 0)
+++ packages/fabulous/trunk/debian/fabulous-xtermspeedup.install	2013-04-23 23:26:40 UTC (rev 24002)
@@ -0,0 +1 @@
+xtermspeedup.so /usr/lib/fabulous

Added: packages/fabulous/trunk/debian/patches/build_xterm256_ext
===================================================================
--- packages/fabulous/trunk/debian/patches/build_xterm256_ext	                        (rev 0)
+++ packages/fabulous/trunk/debian/patches/build_xterm256_ext	2013-04-23 23:26:40 UTC (rev 24002)
@@ -0,0 +1,35 @@
+Description: Look for the default xterm256.so instead of building one's own
+Author: Simon Chopin <chopin.simon at gmail.com>
+Forwarded: not-needed
+Last-Update: 2013-04-24
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/setup.py
++++ b/setup.py
+@@ -27,7 +27,7 @@
+     long_description     = read('README'),
+     license              = 'MIT',
+     install_requires     = ['grapefruit'],
+-    packages             = find_packages(),
++    packages             = find_packages(exclude="fabulous.fonts"),
+     zip_safe             = False,
+     include_package_data = True,
+     classifiers = [
+--- a/fabulous/xterm256.py
++++ b/fabulous/xterm256.py
+@@ -80,14 +80,13 @@
+     You need:
+ 
+     - Python >= 2.5 for ctypes library
+-    - gcc (``sudo apt-get install gcc``)
+ 
+     """
+     import os
+     import ctypes
+     from os.path import join, dirname, getmtime, exists, expanduser
+     # library = join(dirname(__file__), '_xterm256.so')
+-    library = expanduser('~/.xterm256.so')
++    library = '/usr/share/lib/xtermspeedup.so'
+     sauce = join(dirname(__file__), '_xterm256.c')
+     if not exists(library) or getmtime(sauce) > getmtime(library):
+         build = "gcc -fPIC -shared -o %s %s" % (library, sauce)

Added: packages/fabulous/trunk/debian/patches/series
===================================================================
--- packages/fabulous/trunk/debian/patches/series	                        (rev 0)
+++ packages/fabulous/trunk/debian/patches/series	2013-04-23 23:26:40 UTC (rev 24002)
@@ -0,0 +1 @@
+build_xterm256_ext

Added: packages/fabulous/trunk/debian/python-fabulous-doc.doc-base
===================================================================
--- packages/fabulous/trunk/debian/python-fabulous-doc.doc-base	                        (rev 0)
+++ packages/fabulous/trunk/debian/python-fabulous-doc.doc-base	2013-04-23 23:26:40 UTC (rev 24002)
@@ -0,0 +1,12 @@
+Document: fabulous
+Title: Fabulous
+Author: Justine A. R. Tunney
+Abstract: Python module to make your terminal output fabulous
+Section: Text
+
+Format: HTML
+Index: /usr/share/doc/python-fabulous-doc/html/index.html
+Files: /usr/share/doc/python-fabulous-doc/html/*.html
+
+Format: Text
+Files: /usr/share/doc/python-fabulous-doc/rst/*.txt

Added: packages/fabulous/trunk/debian/python-fabulous-doc.docs
===================================================================
--- packages/fabulous/trunk/debian/python-fabulous-doc.docs	                        (rev 0)
+++ packages/fabulous/trunk/debian/python-fabulous-doc.docs	2013-04-23 23:26:40 UTC (rev 24002)
@@ -0,0 +1 @@
+docs/_build/html

Added: packages/fabulous/trunk/debian/python-fabulous-doc.links
===================================================================
--- packages/fabulous/trunk/debian/python-fabulous-doc.links	                        (rev 0)
+++ packages/fabulous/trunk/debian/python-fabulous-doc.links	2013-04-23 23:26:40 UTC (rev 24002)
@@ -0,0 +1 @@
+/usr/share/doc/python-fabulous-doc/html/_sources /usr/share/doc/python-fabulous-doc/rst

Added: packages/fabulous/trunk/debian/python-fabulous.install
===================================================================
--- packages/fabulous/trunk/debian/python-fabulous.install	                        (rev 0)
+++ packages/fabulous/trunk/debian/python-fabulous.install	2013-04-23 23:26:40 UTC (rev 24002)
@@ -0,0 +1 @@
+usr/lib

Added: packages/fabulous/trunk/debian/rules
===================================================================
--- packages/fabulous/trunk/debian/rules	                        (rev 0)
+++ packages/fabulous/trunk/debian/rules	2013-04-23 23:26:40 UTC (rev 24002)
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
+CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
+LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
+%:
+	dh $@ --with python2,sphinxdoc
+
+build-arch:
+	mkdir -p debian/tmp
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -fPIC -shared -o xtermspeedup.so fabulous/_xterm256.c
+
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=$(shell pwd) make -C docs/ html
+
+override_dh_auto_install:
+	dh_auto_install
+	mv xtermspeedup.so debian/tmp
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf docs/_build


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

Added: packages/fabulous/trunk/debian/source/format
===================================================================
--- packages/fabulous/trunk/debian/source/format	                        (rev 0)
+++ packages/fabulous/trunk/debian/source/format	2013-04-23 23:26:40 UTC (rev 24002)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/fabulous/trunk/debian/watch
===================================================================
--- packages/fabulous/trunk/debian/watch	                        (rev 0)
+++ packages/fabulous/trunk/debian/watch	2013-04-23 23:26:40 UTC (rev 24002)
@@ -0,0 +1,2 @@
+version=3
+http://lobstertech.com/fabulous.html /media/file/fabulous/fabulous-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list