Re: x11/py-gtk2: no need for py-numpy
On Sat, Nov 07, 2020 at 07:03:07PM +0100, Jeremie Courreges-Anglas wrote: > > Older mypaint releases used this but our fresh mypaint port uses > python3/gtk3. I could not find other users of gdk_pixbuf_new_from_array > or get_pixels_array on https://codesearch.debian.net/ . Trying to use > missing numpy support from py-gtk2 would result in this exception: > > "pygtk was not compiled with Numeric Python support" > > Runtime tested with the gimp and the resynthetizer plugin. > > ok to drop the py-numpy dep in this python2-only port? OK aja Thanks. > > > Index: Makefile > === > RCS file: /cvs/ports/x11/py-gtk2/Makefile,v > retrieving revision 1.71 > diff -u -p -r1.71 Makefile > --- Makefile 7 Nov 2020 17:19:21 - 1.71 > +++ Makefile 7 Nov 2020 17:44:01 - > @@ -1,4 +1,4 @@ > -# $OpenBSD: Makefile,v 1.71 2020/11/07 17:19:21 jca Exp $ > +# $OpenBSD: Makefile,v 1.70 2020/11/01 20:38:45 jca Exp $ > > BROKEN-alpha=.got subsegment exceeds 64K > > @@ -7,7 +7,7 @@ COMMENT= GTK+2 Python bindings > GNOME_PROJECT= pygtk > GNOME_VERSION= 2.24.0 > PKGNAME= py-gtk2-${VERSION} > -REVISION=9 > +REVISION=10 > > CATEGORIES= x11 > > @@ -33,8 +33,7 @@ MODULES=lang/python \ > BUILD_DEPENDS= ${RUN_DEPENDS} > LIB_DEPENDS= devel/libglade2 > RUN_DEPENDS= graphics/py2-cairo>=1.2 \ > - devel/py-gobject>=2.26.0 \ > - math/py-numpy > + devel/py-gobject>=2.26.0 > > USE_GMAKE= No > > @@ -43,6 +42,7 @@ PATCH_LIST= patch-* sup-mips64-* > .endif > > CONFIGURE_STYLE=gnu > +CONFIGURE_ARGS= --disable-numpy > > # pick bind_textdomain_codeset > MODGNOME_LDFLAGS=-lintl -liconv > > > -- > jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE > -- Antoine
Re: x11/py-gtk2: no need for py-numpy
Oh nice! OK, if we run into problems we can readd it with a py2-numpy port. -- Sent from a phone, apologies for poor formatting. On 7 November 2020 18:03:33 Jeremie Courreges-Anglas wrote: Older mypaint releases used this but our fresh mypaint port uses python3/gtk3. I could not find other users of gdk_pixbuf_new_from_array or get_pixels_array on https://codesearch.debian.net/ . Trying to use missing numpy support from py-gtk2 would result in this exception: "pygtk was not compiled with Numeric Python support" Runtime tested with the gimp and the resynthetizer plugin. ok to drop the py-numpy dep in this python2-only port? Index: Makefile === RCS file: /cvs/ports/x11/py-gtk2/Makefile,v retrieving revision 1.71 diff -u -p -r1.71 Makefile --- Makefile7 Nov 2020 17:19:21 - 1.71 +++ Makefile7 Nov 2020 17:44:01 - @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.71 2020/11/07 17:19:21 jca Exp $ +# $OpenBSD: Makefile,v 1.70 2020/11/01 20:38:45 jca Exp $ BROKEN-alpha= .got subsegment exceeds 64K @@ -7,7 +7,7 @@ COMMENT=GTK+2 Python bindings GNOME_PROJECT= pygtk GNOME_VERSION= 2.24.0 PKGNAME=py-gtk2-${VERSION} -REVISION= 9 +REVISION= 10 CATEGORIES= x11 @@ -33,8 +33,7 @@ MODULES= lang/python \ BUILD_DEPENDS= ${RUN_DEPENDS} LIB_DEPENDS=devel/libglade2 RUN_DEPENDS=graphics/py2-cairo>=1.2 \ - devel/py-gobject>=2.26.0 \ - math/py-numpy + devel/py-gobject>=2.26.0 USE_GMAKE= No @@ -43,6 +42,7 @@ PATCH_LIST= patch-* sup-mips64-* .endif CONFIGURE_STYLE=gnu +CONFIGURE_ARGS=--disable-numpy # pick bind_textdomain_codeset MODGNOME_LDFLAGS=-lintl -liconv -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
x11/py-gtk2: no need for py-numpy
Older mypaint releases used this but our fresh mypaint port uses python3/gtk3. I could not find other users of gdk_pixbuf_new_from_array or get_pixels_array on https://codesearch.debian.net/ . Trying to use missing numpy support from py-gtk2 would result in this exception: "pygtk was not compiled with Numeric Python support" Runtime tested with the gimp and the resynthetizer plugin. ok to drop the py-numpy dep in this python2-only port? Index: Makefile === RCS file: /cvs/ports/x11/py-gtk2/Makefile,v retrieving revision 1.71 diff -u -p -r1.71 Makefile --- Makefile7 Nov 2020 17:19:21 - 1.71 +++ Makefile7 Nov 2020 17:44:01 - @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.71 2020/11/07 17:19:21 jca Exp $ +# $OpenBSD: Makefile,v 1.70 2020/11/01 20:38:45 jca Exp $ BROKEN-alpha= .got subsegment exceeds 64K @@ -7,7 +7,7 @@ COMMENT=GTK+2 Python bindings GNOME_PROJECT= pygtk GNOME_VERSION= 2.24.0 PKGNAME= py-gtk2-${VERSION} -REVISION= 9 +REVISION= 10 CATEGORIES=x11 @@ -33,8 +33,7 @@ MODULES= lang/python \ BUILD_DEPENDS= ${RUN_DEPENDS} LIB_DEPENDS= devel/libglade2 RUN_DEPENDS= graphics/py2-cairo>=1.2 \ - devel/py-gobject>=2.26.0 \ - math/py-numpy + devel/py-gobject>=2.26.0 USE_GMAKE= No @@ -43,6 +42,7 @@ PATCH_LIST= patch-* sup-mips64-* .endif CONFIGURE_STYLE=gnu +CONFIGURE_ARGS=--disable-numpy # pick bind_textdomain_codeset MODGNOME_LDFLAGS=-lintl -liconv -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE