aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2014-04-13 09:33:45 +0800
committerswills <swills@FreeBSD.org>2014-04-13 09:33:45 +0800
commite0816165d5d01f5c6b92bb5dcbc9ab0d874aa438 (patch)
tree5e8c3b02bbaee9fda1ef66de128fb125338fa483
parent0e0e6eb07d7a8a800168c317886b27fa486dd735 (diff)
downloadfreebsd-ports-gnome-e0816165d5d01f5c6b92bb5dcbc9ab0d874aa438.tar.gz
freebsd-ports-gnome-e0816165d5d01f5c6b92bb5dcbc9ab0d874aa438.tar.zst
freebsd-ports-gnome-e0816165d5d01f5c6b92bb5dcbc9ab0d874aa438.zip
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 WWW: https://pypi.python.org/pypi/configparser PR: ports/188301 Submitted by: ports@robakdesign.com
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-configparser/Makefile18
-rw-r--r--devel/py-configparser/distinfo2
-rw-r--r--devel/py-configparser/pkg-descr6
4 files changed, 27 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 98e78613323a..bec11fcddca5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3567,6 +3567,7 @@
SUBDIR += py-colorama
SUBDIR += py-conditional
SUBDIR += py-configobj
+ SUBDIR += py-configparser
SUBDIR += py-construct
SUBDIR += py-country
SUBDIR += py-coverage
diff --git a/devel/py-configparser/Makefile b/devel/py-configparser/Makefile
new file mode 100644
index 000000000000..42c4e55a61cd
--- /dev/null
+++ b/devel/py-configparser/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME= configparser
+PORTVERSION= 3.3.0r2
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ports@robakdesign.com
+COMMENT= INI style configuration file parser
+
+LICENSE= MIT
+
+USE_PYTHON= 2
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-configparser/distinfo b/devel/py-configparser/distinfo
new file mode 100644
index 000000000000..94665b4200a4
--- /dev/null
+++ b/devel/py-configparser/distinfo
@@ -0,0 +1,2 @@
+SHA256 (configparser-3.3.0r2.tar.gz) = 6a2318590dfc4013fc5bf53c2bec14a8cb455a232295eb282a13f94786c4b0b2
+SIZE (configparser-3.3.0r2.tar.gz) = 32885
diff --git a/devel/py-configparser/pkg-descr b/devel/py-configparser/pkg-descr
new file mode 100644
index 000000000000..506b572b701e
--- /dev/null
+++ b/devel/py-configparser/pkg-descr
@@ -0,0 +1,6 @@
+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
+
+WWW: https://pypi.python.org/pypi/configparser