Hi Conrad

I am able to compile econnman with tis Pkgfile

makedepends=(connman efl git)
run=(python-efl dbus-python)

description="Enlightenment ConnMan user interface"
url="https://phab.enlightenment.org/w/projects/econnman/";

packager="Grat-OS Team"
maintainer="Dania"

name=econnman
version=1.1
release=15

#Last commit on econnman repo
_commit=463913ae261abc8c2320392b54cbf21d645b6ee4

prepare() {
git clone https://git.enlightenment.org/enlightenment/econnman $name-$version

cd $name-$version
  git checkout ${_commit}
}

build() {
cd $name-$version

PYTHON=/usr/bin/python3 \
./autogen.sh --prefix=/usr

make
make DESTDIR=$PKG install

sed -e "s@#!/usr/bin/python@#!/usr/bin/python3@" -i $PKG/usr/bin/econnman-bin
}

But when I installed it I got this error

root@grat-os1:~# econnman-bin
Traceback (most recent call last):
  File "/usr/bin/econnman-bin", line 77, in <module>
    from configparser import SafeConfigParser
ImportError: cannot import name 'SafeConfigParser' from 'configparser'
(/usr/lib/python3.12/configparser.py). Did you mean:
'RawConfigParser'?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/econnman-bin", line 79, in <module>
    from ConfigParser import SafeConfigParser
ModuleNotFoundError: No module named 'ConfigParser'

I supposed I have to build the last python-configparser and import it

for python-efl my pkgfile
makedepends=(cython efl dbus-python git libsndfile pulseaudio
python-packaging python-setuptools)

description="python 3 bindings for the Enlightenment Foundation Libraries"
url="http://www.enlightenment.org";

packager="Grat-OS Team"
maintainer="Dania"

name=python-efl
version=1.26.1
release=7

source=(http://download.enlightenment.org/rel/bindings/python/$name-$version.tar.xz)

build() {
 cd ${name}-$version

   python3 setup.py build
   python3 setup.py install --root=$PKG --optimize=1 --skip-build
}

Best regards

Daniel

Le lun. 11 août 2025 à 12:50, Conrad Knight <iestynap...@gmail.com> a écrit :
>
> > From: Carsten Haitzler <ras...@rasterman.com>
> > can't help you much with python - i dont use it.. but i dont use or need 
> > python
> > efl... so i'm just going to say "you don't need this"... well unless you
> > absolutely must run some specific python efl apps.
>
> As I pointed out a few weeks ago, Econnman completely fails to build
> with any modern version of Python. efl-python will apparently only
> work with Python2. I'm not trying to juggle the back-and-forth build
> inconsistencies yet again, so have purged Python2 completely from my
> systems. So efl-Python and, subsequently, Econnman are not functional
> at all.
>
> -Conrad.
>
>
> _______________________________________________
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users


_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to