Bug 245030 - devel/py-nose2: Update to 0.9.2
Summary: devel/py-nose2: Update to 0.9.2
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: freebsd-ports-bugs (Nobody)
URL: https://github.com/nose-devs/nose2/bl...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-24 09:21 UTC by Daniel Ylitalo
Modified: 2020-03-25 04:27 UTC (History)
3 users (show)

See Also:


Attachments
Updates port to 0.9.2 (884 bytes, patch)
2020-03-24 09:21 UTC, Daniel Ylitalo
daniel: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!