pkgsrc-WIP-changes archive

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

translate-toolkit: added iCal handling option



Module Name:	pkgsrc-wip
Committed By:	i3enedek <pkgsrc%xn--rvztrtkrfrgp-bbb7j2b8f0b9d7a21oft.com@localhost>
Pushed By:	i3enedek
Date:		Thu Jul 19 21:05:12 2018 +0100
Changeset:	b3ec182a439cdb445360b050d2ea5a003e70e00c

Modified Files:
	translate-toolkit/Makefile
	translate-toolkit/distinfo
	translate-toolkit/options.mk
	translate-toolkit/patches/patch-setup.cfg
	translate-toolkit/patches/patch-setup.py

Log Message:
translate-toolkit: added iCal handling option

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

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

diffstat:
 translate-toolkit/Makefile                | 8 ++++----
 translate-toolkit/distinfo                | 4 ++--
 translate-toolkit/options.mk              | 6 +++++-
 translate-toolkit/patches/patch-setup.cfg | 2 ++
 translate-toolkit/patches/patch-setup.py  | 2 ++
 5 files changed, 15 insertions(+), 7 deletions(-)

diffs:
diff --git a/translate-toolkit/Makefile b/translate-toolkit/Makefile
index 8ecb7c4ee5..f0366528d3 100644
--- a/translate-toolkit/Makefile
+++ b/translate-toolkit/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 DISTNAME=	translate-toolkit-2.3.0
-CATEGORIES=	misc
+CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_GITHUB:=translate/}
 GITHUB_PROJECT=	translate
 GITHUB_RELEASE=	${PKGVERSION_NOREV}
@@ -16,10 +16,10 @@ DEPENDS+=	${PYPKGPREFIX}-six>=1.10.0:../../lang/py-six
 DEPENDS+=	${PYPKGPREFIX}-sqlite3>=1.9.0:../../databases/py-sqlite3
 DEPENDS+=	${PYPKGPREFIX}-diff-match-patch>=0:../../textproc/py-diff-match-patch/
 
-USE_LANGUAGES=	c
+#USE_LANGUAGES=	c
 
-REPLACE_BASH=	tools/*
 USE_TOOLS+=	bash:run
+REPLACE_BASH=	tools/*
 
 PYTHON_VERSIONS_ACCEPTED=	37 36 35 34 27
 
@@ -30,6 +30,6 @@ post-extract:
 	${RMDIR} ${WRKSRC}/tools/mozilla/
 
 .include "options.mk"
-.include "../../lang/python/application.mk"
+#.include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/translate-toolkit/distinfo b/translate-toolkit/distinfo
index 3fc82e8bbd..f890376c54 100644
--- a/translate-toolkit/distinfo
+++ b/translate-toolkit/distinfo
@@ -4,5 +4,5 @@ SHA1 (translate-toolkit-2.3.0.tar.gz) = 92e5df209a133215976f595b5b61ea39891fec99
 RMD160 (translate-toolkit-2.3.0.tar.gz) = 90aeefb3404760d9b63a471389e32957c35f6124
 SHA512 (translate-toolkit-2.3.0.tar.gz) = 04c335d17c989c12343b7cd6fdad98252931d1096f47c18591b578f241878e6c956280f35062676c9a976b4f065d79fe359f57f4444b2dbc44b894a82ff9c82d
 Size (translate-toolkit-2.3.0.tar.gz) = 7635702 bytes
-SHA1 (patch-setup.cfg) = 801180bfe2a38a0489b719f512d951c05d961cdc
-SHA1 (patch-setup.py) = 6c756e2b606283d3cc30360b700f00b35d5c7a34
+SHA1 (patch-setup.cfg) = 0003d00a7d6225b6b7229acdebbddbdb222d78fb
+SHA1 (patch-setup.py) = b6d82dfc90c0ab8c0efba24991381c025ab9ac2c
diff --git a/translate-toolkit/options.mk b/translate-toolkit/options.mk
index 8f02bf9275..319b28bfec 100644
--- a/translate-toolkit/options.mk
+++ b/translate-toolkit/options.mk
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 PKG_OPTIONS_VAR=		PKG_OPTIONS.translate-toolkit
-PKG_SUPPORTED_OPTIONS+=		lxml levenshtein chardet tradostm pycountry doc
+PKG_SUPPORTED_OPTIONS+=		lxml levenshtein chardet tradostm pycountry doc ical
 PKG_SUGGESTED_OPTIONS=		lxml levenshtein chardet tradostm pycountry doc
 PLIST_VARS+=			doc
 
@@ -28,6 +28,10 @@ DEPENDS+=	${PYPKGPREFIX}-country>=1.10:../../geography/py-country
 DEPENDS+=	${PYPKGPREFIX}-beautifulsoup4>=4.3:../../www/py-beautifulsoup4
 .endif
 
+.if !empty(PKG_OPTIONS:Mtradostm)
+DEPENDS+=	${PYPKGPREFIX}-vobject>=0.9.6:../../textproc/py-vobject
+.endif
+
 .if !empty(PKG_OPTIONS:Mdoc)
 BUILD_DEPENDS+=		${PYPKGPREFIX}-sphinx>=1.6.3.:../../textproc/py-sphinx
 SUBST_CLASSES+=		sphinx
diff --git a/translate-toolkit/patches/patch-setup.cfg b/translate-toolkit/patches/patch-setup.cfg
index 8d1ad65b56..ba9d871f5d 100644
--- a/translate-toolkit/patches/patch-setup.cfg
+++ b/translate-toolkit/patches/patch-setup.cfg
@@ -1,5 +1,7 @@
 $NetBSD$
 
+A don't test for docs.
+
 --- setup.cfg.orig	2016-11-02 20:03:55.000000000 +0000
 +++ setup.cfg
 @@ -35,6 +35,7 @@ lines_after_imports = 2
diff --git a/translate-toolkit/patches/patch-setup.py b/translate-toolkit/patches/patch-setup.py
index fe2f36cb6e..37c9bea7dc 100644
--- a/translate-toolkit/patches/patch-setup.py
+++ b/translate-toolkit/patches/patch-setup.py
@@ -1,5 +1,7 @@
 $NetBSD$
 
+Mozilla/firefox project specific scripts.
+
 --- setup.py.orig	2016-11-02 19:01:16.000000000 +0000
 +++ setup.py
 @@ -145,9 +145,6 @@ translatescripts = [


Home | Main Index | Thread Index | Old Index