--- monodevelop-python-2.4.orig/debian/control +++ monodevelop-python-2.4/debian/control @@ -0,0 +1,31 @@ +Source: monodevelop-python +Section: devel +Priority: optional +Maintainer: Debian CLI Applications Team +Uploaders: Mirco Bauer , Jo Shields +Build-Depends: debhelper (>= 7), quilt +Build-Depends-Indep: cli-common-dev (>= 0.5.7), + mono-devel (>= 2.4.3), + monodevelop (>= 2.4), + monodevelop-versioncontrol (>= 2.4), + monodevelop-nunit (>= 2.4), + libgtk2.0-cil-dev, + libmono-addins-cil-dev +Standards-Version: 3.8.4 +Homepage: http://www.monodevelop.com/ +Vcs-Git: git://git.debian.org/git/pkg-cli-apps/packages/monodevelop-python.git +Vcs-Browser: http://git.debian.org/?p=pkg-cli-apps/packages/monodevelop-python.git + +Package: monodevelop-python +Architecture: all +Enhances: mono-debugger +Depends: ${shlibs:Depends}, + ${misc:Depends}, + ${cli:Depends}, + monodevelop (>= ${source:Upstream-Version}), + monodevelop (<< ${source:Upstream-Version}.) +Description: Python plugin for MonoDevelop + MonoDevelop is a GNOME IDE primarily designed for C# and other CLI (.NET) + languages. + . + This package enables Python language support for MonoDevelop. --- monodevelop-python-2.4.orig/debian/watch +++ monodevelop-python-2.4/debian/watch @@ -0,0 +1,3 @@ +version=2 +opts=dversionmangle=s/\+dfsg// \ + http://ftp.novell.com/pub/mono/sources/monodevelop-python/monodevelop-python-([\d\.]+)\.tar\.bz2 --- monodevelop-python-2.4.orig/debian/compat +++ monodevelop-python-2.4/debian/compat @@ -0,0 +1 @@ +7 --- monodevelop-python-2.4.orig/debian/changelog +++ monodevelop-python-2.4/debian/changelog @@ -0,0 +1,38 @@ +monodevelop-python (2.4-1) experimental; urgency=low + + * New upstream release + * debian/source/format: + + Force DebSrc 1.0 + * debian/control: + + Bump MonoDevelop build-dep to 2.4 + + Don't tweak binary version dependency on MonoDevelop + * debian/rules: + + Stop using ../tarballs in get-orig-source rule + + -- Jo Shields Thu, 17 Jun 2010 14:02:59 +0100 + +monodevelop-python (2.2-3) unstable; urgency=low + + * Rebuild against MonoDevelop 2.2.2 + * debian/control: + + Build-depend on MonoDevelop 2.2.2 + + Tweak binary dependency for MonoDevelop 2.2.2 + + -- Jo Shields Fri, 11 Jun 2010 12:41:34 +0100 + +monodevelop-python (2.2-2) unstable; urgency=low + + * Rebuild against MonoDevelop 2.2.1 + * debian/control: + + No-change bump to Standards 3.8.4 + + Build-depend on MonoDevelop 2.2.1 + + Tweak binary dependency for MonoDevelop 2.2.1 + + -- Jo Shields Fri, 12 Feb 2010 14:06:50 +0000 + +monodevelop-python (2.2-1) unstable; urgency=low + + * Initial release. + + -- Jo Shields Mon, 11 Jan 2010 14:58:26 +0000 + --- monodevelop-python-2.4.orig/debian/rules +++ monodevelop-python-2.4/debian/rules @@ -0,0 +1,56 @@ +#!/usr/bin/make -f +export DH_VERBOSE=1 + +MAKEFILE = $(firstword $(MAKEFILE_LIST)) +DEBIAN_DIR = $(dir $(MAKEFILE)) +SOURCE_DIR = $(DEBIAN_DIR)/.. + +DEB_VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Version | cut -d" " -f2) +DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2) +VERSION = $(shell echo $(DEB_VERSION) | cut -d"-" -f1 | sed 's/+dfsg.*//') + +include /usr/share/cli-common/cli.make +include /usr/share/quilt/quilt.make + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh build --before dh_auto_configure + ./configure --prefix=/usr + dh build --after dh_auto_configure + touch build-stamp + +install: build + dh $@ + +binary: binary-arch binary-indep + +binary-arch: + +binary-indep: build install + dh $@ + +clean: clean-patched unpatch +clean-patched: $(QUILT_STAMPFN) + dh clean --before dh_auto_clean + [ -f config.make ] || ./configure --clean-only + make clean + rm -f config.make config.log + dh clean --after dh_auto_clean + +get-orig-source: + uscan \ + --package $(DEB_SOURCE_NAME) \ + --watchfile $(DEBIAN_DIR)/watch \ + --upstream-version $(VERSION) \ + --download-version $(VERSION) \ + --destdir . \ + --force-download \ + --rename + bzcat ./$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.bz2 | \ + gzip -9fn -c - > ./$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz + rm ./$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.bz2 + +%: + dh $@ + +.PHONY: build install binary binary-arch binary-indep clean clean-patched get-orig-source --- monodevelop-python-2.4.orig/debian/copyright +++ monodevelop-python-2.4/debian/copyright @@ -0,0 +1,39 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=143 +Upstream-Name: monodevelop-python +Upstream-Source: http://monodevelop.com/Download_-_Unstable + +Files: * +Copyright: © 2008-2009 Christian Hergert +License: MIT/X11 + +Files: PyBinding/PyBinding/PythonExecutionHandler.cs, PyBinding/PyBinding/PythonExecutionCommand.cs +Copyright: © 2009 Novell, Inc (http://www.novell.com) +License: MIT/X11 + +Files: debian/* +Copyright: Copyright 2008, Mirco Bauer +Copyright: © 2009, Jo Shields +License: GPL-2+ + On Debian systems, the complete text of the GNU General Public License can be + found in the /usr/share/common-licenses/GPL' file. + +License: MIT/X11 + 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. + --- monodevelop-python-2.4.orig/debian/patches/allow_minimal_configure_for_clean.patch +++ monodevelop-python-2.4/debian/patches/allow_minimal_configure_for_clean.patch @@ -0,0 +1,12 @@ +--- git.orig/configure ++++ git/configure +@@ -68,6 +68,9 @@ + + while test x$1 != x; do + case $1 in ++ --clean-only) ++ common_packages="" ++ ;; + --prefix=*) + prefix=`echo $1 | sed 's/--prefix=//'` + ;; --- monodevelop-python-2.4.orig/debian/patches/use_csc_compiler.patch +++ monodevelop-python-2.4/debian/patches/use_csc_compiler.patch @@ -0,0 +1,21 @@ +diff -urNad monodevelop-python-0.2~/PyBinding/Makefile monodevelop-python-0.2/PyBinding/Makefile +--- monodevelop-python-0.2~/PyBinding/Makefile 2009-11-02 10:38:50.513596032 +0000 ++++ monodevelop-python-0.2/PyBinding/Makefile 2009-11-02 10:39:15.421100201 +0000 +@@ -9,7 +9,7 @@ + include $(top_srcdir)/config.make + + ifeq ($(CONFIG),DEBUG) +-ASSEMBLY_COMPILER_COMMAND = gmcs ++ASSEMBLY_COMPILER_COMMAND = mono-csc + ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ -debug "-define:DEBUG" + ASSEMBLY = ../build/PyBinding.dll + ASSEMBLY_MDB = $(ASSEMBLY).mdb +@@ -23,7 +23,7 @@ + endif + + ifeq ($(CONFIG),RELEASE) +-ASSEMBLY_COMPILER_COMMAND = gmcs ++ASSEMBLY_COMPILER_COMMAND = mono-csc + ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ + ASSEMBLY = ../build/PyBinding.dll + ASSEMBLY_MDB = --- monodevelop-python-2.4.orig/debian/patches/series +++ monodevelop-python-2.4/debian/patches/series @@ -0,0 +1,2 @@ +allow_minimal_configure_for_clean.patch +use_csc_compiler.patch --- monodevelop-python-2.4.orig/debian/source/format +++ monodevelop-python-2.4/debian/source/format @@ -0,0 +1 @@ +1.0