Created attachment 188742 [details] Proposed patch thefuck is a magnificent app which corrects your previous console command. URI:https://github.com/nvbn/thefuck/ PyPI: https://pypi.python.org/pypi/thefuck/ Skipped the TEST_DEPENDS and do-test for now, since the test suite is not currently in the PyPI releases. Will add the test section once test cases were added back in the release. testport: OK (11.1-RELEASE amd64, 10.4-RELEASE i386) It is my first new port, so any feedback would be more than welcome!
Sorry, Yuri, I didn't notice this PR. ygy is a committer and this PR should be assigned to him. p.s. ygy: Assign your PRs to yourself!
Created attachment 188774 [details] Updated patch (In reply to Adam Weinberger from comment #1) Sorry, I didn't notice this. Attaching the updated patch anyway.
(In reply to Adam Weinberger from comment #1) Whoops! Didn't notice that, sorry. Thanks Yuri!
(In reply to Yuri Victorovich from comment #2) USE_PYTHON=concurrent makes no sense here. The port is already restricted to 3.4+. A DEV_WARNING should have been triggered for this. The BUILD_DEPENDS -> RUN_DEPENDS part is necessary though.
(In reply to Adam Weinberger from comment #4) 3.4+ means 3.4, 3.5, 3.6, etc. You can build them with PYTHON_VERSION=N.N environment variable. They will conflict without USE_PYTHON=concurrent.
(In reply to Yuri Victorovich from comment #5) I think you're right, Yuri. I misread a ! in the DEV_WARNING patch. I think you're right, USE_PYTHON=concurrent is the right thing here. Sorry about the confusion, and thanks for setting me straight!
(In reply to Adam Weinberger from comment #6) No problem!
A commit references this bug: Author: ygy Date: Fri Jan 5 09:26:49 UTC 2018 New revision: 458123 URL: https://svnweb.freebsd.org/changeset/ports/458123 Log: - Add thefuck 3.25 Thefuck is a magnificent app which corrects your previous console command. It tries to match a rule for the previous command, creates a new command using the matched rule and runs it. Thefuck comes with a lot of predefined rules, but you can create your own rules as well. WWW: https://github.com/nvbn/thefuck PR: 224263 Approved by: adamw Differential Revision: https://reviews.freebsd.org/D13460 Changes: head/misc/Makefile head/misc/thefuck/ head/misc/thefuck/Makefile head/misc/thefuck/distinfo head/misc/thefuck/pkg-descr