pkgsrc-WIP-changes archive

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

translate-toolkit: update to translate-toolkit-2.0.0rc1



Module Name:	pkgsrc-wip
Committed By:	i3enedek <pkgsrc%xn--rvztrtkrfrgp-bbb7j2b8f0b9d7a21oft.com@localhost>
Pushed By:	i3enedek
Date:		Tue Jan 10 15:18:52 2017 +0000
Changeset:	a40779d3335565f85272ad76b99412ff37154ada

Modified Files:
	translate-toolkit/MESSAGE
	translate-toolkit/Makefile
	translate-toolkit/PLIST
	translate-toolkit/distinfo
	translate-toolkit/options.mk
Removed Files:
	translate-toolkit/Makefile-url2pkg.bak

Log Message:
translate-toolkit: update to translate-toolkit-2.0.0rc1

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a40779d3335565f85272ad76b99412ff37154ada

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

diffstat:
 translate-toolkit/MESSAGE              |   2 +-
 translate-toolkit/Makefile             |  40 +++++---
 translate-toolkit/Makefile-url2pkg.bak |  16 ---
 translate-toolkit/PLIST                | 173 +++++++++++++++++----------------
 translate-toolkit/distinfo             |   8 +-
 translate-toolkit/options.mk           |  16 +--
 6 files changed, 130 insertions(+), 125 deletions(-)

diffs:
diff --git a/translate-toolkit/MESSAGE b/translate-toolkit/MESSAGE
index a793644..110ee02 100644
--- a/translate-toolkit/MESSAGE
+++ b/translate-toolkit/MESSAGE
@@ -1,3 +1,4 @@
+$NerBSD$
 The following are required for parsing certain filetypes:
 
 ###############
@@ -27,4 +28,3 @@ vobject==0.9.3       # iCal (ical2po)
 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 bc68876..2a2c3be 100644
--- a/translate-toolkit/Makefile
+++ b/translate-toolkit/Makefile
@@ -1,11 +1,11 @@
 # $NetBSD$
 
-#PKGNAME=	translate-toolkit-2.0.0
-DISTNAME=	translate-toolkit-2.0.0b7
+PKGNAME=	translate-toolkit-2.0.0
+DISTNAME=	translate-toolkit-2.0.0rc1
 GITHUB_PROJECT=	translate
 CATEGORIES=	wip
-MASTER_SITES=	${MASTER_SITE_GITHUB:=translate/}
-#MASTER_SITES=	https://github.com/translate/translate/releases/download/2.0.0b7/
+#MASTER_SITES=	${MASTER_SITE_GITHUB:=translate/}
+MASTER_SITES=	https://github.com/translate/translate/releases/download/2.0.0rc1/
 EXTRACT_SUFX=	.tar.bz2
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
@@ -13,15 +13,33 @@ HOMEPAGE=	http://toolkit.translatehouse.org/
 COMMENT=	Essential Toolkit for Localization Engineers
 LICENSE=	gnu-gpl-v1
 
+DEPENDS+=	${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
+
 USE_LANGUAGES=	c
 
-REPLACE_BASH=	${WRKSRC}/tools/junitmsgfmt \
-		${WRKSRC}/tools/pocommentclean \
-		${WRKSRC}/tools/pocompendium \
-		${WRKSRC}/tools/pomigrate2 \
-		${WRKSRC}/tools/popuretext \
-		${WRKSRC}/tools/poreencode \
-		${WRKSRC}/tools/posplit \
+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/Makefile-url2pkg.bak b/translate-toolkit/Makefile-url2pkg.bak
deleted file mode 100644
index e46c320..0000000
--- a/translate-toolkit/Makefile-url2pkg.bak
+++ /dev/null
@@ -1,16 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	translate-toolkit-2.0.0b7
-CATEGORIES=	wip
-MASTER_SITES=	${MASTER_SITE_GITHUB:=translate/}
-EXTRACT_SUFX=	.tar.bz2
-
-MAINTAINER=	INSERT_YOUR_MAIL_ADDRESS_HERE
-HOMEPAGE=	http://github.com/translate/translate/releases/download/2.0.0b7/
-COMMENT=	TODO: Short description of the package
-#LICENSE=	# TODO: (see mk/license.mk)
-
-GITHUB_TAG=     r${PKGVERSION_NOREV}
-
-# url2pkg-marker (please do not remove this line.)
-.include "../../mk/bsd.pkg.mk"
diff --git a/translate-toolkit/PLIST b/translate-toolkit/PLIST
index 734b5c0..f3078fb 100644
--- a/translate-toolkit/PLIST
+++ b/translate-toolkit/PLIST
@@ -1,80 +1,10 @@
 @comment $NetBSD$
-bin/build_tmdb
-bin/csv2po
-bin/csv2tbx
-bin/html2po
-bin/ical2po
-bin/idml2po
-bin/ini2po
-bin/json2po
-bin/junitmsgfmt
-bin/l20n2po
-bin/moz2po
-bin/mozlang2po
-bin/odf2xliff
-bin/oo2po
-bin/oo2xliff
-bin/php2po
-bin/phppo2pypo
-bin/po2csv
-bin/po2html
-bin/po2ical
-bin/po2idml
-bin/po2ini
-bin/po2json
-bin/po2l20n
-bin/po2moz
-bin/po2mozlang
-bin/po2oo
-bin/po2php
-bin/po2prop
-bin/po2rc
-bin/po2resx
-bin/po2sub
-bin/po2symb
-bin/po2tiki
-bin/po2tmx
-bin/po2ts
-bin/po2txt
-bin/po2web2py
-bin/po2wordfast
-bin/po2xliff
-bin/poclean
-bin/pocommentclean
-bin/pocompendium
-bin/pocompile
-bin/poconflicts
-bin/pocount
-bin/podebug
-bin/pofilter
-bin/pogrep
-bin/pomerge
-bin/pomigrate2
-bin/popuretext
-bin/poreencode
-bin/porestructure
-bin/posegment
-bin/posplit
-bin/poswap
-bin/pot2po
-bin/poterminology
-bin/pretranslate
-bin/prop2po
-bin/pydiff
-bin/pypo2phppo
-bin/rc2po
-bin/resx2po
-bin/sub2po
-bin/symb2po
-bin/tbx2po
-bin/tiki2po
-bin/tmserver
-bin/ts2po
-bin/txt2po
-bin/web2py2po
-bin/xliff2odf
-bin/xliff2oo
-bin/xliff2po
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/translate/COPYING
 ${PYSITELIB}/translate/README.rst
 ${PYSITELIB}/translate/__init__.py
@@ -557,6 +487,9 @@ ${PYSITELIB}/translate/lang/poedit.pyo
 ${PYSITELIB}/translate/lang/pt_BR.py
 ${PYSITELIB}/translate/lang/pt_BR.pyc
 ${PYSITELIB}/translate/lang/pt_BR.pyo
+${PYSITELIB}/translate/lang/ro.py
+${PYSITELIB}/translate/lang/ro.pyc
+${PYSITELIB}/translate/lang/ro.pyo
 ${PYSITELIB}/translate/lang/si.py
 ${PYSITELIB}/translate/lang/si.pyc
 ${PYSITELIB}/translate/lang/si.pyo
@@ -638,6 +571,9 @@ ${PYSITELIB}/translate/lang/test_or.pyo
 ${PYSITELIB}/translate/lang/test_poedit.py
 ${PYSITELIB}/translate/lang/test_poedit.pyc
 ${PYSITELIB}/translate/lang/test_poedit.pyo
+${PYSITELIB}/translate/lang/test_ro.py
+${PYSITELIB}/translate/lang/test_ro.pyc
+${PYSITELIB}/translate/lang/test_ro.pyo
 ${PYSITELIB}/translate/lang/test_team.py
 ${PYSITELIB}/translate/lang/test_team.pyc
 ${PYSITELIB}/translate/lang/test_team.pyo
@@ -725,9 +661,6 @@ ${PYSITELIB}/translate/misc/progressbar.pyo
 ${PYSITELIB}/translate/misc/quote.py
 ${PYSITELIB}/translate/misc/quote.pyc
 ${PYSITELIB}/translate/misc/quote.pyo
-${PYSITELIB}/translate/misc/selector.py
-${PYSITELIB}/translate/misc/selector.pyc
-${PYSITELIB}/translate/misc/selector.pyo
 ${PYSITELIB}/translate/misc/sparse.py
 ${PYSITELIB}/translate/misc/sparse.pyc
 ${PYSITELIB}/translate/misc/sparse.pyo
@@ -1349,10 +1282,80 @@ ${PYSITELIB}/translate/tools/test_pretranslate.pyo
 ${PYSITELIB}/translate/tools/test_pypo2phppo.py
 ${PYSITELIB}/translate/tools/test_pypo2phppo.pyc
 ${PYSITELIB}/translate/tools/test_pypo2phppo.pyo
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+bin/build_tmdb
+bin/csv2po
+bin/csv2tbx
+bin/html2po
+bin/ical2po
+bin/idml2po
+bin/ini2po
+bin/json2po
+bin/junitmsgfmt
+bin/l20n2po
+bin/moz2po
+bin/mozlang2po
+bin/odf2xliff
+bin/oo2po
+bin/oo2xliff
+bin/php2po
+bin/phppo2pypo
+bin/po2csv
+bin/po2html
+bin/po2ical
+bin/po2idml
+bin/po2ini
+bin/po2json
+bin/po2l20n
+bin/po2moz
+bin/po2mozlang
+bin/po2oo
+bin/po2php
+bin/po2prop
+bin/po2rc
+bin/po2resx
+bin/po2sub
+bin/po2symb
+bin/po2tiki
+bin/po2tmx
+bin/po2ts
+bin/po2txt
+bin/po2web2py
+bin/po2wordfast
+bin/po2xliff
+bin/poclean
+bin/pocommentclean
+bin/pocompendium
+bin/pocompile
+bin/poconflicts
+bin/pocount
+bin/podebug
+bin/pofilter
+bin/pogrep
+bin/pomerge
+bin/pomigrate2
+bin/popuretext
+bin/poreencode
+bin/porestructure
+bin/posegment
+bin/posplit
+bin/poswap
+bin/pot2po
+bin/poterminology
+bin/pretranslate
+bin/prop2po
+bin/pydiff
+bin/pypo2phppo
+bin/rc2po
+bin/resx2po
+bin/sub2po
+bin/symb2po
+bin/tbx2po
+bin/tiki2po
+bin/tmserver
+bin/ts2po
+bin/txt2po
+bin/web2py2po
+bin/xliff2odf
+bin/xliff2oo
+bin/xliff2po
 ${PLIST.doc}man/man1/translatetoolkit.1
diff --git a/translate-toolkit/distinfo b/translate-toolkit/distinfo
index 2650c91..f138db4 100644
--- a/translate-toolkit/distinfo
+++ b/translate-toolkit/distinfo
@@ -1,8 +1,8 @@
 $NetBSD$
 
-SHA1 (translate-toolkit-2.0.0b7.tar.bz2) = f8aa7de02aba4ee34b000af50f7fa0be3a4f54db
-RMD160 (translate-toolkit-2.0.0b7.tar.bz2) = a2e2ac6f94d8bf9f8657539b961f85aa33f42214
-SHA512 (translate-toolkit-2.0.0b7.tar.bz2) = d9b2a6100a3963c7ef40664c82888186d1e20bd747b520d44b33729ad3524b4d7a296bc99be2612d2cf6172b14d07052bf4795cdf95ed74597de06691b9c1450
-Size (translate-toolkit-2.0.0b7.tar.bz2) = 4794559 bytes
+SHA1 (translate-toolkit-2.0.0rc1.tar.bz2) = 05907bebbbb54c3945b2cee9595580f99e3a462b
+RMD160 (translate-toolkit-2.0.0rc1.tar.bz2) = 24647b4b005e32022f2d9658dcb1f83d3eabb640
+SHA512 (translate-toolkit-2.0.0rc1.tar.bz2) = efbb22810454d30defdd86f0f7ae4ba5c80244a356de1ddd746ba140ee69c2d69fcf5db69780380d8bafd4028e0fe93d23e8f80df7f2f51102f27216b74650bf
+Size (translate-toolkit-2.0.0rc1.tar.bz2) = 4817266 bytes
 SHA1 (patch-setup.cfg) = 801180bfe2a38a0489b719f512d951c05d961cdc
 SHA1 (patch-setup.py) = 6c756e2b606283d3cc30360b700f00b35d5c7a34
diff --git a/translate-toolkit/options.mk b/translate-toolkit/options.mk
index b08c49d..07636e7 100644
--- a/translate-toolkit/options.mk
+++ b/translate-toolkit/options.mk
@@ -26,13 +26,14 @@ DEPENDS+=	${PYPKGPREFIX}-beautifulsoup4>=4.3:../../www/py-beautifulsoup4
 
 .if !empty(PKG_OPTIONS:Mdoc)
 BUILD_DEPENDS+=	${PYPKGPREFIX}-sphinx>=0.4:../../textproc/py-sphinx
-SUBST_CLASSES+=         sphinx
-SUBST_SED.sphinx+=      -e "s,sphinx-build,sphinx-build${PYVERSSUFFIX},"
-SUBST_FILES.sphinx+=    docs/Makefile
-SUBST_STAGE.sphinx=     pre-configure
-SUBST_MESSAGE.sphinx=   Fix sphinx command names.
+SUBST_CLASSES+=		sphinx
+SUBST_SED.sphinx+=	-e "s,sphinx-build,sphinx-build${PYVERSSUFFIX},"
+SUBST_FILES.sphinx+=	docs/Makefile
+SUBST_STAGE.sphinx=	pre-configure
+SUBST_MESSAGE.sphinx=	Fix sphinx command names.
 INSTALLATION_DIRS+=	${PKGMANDIR}/man1
-PLIST.doc=             yes
+PLIST.doc=	yes
+
 pre-build:
 		${MKDIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 		cd ${WRKSRC}/docs && ${MAKE} man
@@ -40,6 +41,5 @@ pre-build:
 		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 		${RM} -rf ${WRKSRC}/docs
 		${RM} -rf ${DESTDIR}${PREFIX}/${PYSITELIB}/translate/docs/
-	
-.endif
 
+.endif


Home | Main Index | Thread Index | Old Index