Bug 194656 - databases/py-postgresql insists in installing python3/python3-3_2
Summary: databases/py-postgresql insists in installing python3/python3-3_2
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 Marino
URL:
Keywords: patch-ready
Depends on:
Blocks:
 
Reported: 2014-10-28 09:59 UTC by Axel.Rau
Modified: 2014-11-28 10:03 UTC (History)
2 users (show)

See Also:


Attachments
Patch to fix the issue (526 bytes, patch)
2014-10-28 09:59 UTC, Axel.Rau
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Axel.Rau 2014-10-28 09:59:10 UTC
Created attachment 148730 [details]
Patch to fix the issue

I tried to build databases/py-postgresql for python3.4.
My /etc/make.conf contains
	DEFAULT_VERSIONS= perl5=5.16 pgsql=9.3 python=3.4 python3=3.4 
and python3.4 is installed, but your port tries to install python3 and python3-3_2

The attached patch fixes this and makes sure that the required python version 3.3 or newer is installed.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-10-28 09:59:10 UTC
Maintainers CC'd
Comment 2 John Marino freebsd_committer freebsd_triage 2014-11-14 10:39:33 UTC
The PR timed out, maintainer approval no longer required.  I'm promoting the PR.
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-11-28 10:03:22 UTC
A commit references this bug:

Author: marino
Date: Fri Nov 28 10:02:21 UTC 2014
New revision: 373539
URL: https://svnweb.freebsd.org/changeset/ports/373539

Log:
  databases/py-postgresql: Support python 3.4

  When python 3 only is specified, building the port tries to install
  python 3.3 even if python 3.4 is requested, so this change addresses that.

  PR:		194656
  Submitted by:	Axel Rau (chaos1.de)
  Approved by:	maintainer timeout

Changes:
  head/databases/py-postgresql/Makefile
Comment 4 John Marino freebsd_committer freebsd_triage 2014-11-28 10:03:47 UTC
Thanks!