pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
translate-toolkit: use recently added textproc/py-Levenshtein instead of warning the user to install via pip.
Module Name: pkgsrc-wip
Committed By: i3enedek <pkgsrc%xn--rvztrtkrfrgp-bbb7j2b8f0b9d7a21oft.com@localhost>
Pushed By: i3enedek
Date: Thu Mar 9 09:47:48 2017 +0000
Changeset: 84c51fc91362769b7ff09a36d6f95a74e863fc89
Modified Files:
translate-toolkit/Makefile
translate-toolkit/PLIST
translate-toolkit/options.mk
Log Message:
translate-toolkit: use recently added textproc/py-Levenshtein
instead of warning the user to install via pip.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=84c51fc91362769b7ff09a36d6f95a74e863fc89
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
translate-toolkit/Makefile | 2 ++
translate-toolkit/PLIST | 2 +-
translate-toolkit/options.mk | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diffs:
diff --git a/translate-toolkit/Makefile b/translate-toolkit/Makefile
index 78b99001e2..022a99e972 100644
--- a/translate-toolkit/Makefile
+++ b/translate-toolkit/Makefile
@@ -13,6 +13,8 @@ HOMEPAGE= http://toolkit.translatehouse.org/
COMMENT= Essential Toolkit for Localization Engineers
LICENSE= gnu-gpl-v1
+PYTHON_VERSIONS_INCOMPATIBLE= 26
+
DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
USE_LANGUAGES= c
diff --git a/translate-toolkit/PLIST b/translate-toolkit/PLIST
index 6c748db9bf..623e40b6c4 100644
--- a/translate-toolkit/PLIST
+++ b/translate-toolkit/PLIST
@@ -1364,4 +1364,4 @@ ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-man/man1/translatetoolkit.1
+${PLIST.doc}man/man1/translatetoolkit.1
diff --git a/translate-toolkit/options.mk b/translate-toolkit/options.mk
index 07636e7ea4..6839391efb 100644
--- a/translate-toolkit/options.mk
+++ b/translate-toolkit/options.mk
@@ -13,7 +13,7 @@ DEPENDS+= ${PYPKGPREFIX}-lxml>=3.5:../../textproc/py-lxml
.endif
.if !empty(PKG_OPTIONS:Mlevenshtein)
-PKG_FAIL_REASON+= "You will need to install python-Levenshtein manually using pip"
+DEPENDS+= ${PYPKGPREFIX}-python-Levenshtein>=0.12:../../textproc/py-Levenshtein/
.endif
.if !empty(PKG_OPTIONS:Mchardet)
Home |
Main Index |
Thread Index |
Old Index