@philb38 I added you as comantainer.
It seems that somehow my pc encounter some problems.
Git Clone URL: | https://aur.archlinux.org/python-efl.git (read-only, click to copy) |
---|---|
Package Base: | python-efl |
Description: | Python bindings for the Enlightenment Foundation Libraries |
Upstream URL: | http://www.enlightenment.org |
Licenses: | GPL3, LGPL3 |
Submitter: | Scimmia |
Maintainer: | llde (philb38) |
Last Packager: | philb38 |
Votes: | 57 |
Popularity: | 0.000000 |
First Submitted: | 2013-12-08 20:40 (UTC) |
Last Updated: | 2023-10-11 17:25 (UTC) |
@philb38 I added you as comantainer.
It seems that somehow my pc encounter some problems.
I've been able to compile/install with python-efl-1.23.0 (took the PKGBUILD and replaced the source/pkgver/depends, and the sha256sums with the content of the shasum on the source URL). Took some time but compiled right, and seems to work... PKGBUILD:
# Maintainer: Doug Newgard <scimmia at archlinux dot info>
# Mantainer: Lorenzo Ferrillo <lorenzofersteam at live dot it>
_python=python
_pkgname=python-efl
pkgname=$_python-efl
pkgver=1.23.0
pkgrel=1
pkgdesc="${_python^} bindings for the Enlightenment Foundation Libraries"
arch=('i686' 'x86_64')
url="<http://www.enlightenment.org>"
license=('LGPL3' 'GPL3')
depends=('efl>=1.23.0' "$_python-dbus")
source=("<http://download.enlightenment.org/rel/bindings/python/>$_pkgname-$pkgver.tar.xz")
sha256sums=('2bdef4153e3df2ed3edef9f1ebb4554054405425247a9fabb3c784b48232d69b')
#sha256sums=('SKIP')
build() {
cd $_pkgname-$pkgver
$_python setup.py build
}
package() {
cd $_pkgname-$pkgver
$_python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/" AUTHORS README ChangeLog
}
I'm currently unable to build this, every time I try the computer slow to a crawl, and fail with an error.
IF any of you can build this succesfully and test it works as intended, please tell me. I will appoint a comantainer. Thanks for understainding.
yes it will fail if run against efl 1.23.1, this pkg should be updated to the latest python-efl version 1.23.0
As efl have been updated to 1.23.1, shouldn't we have python-efl updated too? I don't get any error at compile time, but when trying to import efl, it looks like it fails...
@lightdot I used extra-x86_64-build
from devtools
to build this in a clean chroot. It builds fine.
==> Starting build()...
Python-EFL: 1.22.0
Checking for Python: OK, found 3.7.4
Checking for Cython: not needed, using pre-generated C files
Checking for Eina: OK, found 1.22.2
Checking for Eo: OK, found 1.22.2
Checking for Evas: OK, found 1.22.2
Checking for Ecore: OK, found 1.22.2
Checking for EcoreFile: OK, found 1.22.2
Checking for EcoreInput: OK, found 1.22.2
Checking for EcoreCon: OK, found 1.22.2
Checking for EcoreX: OK, found 1.22.2
Checking for Ethumb: OK, found 1.22.2
Checking for Ethumb_Client: OK, found 1.22.2
Checking for Edje: OK, found 1.22.2
Checking for Emotion: OK, found 1.22.2
Checking for DBus: OK, found 1.2.8
Checking for Elementary: OK, found 1.22.2
...cut...
building 'efl.elementary.__init__' extension
creating build/temp.linux-x86_64-3.7/efl/elementary
...cut...
{standard input}: Assembler messages:
{standard input}:957193: Warning: end of file not at end of a line; newline inserted
{standard input}:958633: Error: unknown .loc sub-directive `vi'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
gcc: fatal error: Killed signal terminated program cc1
compilation terminated.
error: command 'gcc' failed with exit status 1
Did a second run:
{standard input}: Assembler messages:
{standard input}:1178030: Warning: end of file in string; '"' inserted
gcc: fatal error: Killed signal terminated program cc1
compilation terminated.
error: command 'gcc' failed with exit status 1
Both attempts done in a clean chroot, using aurutils helper scripts.
Ok, the new 1.21 release is out and should fix the python 3.7 issue, as it is generated using Cython 0.28
Yep, indeed seems the cython version we are using is too old for py3.7, we was generating the code with an old cython (0.23.5) because of this issue: phab.enlightenment.org/T5589
In the next few days I'm going to release python-efl-1.21.0 . I will generate the new release with the most recent cython available. This move should fix the current 3.7 issue, hopefully we will not fall again in T5589.
This stopped working with python 3.7, apparently C files need to be regened with cython >= 0.27.3. Pretty pleeze.
Pinned Comments
llde commented on 2020-01-06 16:34 (UTC)
I'm currently unable to build this, every time I try the computer slow to a crawl, and fail with an error.
IF any of you can build this succesfully and test it works as intended, please tell me. I will appoint a comantainer. Thanks for understainding.