From 031c4bd553c0e1824406ca302bd72c76bcf12328 Mon Sep 17 00:00:00 2001 From: etrunko Date: Mon, 17 Dec 2007 21:30:37 +0000 Subject: [PATCH] Added debian dir --- trunk/python-e_dbus/debian_chinook/changelog | 5 +++ trunk/python-e_dbus/debian_chinook/compat | 1 + trunk/python-e_dbus/debian_chinook/control | 16 +++++++ trunk/python-e_dbus/debian_chinook/copyright | 40 +++++++++++++++++ trunk/python-e_dbus/debian_chinook/rules | 60 ++++++++++++++++++++++++++ 5 files changed, 122 insertions(+) create mode 100644 trunk/python-e_dbus/debian_chinook/changelog create mode 100644 trunk/python-e_dbus/debian_chinook/compat create mode 100644 trunk/python-e_dbus/debian_chinook/control create mode 100644 trunk/python-e_dbus/debian_chinook/copyright create mode 100755 trunk/python-e_dbus/debian_chinook/rules diff --git a/trunk/python-e_dbus/debian_chinook/changelog b/trunk/python-e_dbus/debian_chinook/changelog new file mode 100644 index 0000000..29add10 --- /dev/null +++ b/trunk/python-e_dbus/debian_chinook/changelog @@ -0,0 +1,5 @@ +python-edbus (0.1.0-maemo.1) unstable; urgency=low + + * Maemo build + + -- Eduardo Lima (Etrunko) Wed, 12 Dec 2007 01:15:53 -0200 diff --git a/trunk/python-e_dbus/debian_chinook/compat b/trunk/python-e_dbus/debian_chinook/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/trunk/python-e_dbus/debian_chinook/compat @@ -0,0 +1 @@ +4 diff --git a/trunk/python-e_dbus/debian_chinook/control b/trunk/python-e_dbus/debian_chinook/control new file mode 100644 index 0000000..b4d8705 --- /dev/null +++ b/trunk/python-e_dbus/debian_chinook/control @@ -0,0 +1,16 @@ +Source: python-edbus +Section: python +Priority: optional +Maintainer: Maemo-EFL Team +Build-Depends: debhelper (>> 4.2.0), cdbs (>= 0.4.23), python2.5-dev (>= 2.5.1-1osso2), python-setuptools (>= 0.6c3), python2.5-pyrex (>= 0.9.5.1), libedbus0-dev +Standards-Version: 3.6.2.2 + +Package: python2.5-edbus +Section: python +Architecture: any +Provides: python-edbus +Depends: python2.5 (>= 2.5.1-1osso2), ${shlibs:Depends} +Description: DBus python integration for ecore. + This packages contains modules that allow you to use + E_Dbus in Python programs. + diff --git a/trunk/python-e_dbus/debian_chinook/copyright b/trunk/python-e_dbus/debian_chinook/copyright new file mode 100644 index 0000000..71a6993 --- /dev/null +++ b/trunk/python-e_dbus/debian_chinook/copyright @@ -0,0 +1,40 @@ +This package was debianized by Ed Bartosh on +Sun, 19 Aug 2007 17:53:54 +0200 + +The source is downloaded from the e17/proto/python-efl/python-evas module +of the enlightenment CVS tree. For more information, see: + + http://www.enlightenment.org/cvs.html + +Upstream Author: Gustavo Sverzut Barbieri + +Copyright: + +Copyright (C) 2007 Gustavo Sverzut Barbieri + +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 of the Software and its Copyright notices. In addition publicly +documented acknowledgment must be given that this software has been used if no +source code of this software is made available publicly. This includes +acknowledgments in either Copyright notices, Manuals, Publicity and Marketing +documents or any documentation provided with any product containing this +software. This License does not apply to any software that links to the +libraries provided by this software (statically or dynamically), but only to +the software provided. + +Please see the COPYING.PLAIN for a plain-english explanation of this notice +and it's intent. + +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 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. diff --git a/trunk/python-e_dbus/debian_chinook/rules b/trunk/python-e_dbus/debian_chinook/rules new file mode 100755 index 0000000..6791538 --- /dev/null +++ b/trunk/python-e_dbus/debian_chinook/rules @@ -0,0 +1,60 @@ +#!/usr/bin/make -f + +PYVER=2.5 +PYTHON=python$(PYVER) + +p_base=$(PYTHON)-edbus +d_base=debian/$(p_base) + +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) + +ifneq (,$(findstring armel,$(DEB_BUILD_ARCH))) + CFLAGS += -DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant + ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS))) + CFLAGS += -mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s + endif + ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS))) + CFLAGS += -mcpu=arm926ej-s + endif +endif + +build: build-stamp +build-stamp: + dh_testdir + CFLAGS="$(CFLAGS)" $(PYTHON) setup.py build_ext build install --prefix /usr install_headers + touch build-stamp +clean: + dh_testdir + dh_testroot + CFLAGS="$(CFLAGS)" $(PYTHON) setup.py clean + -rm -f build-stamp + -rm -rf build dist python_e_dbus.egg-info + -rm -f *.py[co] + dh_clean + +install: build + dh_testdir + dh_testroot + dh_installdirs + CFLAGS="$(CFLAGS)" $(PYTHON) setup.py install --root=$(d_base) + if [ "x$(DEB_BUILD_ARCH)" = "xarmel" ]; then \ + rm -rf $(d_base)/usr/lib/$(PYTHON)/site-packages/*.py; \ + rm -rf $(d_base)/usr/lib/$(PYTHON)/site-packages/*.pyc; \ + fi + +binary: binary-indep binary-arch +binary-indep: install +binary-arch: install + dh_testdir + dh_testroot + dh_install + dh_strip + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +.PHONY: build install clean binary binary-indep binary-arch -- 1.7.9.5