[Python-modules-commits] r20536 - in packages/python-byteplay/trunk (13 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Wed Feb 22 19:29:52 UTC 2012


    Date: Wednesday, February 22, 2012 @ 19:29:51
  Author: jwilk
Revision: 20536

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

Added:
  packages/python-byteplay/trunk/debian/
  packages/python-byteplay/trunk/debian/changelog
  packages/python-byteplay/trunk/debian/compat
  packages/python-byteplay/trunk/debian/control
  packages/python-byteplay/trunk/debian/copyright
  packages/python-byteplay/trunk/debian/patches/
  packages/python-byteplay/trunk/debian/patches/no-setuptools.diff
  packages/python-byteplay/trunk/debian/patches/series
  packages/python-byteplay/trunk/debian/rules
  packages/python-byteplay/trunk/debian/source/
  packages/python-byteplay/trunk/debian/source/format
  packages/python-byteplay/trunk/debian/source/options
  packages/python-byteplay/trunk/debian/watch


Property changes on: packages/python-byteplay/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/python-byteplay/trunk/debian/changelog
===================================================================
--- packages/python-byteplay/trunk/debian/changelog	                        (rev 0)
+++ packages/python-byteplay/trunk/debian/changelog	2012-02-22 19:29:51 UTC (rev 20536)
@@ -0,0 +1,5 @@
+python-byteplay (0.2-1) UNRELEASED; urgency=low
+
+  * Initial release (closes: #660745)
+
+ -- Jakub Wilk <jwilk at debian.org>  Wed, 22 Feb 2012 17:34:09 +0100

Added: packages/python-byteplay/trunk/debian/compat
===================================================================
--- packages/python-byteplay/trunk/debian/compat	                        (rev 0)
+++ packages/python-byteplay/trunk/debian/compat	2012-02-22 19:29:51 UTC (rev 20536)
@@ -0,0 +1 @@
+7

Added: packages/python-byteplay/trunk/debian/control
===================================================================
--- packages/python-byteplay/trunk/debian/control	                        (rev 0)
+++ packages/python-byteplay/trunk/debian/control	2012-02-22 19:29:51 UTC (rev 20536)
@@ -0,0 +1,23 @@
+Source: python-byteplay
+Section: python
+Priority: optional
+Maintainer: Jakub Wilk <jwilk at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-byteplay/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-byteplay/trunk/
+Build-Depends: debhelper (>= 7),
+ python-support (>= 0.90),
+ python-all (>= 2.4),
+XS-Python-Version: >= 2.4
+Standards-Version: 3.9.2
+Homepage: http://code.google.com/p/byteplay
+
+Package: python-byteplay
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Python bytecode manipulation library
+ byteplay lets you convert Python code objects into equivalent objects 
+ which are easy to play with, and lets you convert those objects back 
+ into living Python code objects. It's useful for applying crazy 
+ transformations on Python functions, and is also useful in learning 
+ Python byte code intricacies.

Added: packages/python-byteplay/trunk/debian/copyright
===================================================================
--- packages/python-byteplay/trunk/debian/copyright	                        (rev 0)
+++ packages/python-byteplay/trunk/debian/copyright	2012-02-22 19:29:51 UTC (rev 20536)
@@ -0,0 +1,30 @@
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&pathrev=174
+Upstream-Name: byteplay
+Upstream-Contact: Noam Raph <noamraph at gmail.com>
+Source: http://code.google.com/p/byteplay/downloads/list
+
+Files: *
+Copyright: 2010, Noam Raphael <noamraph at gmail.com>
+License: LGPL-2+
+
+Files: debian/*
+Copyright: 2012, Jakub Wilk <jwilk at debian.org>
+License: LGPL-2+
+
+License: LGPL-2+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or (at
+ your option) any later version.
+ .
+ This library 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 Lesser General Public License
+ for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU Lesser General Public License
+ version 2 can be found in the file ‘/usr/share/common-licenses/GPL-2’.

Added: packages/python-byteplay/trunk/debian/patches/no-setuptools.diff
===================================================================
--- packages/python-byteplay/trunk/debian/patches/no-setuptools.diff	                        (rev 0)
+++ packages/python-byteplay/trunk/debian/patches/no-setuptools.diff	2012-02-22 19:29:51 UTC (rev 20536)
@@ -0,0 +1,15 @@
+Description: Don't use setuptools.
+Author: Jakub Wilk <jwilk at debian.org>
+Forwarded: not-needed
+Last-Update: 2012-02-22
+
+--- a/setup.py
++++ b/setup.py
+@@ -1,6 +1,6 @@
+ #!/usr/bin/python
+ 
+-from setuptools import setup, find_packages
++from distutils.core import setup
+ from byteplay import __version__ as lib_version
+ 
+ setup(

Added: packages/python-byteplay/trunk/debian/patches/series
===================================================================
--- packages/python-byteplay/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-byteplay/trunk/debian/patches/series	2012-02-22 19:29:51 UTC (rev 20536)
@@ -0,0 +1 @@
+no-setuptools.diff

Added: packages/python-byteplay/trunk/debian/rules
===================================================================
--- packages/python-byteplay/trunk/debian/rules	                        (rev 0)
+++ packages/python-byteplay/trunk/debian/rules	2012-02-22 19:29:51 UTC (rev 20536)
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+
+python_all = pyversions -r $(CURDIR)/debian/control | tr ' ' '\n' | xargs -t -I {} env {}
+
+.PHONY: clean
+clean:
+	dh_testdir
+	dh_clean
+	rm -rf build
+	find -name '*.py[co]' -delete
+
+.PHONY: build build-arch build-indep
+build build-indep: build/stamp
+
+build/stamp:
+	dh_testdir
+ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
+	$(python_all) byteplay.py .
+endif
+	$(python_all) setup.py build
+	sed -n -r -e 's/^ {8}//p' PKG-INFO > build/README
+	touch $(@)
+
+.PHONY: binary binary-arch binary-indep
+binary binary-indep: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	$(python_all) setup.py install --prefix=/usr --root=debian/python-byteplay/
+	sed -i 's/^Metadata-Version: 1\.0$$/Metadata-Version: 1.1/' debian/*/usr/lib/python2.*/*-packages/*.egg-info
+	dh_installdocs build/README
+	dh_installexamples examples/*.py
+	dh_installchangelogs
+	dh_pysupport
+	dh_compress -X examples
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# vim:ts=4 sw=4 noet


Property changes on: packages/python-byteplay/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/python-byteplay/trunk/debian/source/format
===================================================================
--- packages/python-byteplay/trunk/debian/source/format	                        (rev 0)
+++ packages/python-byteplay/trunk/debian/source/format	2012-02-22 19:29:51 UTC (rev 20536)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/python-byteplay/trunk/debian/source/options
===================================================================
--- packages/python-byteplay/trunk/debian/source/options	                        (rev 0)
+++ packages/python-byteplay/trunk/debian/source/options	2012-02-22 19:29:51 UTC (rev 20536)
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]+\.egg-info/"

Added: packages/python-byteplay/trunk/debian/watch
===================================================================
--- packages/python-byteplay/trunk/debian/watch	                        (rev 0)
+++ packages/python-byteplay/trunk/debian/watch	2012-02-22 19:29:51 UTC (rev 20536)
@@ -0,0 +1,3 @@
+version=3
+http://code.google.com/p/byteplay/downloads/list?can=1 \
+.*/files/byteplay-([0-9.]+).tar.gz




More information about the Python-modules-commits mailing list