public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfltk/, dev-python/pyfltk/files/
@ 2015-11-08  6:57 Jeroen Roovers
  0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers @ 2015-11-08  6:57 UTC (permalink / raw
  To: gentoo-commits

commit:     b39f2acde24b95c4be5ed1e83c3a0d71fc58ab11
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  8 06:53:39 2015 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Nov  8 06:53:39 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b39f2acd

dev-python/pyfltk: Old.

Package-Manager: portage-2.2.24

 dev-python/pyfltk/Manifest                         |  1 -
 .../files/pyfltk-1.3.0-format-security.patch       | 74 ----------------------
 .../files/pyfltk-1.3.0-linux-3.x-detection.patch   | 15 -----
 dev-python/pyfltk/pyfltk-1.3.0-r2.ebuild           | 50 ---------------
 4 files changed, 140 deletions(-)

diff --git a/dev-python/pyfltk/Manifest b/dev-python/pyfltk/Manifest
index 6f52b44..44b0eeb 100644
--- a/dev-python/pyfltk/Manifest
+++ b/dev-python/pyfltk/Manifest
@@ -1,2 +1 @@
-DIST pyFltk-1.3.0.tar.gz 915600 SHA256 c52852d21ee17d495185259b46ac9603d683edde7d7e6d4b6f9268da4ee3de57 SHA512 908a6d9581741454440da92fe921f0a2a01be86a5ec01cbbf2d953eb5f0437efd8e635d7bff6c18015afc877a984872a6592df834709f93a1287307e17fbcc61 WHIRLPOOL 62281ef5c798986f1af82da53887fe40a6cd4f4bcfe7fab8d60fc7f3c4ad9cc2d481ced6b2e2bad7638ef843b9dcf396aa246838f173d2afaeaac530e0236d3b
 DIST pyFltk-1.3.3.tar.gz 946763 SHA256 246b92c99b8d5610532456a4c956b355f6140514324916cf35efbe6468c4a188 SHA512 dd4bbef8e82d455237dd085622e78e046ac522449fe63610ee5405c24d759482a89aeab07435fefb5223db78cc1f810f1eca8355afb1d0ff3e4b5e10b73bef8f WHIRLPOOL 8d94349db36cd78eeee722e75c9e1cef088e0f2743bd522eb0496f76faf70a159d6987902f308478a992bd7f2cb62a5bb770a80eee25c3e9feaf08b513956ce1

diff --git a/dev-python/pyfltk/files/pyfltk-1.3.0-format-security.patch b/dev-python/pyfltk/files/pyfltk-1.3.0-format-security.patch
deleted file mode 100644
index f29b7b3..0000000
--- a/dev-python/pyfltk/files/pyfltk-1.3.0-format-security.patch
+++ /dev/null
@@ -1,74 +0,0 @@
- python/fltk_wrap.cpp | 16 ++++++++--------
- 1 file changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/python/fltk_wrap.cpp b/python/fltk_wrap.cpp
-index 9c16f59..ad42e89 100644
---- a/python/fltk_wrap.cpp
-+++ b/python/fltk_wrap.cpp
-@@ -5238,13 +5238,13 @@ PyObject *Fl_get_font_sizes_tmp(PyObject *self, PyObject *args)
- 
-   const char *fl_vararg_input(const char *label, const char *deflt = 0) {
-     const char* result = 0;
--    result = fl_input(label, deflt);
-+    result = fl_input("%s", deflt, label);
-     return result;
-   };
- 
-   const char *fl_vararg_password(const char *label, const char *deflt = 0) {
-     const char* result = 0;
--    result = fl_password(label, deflt);
-+    result = fl_password("%s", deflt, label);
-     return result;
-   };
- 
-@@ -5282,20 +5282,20 @@ PyObject *Fl_get_font_sizes_tmp(PyObject *self, PyObject *args)
- 
-   void fl_mt_message(const char* text) {
-     Py_BEGIN_ALLOW_THREADS;
--    fl_message(text);
-+    fl_message("%s", text);
-     Py_END_ALLOW_THREADS;
-   };
- 
-   void fl_mt_alert(const char* text) {
-     Py_BEGIN_ALLOW_THREADS;
--    fl_alert(text);
-+    fl_alert("%s", text);
-     Py_END_ALLOW_THREADS;
-   };
- 
-   int fl_mt_ask(const char* text) {
-     int status = 0;
-     Py_BEGIN_ALLOW_THREADS;
--    status = fl_ask(text);
-+    status = fl_ask("%s", text);
-     Py_END_ALLOW_THREADS;
-     return status;
-   };
-@@ -5303,7 +5303,7 @@ PyObject *Fl_get_font_sizes_tmp(PyObject *self, PyObject *args)
-   int fl_mt_choice(const char *q,const char *b0,const char *b1,const char *b2) {
-     int status = 0;
-     Py_BEGIN_ALLOW_THREADS;
--    status = fl_choice(q, b0, b1, b2);
-+    status = fl_choice("%s", b0, b1, b2, q);
-     Py_END_ALLOW_THREADS;
-     return status;
-   };
-@@ -5311,7 +5311,7 @@ PyObject *Fl_get_font_sizes_tmp(PyObject *self, PyObject *args)
-   const char *fl_mt_input(const char *label, const char *deflt = 0) {
-     const char* result = 0;
-     Py_BEGIN_ALLOW_THREADS;
--    result = fl_input(label, deflt);
-+    result = fl_input("%s", deflt, label);
-     Py_END_ALLOW_THREADS;
-     return result;
-   };
-@@ -5319,7 +5319,7 @@ PyObject *Fl_get_font_sizes_tmp(PyObject *self, PyObject *args)
-   const char *fl_mt_password(const char *label, const char *deflt = 0) {
-     const char* result = 0;
-     Py_BEGIN_ALLOW_THREADS;
--    result = fl_password(label, deflt);
-+    result = fl_password("%s", deflt, label);
-     Py_END_ALLOW_THREADS;
-     return result;
-   };

diff --git a/dev-python/pyfltk/files/pyfltk-1.3.0-linux-3.x-detection.patch b/dev-python/pyfltk/files/pyfltk-1.3.0-linux-3.x-detection.patch
deleted file mode 100644
index 9b08461..0000000
--- a/dev-python/pyfltk/files/pyfltk-1.3.0-linux-3.x-detection.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-http://bugs.gentoo.org/show_bug.cgi?id=375253
-
-http://lipyrary.blogspot.com/2011/09/python-and-linux-kernel-30-sysplatform.html
-
---- setup.py
-+++ setup.py
-@@ -76,7 +76,7 @@
-     lib_dir_list = [fltk_lib_dir]
-     lib_list = ["fltk", "kernel32", "user32", "gdi32", "winspool", "comdlg32", "Comctl32", "advapi32", "shell32", "oleaut32", "odbc32", "odbccp32", "stdc++", "msvcr71"]
-     #link_arg_list=["-Wl,--enable-runtime-pseudo-reloc", "-Wl,--enable-auto-import"]
--elif sys.platform == 'linux2':
-+elif sys.platform.startswith('linux'):
-     print "Building for Linux"
-     # ugly hack to force distutils to use g++ instead of gcc for linking
-     from distutils import sysconfig

diff --git a/dev-python/pyfltk/pyfltk-1.3.0-r2.ebuild b/dev-python/pyfltk/pyfltk-1.3.0-r2.ebuild
deleted file mode 100644
index 845f7a2..0000000
--- a/dev-python/pyfltk/pyfltk-1.3.0-r2.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-# FIXME: MakeSwig.py execution should be made work from pyfltk-1.1.5.ebuild
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1 flag-o-matic
-
-MY_P=pyFltk-${PV}
-
-DESCRIPTION="Python interface to Fltk library"
-HOMEPAGE="http://pyfltk.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm ppc ppc64 x86"
-IUSE="doc"
-
-DEPEND=">=x11-libs/fltk-1.3.0:1[opengl]"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-PATCHES=(
-	"${FILESDIR}"/${P}-linux-3.x-detection.patch
-	"${FILESDIR}"/${P}-format-security.patch
-	"${FILESDIR}"/ignore-func.patch
-	"${FILESDIR}"/fltk_wrap.patch
-	)
-
-python_prepare_all() {
-	# Disable installation of documentation and tests.
-	sed -i -e '/package_data=/d' setup.py || die
-
-	distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
-	append-flags -fno-strict-aliasing
-}
-
-python_install_all() {
-	use doc && local HTML_DOCS=( fltk/docs/. )
-	distutils-r1_python_install_all
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfltk/, dev-python/pyfltk/files/
@ 2017-05-03  7:37 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2017-05-03  7:37 UTC (permalink / raw
  To: gentoo-commits

commit:     68059e5610eab1c0b0d7791066212b92b3e20a6e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May  3 06:45:07 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May  3 07:37:38 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68059e56

dev-python/pyfltk: Clean old versions up

 dev-python/pyfltk/Manifest                         |  1 -
 .../files/pyfltk-1.3.0-format-security.patch       | 74 ----------------------
 .../files/pyfltk-1.3.0-linux-3.x-detection.patch   | 15 -----
 dev-python/pyfltk/pyfltk-1.3.0-r2.ebuild           | 50 ---------------
 4 files changed, 140 deletions(-)

diff --git a/dev-python/pyfltk/Manifest b/dev-python/pyfltk/Manifest
index 6f52b4468f5..44b0eebb2b8 100644
--- a/dev-python/pyfltk/Manifest
+++ b/dev-python/pyfltk/Manifest
@@ -1,2 +1 @@
-DIST pyFltk-1.3.0.tar.gz 915600 SHA256 c52852d21ee17d495185259b46ac9603d683edde7d7e6d4b6f9268da4ee3de57 SHA512 908a6d9581741454440da92fe921f0a2a01be86a5ec01cbbf2d953eb5f0437efd8e635d7bff6c18015afc877a984872a6592df834709f93a1287307e17fbcc61 WHIRLPOOL 62281ef5c798986f1af82da53887fe40a6cd4f4bcfe7fab8d60fc7f3c4ad9cc2d481ced6b2e2bad7638ef843b9dcf396aa246838f173d2afaeaac530e0236d3b
 DIST pyFltk-1.3.3.tar.gz 946763 SHA256 246b92c99b8d5610532456a4c956b355f6140514324916cf35efbe6468c4a188 SHA512 dd4bbef8e82d455237dd085622e78e046ac522449fe63610ee5405c24d759482a89aeab07435fefb5223db78cc1f810f1eca8355afb1d0ff3e4b5e10b73bef8f WHIRLPOOL 8d94349db36cd78eeee722e75c9e1cef088e0f2743bd522eb0496f76faf70a159d6987902f308478a992bd7f2cb62a5bb770a80eee25c3e9feaf08b513956ce1

diff --git a/dev-python/pyfltk/files/pyfltk-1.3.0-format-security.patch b/dev-python/pyfltk/files/pyfltk-1.3.0-format-security.patch
deleted file mode 100644
index f29b7b3c922..00000000000
--- a/dev-python/pyfltk/files/pyfltk-1.3.0-format-security.patch
+++ /dev/null
@@ -1,74 +0,0 @@
- python/fltk_wrap.cpp | 16 ++++++++--------
- 1 file changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/python/fltk_wrap.cpp b/python/fltk_wrap.cpp
-index 9c16f59..ad42e89 100644
---- a/python/fltk_wrap.cpp
-+++ b/python/fltk_wrap.cpp
-@@ -5238,13 +5238,13 @@ PyObject *Fl_get_font_sizes_tmp(PyObject *self, PyObject *args)
- 
-   const char *fl_vararg_input(const char *label, const char *deflt = 0) {
-     const char* result = 0;
--    result = fl_input(label, deflt);
-+    result = fl_input("%s", deflt, label);
-     return result;
-   };
- 
-   const char *fl_vararg_password(const char *label, const char *deflt = 0) {
-     const char* result = 0;
--    result = fl_password(label, deflt);
-+    result = fl_password("%s", deflt, label);
-     return result;
-   };
- 
-@@ -5282,20 +5282,20 @@ PyObject *Fl_get_font_sizes_tmp(PyObject *self, PyObject *args)
- 
-   void fl_mt_message(const char* text) {
-     Py_BEGIN_ALLOW_THREADS;
--    fl_message(text);
-+    fl_message("%s", text);
-     Py_END_ALLOW_THREADS;
-   };
- 
-   void fl_mt_alert(const char* text) {
-     Py_BEGIN_ALLOW_THREADS;
--    fl_alert(text);
-+    fl_alert("%s", text);
-     Py_END_ALLOW_THREADS;
-   };
- 
-   int fl_mt_ask(const char* text) {
-     int status = 0;
-     Py_BEGIN_ALLOW_THREADS;
--    status = fl_ask(text);
-+    status = fl_ask("%s", text);
-     Py_END_ALLOW_THREADS;
-     return status;
-   };
-@@ -5303,7 +5303,7 @@ PyObject *Fl_get_font_sizes_tmp(PyObject *self, PyObject *args)
-   int fl_mt_choice(const char *q,const char *b0,const char *b1,const char *b2) {
-     int status = 0;
-     Py_BEGIN_ALLOW_THREADS;
--    status = fl_choice(q, b0, b1, b2);
-+    status = fl_choice("%s", b0, b1, b2, q);
-     Py_END_ALLOW_THREADS;
-     return status;
-   };
-@@ -5311,7 +5311,7 @@ PyObject *Fl_get_font_sizes_tmp(PyObject *self, PyObject *args)
-   const char *fl_mt_input(const char *label, const char *deflt = 0) {
-     const char* result = 0;
-     Py_BEGIN_ALLOW_THREADS;
--    result = fl_input(label, deflt);
-+    result = fl_input("%s", deflt, label);
-     Py_END_ALLOW_THREADS;
-     return result;
-   };
-@@ -5319,7 +5319,7 @@ PyObject *Fl_get_font_sizes_tmp(PyObject *self, PyObject *args)
-   const char *fl_mt_password(const char *label, const char *deflt = 0) {
-     const char* result = 0;
-     Py_BEGIN_ALLOW_THREADS;
--    result = fl_password(label, deflt);
-+    result = fl_password("%s", deflt, label);
-     Py_END_ALLOW_THREADS;
-     return result;
-   };

diff --git a/dev-python/pyfltk/files/pyfltk-1.3.0-linux-3.x-detection.patch b/dev-python/pyfltk/files/pyfltk-1.3.0-linux-3.x-detection.patch
deleted file mode 100644
index 9b084616c87..00000000000
--- a/dev-python/pyfltk/files/pyfltk-1.3.0-linux-3.x-detection.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-http://bugs.gentoo.org/show_bug.cgi?id=375253
-
-http://lipyrary.blogspot.com/2011/09/python-and-linux-kernel-30-sysplatform.html
-
---- setup.py
-+++ setup.py
-@@ -76,7 +76,7 @@
-     lib_dir_list = [fltk_lib_dir]
-     lib_list = ["fltk", "kernel32", "user32", "gdi32", "winspool", "comdlg32", "Comctl32", "advapi32", "shell32", "oleaut32", "odbc32", "odbccp32", "stdc++", "msvcr71"]
-     #link_arg_list=["-Wl,--enable-runtime-pseudo-reloc", "-Wl,--enable-auto-import"]
--elif sys.platform == 'linux2':
-+elif sys.platform.startswith('linux'):
-     print "Building for Linux"
-     # ugly hack to force distutils to use g++ instead of gcc for linking
-     from distutils import sysconfig

diff --git a/dev-python/pyfltk/pyfltk-1.3.0-r2.ebuild b/dev-python/pyfltk/pyfltk-1.3.0-r2.ebuild
deleted file mode 100644
index 4abf9a2b8f0..00000000000
--- a/dev-python/pyfltk/pyfltk-1.3.0-r2.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# FIXME: MakeSwig.py execution should be made work from pyfltk-1.1.5.ebuild
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1 flag-o-matic
-
-MY_P=pyFltk-${PV}
-
-DESCRIPTION="Python interface to Fltk library"
-HOMEPAGE="http://pyfltk.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm ppc ppc64 x86"
-IUSE="doc"
-
-DEPEND=">=x11-libs/fltk-1.3.0:1[opengl]"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-PATCHES=(
-	"${FILESDIR}"/${P}-linux-3.x-detection.patch
-	"${FILESDIR}"/${P}-format-security.patch
-	"${FILESDIR}"/ignore-func.patch
-	"${FILESDIR}"/fltk_wrap.patch
-	)
-
-python_prepare_all() {
-	# Disable installation of documentation and tests.
-	sed -i -e '/package_data=/d' setup.py || die
-
-	distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
-	append-flags -fno-strict-aliasing
-}
-
-python_install_all() {
-	use doc && local HTML_DOCS=( fltk/docs/. )
-	distutils-r1_python_install_all
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-03  7:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-08  6:57 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfltk/, dev-python/pyfltk/files/ Jeroen Roovers
  -- strict thread matches above, loose matches on Subject: below --
2017-05-03  7:37 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox