python3-efl: rebuild for Python 3.9
This commit is contained in:
parent
9d41a67348
commit
0d1fd7b5b0
1 changed files with 16 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'python3-efl'
|
||||
pkgname=python3-efl
|
||||
version=1.23.0
|
||||
revision=3
|
||||
revision=4
|
||||
wrksrc=python-efl-${version}
|
||||
build_style=python3-module
|
||||
pycompile_module="efl"
|
||||
hostmakedepends="pkg-config python3-devel"
|
||||
hostmakedepends="pkg-config python3-devel python3-Cython"
|
||||
makedepends="efl-devel python-dbus-devel"
|
||||
depends="python3-dbus"
|
||||
short_desc="Python3 bindings for Enlightenment Foundation Libraries"
|
||||
|
@ -15,6 +15,20 @@ homepage="http://enlightenment.org"
|
|||
distfiles="http://download.enlightenment.org/rel/bindings/python/python-efl-${version}.tar.xz"
|
||||
checksum=2bdef4153e3df2ed3edef9f1ebb4554054405425247a9fabb3c784b48232d69b
|
||||
|
||||
post_extract() {
|
||||
# Pre-generated cython output is incompatible with Python 3.9
|
||||
rm -f efl/elementary/__init__.c efl/evas/efl.evas.c \
|
||||
efl/utils/{conversions,logger,deprecated}.c \
|
||||
efl/emotion/efl.emotion.c efl/eo/efl.eo.c \
|
||||
efl/ecore/efl.ecore.c efl/edje/efl.edje.c \
|
||||
efl/dbus_mainloop/efl.dbus_mainloop.c \
|
||||
efl/ethumb/efl.ethumb{,_client}.c \
|
||||
efl/ecore_input/efl.ecore_input.c \
|
||||
efl/edje_edit/efl.edje_edit.c \
|
||||
efl/ecore_con/efl.ecore_con.c \
|
||||
efl/ecore_x/efl.ecore_x.c
|
||||
}
|
||||
|
||||
pre_build() {
|
||||
# any higher optimization level and gcc OOMs on i686 (even -Os)
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
|
|
Loading…
Reference in a new issue