Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2017 09:38:06 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r445861 - head/devel/py-configparser
Message-ID:  <201707150938.v6F9c6Zu071109@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sat Jul 15 09:38:06 2017
New Revision: 445861
URL: https://svnweb.freebsd.org/changeset/ports/445861

Log:
  devel/py-configparser: Allow Python 3.x builds
  
  The upstream changelog for 3.5.0 specifies:
  
    a complete rewrite of the backport; now single codebase working on
    Python 2.6 - 3.5. To use on Python 3 import from backports import
    configparser instead of the built-in version
  
  Previous versions were limited to supporting Python 2.x
  
  Update USES=python and pkg-descr accordingly
  
  While I'm here, enable NO_ARCH
  
  Reported by:	net/turses update (r445859)
  Approved by:	portmgr (blanket)
  MFH:		2017Q3

Modified:
  head/devel/py-configparser/Makefile
  head/devel/py-configparser/pkg-descr   (contents, props changed)

Modified: head/devel/py-configparser/Makefile
==============================================================================
--- head/devel/py-configparser/Makefile	Sat Jul 15 09:16:49 2017	(r445860)
+++ head/devel/py-configparser/Makefile	Sat Jul 15 09:38:06 2017	(r445861)
@@ -2,6 +2,7 @@
 
 PORTNAME=	configparser
 PORTVERSION=	3.5.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
@@ -12,7 +13,9 @@ COMMENT=	INI style configuration file parser
 
 LICENSE=	MIT
 
-USES=		python:2
+USES=		python
 USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
 
 .include <bsd.port.mk>

Modified: head/devel/py-configparser/pkg-descr
==============================================================================
--- head/devel/py-configparser/pkg-descr	Sat Jul 15 09:16:49 2017	(r445860)
+++ head/devel/py-configparser/pkg-descr	Sat Jul 15 09:38:06 2017	(r445861)
@@ -1,6 +1,5 @@
-The ancient ConfigParser module available in the standard
-library 2.x has seen a major update in Python 3.2. This
-is a backport of those changes so that they can be used
-directly in Python 2.6 - 2.7
+The ancient ConfigParser module available in the standard library 2.x has
+seen a major update in Python 3.2. This is a backport of those changes so
+that they can be used directly in Python 2.6 - 3.5.
 
 WWW: https://pypi.python.org/pypi/configparser



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