This is a request to add an ebuild for suplemon in portage. Suplemon is a modern, powerful and intuitive console text editor with multi cursor support. Suplemon replicates Sublime Text style functionality in the terminal with the ease of use of Nano. Python 3.3+. https://github.com/richrd/suplemon
Hello Erik, can you provide an ebuild for it and maintain it?
Created attachment 424152 [details] ebuild
Created attachment 424154 [details] metadata
(In reply to Tomáš Mózes from comment #1) > Hello Erik, can you provide an ebuild for it and maintain it? Yes, I think I can. Please find a proposed ebuild and the accompanying metadata attached. It works as expected on my setup. Some questions & remarks: * Only ~amd64, because I cannot check other setups. * No use flag is on by default; what are the criteria to decide whether to do this or not? * PYTHON_COMPAT: only checked CPython 3.4, but also listed 3.3 and 3.5 * Improvement suggestions appreciated.
Fine basic ebuild, thanks for it. A few notes: - we can use EAPI=6 - I would include python 2.7 in PYTHON_COMPAT as it's very popular and my quick test showed that suplemon is working with it - I would remove python 3.3 from PYTHON_COMPAT as it's going to fade away - the DESCRIPTION is too long, if you run repoman it will shout. Besides the package name usually does not appear in the description itself, maybe a simple "Console text editor with multi cursor support" will suffice? - you can add ~x86 as it should work fine - is this code needed? python_install_all() { distutils-r1_python_install_all } - I would introduce and ebuild for flake8-quotes - when depending on python stuff, add PYTHON_USEDEP, else it might not work when different packages are merged with different python targets - I would depend unconditionally on flake8 (>=2.5.0 && < 3.0.0), flake8-quotes and pygments and make only xsel optional, common sense is applied If you have any questions, feel free to ask, or any gentoo dev @proxy-maint on irc.
And one more thing I forgot. In setup.py: from setuptools import setup So it is advisable to put dev-python/setuptools into DEPEND.
(In reply to Tomáš Mózes from comment #5) > - I would introduce and ebuild for flake8-quotes See bug #573508
Created attachment 424332 [details] ebuild
Created attachment 424334 [details] metadata
(In reply to Tomáš Mózes from comment #5) I've revised the ebuild according to your suggestions. The only one I did not follow was > - I would depend unconditionally on [...] flake8-quotes [...] because flake8-quotes is a very opinionated linting extension and some people might not like it; currently, it cannot be configured from suplemon's configuration (see also https://github.com/richrd/suplemon/issues/113).
@Erik, the ebuild looks fine to me. Just cosmetic marks: - sort KEYWORDS - why not write DEPEND on one line?
Created attachment 424366 [details] ebuild
Nice.
Created attachment 429562 [details] metadata Update to GLEP67
Created attachment 429564 [details] ebuild From discussion with the developer, it is clear that flake8-quotes is a development dependency. I've therefore removed it from the use flags and added it under the test feature (although no tests are run, so this may not be proper). Also updated the download link format, which was changed upstream.
The entry in metadata.xml <name>Gentoo Python Project</name> (the full entry) need be taken out. The python project will accept no further packages. It can be added under g-p-m. Once again you need the range of years in line 1, LICENSE MIT will suffice and the ebuild requires a version; suplemon-0.1.51.ebuild I am getting a failure of sorts in the test phase
Given that I have not been able to find or create the time to complete the ebuild, I think adding it to the tree with me as proxy-maintainer would not be a good idea. I apologize to Tomáš and Ian, who have helped me get this far with this ebuild. Please close or leave open for someone else to pick up as appropriate. (In reply to Ian Delaney (RETIRED) from comment #16) > LICENSE MIT will suffice I looked at the license text included and even though the developers call it MIT, it is MIT-with-advertising, I think.
Erik, I'll leave it open, feel free to finish your work later on. Anyone else interested, your help is welcome.