Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2018 21:58:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 230605] [patch] lang/python37: threads are no longer optional
Message-ID:  <bug-230605-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230605

            Bug ID: 230605
           Summary: [patch] lang/python37: threads are no longer optional
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: rsmith@xs4all.nl
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)

Created attachment 196170
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D196170&action=
=3Dedit
Remove threads option.

During compilation of lang/python37 I got the following warning:

    configure: WARNING: unrecognized options: --with-threads

According to https://docs.python.org/3/whatsnew/3.7.html:

    Support for building --without-threads has been removed.
    The threading module is now always available.
    (Contributed by Antoine Pitrou in bpo-31370.).

So attached is a patch for the port Makefile to remove the THREADS option. I
also moved PORTREVISION to pet portlint.

It builds OK. Portlint is gives no errors, just some warnings.

(Python 37 won't package for me because of bug 229562.)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230605-21822>