Bug 247115

Summary: www/py-google-api-python-client: Change RUN_DEPENDS of DJANGO option
Product: Ports & Packages Reporter: Kai Knoblich <kai>
Component: Individual Port(s)Assignee: Kai Knoblich <kai>
Status: Closed FIXED    
Severity: Affects Only Me CC: nivit
Priority: --- Keywords: buildisok
Version: LatestFlags: bugzilla: maintainer-feedback? (nivit)
Hardware: Any   
OS: Any   
URL: https://wiki.freebsd.org/Ports/Django
Bug Depends on:    
Bug Blocks: 245309    
Description Flags
kai: maintainer-approval+
py-google-api-python-client-switch-to-django22-v2.patch kai: maintainer-approval+

Description Kai Knoblich freebsd_committer 2020-06-09 15:32:07 UTC
Created attachment 215395 [details]


attached is the patch that changes the RUN_DEPENDS of the DJANGO option from Django 1.11 (End-of-Life since April) to Django 2.2 (current LTS release).

Set the port as BROKEN if Python 2.7 is used and the DJANGO option is set because Django 2.2 is only available for Python 3.5+.

- poudriere (11.3-RELEASE amd64 for each py27, py35, py36, py37 and py38 flavor) -> OK
Comment 1 Steve Wills freebsd_committer 2020-06-24 00:15:47 UTC
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/159424803
Comment 2 Kai Knoblich freebsd_committer 2020-06-25 08:35:18 UTC
Comment on attachment 215395 [details]

^ Triage: Setting maintainer-approval to '+' due maintainer's timeout.
Comment 3 Kai Knoblich freebsd_committer 2020-06-25 09:25:51 UTC
Opened review D25446 for an alternative approach to deal with the DJANGO option regarding Python 2.7.
Comment 4 Kai Knoblich freebsd_committer 2021-01-04 09:25:30 UTC
Created attachment 221268 [details]

Attach an updated revision of the patch as the workaround for Python 2.7 is no longer required since ports r559531.
Comment 5 commit-hook freebsd_committer 2021-01-04 09:28:36 UTC
A commit references this bug:

Author: kai
Date: Mon Jan  4 09:28:28 UTC 2021
New revision: 560275
URL: https://svnweb.freebsd.org/changeset/ports/560275

  www/py-google-api-python-client: Change RUN_DEPENDS of DJANGO option

  * Switch the non-default DJANGO option from Django 1.11 (End-of-Life since
    April 2020) to Django 2.2 (current LTS release).

  * Bump PORTREVISION due changed dependencies.

  PR:		247115
  Approved by:	maintainer timeout (5+ months)