summaryrefslogtreecommitdiff
path: root/devel/py-polib
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-04-24 13:34:28 +0000
committerobache <obache@pkgsrc.org>2013-04-24 13:34:28 +0000
commit9309be14f780805cffee5847c3709717f792796c (patch)
treec98a9695c80cfb6ca37d728d2abd475f38d0d6e0 /devel/py-polib
parentcd179cb6bb582e459995a7ed57bbcfc3e7d59c2d (diff)
downloadpkgsrc-9309be14f780805cffee5847c3709717f792796c.tar.gz
Import py27-polib-1.0.3 as devel/py-polib.
Based on PR pkg/47459 by Richard PALO. polib is a library to manipulate, create, modify gettext files (pot, po and mo files). You can load existing files, iterate through its entries, add, modify entries, comments or metadata, etc. or create new po files from scratch. polib supports out of the box any version of python ranging from 2.4 to latest 3.X version. polib is pretty stable now and is used by many opensource projects. polib is completely free and opensource, the license used is the MIT license. It was developed back in 2006 by David Jean Louis and it is still actively maintained.
Diffstat (limited to 'devel/py-polib')
-rw-r--r--devel/py-polib/DESCR12
-rw-r--r--devel/py-polib/Makefile18
-rw-r--r--devel/py-polib/PLIST5
-rw-r--r--devel/py-polib/distinfo5
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/py-polib/DESCR b/devel/py-polib/DESCR
new file mode 100644
index 00000000000..0a2d21f4cfb
--- /dev/null
+++ b/devel/py-polib/DESCR
@@ -0,0 +1,12 @@
+polib is a library to manipulate, create, modify gettext files (pot, po and mo
+files). You can load existing files, iterate through its entries, add, modify
+entries, comments or metadata, etc. or create new po files from scratch.
+
+polib supports out of the box any version of python ranging from 2.4 to latest
+3.X version.
+
+polib is pretty stable now and is used by many opensource projects.
+
+polib is completely free and opensource, the license used is the MIT license.
+It was developed back in 2006 by David Jean Louis and it is still actively
+maintained.
diff --git a/devel/py-polib/Makefile b/devel/py-polib/Makefile
new file mode 100644
index 00000000000..0b9b38c9566
--- /dev/null
+++ b/devel/py-polib/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2013/04/24 13:34:28 obache Exp $
+
+DISTNAME= polib-1.0.3
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+CATEGORIES= devel python
+MASTER_SITES= http://cdn.bitbucket.org/izi/polib/downloads/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://bitbucket.org/izi/polib/
+COMMENT= Python library to parse and manage gettext catalogs
+LICENSE= mit
+
+USE_LANGUAGES= # empty
+
+PYTHON_VERSIONS_INCLUDE_3X= yes
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-polib/PLIST b/devel/py-polib/PLIST
new file mode 100644
index 00000000000..30c7cabfee6
--- /dev/null
+++ b/devel/py-polib/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2013/04/24 13:34:28 obache Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/polib.py
+${PYSITELIB}/polib.pyc
+${PYSITELIB}/polib.pyo
diff --git a/devel/py-polib/distinfo b/devel/py-polib/distinfo
new file mode 100644
index 00000000000..221e08e03de
--- /dev/null
+++ b/devel/py-polib/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/04/24 13:34:28 obache Exp $
+
+SHA1 (polib-1.0.3.tar.gz) = 247ef0d0a830ca354f1979e8e43e63e4dc61a89a
+RMD160 (polib-1.0.3.tar.gz) = 12c67f058450b966d0bd0b97187f28f62eb005e9
+Size (polib-1.0.3.tar.gz) = 149954 bytes