pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
translate-toolkit: simplify, clean up.
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Wed Jun 14 17:28:09 2017 +0200
Changeset: 939ce97621e8701ffeb1dbf702103f35f923c3b0
Modified Files:
translate-toolkit/Makefile
translate-toolkit/options.mk
Removed Files:
translate-toolkit/MESSAGE
Log Message:
translate-toolkit: simplify, clean up.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=939ce97621e8701ffeb1dbf702103f35f923c3b0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
translate-toolkit/MESSAGE | 30 ------------------------------
translate-toolkit/Makefile | 30 +++---------------------------
translate-toolkit/options.mk | 1 -
3 files changed, 3 insertions(+), 58 deletions(-)
diffs:
diff --git a/translate-toolkit/MESSAGE b/translate-toolkit/MESSAGE
deleted file mode 100644
index 110ee02b56..0000000000
--- a/translate-toolkit/MESSAGE
+++ /dev/null
@@ -1,30 +0,0 @@
-$NerBSD$
-The following are required for parsing certain filetypes:
-
-###############
-# Recommended #
-###############
-
-# lxml - for XML processing (XLIFF, TMX, TBX, ts, Android)
-lxml>=3.5
-
-# Faster matching in e.g. pot2po
-python-Levenshtein>=0.12
-
-# Encoding detection
-chardet==2.3.0
-
-##################
-# Format support #
-##################
-BeautifulSoup4>=4.3 # Trados TM
-iniparse==0.4 ;python_version < '3.0' # INI (ini2po)
-vobject==0.9.3 # iCal (ical2po)
-
-#aeidon>=0.14 # Subtitles (sub2po)
-# aeidon not available through pip/PyPI,
-# so recording this dependency here is pointless except as a comment
-
-Babel==2.3.4 # Android plurals
-l20n==4.0.0a1 # l20n (l20n2po)
-PyYAML==3.12 # yaml
diff --git a/translate-toolkit/Makefile b/translate-toolkit/Makefile
index 64e6ff9d5b..246cb2e8df 100644
--- a/translate-toolkit/Makefile
+++ b/translate-toolkit/Makefile
@@ -1,11 +1,10 @@
# $NetBSD$
-PKGNAME= translate-toolkit-2.1.0
DISTNAME= translate-toolkit-2.1.0
-GITHUB_PROJECT= translate
CATEGORIES= misc
-#MASTER_SITES= ${MASTER_SITE_GITHUB:=translate/}
-MASTER_SITES= https://github.com/translate/translate/releases/download/2.1.0/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=translate/}
+GITHUB_PROJECT= translate
+GITHUB_RELEASE= ${PKGVERSION_NOREV}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -13,8 +12,6 @@ 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
DEPENDS+= ${PYPKGPREFIX}-sqlite3>=1.9.0:../../databases/py-sqlite3
@@ -22,27 +19,6 @@ USE_LANGUAGES= c
REPLACE_BASH= tools/*
USE_TOOLS+= bash:run
-#REPLACE_INTERPRETER+= bash
-#REPLACE.bash.old= /bin/bash
-#REPLACE.bash.new= /bin/sh
-#REPLACE_FILES.bash= tools/*
-
-#SUBST_CLASSES+= testeq
-#SUBST_STAGE.testeq= post-extract
-#SUBST_MESSAGE.testeq= Replace non-portable "==" operator for test(1)
-#SUBST_FILES.testeq+= tools/*
-#SUBST_SED.testeq= -e 's/==/=/g'
-
-
-#REPLACE_BASH= ${WRKSRC}/tools/junitmsgfmt \
-# ${WRKSRC}/tools/pocommentclean \
-# ${WRKSRC}/tools/pocompendium \
-# ${WRKSRC}/tools/pomigrate2 \
-# ${WRKSRC}/tools/popuretext \
-# ${WRKSRC}/tools/poreencode \
-# ${WRKSRC}/tools/posplit \
-
-#AUTO_MKDIRS=yes
post-extract:
${RM} ${WRKSRC}/tools/mozilla/build_firefox.sh
diff --git a/translate-toolkit/options.mk b/translate-toolkit/options.mk
index 38e8d4f021..df361af439 100644
--- a/translate-toolkit/options.mk
+++ b/translate-toolkit/options.mk
@@ -35,7 +35,6 @@ INSTALLATION_DIRS+= ${PKGMANDIR}/man1
PLIST.doc= yes
pre-build:
- ${MKDIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
cd ${WRKSRC}/docs && ${MAKE} man
${INSTALL_MAN} ${WRKSRC}/docs/_build/man/translatetoolkit.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
Home |
Main Index |
Thread Index |
Old Index