summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/wxpython/Manifest4
-rw-r--r--dev-python/wxpython/wxpython-3.0.0.0.ebuild162
-rw-r--r--dev-python/wxpython/wxpython-3.0.1.1.ebuild162
3 files changed, 0 insertions, 328 deletions
diff --git a/dev-python/wxpython/Manifest b/dev-python/wxpython/Manifest
index 65b69ca2e91e..d85b0ad02f5c 100644
--- a/dev-python/wxpython/Manifest
+++ b/dev-python/wxpython/Manifest
@@ -1,10 +1,6 @@
DIST wxPython-demo-2.8.12.1.tar.bz2 3906851 SHA256 252282193a80590b9eab436bef322701b21d35ad03b4b6ebb4824241ff947b5a SHA512 aab71cf4e4fb6632afd4607cbe5cdef6785c4ed3f1c7f67d6cef5487d1caee2f7652bfd974ba95a6a03e8d7809c94e291aca00c2fdf74ea29e118e1e30c947d5 WHIRLPOOL e9eb0803350e3dac8c5f2228a3f4d54a26ae4c4307c924729bbdff712747419fdfaa155d83ef1bea7dcb849dbacf9f48c323bf7997ed1df85f182ba3878d1324
-DIST wxPython-demo-3.0.0.0.tar.bz2 3991989 SHA256 426aaf20c7b01f5e9fbd7bd41455441bb126585f5544a848a5fa060e07f7b443 SHA512 4fe8a87faacac99c54c4fcbdb707c9790b49f485186e1741cc1ba05e955e474ca4ea31ff704a57e73b32b4fad310ef490066743d1c6ad4339191cde2daec255d WHIRLPOOL c6a2b12111572164474083f66dd0e2eff12e4faea5ce880767bfba3de493e8d56e6747c659ff1a3d533d0f6bcde1d5c9daabb9bccb2148278cdce074f5ddcbae
-DIST wxPython-demo-3.0.1.1.tar.bz2 3991248 SHA256 bb264db3369c7228f0356f1ad64f6a9ca3000b167bc1ce3fee94d3d2fa20d069 SHA512 b75ca80b5a247f5c97691c4c77c36d64ebe82d94803cd8d687b2110e9de290067c7da893797ae13d0a9f42a4da83170b630dcdeb9460657355c43005dfeac89a WHIRLPOOL 3db15c676252f4f96b585271d0ef005b84cbb4538f01db53e18c587b33fdfc5b57da40d9ba2f2c467063de79c81ed6440982fe5e21547a21fbe2d7d4e252f69c
DIST wxPython-demo-3.0.2.0.tar.bz2 3992212 SHA256 8bf195138744898b4b6fbe11f52f7ee2f6319c2e3adf832917769b2e2d4994f3 SHA512 361ecaa7dfe5bae0757e04215c564370eaf8e5260ead45007f9d70439c15701725c3cbcd76691a5191258bef24fd200ebd61347a3fd920d888137bfc98a16702 WHIRLPOOL a944790a4c7b38dc8d8d28c7def50f765cd5566118d801cb576a0ab9d8370a803f8feedbf3211d0352dd838c92d9d4f092eaf6d78354a1974f2345304dd7b2e1
DIST wxPython-docs-2.8.12.1.tar.bz2 2331363 SHA256 1dfae3a74b91e2003856eed51698c51094f1a4e6688633ae61af7a22fa8a0ddb SHA512 88591ef4f61bcbac29050d7dfecc230f7338cc006e7c3abc072b15da478e4fd994ab73ee5d072cb8b84f9de62ce182f1774354b0a7a4502ea639e59fdf965358 WHIRLPOOL 97bc66c8f781b5092e2274edc0b9bac35c21c91a66e4c0da75d543dc471f25d02334b28a5afe4ad0681b7a018a93f08b6ef5d3c6afd127ccfc24da208252cd89
DIST wxPython-newdocs-2.8.9.2.tar.bz2 1503913 SHA256 890b6b7ca37ba7aaa27f9716ea9992ac75ed8150e83939506e3c47f86e7f37a8 SHA512 e114b2b44a7fd3ac292ca9735fb2e075459211384bc98d62ff2ba49e45111825101e74abd4af2ab0e5e52ede7b831641367c11a5c80e79f2da6ada3442463bfc WHIRLPOOL 91ccbe19e8311f0404fb0096efff68750fa0c3b505d05c9278e0488e138788dc399ff2345e13c712126475957a1c1fcc53556d70cd9c835524207be5758a6e2b
DIST wxPython-src-2.8.12.1.tar.bz2 31311482 SHA256 1f3f153d9f1504c6ce2d2c4b23e940b8f58b81f4cba35cda1a5bb31142243cd0 SHA512 4f826ccb57d5f4fc03fe7cae67499be70c727a99aebf9d153ea1060a21641642606d44d079ba897c38b176846336aeaebc21d30d5c7a0abec3934d65cf4529f3 WHIRLPOOL 94f91d359f755a0f805588303e8507b2f1404a7f4af73777f85366265df9f76ca89ac29bff491cffd752b707645952a4f7f2bb12fa7e30f3e7d3728147a9c99d
-DIST wxPython-src-3.0.0.0.tar.bz2 57831792 SHA256 af88695e820dd914e8375dc91ecb736f6fb605979bb38460ace61bbea494dc11 SHA512 9328f46817e0c1670a6be5d10347c8a7110c42a5332c5c35eb11ed0412d8dddeb15727d98606bb6c699af961cee171c41b82b1f24f3de25463259106660f7387 WHIRLPOOL 7865997e22db366a41bae8a5d5c47e4f46b20d17871377243abced3a6550c46588ea1d5a426d826ccf011c62898f87d6a55a14ac9b4153af4e0795d5f180a647
-DIST wxPython-src-3.0.1.1.tar.bz2 58139645 SHA256 d51463fe760e2fc00271678700c216809f9db32a6081a1808bd4b7c884dc0a32 SHA512 71f75c1e36c9ac27c15d768f69662b18ff1c66ad111ef6ef8579dfdb5296d7c37ffce9f60000afeac289cd6288980037d3a7eb3ea8d6d25e619d8692cf41b914 WHIRLPOOL bb03b78048b368b1c2f5a8b8689aecf412953ff789b2a8d2ef4826112fdc6bff8ed881255d05859ac07f915dd1070f6147d6bfdd97b0ab4b0939c024df3b855a
DIST wxPython-src-3.0.2.0.tar.bz2 58304944 SHA256 d54129e5fbea4fb8091c87b2980760b72c22a386cb3b9dd2eebc928ef5e8df61 SHA512 a3798e89ff19344253aac7d771971e519f7fa9723e82bd97e98f16fd7f1572e513170b02295b872dae0b1ae3fa95efc4ef34d078045b839694b4fdad3a27c9e4 WHIRLPOOL 89cdef12c9ef96044adba0340d47b699e685eaec581a4e7d68f3b95a0890715e29b1f5362027df0f3f8b5b1587e8fe404a7fa88049ece9677dd8316fbdf2e41d
diff --git a/dev-python/wxpython/wxpython-3.0.0.0.ebuild b/dev-python/wxpython/wxpython-3.0.0.0.ebuild
deleted file mode 100644
index 9cab20f1aedb..000000000000
--- a/dev-python/wxpython/wxpython-3.0.0.0.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-WX_GTK_VER="3.0"
-
-inherit alternatives distutils-r1 eutils fdo-mime flag-o-matic wxwidgets
-
-MY_PN="wxPython-src"
-
-DESCRIPTION="A blending of the wxWindows C++ class library with Python"
-HOMEPAGE="http://www.wxpython.org/"
-SRC_URI="
- mirror://sourceforge/wxpython/${MY_PN}-${PV}.tar.bz2
- examples? ( mirror://sourceforge/wxpython/wxPython-demo-${PV}.tar.bz2 )"
-
-LICENSE="wxWinLL-3"
-SLOT="3.0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="cairo examples libnotify opengl"
-
-RDEPEND="
- dev-lang/python-exec:2[${PYTHON_USEDEP}]
- >=x11-libs/wxGTK-${PV}:${WX_GTK_VER}=[libnotify=,opengl?,tiff,X]
- dev-libs/glib:2
- dev-python/setuptools[${PYTHON_USEDEP}]
- media-libs/libpng:0=
- media-libs/tiff:0
- virtual/jpeg
- x11-libs/gtk+:2
- x11-libs/pango[X]
- cairo? ( >=dev-python/pycairo-1.8.4[${PYTHON_USEDEP}] )
- opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_PN}-${PV}/wxPython"
-DOC_S="${WORKDIR}/wxPython-${PV}"
-
-# The hacky build system seems to be broken with out-of-source builds,
-# and installs 'wx' package globally.
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_prepare_all() {
- sed -i "s:cflags.append('-O3'):pass:" config.py || die "sed failed"
-
- if use examples; then
- cd "${DOC_S}"
- epatch "${FILESDIR}"/${PN}-${SLOT}-wxversion-demo.patch
- fi
-
- cd "${S}"
- local PATCHES=(
- "${FILESDIR}"/${P}-wxversion-scripts.patch
- # drop editra - we have it as a separate package now
- "${FILESDIR}"/${PN}-2.8.11-drop-editra.patch
- "${FILESDIR}"/${PN}-2.8-no-preservatives-added.patch
- # fix handling egg_info command
- "${FILESDIR}"/${PN}-2.8.12.1-disable-egging-mode.patch
- )
-
- distutils-r1_python_prepare_all
-}
-
-src_configure() {
- need-wxwidgets unicode
-
- mydistutilsargs=(
- WX_CONFIG="${WX_CONFIG}"
- WXPORT=gtk2
- UNICODE=1
- BUILD_GLCANVAS=$(usex opengl 1 0)
- )
-}
-
-python_compile() {
- # We need to have separate libdirs due to hackery, bug #455332.
- distutils-r1_python_compile \
- build --build-purelib "${BUILD_DIR}"/lib.common
-}
-
-python_install() {
- distutils-r1_python_install \
- build --build-purelib "${BUILD_DIR}"/lib.common
-
- # adjust the filenames for wxPython slots.
- local file
- for file in "${D}$(python_get_sitedir)"/wx{version.*,.pth}; do
- mv "${file}" "${file}-${SLOT}" || die
- done
- cd "${ED}"usr/lib/python-exec/"${EPYTHON}" || die
- for file in *; do
- mv "${file}" "${file}-${SLOT}" || die
-
- # wrappers are common to all impls, so a parallel run may
- # move it for us. ln+rm is more failure-proof.
- ln -fs ../lib/python-exec/python-exec2 "${ED}usr/bin/${file}-${SLOT}" || die
- rm -f "${ED}usr/bin/${file}"
- done
-}
-
-python_install_all() {
- dodoc docs/{CHANGES,PyManual,README,wxPackage,wxPythonManual}.txt
-
- for x in {Py{AlaMode,Crust,Shell},XRCed}; do
- newmenu distrib/${x}.desktop ${x}-${SLOT}.desktop
- done
- newicon wx/py/PyCrust_32.png PyCrust-${SLOT}.png
- newicon wx/py/PySlices_32.png PySlices-${SLOT}.png
- newicon wx/tools/XRCed/XRCed_32.png XRCed-${SLOT}.png
-
- if use examples; then
- docinto demo
- dodoc -r "${DOC_S}"/demo/.
- docinto samples
- dodoc -r "${DOC_S}"/samples/.
-
- [[ -e ${docdir}/samples/embedded/embedded ]] \
- && rm -f "${docdir}"/samples/embedded/embedded
-
- docompress -x /usr/share/doc/${PF}/{demo,samples}
- fi
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
-
- create_symlinks() {
- alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]"
- alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]"
- }
- python_foreach_impl create_symlinks
-
- echo
- elog "Gentoo uses the Multi-version method for SLOT'ing."
- elog "Developers, see this site for instructions on using"
- elog "it with your apps:"
- elog "http://wiki.wxpython.org/index.cgi/MultiVersionInstalls"
- if use examples; then
- echo
- elog "The demo.py app which contains demo modules with"
- elog "documentation and source code has been installed at"
- elog "/usr/share/doc/${PF}/demo/demo.py"
- echo
- elog "More example apps and modules can be found in"
- elog "/usr/share/doc/${PF}/samples/"
- fi
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-
- update_symlinks() {
- alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]"
- alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]"
- }
- python_foreach_impl update_symlinks
-}
diff --git a/dev-python/wxpython/wxpython-3.0.1.1.ebuild b/dev-python/wxpython/wxpython-3.0.1.1.ebuild
deleted file mode 100644
index 240555788291..000000000000
--- a/dev-python/wxpython/wxpython-3.0.1.1.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-WX_GTK_VER="3.0"
-
-inherit alternatives distutils-r1 eutils fdo-mime flag-o-matic wxwidgets
-
-MY_PN="wxPython-src"
-
-DESCRIPTION="A blending of the wxWindows C++ class library with Python"
-HOMEPAGE="http://www.wxpython.org/"
-SRC_URI="
- mirror://sourceforge/wxpython/${MY_PN}-${PV}.tar.bz2
- examples? ( mirror://sourceforge/wxpython/wxPython-demo-${PV}.tar.bz2 )"
-
-LICENSE="wxWinLL-3"
-SLOT="3.0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="cairo examples libnotify opengl"
-
-RDEPEND="
- dev-lang/python-exec:2[${PYTHON_USEDEP}]
- >=x11-libs/wxGTK-${PV}:${WX_GTK_VER}=[libnotify=,opengl?,tiff,X]
- dev-libs/glib:2
- dev-python/setuptools[${PYTHON_USEDEP}]
- media-libs/libpng:0=
- media-libs/tiff:0
- virtual/jpeg
- x11-libs/gtk+:2
- x11-libs/pango[X]
- cairo? ( >=dev-python/pycairo-1.8.4[${PYTHON_USEDEP}] )
- opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_PN}-${PV}/wxPython"
-DOC_S="${WORKDIR}/wxPython-${PV}"
-
-# The hacky build system seems to be broken with out-of-source builds,
-# and installs 'wx' package globally.
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_prepare_all() {
- sed -i "s:cflags.append('-O3'):pass:" config.py || die "sed failed"
-
- if use examples; then
- cd "${DOC_S}"
- epatch "${FILESDIR}"/${PN}-${SLOT}-wxversion-demo.patch
- fi
-
- cd "${S}"
- local PATCHES=(
- "${FILESDIR}"/${PN}-3.0.0.0-wxversion-scripts.patch
- # drop editra - we have it as a separate package now
- "${FILESDIR}"/${PN}-2.8.11-drop-editra.patch
- "${FILESDIR}"/${PN}-2.8-no-preservatives-added.patch
- # fix handling egg_info command
- "${FILESDIR}"/${PN}-2.8.12.1-disable-egging-mode.patch
- )
-
- distutils-r1_python_prepare_all
-}
-
-src_configure() {
- need-wxwidgets unicode
-
- mydistutilsargs=(
- WX_CONFIG="${WX_CONFIG}"
- WXPORT=gtk2
- UNICODE=1
- BUILD_GLCANVAS=$(usex opengl 1 0)
- )
-}
-
-python_compile() {
- # We need to have separate libdirs due to hackery, bug #455332.
- distutils-r1_python_compile \
- build --build-purelib "${BUILD_DIR}"/lib.common
-}
-
-python_install() {
- distutils-r1_python_install \
- build --build-purelib "${BUILD_DIR}"/lib.common
-
- # adjust the filenames for wxPython slots.
- local file
- for file in "${D}$(python_get_sitedir)"/wx{version.*,.pth}; do
- mv "${file}" "${file}-${SLOT}" || die
- done
- cd "${ED}"usr/lib/python-exec/"${EPYTHON}" || die
- for file in *; do
- mv "${file}" "${file}-${SLOT}" || die
-
- # wrappers are common to all impls, so a parallel run may
- # move it for us. ln+rm is more failure-proof.
- ln -fs ../lib/python-exec/python-exec2 "${ED}usr/bin/${file}-${SLOT}" || die
- rm -f "${ED}usr/bin/${file}"
- done
-}
-
-python_install_all() {
- dodoc docs/{CHANGES,PyManual,README,wxPackage,wxPythonManual}.txt
-
- for x in {Py{AlaMode,Crust,Shell},XRCed}; do
- newmenu distrib/${x}.desktop ${x}-${SLOT}.desktop
- done
- newicon wx/py/PyCrust_32.png PyCrust-${SLOT}.png
- newicon wx/py/PySlices_32.png PySlices-${SLOT}.png
- newicon wx/tools/XRCed/XRCed_32.png XRCed-${SLOT}.png
-
- if use examples; then
- docinto demo
- dodoc -r "${DOC_S}"/demo/.
- docinto samples
- dodoc -r "${DOC_S}"/samples/.
-
- [[ -e ${docdir}/samples/embedded/embedded ]] \
- && rm -f "${docdir}"/samples/embedded/embedded
-
- docompress -x /usr/share/doc/${PF}/{demo,samples}
- fi
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
-
- create_symlinks() {
- alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]"
- alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]"
- }
- python_foreach_impl create_symlinks
-
- echo
- elog "Gentoo uses the Multi-version method for SLOT'ing."
- elog "Developers, see this site for instructions on using"
- elog "it with your apps:"
- elog "http://wiki.wxpython.org/index.cgi/MultiVersionInstalls"
- if use examples; then
- echo
- elog "The demo.py app which contains demo modules with"
- elog "documentation and source code has been installed at"
- elog "/usr/share/doc/${PF}/demo/demo.py"
- echo
- elog "More example apps and modules can be found in"
- elog "/usr/share/doc/${PF}/samples/"
- fi
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-
- update_symlinks() {
- alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]"
- alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]"
- }
- python_foreach_impl update_symlinks
-}