Bug 245030

Summary: devel/py-nose2: Update to 0.9.2
Product: Ports & Packages Reporter: Daniel Ylitalo <daniel>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: daniel, koobs, python
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/nose-devs/nose2/blob/0.9.2/docs/changelog.rst
Attachments:
Description Flags
Updates port to 0.9.2 daniel: maintainer-approval+

Description Daniel Ylitalo 2020-03-24 09:21:20 UTC
Created attachment 212672 [details]
Updates port to 0.9.2

Provided patch passes poudriere testport + portlint -AC

Changelog:
https://github.com/nose-devs/nose2/blob/master/docs/changelog.rst
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2020-03-24 09:24:59 UTC
Changelog mentions adding support for Python 3.8, 3.9

Will be adding test support to the port to confirm/verify whether or not the test suite fails for these versions, and limit the USES=python:<version-spec> to -3.7 if it indeed fails, before updating the port to 0.9.2
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2020-03-24 09:26:52 UTC
@Daniel

Can you detail the need for the present patch to setup.py which removes the following line:

"nose2-%s.%s = nose2:discover" % (py_version.major, py_version.minor),
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2020-03-24 09:35:43 UTC
(In reply to Kubilay Kocak from comment #2)

Cancel that, figured it out. I'll add a comment to the patch for our future selves
Comment 4 Daniel Ylitalo 2020-03-24 09:37:02 UTC
I think it has something todo with concurrent builds with the ports flavor system, not entirely sure though, was quite a while ago :)
Comment 5 commit-hook freebsd_committer freebsd_triage 2020-03-25 04:26:31 UTC
A commit references this bug:

Author: koobs
Date: Wed Mar 25 04:16:26 UTC 2020
New revision: 529075
URL: https://svnweb.freebsd.org/changeset/ports/529075

Log:
  devel/py-nose2: Update to 0.9.2 [1]

    - Add TEST_DEPENDS / test target to improve QA
    - Add comment for setup.py patch to describe why its there

  Changelog:

    https://github.com/nose-devs/nose2/blob/0.9.2/docs/changelog.rst

  PR:		245030 [1]
  Submitted by:	Daniel Ylitalo <daniel blodan se> [1]

Changes:
  head/devel/py-nose2/Makefile
  head/devel/py-nose2/distinfo
  head/devel/py-nose2/files/patch-setup.py
Comment 6 Kubilay Kocak freebsd_committer freebsd_triage 2020-03-25 04:27:19 UTC
Committed, thank you Daniel!