Bug 230369 - shells/xonsh: Update to 0.7.5
Summary: shells/xonsh: Update to 0.7.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mateusz Piotrowski
URL: https://github.com/xonsh/xonsh/blob/m...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-04 23:41 UTC by Nathan
Modified: 2018-09-15 12:39 UTC (History)
5 users (show)

See Also:
roberfern: maintainer-feedback+


Attachments
Update (1.05 KB, patch)
2018-08-04 23:41 UTC, Nathan
no flags Details | Diff
Poudriere Log 11.2-Stable (68.22 KB, text/plain)
2018-08-04 23:42 UTC, Nathan
no flags Details
Poudriere Log 10.4-Release (67.36 KB, text/plain)
2018-08-04 23:43 UTC, Nathan
no flags Details
Update (1.08 KB, patch)
2018-08-11 23:17 UTC, Nathan
no flags Details | Diff
Upgrade (1.16 KB, patch)
2018-08-17 00:33 UTC, Nathan
no flags Details | Diff
[patch] shells/xonsh-0.7.6 (1.08 KB, patch)
2018-08-24 07:37 UTC, Roberto Fernandez Cueto
no flags Details | Diff
Update to version 0.7.7 (1.08 KB, patch)
2018-08-30 12:53 UTC, Roberto Fernandez Cueto
no flags Details | Diff
Upgrade to 0.7.8 (3.46 KB, patch)
2018-09-13 10:56 UTC, Roberto Fernandez Cueto
no flags Details | Diff
Upgrade to 0.7.8 (3.42 KB, patch)
2018-09-13 16:03 UTC, Roberto Fernandez Cueto
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan 2018-08-04 23:41:48 UTC
Created attachment 195872 [details]
Update

Changelog: https://github.com/xonsh/xonsh/blob/master/CHANGELOG.rst
Portlint AC: ok
Comment 1 Nathan 2018-08-04 23:42:09 UTC
Created attachment 195873 [details]
Poudriere Log 11.2-Stable
Comment 2 Nathan 2018-08-04 23:43:03 UTC
Created attachment 195874 [details]
Poudriere Log 10.4-Release
Comment 3 Nathan 2018-08-11 23:17:57 UTC
Created attachment 196112 [details]
Update
Comment 4 Nathan 2018-08-17 00:33:36 UTC
Created attachment 196264 [details]
Upgrade

shells/xonsh: Update to 0.7.5

Changelog: https://github.com/xonsh/xonsh/blob/0.7.5/CHANGELOG.rst
Comment 5 Roberto Fernandez Cueto 2018-08-20 12:46:11 UTC
The port works fine in the new version.
Comment 6 Roberto Fernandez Cueto 2018-08-24 07:37:18 UTC
Created attachment 196493 [details]
[patch] shells/xonsh-0.7.6
Comment 7 Roberto Fernandez Cueto 2018-08-24 07:38:13 UTC
Comment on attachment 196493 [details]
[patch] shells/xonsh-0.7.6

Update patch to match version 0.7.6
Comment 8 Roberto Fernandez Cueto 2018-08-30 12:53:17 UTC
Created attachment 196703 [details]
Update to version 0.7.7

Updating the patch to version 0.7.7
Comment 9 Roberto Fernandez Cueto 2018-09-13 10:56:49 UTC
Created attachment 197066 [details]
Upgrade to 0.7.8

Upgrade of the port to version 0.7.8
Comment 10 Nathan 2018-09-13 10:58:54 UTC
(In reply to Roberto Fernandez Cueto from comment #9)
Why did you take out LICENSE= ....
Comment 11 John Hein 2018-09-13 12:53:50 UTC
(In reply to Nathan from comment #10)

I suspect LICENSE was removed because of the following error:

===>  Missing license file for BSD2CLAUSE in /license
*** Error code 1

That's because the LICENSE_FILE line that was added in the patch is:

LICENSE_FILE=  ${WRCDIR}/license

Two problems with that:

 - WRCDIR typo instead of WRKDIR

 - WRKDIR would be wrong, too.  WRKSRC is correct.

Removing LICENSE just skips all the license support, so it seems to "fix" the problem, but effectively just comments it out.

In short, the patch should be updated to leave LICENSE as is and add this line:

LICENSE_FILE=  ${WRKSRC}/license
Comment 12 Nathan 2018-09-13 13:07:52 UTC
(In reply to John Hein from comment #11)
License= should be in Makefile either way. License_file should be provided IF it’s in the source file, if it isn’t just providing a known license type works without error

So in short LICENSE needs to stay in Makefile. When I did previous version I had no error from it
Comment 13 Nathan 2018-09-13 13:10:42 UTC
Reason there is an error is because WRKSRC is spelled wrong when I relooked at patch
Comment 14 Nathan 2018-09-13 13:12:29 UTC
(In reply to John Hein from comment #11)
Misread your comment a bit, wish I could delete mine lol but yes you’re right. Since it’s misspelled Makefile overlooks it
Comment 15 Roberto Fernandez Cueto 2018-09-13 14:31:42 UTC
There is a revision for this issue in phabricator:
https://reviews.freebsd.org/D17152
Comment 16 John Hein 2018-09-13 14:43:28 UTC
(In reply to Roberto Fernandez Cueto from comment #15)
Roberto, if you're happy with the patch, indicate that with the maintainer approval flag.  This will give the committer the hint that it's ready to be committed from the maintainer's point of view.
Comment 17 Roberto Fernandez Cueto 2018-09-13 16:03:22 UTC
Created attachment 197074 [details]
Upgrade to 0.7.8

Fixing the patch using directions from 0mp@
Comment 18 Mateusz Piotrowski freebsd_committer freebsd_triage 2018-09-15 12:26:09 UTC
I'm on it. I'll commit it in a couple minutes.
Comment 19 commit-hook freebsd_committer freebsd_triage 2018-09-15 12:34:58 UTC
A commit references this bug:

Author: 0mp
Date: Sat Sep 15 12:34:48 UTC 2018
New revision: 479833
URL: https://svnweb.freebsd.org/changeset/ports/479833

Log:
  shells/xonsh: Upgrade to version 0.7.8

  Changelog: https://github.com/xonsh/xonsh/blob/0.7.8/CHANGELOG.rst

  PR:		230369
  Submitted by:	Roberto Fernandez Cueto <roberfern@gmail.com> (maintainer)
  Reported by:	Nathan <ndowens@yahoo.com>
  Reviewed by:	krion, mat
  Reviewed by:	Nathan <ndowens@yahoo.com> (previous version)
  Reviewed by:	John Hein <z7dr6ut7gs@snkmail.com> (previous version)
  Approved by:	krion (mentor)
  Differential Revision:	https://reviews.freebsd.org/D17152

Changes:
  head/shells/xonsh/Makefile
  head/shells/xonsh/distinfo
  head/shells/xonsh/files/patch-xonsh_platform.py
  head/shells/xonsh/files/patch-xonsh_xoreutils_uptime.py
Comment 20 Mateusz Piotrowski freebsd_committer freebsd_triage 2018-09-15 12:39:53 UTC
Big thanks to all of you for your contribution to this PR!