From 680ea5969dab54fc738a2b9ffe84953394af5968 Mon Sep 17 00:00:00 2001 From: ed_ Date: Mon, 20 Aug 2007 20:01:54 +0000 Subject: [PATCH] python-evas: initial commit --- trunk/python-evas/debian/changelog | 6 ++++ trunk/python-evas/debian/compat | 1 + trunk/python-evas/debian/control | 21 ++++++++++++ trunk/python-evas/debian/copyright | 40 +++++++++++++++++++++++ trunk/python-evas/debian/rules | 62 ++++++++++++++++++++++++++++++++++++ 5 files changed, 130 insertions(+) create mode 100644 trunk/python-evas/debian/changelog create mode 100644 trunk/python-evas/debian/compat create mode 100644 trunk/python-evas/debian/control create mode 100644 trunk/python-evas/debian/copyright create mode 100755 trunk/python-evas/debian/rules diff --git a/trunk/python-evas/debian/changelog b/trunk/python-evas/debian/changelog new file mode 100644 index 0000000..56c7541 --- /dev/null +++ b/trunk/python-evas/debian/changelog @@ -0,0 +1,6 @@ +python-evas (0.1.1-maemo.1) unstable; urgency=low + + * Initial release + + -- Ed Bartosh Sun, 19 Aug 2007 18:23:15 +0300 + diff --git a/trunk/python-evas/debian/compat b/trunk/python-evas/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/trunk/python-evas/debian/compat @@ -0,0 +1 @@ +4 diff --git a/trunk/python-evas/debian/control b/trunk/python-evas/debian/control new file mode 100644 index 0000000..2f06b9c --- /dev/null +++ b/trunk/python-evas/debian/control @@ -0,0 +1,21 @@ +Source: python-evas +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), python2.5-setuptools (>= 0.6c3), python2.5-pyrex (>= 0.9.5.1), libevas0-dev (>= 0.9.9.040-maemo.1), python2.5-numeric-dev (>= 24.2-1osso4) +Standards-Version: 3.6.2.2 + +Package: python2.5-evas +Section: python +Architecture: any +Depends: python2.5 (>= 2.5.1-1osso2), ${shlibs:Depends} +Description: Python bindings for enlightenment advanced canvas library + This packages contains modules that allow you to use + Evas(enlightenment advanced canvas library) in Python programs. + +Package: python2.5-evas-dev +Section: python +Architecture: all +Depends: python2.5-evas (= ${Source-Version}) +Description: Development files for Python Evas + diff --git a/trunk/python-evas/debian/copyright b/trunk/python-evas/debian/copyright new file mode 100644 index 0000000..90609c4 --- /dev/null +++ b/trunk/python-evas/debian/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-evas/debian/rules b/trunk/python-evas/debian/rules new file mode 100755 index 0000000..7ba5e1d --- /dev/null +++ b/trunk/python-evas/debian/rules @@ -0,0 +1,62 @@ +#!/usr/bin/make -f + +PYVER=2.5 +PYTHON=python$(PYVER) + +p_base=$(PYTHON)-evas +p_dev =$(p_base)-dev + +d_base=debian/$(p_base) +d_dev=debian/$(p_dev) + +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) + +ifeq ($(DEB_BUILD_ARCH),armel) + #CFLAGS="-Os -mthumb -mfloat-abi=softfp -Wall -Wstrict-prototypes" + CFLAGS+="-DNDEBUG=1 -fomit-frame-pointer -O2 -mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant" +endif + +build: build-stamp +build-stamp: + dh_testdir + touch evas/evas.c_evas.pyx + CFLAGS=$(CFLAGS) $(PYTHON) setup.py build_ext build install --prefix /usr install_headers + touch build-stamp +clean: + dh_testdir + dh_testroot + $(PYTHON) setup.py clean + -rm -f build-stamp + -rm -rf build dist python_evas.egg-info + -rm -f evas/*.py[co] + -rm -f *.py[co] + dh_clean + +install: build + dh_testdir + dh_testroot + dh_installdirs + + $(PYTHON) setup.py install --root=$(d_base) + install -d $(d_dev)/usr/ + mv $(d_base)/usr/include $(d_dev)/usr/ + +binary: binary-indep binary-arch +binary-indep: install +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs -p$(p_dev) + dh_installdocs -p$(p_dev) + dh_installman -p$(p_dev) + dh_strip + dh_compress -p$(p_dev) -Xexamples -X.py + 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