Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot install econnman from Enlightenment 18
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
gelog
n00b
n00b


Joined: 01 Oct 2007
Posts: 24

PostPosted: Wed Feb 04, 2015 4:51 pm    Post subject: Cannot install econnman from Enlightenment 18 Reply with quote

Hello,

its too long i was not here. Just because my system did not surprise me.
I have a problem with installing econnman from E18.

Compiling :?: and installing were ok, but when i run econnman-bin i get next error:
Code:

Traceback (most recent call last):
  File "/usr/bin/econnman-bin", line 46, in <module>
    import elementary as elm
  File "/usr/lib64/python2.7/site-packages/elementary/__init__.py", line 19, in <module>
    import elementary.c_elementary
  File "elementary.c_elementary.pyx", line 1, in init elementary.c_elementary (./elementary/elementary.c_elementary.c:286539)
  File "/usr/lib64/python2.7/site-packages/evas/__init__.py", line 130, in <module>
    c_evas.init()
  File "evas.c_evas.pyx", line 287, in evas.c_evas.init (./evas/evas.c_evas.c:4342)
SystemError: Number of object callbacks changed from 32 to 35.



In system i have three python versions -> 2.7, 3.3, 3,4
Default for whole system was and is 2.7
Also before econnman i have installed python bindings, like python-e_dbus /version 1.7/, python-evas, python-elementary, as a dependences for econnman.
Everything is updated via git to newest.

Could somebody hint me what wrong with it ?
I would like to use this connection manager because it is part of E18.

Thank you
Bests,
Back to top
View user's profile Send private message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Thu Feb 05, 2015 10:51 am    Post subject: Reply with quote

Heh... if you're using E18, then you should be using >=python-efl-1.10 and that packaged is not separated anymore like before.

Seems to be your issue here.

NOTE: There is such a package in my overlay... you may need to copy it to python-efl-1.10 or 1.11... 1.12 would be too new and would require EFL/ELM-1.12.

PS: So what is your EFL/ELM version then? You shoudl be using the same <major>.<minor> for both EFL/ELM and python bindings.

Else, use dhcpcd-ui... consult the wiki for more info about it. WM independent applet.
_________________
home/:mkinitramfs-ll/:supervision/:e-gtk-theme/:overlay/
Back to top
View user's profile Send private message
tbart
Apprentice
Apprentice


Joined: 31 Oct 2004
Posts: 151

PostPosted: Thu Apr 09, 2015 8:28 am    Post subject: Reply with quote

Sorry for hijacking, but this seems to be pretty related.
Now that e18 is stable in portage, I wanted to give econnman-bin a shot as well.

Tried your python-efl-1.12 ebuild (1.10 and 1.11 as well, but as stable elementary and efl are 1.12 as well, I think I should use the 1.12 bindings:
Code:
blackknight e-gtk-theme # eix elementary
[I] media-libs/elementary
     Available versions:  ~1.8.4 ~1.8.5 ~1.9.4 ~1.9.5 ~1.10.1 ~1.11.2 1.12.2 ~1.13.1 **9999 {X debug doc examples fbcon nls quicklaunch sdl static-libs wayland}
     Installed versions:  1.12.2(22:28:08 2015-04-08)(X fbcon -debug -doc -examples -nls -quicklaunch -sdl -static-libs -wayland)
     Homepage:            http://trac.enlightenment.org/e/wiki/Elementary
     Description:         Basic widget set, based on EFL for mobile touch-screen devices

blackknight e-gtk-theme # eix efl$
[I] dev-libs/efl
     Available versions:  1.8.5 ~1.8.6 ~1.9.4 ~1.9.5 ~1.10.1 ~1.11.2 1.12.2 ~1.13.1 **9999 {X +bmp debug doc drm +eet egl fbcon +fontconfig fribidi gif gles glib gnutls gstreamer harfbuzz ibus +ico +jpeg jpeg2k neon nls oldlua opengl physics pixman +png +ppm +psd pulseaudio scim sdl sound ssl systemd tga tiff tslib v4l2 valgrind wayland webp xcb xim xine xpm}
     Installed versions:  1.12.2(22:25:02 2015-04-08)(X bmp eet fbcon fontconfig gif gstreamer ico opengl png ppm psd ssl tiff xine -debug -doc -drm -egl -fribidi -gles -glib -gnutls -harfbuzz -ibus -jpeg2k -neon -nls -oldlua -physics -pixman -pulseaudio -scim -sdl -sound -systemd -tga -tslib -v4l2 -wayland -webp -xim -xpm)
     Homepage:            http://www.enlightenment.org/
     Description:         Enlightenment Foundation Libraries all-in-one package


python-efl-1.12 does not compile:

Code:

blackknight python-efl # ebuild python-efl-1.12.0.ebuild merge
 * python-efl-1.12.0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking python-efl-1.12.0.tar.bz2 to /var/tmp/portage/dev-python/python-efl-1.12.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/python-efl-1.12.0/work
>>> Preparing source in /var/tmp/portage/dev-python/python-efl-1.12.0/work/python-efl-1.12.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/python-efl-1.12.0/work/python-efl-1.12.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/python-efl-1.12.0/work/python-efl-1.12.0 ...
 * python3_3: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python3.3 setup.py build
Checking for Eina: OK, found 1.12.2
Checking for Eo: OK, found 1.12.2
Checking for Evas: OK, found 1.12.2
Checking for Ecore: OK, found 1.12.2
Checking for EcoreFile: OK, found 1.12.2
Checking for EcoreInput: OK, found 1.12.2
Checking for EcoreX: OK, found 1.12.2
Checking for Ethumb: OK, found 1.12.2
Checking for Ethumb_Client: OK, found 1.12.2
Checking for Edje: OK, found 1.12.2
Checking for Emotion: OK, found 1.12.2
Checking for DBus: OK, found 1.2.0
Checking for Elementary: OK, found 1.12.2
Compiling efl/eo/efl.eo.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/utils/deprecated.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/utils/conversions.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/utils/logger.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/evas/efl.evas.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/ecore/__init__.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/ecore/x.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/ethumb/efl.ethumb_client.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/edje/efl.edje.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/edje/efl.edje_edit.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/emotion/efl.emotion.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/dbus_mainloop/dbus_mainloop.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/actionslider.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/background.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/box.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/bubble.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/button.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/calendar_elm.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/check.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/clock.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/colorselector.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/configuration.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/conformant.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/ctxpopup.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/datetime_elm.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/dayselector.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/diskselector.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/entry.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/fileselector_button.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/fileselector_entry.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/fileselector.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/flip.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/flipselector.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/frame.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/general.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/gengrid.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/genlist.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/gesture_layer.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/grid.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/hover.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/hoversel.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/icon.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/image.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/index.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/innerwindow.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/label.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/layout_class.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/layout.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/list.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/mapbuf.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/map.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/menu.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/multibuttonentry.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/naviframe.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/need.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/notify.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/object_item.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/object.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/panel.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/panes.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/photocam.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Error compiling Cython file:
------------------------------------------------------------
...
def on_signal_realtime(func, *args, **kargs):
    return EventHandler(enums.ECORE_EVENT_SIGNAL_REALTIME, func, *args, **kargs)


cdef class CustomEvent(Event):
    cdef int _set_obj(self, void *obj):
        ^
------------------------------------------------------------

efl/ecore/efl.ecore_events.pxi:304:9: Signature not compatible with previous declaration

Compiling efl/elementary/photo.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/plug.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/popup.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/progressbar.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/radio.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/scroller.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/segment_control.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/separator.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/slider.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/slideshow.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/spinner.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/table.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/theme.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/thumb.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/toolbar.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/transit.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/video.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/web.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Compiling efl/elementary/window.pyx because it depends on /usr/lib64/python3.3/site-packages/Cython/Includes/libc/string.pxd.
Cythonizing efl/elementary/entry.pyx
Cythonizing efl/elementary/general.pyx
Cythonizing efl/elementary/gengrid.pyx
Cythonizing efl/elementary/genlist.pyx
Cythonizing efl/elementary/multibuttonentry.pyx
Cythonizing efl/utils/conversions.pyx
Cythonizing efl/dbus_mainloop/dbus_mainloop.pyx
Cythonizing efl/ecore/__init__.pyx
Traceback (most recent call last):
  File "setup.py", line 475, in <module>
    "embedsignature": True,
  File "/usr/lib64/python3.3/site-packages/Cython/Build/Dependencies.py", line 865, in cythonize
    cythonize_one(*args[1:])
  File "/usr/lib64/python3.3/site-packages/Cython/Build/Dependencies.py", line 985, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: efl/ecore/__init__.pyx
 * ERROR: dev-python/python-efl-1.12.0::my-local-overlay failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3641:  Called distutils-r1_src_compile
 *   environment, line 1046:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  303:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3230:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2356:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2354:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  734:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1037:  Called distutils-r1_python_compile
 *   environment, line  922:  Called esetup.py 'build'
 *   environment, line 1525:  Called die
 * The specific snippet of code:
 *       "${@}" || die
 *
 * If you need support, post the output of `emerge --info '=dev-python/python-efl-1.12.0::my-local-overlay'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/python-efl-1.12.0::my-local-overlay'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/python-efl-1.12.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/python-efl-1.12.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/python-efl-1.12.0/work/python-efl-1.12.0'
 * S: '/var/tmp/portage/dev-python/python-efl-1.12.0/work/python-efl-1.12.0'


Could not find anything online except a pastebin without a reference.. (http://pastebin.com/ufiXQBST)

Can anyone help?
Back to top
View user's profile Send private message
tbart
Apprentice
Apprentice


Joined: 31 Oct 2004
Posts: 151

PostPosted: Sun Mar 20, 2016 12:45 am    Post subject: Reply with quote

I wanted to try this again and finally found a little spare time.

Here is the ebuild and the patch that works for me.

blackknight econnman # cat econnman-1.1.0.ebuild
Code:
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

PYTHON_DEPEND="2"

inherit python eutils  git-r3 autotools

DESCRIPTION="Enlightenment ConnMan user interface"
HOMEPAGE="http://www.enlightenment.org"
EGIT_REPO_URI="git://git.enlightenment.org/apps/econnman.git"
EGIT_COMMIT="v${PV}"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

RDEPEND=">=dev-python/python-efl-1.15.0
   >net-misc/connman-1.3"

DEPEND=">=media-libs/edje-1.7.4
   ${RDEPEND}"

pkg_setup() {
   python_set_active_version 2
}

src_prepare() {
   epatch "${FILESDIR}"/econnman-1-python2.patch
   epatch "${FILESDIR}"/econnman-1-desktop-category.patch
   eautoreconf
}


blackknight econnman # cat files/econnman-1-python2.patch
Code:
diff -urN a/econnman-bin.in b/econnman-bin.in
--- a/econnman-bin.in   2012-08-04 01:08:14.000000000 +0300
+++ b/econnman-bin.in   2013-04-13 20:54:24.273063866 +0300
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
 # -*- coding: utf-8 -*-

blackknight econnman # cat files/econnman-1-desktop-category.patch
Code:
--- a/data/desktop/econnman.desktop   2016-03-20 01:32:38.040240305 +0100
+++ b/data/desktop/econnman.desktop   2016-03-20 01:35:38.340249031 +0100
@@ -15,7 +15,7 @@
 Comment[it]=Gestisce le connessioni internet usando ConnMan e le EFL.
 Comment[pl]=Zarządzaj połączeniami z Internetem z użyciem ConnMan i EFL.
 Comment[pt]=Gestão de ligações internet com o ConnMan e o EFL
-Categories=Network;Settings;Enlightenment;
+Categories=Network;Settings;X-Enlightenment;
 Exec=econnman-bin
 StartupNotify=true
 Terminal=false
--- a/data/desktop/econnman-agent.desktop   2016-03-20 01:32:38.040240305 +0100
+++ b/data/desktop/econnman-agent.desktop   2016-03-20 01:35:27.826248522 +0100
@@ -20,7 +20,7 @@
 Comment[it]=Gestisce le connessioni internet usando ConnMan e le EFL. Versione con agente per password e altri input.
 Comment[pl]=Zarządzaj połączeniami z Internetem z użyciem ConnMan i EFL. Wersja z agentem umożliwia używanie haseł i innych parametrów.
 Comment[pt]=Gestão das ligações internet com o ConnMan e o EFL. Versão com agente para obter senhas e outros dados
-Categories=Network;Settings;Enlightenment;
+Categories=Network;Settings;X-Enlightenment;
 Exec=econnman-bin --agent
 StartupNotify=true
 Terminal=false


blackknight ~ # cat /usr/local/portage/dev-python/python-efl/python-efl-1.15.0.ebuild
Code:
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="5"

PYTHON_COMPAT=( python{2_7,3_4,3_5} )

MY_P=${P/_/-}

if [[ "${PV}" == "9999" ]] ; then
   EGIT_SUB_PROJECT="bindings/python"
   EGIT_URI_APPEND="${PN}"
   EGIT_REPO_URI="git://git.enlightenment.org/${EGIT_SUB_PROJECT}/${EGIT_URI_APPEND}.git"
   inherit git-2
else
   SRC_URI="https://download.enlightenment.org/rel/bindings/python/${MY_P}.tar.xz"
fi

inherit distutils-r1

DESCRIPTION="Python bindings for Enlightenment Fundation Libraries"
HOMEPAGE="http://www.enlightenment.org"

LICENSE="|| ( GPL-3 LGPL-3 )"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="doc examples"

RDEPEND=">=dev-libs/efl-${PV}
   >=media-libs/elementary-${PV}
   >dev-python/dbus-python-0.83[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
   virtual/pkgconfig
   dev-python/setuptools[${PYTHON_USEDEP}]
   >=dev-python/cython-0.17[${PYTHON_USEDEP}]
   doc? (
      media-gfx/graphviz[python]
      dev-python/sphinx[${PYTHON_USEDEP}]
   )
   doc? ( >dev-python/sphinx-1.0[${PYTHON_USEDEP}] )"

python_compile_all() {
   if use doc ; then
      # Point sphinx to right location with builded sources
      sed -i 's|"../build/"+d|"'"${BUILD_DIR}"'/lib"|g' doc/conf.py
      esetup.py build_doc --build-dir "${S}"/build/doc/
   fi
}

python_test() {
   cd "${S}"/tests
   rm -f ecore/test_09_file_download.py # violates sandbox
   sed -i 's:verbosity=1:verbosity=3:' 00_run_all_tests.py || die
   ${PYTHON} 00_run_all_tests.py --verbose || die "Tests failed with ${EPYTHON}"
}

python_install_all() {
   use doc && DOCS=( "${S}"/build/doc/html )
   use examples && EXAMPLES=( examples/. )
   distutils-r1_python_install_all
}


I can't believe we do not get econnman with enlightenment although it's so nicely integrated. Enlightenment even has a "connman" useflag.

Shall I submit this bug?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum