Bug 228284 - sysutils/py-consul: Correctly specify Python version support (enabling 2.7)
Summary: sysutils/py-consul: Correctly specify Python version support (enabling 2.7)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: John Hixson
URL:
Keywords: easy
Depends on: 228467
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-16 02:35 UTC by cullum
Modified: 2019-01-08 08:19 UTC (History)
3 users (show)

See Also:
jhixson: maintainer-feedback+
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cullum 2018-05-16 02:35:38 UTC
py-consul supports Python 2.7. The following diff to the Makefile allows the port to be built with the py27 flavor. I found this necessary when using it with Ansible (which is built with Python 2).

-USES=  python:3.3+
+USES=  python:2.7+
Comment 1 John Hixson freebsd_committer freebsd_triage 2018-05-24 17:44:44 UTC
I've updated this port to 1.0.0 and made the changes to support python2.7 here:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228467
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-01-08 08:17:06 UTC
A commit references this bug:

Author: jhixson
Date: Tue Jan  8 08:16:48 UTC 2019
New revision: 489652
URL: https://svnweb.freebsd.org/changeset/ports/489652

Log:
  sysutils/py-consul: allow python 2.7 to be used

  PR:		228284
  Approved by:	araujo (mentor)
  Differential Revision:	https://reviews.freebsd.org/D18781

Changes:
  head/sysutils/py-consul/Makefile
  head/sysutils/py-consul/files/
  head/sysutils/py-consul/files/patch-setup.py
Comment 3 John Hixson freebsd_committer freebsd_triage 2019-01-08 08:19:51 UTC
Port has been updated to 1.1.0 and supports python2.7