Adding to repository
authoretrunko <eblima@gmail.com>
Mon, 10 Dec 2007 20:53:31 +0000 (20:53 +0000)
committeretrunko <eblima@gmail.com>
Mon, 10 Dec 2007 20:53:31 +0000 (20:53 +0000)
trunk/python-epsilon/debian/changelog [new file with mode: 0644]
trunk/python-epsilon/debian/compat [new file with mode: 0644]
trunk/python-epsilon/debian/control [new file with mode: 0644]
trunk/python-epsilon/debian/copyright [new file with mode: 0644]
trunk/python-epsilon/debian/rules [new file with mode: 0755]

diff --git a/trunk/python-epsilon/debian/changelog b/trunk/python-epsilon/debian/changelog
new file mode 100644 (file)
index 0000000..1715c34
--- /dev/null
@@ -0,0 +1,6 @@
+python-epsilon (0.1.0-maemo.1) unstable; urgency=low
+
+  * Initial release
+
+ -- Eduardo Lima (Etrunko) <eduardo.lima@indt.org.br>  Mon, 10 Dec 2007 17:37:34 -0200
+
diff --git a/trunk/python-epsilon/debian/compat b/trunk/python-epsilon/debian/compat
new file mode 100644 (file)
index 0000000..b8626c4
--- /dev/null
@@ -0,0 +1 @@
+4
diff --git a/trunk/python-epsilon/debian/control b/trunk/python-epsilon/debian/control
new file mode 100644 (file)
index 0000000..f4bb9bb
--- /dev/null
@@ -0,0 +1,17 @@
+Source: python-epsilon
+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), python-setuptools (>= 0.6c3), python2.5-pyrex (>= 0.9.5.1), libepsilon0-dev, python2.5-cython-dev
+Standards-Version: 3.6.2.2
+
+Package: python2.5-epsilon
+Section: python
+Architecture: any
+Provides: python-epsilon
+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-epsilon/debian/copyright b/trunk/python-epsilon/debian/copyright
new file mode 100644 (file)
index 0000000..71a6993
--- /dev/null
@@ -0,0 +1,40 @@
+This package was debianized by Ed Bartosh <bartosh@gmail.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-epsilon/debian/rules b/trunk/python-epsilon/debian/rules
new file mode 100755 (executable)
index 0000000..6a7e5ec
--- /dev/null
@@ -0,0 +1,58 @@
+#!/usr/bin/make -f
+
+PYVER=2.5
+PYTHON=python$(PYVER)
+
+p_base=$(PYTHON)-epsilon
+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
+       touch epsilon/epsilon.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_epsilon.egg-info
+       -rm -f epsilon/*.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_fixperms
+       dh_makeshlibs
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+.PHONY: build install clean binary binary-indep binary-arch