Spyder is and IDE for the Python language. I have successfully built the port on Redports.org Here are links to the build logs 9.2 AMD64 https://redports.org/~rodperson/20140201004100-6291-173601/spyder-2.3.0beta2.log 10-CURRENT AMD64 https://redports.org/~rodperson/20140201004100-6291-173602/spyder-2.3.0beta2.log 10-CURRENT i386 https://redports.org/~rodperson/20140201004100-6291-173603/spyder-2.3.0beta2.log Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->jgh I'll take it.
Created attachment 150356 [details] Proposed patch (v2.3.2) Hello. Thanks for devel/spyder port submission. I would like to propose following changes: - Update to 2.3.2 version - Add python to CATEGORIES - Use download method of Bitbucket (which is similar to GitHub method) - Add LICENSE_FILE - Use autoplist for pkg-plist generation - Use distutils instead of USE_PYDISTUTILS - Add PORTDOCS and DOCS_BUILD_DEPENDS - Add RECOMMENDED and OPTIONAL group options for recommended and optional modules, as stated in ${WRKSRC}/README.md - Add desktop entry - Use bsd.port.options.mk helpers for options *_RUN_DEPENDS - Add WWW to pkg-descr file
Created attachment 150357 [details] The port in shar format (v2.3.2)
Created attachment 150359 [details] The poudriere testport log (FreeBSD 10 amd64, with default options)
Created attachment 150360 [details] The poudriere testport log (FreeBSD 10 amd64, with all options disabled)
Created attachment 150361 [details] The poudriere testport log (FreeBSD 10 amd64, with all options enabled)
Created attachment 150362 [details] Proposed patch (v2.3.2) Added PSUTIL option to show Memory/CPU usage in the status bar.
Created attachment 150363 [details] The port in shar format (v2.3.2)
Created attachment 150364 [details] The poudriere testport log (FreeBSD 10 amd64, with all options enabled)
Created attachment 150365 [details] Proposed patch (v2.3.2) Added PANDAS and SYMPY to optional options.
Created attachment 150366 [details] The port in shar format (v2.3.2)
Created attachment 150367 [details] The poudriere testport log (FreeBSD 10 amd64, with all options enabled)
Created attachment 150380 [details] Proposed patch (v2.3.2) Added explicit runtime dependency on net/py-pyzmq in case of IPYTHON option, because ZMQ option might be disabled for devel/ipython package, but required for correct ipython integration. The dependencies are listed on "Help -> Optional dependencies..." menu of the Spyder application.
Created attachment 150381 [details] The port in shar format (v2.3.2)
Created attachment 150386 [details] Proposed patch (v2.3.2) Removed manual creation of desktop entry, because of existing ${WRKSRC}/setup.py capabilities, enabled by post-patch. Added PKGNAMEPREFIX.
Created attachment 150387 [details] The port in shar format (v2.3.2)
Created attachment 150388 [details] Proposed patch (v2.3.2) Fixed check for pylint dependency (by correct PYTHON_PKGNAMESUFFIX).
Created attachment 150389 [details] The port in shar format (v2.3.2)
Created attachment 150393 [details] Proposed patch (v2.3.2)
Created attachment 150394 [details] The port in shar format (v2.3.2)
Created attachment 150395 [details] The poudriere testport log (FreeBSD 10 amd64, with all options enabled)
Created attachment 150410 [details] Proposed patch (v2.3.2) Fixed "Created by" line, based on other created ports by the same author.
Created attachment 150411 [details] The port in shar format (v2.3.2)
Created attachment 151534 [details] The port in shar format (v2.3.2) Removed bsd.port.options.mk include, because there are no checks for options.
Original submitters feedback is required for the second attachment, otherwise the first holds. A separate issue may also be created, pending a timeout on this one.
(In reply to comment #25) Well, I don't pretend to be a maintainer of this port, while brought it to the working state and update to latest version. The author of the port contacted me at 9 December 2014 and said about problems with testing of the port on redports.org (because of tinderbox issues, related to new pkg system). Also, there is a request to not work on the port, while the author works on it, posted on FreeBSD-Python mailing list on January 2014: https://lists.freebsd.org/pipermail/freebsd-python/2014-January/006523.html
Which is why my suggestion to create a separate issue as a contingency in the case the original submitter is non-responsive, and the maintainer-feedback flag was set. There's nothing we need to do at the moment it seems.
Sorry...didn't relize this was waiting on me. The 2nd attachment by lightside works fine. If you need more from me, let me know. Not sure of the protocol in such an instance as this one.
Created attachment 152300 [details] The port in shar format (v2.3.2) Removed BB_COMMIT and adapted to release method of download, based on DISTVERSION. The distinfo file is the same. The poudriere testport logs are still valid.
Rod, Thanks for the quick response. Please: - Set maintainer-approval on the latest patch by lightside, AND - Obsolete your own patch You can do so by clicking 'Details' for each attachment and setting the appropriate fields.
Created attachment 152302 [details] The port in shar format (v2.3.2) Actually, it could be named as BB_TAGNAME and used for BB_COMMIT, when needed. Now it's "v${PORTVERSION}".
Hope I did this all correct, just let me know. This bugzilla is all new to me...I'm used to the old ways :)
(In reply to comment #32) On "Details" for attachments there is "edit details" link on top, where you could check on "obsolete" and then click on Submit to obsolete file. On the same kind of page you could change Flags for requested maintainer approval, if I'm not wrong. But this is not needed, if you agree already, in my opinion. Maybe, for other purposes.
(In reply to comment #33) > On the same kind of page you could change Flags for requested maintainer approval, if I'm not wrong. If it doesn't work, try to see "My Requests" page on top or read details about how to approve it on your email at the time of request.
Rod, perfect! Now you just need to approve attachment 152302 [details] (set + on the maintainer-approval flag)
Comment on attachment 152302 [details] The port in shar format (v2.3.2) Ok, since there is only one patch attachment, which not obsoleted, I removed the maintainer-approval request. The Rod Person agree on it, based on his previous messages. Waiting for interested commiter.
(In reply to comment #36) > one patch attachment one attachment in shar format, used for new ports.
Ok...was getting ready to post it will not let me change the flag!
Comment on attachment 152302 [details] The port in shar format (v2.3.2) @lightside The maintainer-approval on required on attachment 152302 [details] because at the time of the comment there were multiple patches. Having said that, even if there was only one patch: - maintainer-approval on your patch would still be required in this case because you are not the submitter (reporter) or maintainer. - Having an explicit approval on even one patch is better than having to correlate approval in comments. Rod, please approve the patch as per my comment 35, thanks!
(In reply to rodperson from comment #38) Can you set the flag now?
Still can not see it. Took screenshot http://rodperson.com/pictures/approve.png
Comment on attachment 152302 [details] The port in shar format (v2.3.2) That should have worked. I re-added the flag myself after lightside removed it, and from your screenshot it's still showing the older one. No matter, I'll set the flag. Let me know again if it happens in future, as you *should* be able to set a flags value if your username/email is the current ? value (which it was).
Created attachment 153345 [details] The port in shar format (v2.3.2) According to BitBucket Wiki and Google Code pages, the site and source code "has moved to GitHub": https://bitbucket.org/spyder-ide/spyderlib/wiki/Home https://code.google.com/p/spyderlib/ - Adapted to USE_GITHUB=yes - Changed WWW of pkg-descr file to GitHub site
Created attachment 153348 [details] The port in shar format (v2.3.2) There is a possibility to use GHR (or GITHUB_RELEASE) for MASTER_SITES.
Created attachment 154550 [details] The port in shar format (v2.3.2) (In reply to comment #44) > There is a possibility to use GHR (or GITHUB_RELEASE) for MASTER_SITES. Deprecate USE_GITHUB, because ports r381618 and ports r381648 changes made it useless for this case. For example, the GH_TAGNAME is v${PORTVERSION}, but WRKSRC is ${WRKDIR}/{PORTNAME}-${PORTVERSION}, not a ${WRKDIR}/${PORTNAME}-${GH_TAGNAME}, which is wrong assumption for this case.
Created attachment 154551 [details] The port in shar format (v2.3.2)
Created attachment 154568 [details] The port in shar format (v2.3.2) (In reply to comment #45) > Deprecate USE_GITHUB, because ports r381618 and ports r381648 changes made it useless for this case. Ok, return USE_GITHUB and use Git commit instead. Need to note, that there is newer 2.3.3 version: https://github.com/spyder-ide/spyder/releases/tag/v2.3.3 It's possible to update, but it has some different dependencies and somehow doesn't recognize some existing ones. Therefore, I still propose to use 2.3.2 version for this PR.
Created attachment 154584 [details] The port in shar format (v2.3.2) (In reply to comment #47) > Ok, return USE_GITHUB and use Git commit instead. Or use v${PORTVERSION} for GH_TAGNAME and correct WRKSRC. It has the same checksum as for previously used GHR site.
Comment on attachment 154551 [details] The port in shar format (v2.3.2) Looks like, the USE_GITHUB download methods is a playground for someone. Let's use GitHub public interface.
Created attachment 154833 [details] The port in shar format (v2.3.2) I think, there is a (general) misunderstanding about GitHub API (front-end) usage. But also there is a possible reviewer's abuse of conversion from (correct) MASTER_SITES to USE_GITHUB. Therefore, return to use USE_GITHUB with correct DISTNAME (where the current "_GH0" part is responsibility of other people; therefore, if it changed outside of the port, then recreate the distinfo file with "make makesum" command).
Created attachment 161438 [details] The port in shar format (v2.3.6) Updated to 2.3.6 release version: https://github.com/spyder-ide/spyder/releases/tag/v2.3.6 - Corrected USE_GITHUB usage - Replaced "PYDISTUTILS_INSTALLNOSINGLE" deprecated define with "MAKE_ENV=USE_SETUPTOOLS=1" - Corrected some descriptions for options, according to "Optional Dependencies" dialog - Added new "JEDI" option to "OPTIONAL" group To Rod Person: Thanks, for bringing this PR to my attention again. I resolved issue with PYDISTUTILS_INSTALLNOSINGLE define after reading setup.py file, where there was a need to activate with_setuptools variable with using USE_SETUPTOOLS environment define.
Created attachment 161439 [details] The poudriere testport log (FreeBSD 10.2 amd64, with default options)
Comment on attachment 161438 [details] The port in shar format (v2.3.6) post-patch: @${REINPLACE_CMD} -e 's|'linux'|'${OPSYS:tl}'| ' \ ${WRKSRC}/setup.py \ ${WRKSRC}/spyderlib/spyder.py I get a build error that line 71 -> ${WRKSRC}/setup.py \ needs an operator.
Comment on attachment 161438 [details] The port in shar format (v2.3.6) (In reply to comment #53) > I get a build error that line 71 -> ${WRKSRC}/setup.py \ > needs an operator. The poudriere testport (attachment 161439 [details]) didn't show such error, the same for "make check-plist" and "portlint -C" commands. But just in case, I changed ' to " for new version of shar archive. Otherwise, you need to try to update the ports, e.g. with "portsnap fetch update" command.
Created attachment 162448 [details] The port in shar format (v2.3.7) Updated to 2.3.7 release version: https://github.com/spyder-ide/spyder/releases/tag/v2.3.7
Created attachment 162450 [details] The poudriere testport log (FreeBSD 10.2 amd64, with default options)
A commit references this bug: Author: demon Date: Mon Oct 26 08:47:12 UTC 2015 New revision: 400177 URL: https://svnweb.freebsd.org/changeset/ports/400177 Log: New port: spyder Spyder (previously known as Pydee) is a powerful interactive development environment for the Python language with advanced editing, interactive testing, debugging and introspection features WWW: https://github.com/spyder-ide/spyder/ PR: 186316 Submitted by: rodperson@rodperson.com With improvements by lightside@gmx.de Changes: head/devel/Makefile head/devel/spyder/ head/devel/spyder/Makefile head/devel/spyder/distinfo head/devel/spyder/pkg-descr
Port added, thanks to all participants!
Seems like this is already completed and there's no action on it for a while, so I'm closing this PR.