python-ecore: initial commit
authored_ <bartosh@gmail.com>
Mon, 20 Aug 2007 19:58:17 +0000 (19:58 +0000)
committered_ <bartosh@gmail.com>
Mon, 20 Aug 2007 19:58:17 +0000 (19:58 +0000)
trunk/python-ecore/debian/changelog [new file with mode: 0644]
trunk/python-ecore/debian/compat [new file with mode: 0644]
trunk/python-ecore/debian/control [new file with mode: 0644]
trunk/python-ecore/debian/copyright [new file with mode: 0644]
trunk/python-ecore/debian/rules [new file with mode: 0755]

diff --git a/trunk/python-ecore/debian/changelog b/trunk/python-ecore/debian/changelog
new file mode 100644 (file)
index 0000000..940e05d
--- /dev/null
@@ -0,0 +1,6 @@
+python-ecore (0.1.1-maemo.1) unstable; urgency=low
+
+  * Initial release
+
+ -- Ed Bartosh <eduard.bartosh@nokia.com>  Mon, 20 Aug 2007 21:31:37 +0300
+
diff --git a/trunk/python-ecore/debian/compat b/trunk/python-ecore/debian/compat
new file mode 100644 (file)
index 0000000..b8626c4
--- /dev/null
@@ -0,0 +1 @@
+4
diff --git a/trunk/python-ecore/debian/control b/trunk/python-ecore/debian/control
new file mode 100644 (file)
index 0000000..c3f9c3b
--- /dev/null
@@ -0,0 +1,17 @@
+Source: python-ecore
+Section: python
+Priority: optional
+Maintainer: Maemo-EFL Team <maemo-efl-devel@garage.maemo.org>
+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), libecore0-dev (>= 0.9.9.040-maemo.1)
+#, python2.5-numeric-dev (>= 24.2-1osso4)
+Standards-Version: 3.6.2.2
+
+Package: python2.5-ecore
+Section: python
+Architecture: any
+Depends: python2.5 (>= 2.5.1-1osso2), ${shlibs:Depends}
+Description: Python bindings for Ecore
+ This packages contains modules that allow you to use 
+ Ecore(enlightenment core library) in Python programs.
+
+
diff --git a/trunk/python-ecore/debian/copyright b/trunk/python-ecore/debian/copyright
new file mode 100644 (file)
index 0000000..90609c4
--- /dev/null
@@ -0,0 +1,40 @@
+This package was debianized by Ed Bartosh <eduard.bartosh@nokia.com> 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 <barbieri@gmail.com>
+
+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-ecore/debian/rules b/trunk/python-ecore/debian/rules
new file mode 100755 (executable)
index 0000000..92ed1b4
--- /dev/null
@@ -0,0 +1,57 @@
+#!/usr/bin/make -f
+
+PYVER=2.5
+PYTHON=python$(PYVER)
+
+p_base=$(PYTHON)-ecore
+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 ecore/ecore.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_ecore.egg-info
+       -rm -f ecore/*.py[co]
+       -rm -f *.py[co]
+       dh_clean 
+       
+install: build
+       dh_testdir
+       dh_testroot
+       dh_installdirs
+
+       $(PYTHON) setup.py install --root=$(d_base) 
+
+binary: binary-indep binary-arch
+binary-indep: install
+binary-arch: install
+       dh_testdir
+       dh_testroot
+       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