[Python-modules-commits] r23630 - in packages/mccabe/trunk (10 files)

cjohnston-guest at users.alioth.debian.org cjohnston-guest at users.alioth.debian.org
Sat Mar 2 04:44:52 UTC 2013


    Date: Saturday, March 2, 2013 @ 04:44:49
  Author: cjohnston-guest
Revision: 23630

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

Added:
  packages/mccabe/trunk/debian/
  packages/mccabe/trunk/debian/changelog
  packages/mccabe/trunk/debian/compat
  packages/mccabe/trunk/debian/control
  packages/mccabe/trunk/debian/copyright
  packages/mccabe/trunk/debian/docs
  packages/mccabe/trunk/debian/rules
  packages/mccabe/trunk/debian/source/
  packages/mccabe/trunk/debian/source/format
  packages/mccabe/trunk/debian/watch


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

Added: packages/mccabe/trunk/debian/changelog
===================================================================
--- packages/mccabe/trunk/debian/changelog	                        (rev 0)
+++ packages/mccabe/trunk/debian/changelog	2013-03-02 04:44:49 UTC (rev 23630)
@@ -0,0 +1,5 @@
+mccabe (0.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #)
+
+ -- Chris Johnston <chrisjohnston at ubuntu.com>  Fri, 01 Mar 2013 22:47:20 -0500

Added: packages/mccabe/trunk/debian/compat
===================================================================
--- packages/mccabe/trunk/debian/compat	                        (rev 0)
+++ packages/mccabe/trunk/debian/compat	2013-03-02 04:44:49 UTC (rev 23630)
@@ -0,0 +1 @@
+8

Added: packages/mccabe/trunk/debian/control
===================================================================
--- packages/mccabe/trunk/debian/control	                        (rev 0)
+++ packages/mccabe/trunk/debian/control	2013-03-02 04:44:49 UTC (rev 23630)
@@ -0,0 +1,28 @@
+Source: mccabe
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> 
+Uploaders: Chris Johnston <chrisjohnston at ubuntu.com>
+Build-Depends: debhelper (>= 9), python-all, python3-all, python-setuptools,
+	python3-setuptools
+Standards-Version: 3.9.4
+Homepage: https://github.com/florentx/mccabe
+#Vcs-Git: git://git.debian.org/collab-maint/mccabe.git
+#Vcs-Browser: http://git.debian.org/?p=collab-maint/mccabe.git;a=summary
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.1
+
+Package: python-mccabe
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: is a Python code complexity checker
+ This module provides a plugin for the flake8 Python code checker to run the
+ McCabe code complexity script against Python code.
+
+Package: python3-mccabe
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: is a Python code complexity checker
+ This module provides a plugin for the flake8 Python code checker to run the
+ McCabe code complexity script against Python code.
+

Added: packages/mccabe/trunk/debian/copyright
===================================================================
--- packages/mccabe/trunk/debian/copyright	                        (rev 0)
+++ packages/mccabe/trunk/debian/copyright	2013-03-02 04:44:49 UTC (rev 23630)
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: mccabe
+Source: https://github.com/florentx/mccabe
+
+Files: *
+Copyright: 2008-2013 Ned Batchelder
+           2011-2013 Tarek Ziade <tarek at ziade.org>
+           2013 Florent Xicluna <florent.xicluna at gmail.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2013 Chris Johnston <chrisjohnston at ubuntu.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/mccabe/trunk/debian/docs
===================================================================
--- packages/mccabe/trunk/debian/docs	                        (rev 0)
+++ packages/mccabe/trunk/debian/docs	2013-03-02 04:44:49 UTC (rev 23630)
@@ -0,0 +1 @@
+README.rst

Added: packages/mccabe/trunk/debian/rules
===================================================================
--- packages/mccabe/trunk/debian/rules	                        (rev 0)
+++ packages/mccabe/trunk/debian/rules	2013-03-02 04:44:49 UTC (rev 23630)
@@ -0,0 +1,45 @@
+#!/usr/bin/make -f
+PY2_PACKAGE_NAME=python-mccabe
+PY3_PACKAGE_NAME=python3-mccabe
+
+PYVERS=$(shell pyversions -r)
+PY3VERS=$(shell py3versions -r)
+
+%:
+	dh $@  --with python2,python3
+
+override_dh_auto_clean:
+	rm -rf mcabe.egg-info
+	dh_auto_clean
+
+override_dh_auto_build:
+	set -xe; \
+	for py in $(PYVERS) $(PY3VERS); do \
+		$$py setup.py build; \
+	done
+
+override_dh_auto_install:
+	set -xe; \
+	for py in $(PYVERS); do \
+		$$py setup.py install --skip-build --root debian/$(PY2_PACKAGE_NAME) \
+		--install-layout deb; \
+	done
+	set -xe; \
+		for py in $(PY3VERS); do \
+		$$py setup.py install --skip-build --root debian/$(PY3_PACKAGE_NAME) \
+		--install-layout deb; \
+	done
+
+	# Remove me when dh_python2 can handle this file
+	rm -vf debian/*/usr/lib/python*/*-packages/*.egg-info/SOURCES.txt
+
+override_dh_install:
+	dh_install
+	mv ./debian/python3-mccabe/usr/bin/mccabe ./debian/python3-flakey/usr/bin/mccabe3
+
+override_dh_python2:
+	dh_python2 --shebang=/usr/bin/python
+
+override_dh_python3:
+	dh_python3 --shebang=/usr/bin/python3
+


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

Added: packages/mccabe/trunk/debian/source/format
===================================================================
--- packages/mccabe/trunk/debian/source/format	                        (rev 0)
+++ packages/mccabe/trunk/debian/source/format	2013-03-02 04:44:49 UTC (rev 23630)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/mccabe/trunk/debian/watch
===================================================================
--- packages/mccabe/trunk/debian/watch	                        (rev 0)
+++ packages/mccabe/trunk/debian/watch	2013-03-02 04:44:49 UTC (rev 23630)
@@ -0,0 +1,3 @@
+version=3
+
+http://pypi.python.org/packages/source/m/mccabe/mccabe-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list