pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-polib



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Sep 26 10:12:25 UTC 2017

Modified Files:
        pkgsrc/devel/py-polib: Makefile PLIST distinfo

Log Message:
py-polib: update to 1.0.8.

Version 1.0.8 (2016/11/21)
--------------------------
 - Fixed issue #70 (occurrences parsing for windows pathes)
 - Fixed issue #71 (tcomment and flags not saved for obsolete entries)
 - Fixed issue #72 (wrong metadata ordering)
 - Fixed issue #73 (can't always unpickle POFile)
 - Use natural sorting for additional headers (metadata)
 - Fixed typos in various documents

Version 1.0.7 (2015/07/08)
--------------------------
 - Fixed bad parsing of indented msgstr_plural
 - Fixed ordering of "Language" metadata entry
 - Removed space after "#" in header if comment line is empty (like gettext tools)
 - Fixed typos / grammar errors (thanks Jakub Wilk)
 - Take into account msgid_plural if needed when comparing entries (thanks Leonardo Constantino Oliveira)
 - Fixed issue #63 (str() on a bytes instance when using python3) (thanks Jakub Wilk)

Version 1.0.6 (2015/01/04)
--------------------------
 - Wheel support
 - Add missing 'Language' and 'Plural-Forms' to metadata ordering
 - More accurate float operation for POFile.percent_translated()

Version 1.0.5 (2014/08/22)
--------------------------
 - Fixed issue #59: tokens variable referenced before assignment
 - Implemented feature request #56: line number information in PO entries
 - Fixed issue #61: polib does not handle previous msgid on multilines properly

Version 1.0.4 (2014/02/19)
--------------------------
 - Fixed issue #43: improved check that determine if polib is dealing with a filepath or unicode content
 - Fixed issue #44: polib now checks MO files revision number and throws an error if the number is unexpected
 - Fixed issue #45: parse properly mo files with no header entry
 - Fixed issue #47: added flags attribute for MOEntry to be consistent with POEntry
 - Fixed issue #49: use integers rather than strings for msgstr_plural keys
 - Fixed issue #51: if a PO file ends with a comment, polib adds a spurious empty entry at the end
 - Fixed issue #52: bad magic number written on big endian platforms
 - Fixed issue #53: added a __hash__() method to POEntry and MOEntry classes
 - Fixed issue #54: use lowercase for state identifiers. This fixes issues with certain locales and string.lower()
 - Fixed issue #58: use io.open() instead of codecs.open() because the latter doesn't handle very well universal line endings
 - Make sure the mo file is closed at garbage collection, this prevents warnings on unclosed file when running tests with python >= 3.2
 - Better way to test endianness
 - polib download URL is now on Pypi


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-polib/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-polib/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-polib/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-polib/Makefile
diff -u pkgsrc/devel/py-polib/Makefile:1.3 pkgsrc/devel/py-polib/Makefile:1.4
--- pkgsrc/devel/py-polib/Makefile:1.3  Mon Sep  4 18:08:21 2017
+++ pkgsrc/devel/py-polib/Makefile      Tue Sep 26 10:12:25 2017
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.3 2017/09/04 18:08:21 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2017/09/26 10:12:25 wiz Exp $
 
-DISTNAME=      polib-1.0.3
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
+DISTNAME=      polib-1.0.8
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
-MASTER_SITES=  http://cdn.bitbucket.org/izi/polib/downloads/
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/polib/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://bitbucket.org/izi/polib/
+HOMEPAGE=      https://pypi.python.org/pypi/polib/
 COMMENT=       Python library to parse and manage gettext catalogs
 LICENSE=       mit
 
 USE_LANGUAGES=         # empty
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-polib/PLIST
diff -u pkgsrc/devel/py-polib/PLIST:1.1 pkgsrc/devel/py-polib/PLIST:1.2
--- pkgsrc/devel/py-polib/PLIST:1.1     Wed Apr 24 13:34:28 2013
+++ pkgsrc/devel/py-polib/PLIST Tue Sep 26 10:12:25 2017
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2013/04/24 13:34:28 obache Exp $
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.2 2017/09/26 10:12:25 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/polib.py
 ${PYSITELIB}/polib.pyc
 ${PYSITELIB}/polib.pyo

Index: pkgsrc/devel/py-polib/distinfo
diff -u pkgsrc/devel/py-polib/distinfo:1.2 pkgsrc/devel/py-polib/distinfo:1.3
--- pkgsrc/devel/py-polib/distinfo:1.2  Tue Nov  3 03:29:11 2015
+++ pkgsrc/devel/py-polib/distinfo      Tue Sep 26 10:12:25 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 03:29:11 agc Exp $
+$NetBSD: distinfo,v 1.3 2017/09/26 10:12:25 wiz Exp $
 
-SHA1 (polib-1.0.3.tar.gz) = 247ef0d0a830ca354f1979e8e43e63e4dc61a89a
-RMD160 (polib-1.0.3.tar.gz) = 12c67f058450b966d0bd0b97187f28f62eb005e9
-SHA512 (polib-1.0.3.tar.gz) = 29cbf4586cffa8e124f92725f5adcb3e92e7761ff695629748cb4e8e94ee2e97c72b8030c715acc5fa372adb52310a95f9873387345bfd4f45a9b5831b4db13d
-Size (polib-1.0.3.tar.gz) = 149954 bytes
+SHA1 (polib-1.0.8.tar.gz) = 82c930079c2c5ce9735e9c42ee24f22449a5137d
+RMD160 (polib-1.0.8.tar.gz) = 149ef515509eafb75768707b0373f62700ade640
+SHA512 (polib-1.0.8.tar.gz) = 6bcb8404a06e4e41e827ff947d13ea3165b7dbf0cd3f3f58c74ac1b49718a5d81f1a0ca0e59180928610b5eaefcc248aad9b8ca033978f580c141cd52405dc3f
+Size (polib-1.0.8.tar.gz) = 160670 bytes



Home | Main Index | Thread Index | Old Index