--- /dev/null
+python-elementary (0.1.0-1) unstable; urgency=low
+
+ * Initial release
+
+ -- quaker <quaker66@gmail.com> Fri, 03 Jan 2008 09:29:55 +0100
--- /dev/null
+Source: python-elementary
+Section: python
+Priority: extra
+Maintainer: Maemo-EFL Team <maemo-efl-devel@garage.maemo.org>
+Uploaders: Eduardo Lima (Etrunko) <eduardo.lima@indt.org.br>
+Build-Depends: cdbs, debhelper (>= 4), maemo-cflags-cdbs-rules (>= 0.0.4), python2.5-dev (>= 2.5.1-1osso6), python2.5-cython-dev | cython, python2.5-pyrex (>= 0.9.5.1) | python-pyrex (>= 0.9.5.1), python2.5-setuptools (>= 0.6c6) | python-setuptools (>= 0.6c6) , libelementary0-dev (>= @ELEMENTARY_VERSION@), python2.5-evas-dev (>= @PYTHON-EVAS_VERSION@), libecore0-dev (>= @ECORE_VERSION@), libeina0-dev (>= @EINA_VERSION@)
+Standards-Version: 3.8.1
+Homepage: http://enlightenment.org
+
+Package: python2.5-elementary
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libelementary0 (>= @ELEMENTARY_VERSION@) python2.5-evas (>= @PYTHON-EVAS_VERSION@), python2.5-ecore (>= @PYTHON-ECORE_VERSION@)
+Provides: python-elementary
+Description: Python bindings for elementary
+ This package contains python elementary module.
+ .
+ Elementary - a basic widget set that is easy to use based on EFL for mobile
+ touch-screen devices.
+
--- /dev/null
+This package was debianized by quaker <quaker66@gmail.com> on Thu, 03 Jan 2008 09:27:31 +0100.
+
+Authors:
+ Simon Busch <morphis@gravedo.de>
+
+License:
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+The Debian packaging is licensed under the same license as a original package.
--- /dev/null
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+
+include /usr/share/cdbs/1/rules/maemo-cflags.mk
+
+DEB_DESTDIR=$(CURDIR)/debian/tmp
+
+PYVER=2.5
+PYTHON=python$(PYVER)
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ touch elementary/elementary.*.pyx
+ CFLAGS="$(CFLAGS)" $(PYTHON) setup.py build_ext build
+ touch build-stamp
+clean:
+ dh_testdir
+ dh_testroot
+ CFLAGS="$(CFLAGS)" $(PYTHON) setup.py clean
+ -rm -f build-stamp
+ -rm -rf build dist python_elementary.egg-info
+ -rm -f elementary/*.py[co]
+ -rm -f *.py[co]
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_installdirs
+ CFLAGS="$(CFLAGS)" $(PYTHON) setup.py install --root=$(DEB_DESTDIR)
+ if [ "x$(DEB_BUILD_ARCH)" = "xarmel" ]; then \
+ rm -rf $(DEB_DESTDIR)/usr/lib/$(PYTHON)/site-packages/elementary/*.py; \
+ rm -rf $(DEB_DESTDIR)/usr/lib/$(PYTHON)/site-packages/elementary/*.pyc; \
+ fi
+ dh_install --sourcedir=$(DEB_DESTDIR) --fail-missing
+
+binary: binary-arch
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installdebconf
+ dh_installchangelogs
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+.PHONY: build install clean binary binary-arch
E_BASE_REPO="http://svn.enlightenment.org/svn/e/trunk"
E_PYTHON_REPO="$E_BASE_REPO/BINDINGS/python"
-E_SVN_REV="41038"
+E_SVN_REV="41533"
TMP_DIR="maemo-efl-deb-src-$E_SVN_REV"
VERSIONS_DIR="$TMP_DIR/versions"
-ALL_MODULES="eina eet evas ecore embryo edje epsilon etk e_dbus efl-core python-evas python-ecore python-edje python-epsilon python-etk python-e_dbus python-efl_utils python-efl-core"
+ALL_MODULES=("eina"
+ "eet"
+ "evas"
+ "ecore"
+ "embryo"
+ "edje"
+ "epsilon"
+ "etk"
+ "e_dbus"
+ "efl-core"
+ "python-evas"
+ "python-ecore"
+ "python-edje"
+ "python-epsilon"
+ "python-etk"
+ "python-e_dbus"
+ "python-efl_utils"
+ "python-efl-core")
+
+ALL_MODULES+=("elementary"
+ "python-elementary")
MAEMO_REV="maemo1"
MAEMO_REPO="extras-devel"
checkout_repositories(){
echo "Checking out repositories ..."
- for module in $ALL_MODULES;do
+ for module in ${ALL_MODULES[@]};do
echo -n " $module"
REPO=$E_BASE_REPO
REV="-r$E_SVN_REV "
+ echo -n $module | grep elementary > /dev/null 2>&1 && REPO="$E_BASE_REPO/TMP/st"
+ echo -n $module | grep ethumb > /dev/null 2>&1 && REPO="$E_BASE_REPO/PROTO"
echo -n $module | grep python > /dev/null 2>&1 && REPO=$E_PYTHON_REPO
echo -n $module | grep efl-core > /dev/null 2>&1 && cp -r $module $TMP_DIR && echo " ... OK" && continue
update_changelogs(){
echo "Updating changelogs ..."
- for module in $ALL_MODULES;do
+ for module in ${ALL_MODULES[@]};do
echo -n " $module "
echo -n $module | grep -v python | grep -v efl-core > /dev/null 2>&1 && VERSION=`grep AC_INIT $TMP_DIR/$module/configure.ac | cut -d[ -f3 | cut -d] -f1 || exit_error`
fi
echo "Generating version files ..."
- for module in $ALL_MODULES;do
+ for module in ${ALL_MODULES[@]};do
VERSION=`dpkg-parsechangelog -l$TMP_DIR/$module/debian/changelog | grep Version: | cut -d" " -f2 || exit_error`
echo " $module ... $VERSION"
echo "$VERSION" > $VERSIONS_DIR/"$module"_version
gen_control(){
echo "Generating control files ..."
- for module in $ALL_MODULES; do
+ for module in ${ALL_MODULES[@]}; do
echo -n " $module ..."
if [ -e $TMP_DIR/$module/debian/control.in ]; then
TO_REPLACE=`grep -o -E '@([A-Z]|[0-9])+((-|_)*([A-Z]|[0-9]))*_VERSION@' $TMP_DIR/$module/debian/control.in | cut -d @ -f 2 | sort -u`
gen_src_packages(){
echo "Generating source packages ..."
- for module in $ALL_MODULES; do
+ for module in ${ALL_MODULES[@]}; do
echo -n " $module ."
cd $TMP_DIR/$module || exit_error
echo -n "."
- dpkg-buildpackage -rfakeroot -us -uc -D -sa -S -I.git -I.gitignore -I.svn -I.svnignore -ICVS -I.cvsignore > /dev/null 2>&1|| exit_error
+ dpkg-buildpackage -rfakeroot -us -uc -sa -d -S -I.git -I.gitignore -I.svn -I.svnignore -ICVS -I.cvsignore > /dev/null 2>&1|| exit_error
echo -n "."
cd - > /dev/null 2>&1 || exit_error
echo " OK"