summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorkleink <kleink@pkgsrc.org>2015-10-20 17:18:57 +0000
committerkleink <kleink@pkgsrc.org>2015-10-20 17:18:57 +0000
commit2d4c80a3e557cdbf6fcf615548edb94f6ba41f88 (patch)
tree44dcc127d26ba494ae22f47ce2b96799d5ced620 /textproc
parent33f41e00cf94a0a5baf8ddc20038b972a4b61214 (diff)
downloadpkgsrc-2d4c80a3e557cdbf6fcf615548edb94f6ba41f88.tar.gz
Update py-pyphen to 0.9.2.
Changes since 0.9.1: * Icelandic dictionary * test coverage updates * bug fixes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-pyphen/Makefile4
-rw-r--r--textproc/py-pyphen/PLIST3
-rw-r--r--textproc/py-pyphen/distinfo11
-rw-r--r--textproc/py-pyphen/patches/patch-pyphen.py13
4 files changed, 18 insertions, 13 deletions
diff --git a/textproc/py-pyphen/Makefile b/textproc/py-pyphen/Makefile
index 9ba8663e446..665931668b9 100644
--- a/textproc/py-pyphen/Makefile
+++ b/textproc/py-pyphen/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2015/07/13 16:13:55 kleink Exp $
+# $NetBSD: Makefile,v 1.2 2015/10/20 17:18:57 kleink Exp $
-DISTNAME= Pyphen-0.9.1
+DISTNAME= Pyphen-0.9.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pyphen/}
diff --git a/textproc/py-pyphen/PLIST b/textproc/py-pyphen/PLIST
index bc1f542c354..218a0671923 100644
--- a/textproc/py-pyphen/PLIST
+++ b/textproc/py-pyphen/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2015/07/13 16:13:55 kleink Exp $
+@comment $NetBSD: PLIST,v 1.2 2015/10/20 17:18:57 kleink Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -36,6 +36,7 @@ share/pyphen${PYVERSSUFFIX}/dictionaries/hyph_hr.dic
share/pyphen${PYVERSSUFFIX}/dictionaries/hyph_hr_HR.dic
share/pyphen${PYVERSSUFFIX}/dictionaries/hyph_hu.dic
share/pyphen${PYVERSSUFFIX}/dictionaries/hyph_hu_HU.dic
+share/pyphen${PYVERSSUFFIX}/dictionaries/hyph_is.dic
share/pyphen${PYVERSSUFFIX}/dictionaries/hyph_it.dic
share/pyphen${PYVERSSUFFIX}/dictionaries/hyph_it_IT.dic
share/pyphen${PYVERSSUFFIX}/dictionaries/hyph_lt.dic
diff --git a/textproc/py-pyphen/distinfo b/textproc/py-pyphen/distinfo
index f34f8a54893..5dcf85c5c5f 100644
--- a/textproc/py-pyphen/distinfo
+++ b/textproc/py-pyphen/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1 2015/07/13 16:13:55 kleink Exp $
+$NetBSD: distinfo,v 1.2 2015/10/20 17:18:57 kleink Exp $
-SHA1 (Pyphen-0.9.1.tar.gz) = 95cb2eb255b5cdbcf65b8fcbd8bfe2ff780b8b4e
-RMD160 (Pyphen-0.9.1.tar.gz) = 9a149c49098313448e7ac90832aab26e0fe7c634
-Size (Pyphen-0.9.1.tar.gz) = 1020062 bytes
-SHA1 (patch-pyphen.py) = 8d4df310338181d380cf13307c0eccc86b24ff74
+SHA1 (Pyphen-0.9.2.tar.gz) = 919a40c50def59ef41463097f68289d1d2efe905
+RMD160 (Pyphen-0.9.2.tar.gz) = 31410712470d03203993f24a4678932a1d5e7d17
+SHA512 (Pyphen-0.9.2.tar.gz) = d0a5f0b49d991016c163e5fb340f33d0c0df92b1623ff8c3eebdc46c12efb8f50c01b0999a9b469878a167ac6a59ccb5d4c21482e244c247f2761388fb697f5f
+Size (Pyphen-0.9.2.tar.gz) = 1045675 bytes
+SHA1 (patch-pyphen.py) = 1479b6a786651f21c88473596c34bfa7aec9d7bf
SHA1 (patch-setup.py) = 7834ffe12a25c91bd31a4a3fd15ea2051b8434cb
diff --git a/textproc/py-pyphen/patches/patch-pyphen.py b/textproc/py-pyphen/patches/patch-pyphen.py
index 915f56534b5..0022f7df572 100644
--- a/textproc/py-pyphen/patches/patch-pyphen.py
+++ b/textproc/py-pyphen/patches/patch-pyphen.py
@@ -1,15 +1,18 @@
-$NetBSD: patch-pyphen.py,v 1.1 2015/07/13 16:13:55 kleink Exp $
+$NetBSD: patch-pyphen.py,v 1.2 2015/10/20 17:18:57 kleink Exp $
Adjust dictionaries path to allow multiple Python version installs.
---- pyphen.py.orig 2013-12-27 17:53:36.000000000 +0100
-+++ pyphen.py 2015-07-13 17:48:37.000000000 +0200
-@@ -53,10 +53,10 @@
- else:
+--- pyphen.py.orig 2015-09-28 11:41:52.000000000 +0200
++++ pyphen.py 2015-10-20 18:26:32.000000000 +0200
+@@ -50,13 +50,13 @@ try:
+ import pkg_resources
dictionaries_roots = (os.path.join(
pkg_resources.resource_filename('pyphen', ''),
- 'share', 'pyphen', 'dictionaries'),)
+ 'share', 'pyphen%s' % sys.version[0:3], 'dictionaries'),)
+ except ImportError:
+ dictionaries_roots = ()
+
finally:
dictionaries_roots += (
- os.path.join(sys.prefix, 'share', 'pyphen', 'dictionaries'),