From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-editors/editra/Manifest | 7 +++ app-editors/editra/editra-0.7.20-r1.ebuild | 53 ++++++++++++++++++++++ app-editors/editra/editra-0.7.20-r2.ebuild | 54 +++++++++++++++++++++++ app-editors/editra/files/editra-0.7.20-wx30.patch | 44 ++++++++++++++++++ app-editors/editra/metadata.xml | 8 ++++ 5 files changed, 166 insertions(+) create mode 100644 app-editors/editra/Manifest create mode 100644 app-editors/editra/editra-0.7.20-r1.ebuild create mode 100644 app-editors/editra/editra-0.7.20-r2.ebuild create mode 100644 app-editors/editra/files/editra-0.7.20-wx30.patch create mode 100644 app-editors/editra/metadata.xml (limited to 'app-editors/editra') diff --git a/app-editors/editra/Manifest b/app-editors/editra/Manifest new file mode 100644 index 000000000000..5909446bd8f3 --- /dev/null +++ b/app-editors/editra/Manifest @@ -0,0 +1,7 @@ +AUX editra-0.7.20-wx30.patch 2264 SHA256 ee850c1ff4151313b5881b26dcf8feefd978dd04498b4670904680463f7e79f5 SHA512 c0befbe2fb2eead2c4fc066767b48938b0f2b17949dc42fd98128d63556268a12b73fb49f22a8e9abf524e4450bda2b2b4e0b4953bc7f3c7c32b6ba1e7eefe63 WHIRLPOOL 08b108cb07dba01c6ea12a764dcc64e9b44ba5281d89a8634b3896694c28b7db5f10dbe3302349539a0b3c50b58f361c42cdedbaf2c1f779e4974fb38da8ef31 +DIST Editra-0.7.20.tar.gz 4072243 SHA256 ed515bca58d87d9a2b3085f322a9fe7c6d1407a3b05db1434f80ea8f7e42ccc0 SHA512 e568ce2a5f04300c33223bf7a0e6fbc52d0a51c3472afb9b613fe21cfbeba0b9b453d87837e52c7c48050fc266ff5ff194a42f797053f21f0a25cd5c4579febe WHIRLPOOL ecfbc9610ba707aaad4995f9832e0f2bf2d79e56a5fadb27ae6c5b671c0f69a166c3d2d37163141789629a30fe56fbeb59c05c0203ae9201e2447ea479f52c55 +EBUILD editra-0.7.20-r1.ebuild 1229 SHA256 e089a9c6f2406de4a40c09839bcfe4a01fd71d1406da8e890511ce9856c1b018 SHA512 0d18d21b90528220f2d6dd1ca8cd61ed8c922f1a39307eec94511f1c7e634ec02a26bf1455fcb7c7361d355aaa3dff75d9bb86ecffe3bd82d9fbc362e2f4429e WHIRLPOOL 989606aa054c30a95cde14890f2501664cdf5fcd62eac56bbd50bfe0c789cfb537731aaef221f30538a6222b8fac7f0723ae920162a89c3146041821c5b64f24 +EBUILD editra-0.7.20-r2.ebuild 1263 SHA256 5a4fc633fa98c69651b37e013fe3798b810c833454277c7dad2d6b6c3690a5fc SHA512 5ed7f65ac2fad154890b6f3fc7a4d080eefc6b5ce8ea2c87e6f5a1995c38c80bed31d19a2d7423931acd13a3592db6f09abe68b14fdc05ba285fc7760a1094b6 WHIRLPOOL 11e3a7a7c360abada1b71eae3b9cdefea8a884c2f76ab3aa5d4a9bd2d55eaee8d36f2bd405f76ccb57da37161f09a6ebe09a5ba11847c94d615dc5d330a1697c +MISC ChangeLog 2954 SHA256 f3401053f2dbbfe4125c21bcbe4765891077ff462d956f5aa4417493ca844bad SHA512 29e4ea1df313ed66fc3d271e9a316109d34916a8708157bf3e4ee2342a9cd52938d3f92443730095c802ddb961b796c8f08bc7eee57b64d9650abf6c9e2fbf1e WHIRLPOOL 4c2769921db652d271c6277d4d4b81c40bd823209d470741bf12aecddba5ada8762860d97eb1abaf56ba54f32a130f809be8c8931a905b1a42ecd60200b97578 +MISC ChangeLog-2015 6596 SHA256 45499c3b42ab295cc3dbdfbba40bb87fcc6a20a3ac6e024fd779b14de1d966a9 SHA512 d74ba28b915a1071fcae4ba96c029cd308bbc1908f5ded4ed56c4b72d56e3c15aaa513bf756255398ec79e99f7a1c279ecbf7ad0dc867ac799c24b14cc2a60ab WHIRLPOOL e0f95bae0477624c00a55848f575d224503d1b6ecf759a094e563d0fc7ec03e75b666823b18c7dbff477837b582568280f4a038d037aa90cd5e1429fb5e21756 +MISC metadata.xml 261 SHA256 c44cf79e2521fb9e30d1fe5dc005186407fc3a6c45988dd67812566f3f2cdc97 SHA512 f7ad013dd5f01aaedd4528f98ba9a4b4b44d353502df3438a8b513dd2ee7af1e24328c34187e156370efb550c401b81175cccc7a7643ea6a5a83766d68a05221 WHIRLPOOL e52deeefe3ba231f2cad86e533c9584a6f760ebee81e1ae2eed0d5fbd59c8c8e296a6e4bd603a849afd1414ae81b684b902d84a63a1db08d274f7d6f6ac3bc4d diff --git a/app-editors/editra/editra-0.7.20-r1.ebuild b/app-editors/editra/editra-0.7.20-r1.ebuild new file mode 100644 index 000000000000..d5b36f96a376 --- /dev/null +++ b/app-editors/editra/editra-0.7.20-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 eutils fdo-mime + +MY_PN=${PN/e/E} + +DESCRIPTION="Multi-platform text editor supporting over 50 programming languages" +HOMEPAGE="http://editra.org https://pypi.python.org/pypi/Editra" +SRC_URI="http://editra.org/uploads/src/${MY_PN}-${PV}.tar.gz" + +LICENSE="wxWinLL-3.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="spell" + +DEPEND=" + >=dev-python/wxpython-2.8.9.2:2.8[${PYTHON_USEDEP}] + >=dev-python/setuptools-0.6[${PYTHON_USEDEP}]" +# setuptools is RDEPEND because it's used by the runtime for installing plugins +RDEPEND="${DEPEND} + spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )" + +S="${WORKDIR}"/${MY_PN}-${PV} + +python_compile() { + # https://code.google.com/p/editra/issues/detail?id=481 + distutils-r1_python_compile --no-clean +} + +python_install() { + distutils-r1_python_install --no-clean +} + +python_install_all() { + distutils-r1_python_install_all + + doicon "${S}"/pixmaps/editra.png + make_desktop_entry editra Editra editra "Utility;TextEditor" + dodoc FAQ THANKS +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} diff --git a/app-editors/editra/editra-0.7.20-r2.ebuild b/app-editors/editra/editra-0.7.20-r2.ebuild new file mode 100644 index 000000000000..4bd7d9c6f228 --- /dev/null +++ b/app-editors/editra/editra-0.7.20-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils distutils-r1 fdo-mime + +MY_PN=${PN/e/E} + +DESCRIPTION="Multi-platform text editor supporting over 50 programming languages" +HOMEPAGE="http://editra.org https://pypi.python.org/pypi/Editra" +SRC_URI="http://editra.org/uploads/src/${MY_PN}-${PV}.tar.gz" + +LICENSE="wxWinLL-3.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="spell" + +DEPEND=" + dev-python/wxpython:3.0[${PYTHON_USEDEP}] + >=dev-python/setuptools-0.6[${PYTHON_USEDEP}]" +# setuptools is RDEPEND because it's used by the runtime for installing plugins +RDEPEND="${DEPEND} + spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )" + +PATCHES=( "${FILESDIR}/${P}-wx30.patch" ) + +S="${WORKDIR}"/${MY_PN}-${PV} + +python_compile() { + # https://code.google.com/p/editra/issues/detail?id=481 + distutils-r1_python_compile --no-clean +} + +python_install() { + distutils-r1_python_install --no-clean +} + +python_install_all() { + distutils-r1_python_install_all + + doicon "${S}"/pixmaps/editra.png + make_desktop_entry editra Editra editra "Utility;TextEditor" + dodoc FAQ THANKS +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} diff --git a/app-editors/editra/files/editra-0.7.20-wx30.patch b/app-editors/editra/files/editra-0.7.20-wx30.patch new file mode 100644 index 000000000000..e5e7b7f918d6 --- /dev/null +++ b/app-editors/editra/files/editra-0.7.20-wx30.patch @@ -0,0 +1,44 @@ +Description: Updates for better wxPython 3.0 compatibility +Author: Olly Betts +Bug-Debian: https://bugs.debian.org/758947 +Forwarded: no +Last-Update: 2014-08-30 + +--- editra-0.7.20+dfsg.1.orig/src/ed_main.py ++++ editra-0.7.20+dfsg.1/src/ed_main.py +@@ -432,7 +432,7 @@ class MainWindow(wx.Frame, viewmgr.Persp + + dlg = wx.FileDialog(self, _("Editra: Open"), fdir, "", + ''.join(syntax.GenFileFilters()), +- wx.OPEN | wx.MULTIPLE | wx.CHANGE_DIR) ++ wx.FD_OPEN | wx.FD_MULTIPLE | wx.FD_CHANGE_DIR) + dlg.SetFilterIndex(_PGET('FFILTER', 'int', 0)) + + if ebmlib.LockCall(self._mlock, dlg.ShowModal) == wx.ID_OK: +@@ -680,7 +680,7 @@ class MainWindow(wx.Frame, viewmgr.Persp + os.path.dirname(sdir), + title.lstrip(u"*"), + u''.join(syntax.GenFileFilters()), +- wx.SAVE | wx.OVERWRITE_PROMPT) ++ wx.FD_SAVE | wx.FD_OVERWRITE_PROMPT) + + if ebmlib.LockCall(self._mlock, dlg.ShowModal) == wx.ID_OK: + path = dlg.GetPath() +@@ -713,7 +713,7 @@ class MainWindow(wx.Frame, viewmgr.Persp + dlg = wx.FileDialog(self, _("Where to Save Profile?"), \ + CONFIG['PROFILE_DIR'], "default.ppb", \ + _("Profile") + " (*.ppb)|*.ppb", +- wx.SAVE | wx.OVERWRITE_PROMPT) ++ wx.FD_SAVE | wx.FD_OVERWRITE_PROMPT) + + if ebmlib.LockCall(self._mlock, dlg.ShowModal) == wx.ID_OK: + profiler.TheProfile.Write(dlg.GetPath()) +@@ -732,7 +732,7 @@ class MainWindow(wx.Frame, viewmgr.Persp + if evt.Id == ID_LOAD_PROFILE: + dlg = wx.FileDialog(self, _("Load a Custom Profile"), + CONFIG['PROFILE_DIR'], "default.ppb", +- _("Profile") + " (*.ppb)|*.ppb", wx.OPEN) ++ _("Profile") + " (*.ppb)|*.ppb", wx.FD_OPEN) + + if ebmlib.LockCall(self._mlock, dlg.ShowModal) == wx.ID_OK: + profiler.TheProfile.Load(dlg.GetPath()) diff --git a/app-editors/editra/metadata.xml b/app-editors/editra/metadata.xml new file mode 100644 index 000000000000..0c7ee856e108 --- /dev/null +++ b/app-editors/editra/metadata.xml @@ -0,0 +1,8 @@ + + + + + wxwidgets@gentoo.org + Gentoo wxWidgets Project + + -- cgit v1.2.3