Bug 182423 - [PATCH] databases/zodb3: USE_PYTHON hasn't been specified correctly
Summary: [PATCH] databases/zodb3: USE_PYTHON hasn't been specified correctly
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-zope (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-26 22:50 UTC by Eir Nym
Modified: 2013-09-27 15:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eir Nym 2013-09-26 22:50:00 UTC
databases/zodb3 doesn't specify maximum python version to use while dependencies does (e.g. devel/py-zconfig)

Fix: 

Specify range 2.5-2.7 instead of 2.5+
How-To-Repeat: install python3 and specify it as default python version in /etc/make.conf
Comment 1 Edwin Groothuis freebsd_committer 2013-09-26 22:50:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->zope

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2013-09-27 15:27:36 UTC
Author: rm
Date: Fri Sep 27 14:27:27 2013
New Revision: 328482
URL: http://svnweb.freebsd.org/changeset/ports/328482

Log:
  Strict python version to 2.x branch. ZODB < 3.11 or 4.0 does not support
  python3.
  
  PR:		182423
  Reported by:	Arseny Nasokin <eirnym@gmail.com>

Modified:
  head/databases/zodb3/Makefile

Modified: head/databases/zodb3/Makefile
==============================================================================
--- head/databases/zodb3/Makefile	Fri Sep 27 14:26:55 2013	(r328481)
+++ head/databases/zodb3/Makefile	Fri Sep 27 14:27:27 2013	(r328482)
@@ -20,7 +20,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}zcon
 		${PYTHON_PKGNAMEPREFIX}zclockfile>=1.0.0:${PORTSDIR}/devel/py-zclockfile \
 		${PYTHON_PKGNAMEPREFIX}zope.event>=1.0.0:${PORTSDIR}/devel/py-zope.event
 
-USE_PYTHON=	yes
+USE_PYTHON=	-2.7
 USE_PYDISTUTILS=	easy_install
 PYEASYINSTALL_ARCHDEP=	yes
 PYDISTUTILS_PKGNAME=	ZODB3
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Ruslan Makhmatkhanov freebsd_committer 2013-09-27 15:27:57 UTC
State Changed
From-To: open->closed

Problem fixed. Thank you.