Date: Sun, 7 Feb 2016 11:22:59 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408368 - in head/devel/qct: . files Message-ID: <201602071122.u17BMxDj035114@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sun Feb 7 11:22:59 2016 New Revision: 408368 URL: https://svnweb.freebsd.org/changeset/ports/408368 Log: - Add LICENSE_FILE - Switch to options helpers - Fix docfile installation - Regenerate patches with `make makepatch` Modified: head/devel/qct/Makefile head/devel/qct/files/patch-qctlib_vcs_svn.py head/devel/qct/files/patch-setup.py Modified: head/devel/qct/Makefile ============================================================================== --- head/devel/qct/Makefile Sun Feb 7 10:47:17 2016 (r408367) +++ head/devel/qct/Makefile Sun Feb 7 11:22:59 2016 (r408368) @@ -11,6 +11,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= QCT GUI commit tool LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui @@ -18,10 +19,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4- USES= python USE_PYTHON= distutils WRKSRC= ${WRKDIR}/qct + OPTIONS_DEFINE= DOCS -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/doc/qct.1.txt ${STAGEDIR}${DOCSDIR}/qct.1.txt + ${INSTALL_DATA} ${WRKSRC}/doc/qct.1.txt ${STAGEDIR}${DOCSDIR}/qct.1.txt .include <bsd.port.mk> Modified: head/devel/qct/files/patch-qctlib_vcs_svn.py ============================================================================== --- head/devel/qct/files/patch-qctlib_vcs_svn.py Sun Feb 7 10:47:17 2016 (r408367) +++ head/devel/qct/files/patch-qctlib_vcs_svn.py Sun Feb 7 11:22:59 2016 (r408368) @@ -1,7 +1,7 @@ ---- qctlib/vcs/svn.py.orig 2009-02-15 23:49:32.000000000 +0100 -+++ qctlib/vcs/svn.py 2009-07-22 17:58:33.000000000 +0200 +--- qctlib/vcs/svn.py.orig 2009-02-15 22:49:32 UTC ++++ qctlib/vcs/svn.py @@ -84,6 +84,8 @@ class qctVcsSvn: - + if showIgnored: extra = ['--no-ignore'] else: extra = [] + versionOutput = runProgram([self.svn_exe, '--version', '--quiet']) @@ -11,7 +11,7 @@ recs.pop() # remove last entry (which is '') @@ -91,11 +93,19 @@ class qctVcsSvn: if pb: pb.setValue(2) - + for line in recs: - if len(line) < 7: - continue @@ -33,3 +33,4 @@ + self.fileStatus[ fname ] = line[0:6] if status == 'M': # modified itemList.append('M ' + fname) + elif status == 'A': # added Modified: head/devel/qct/files/patch-setup.py ============================================================================== --- head/devel/qct/files/patch-setup.py Sun Feb 7 10:47:17 2016 (r408367) +++ head/devel/qct/files/patch-setup.py Sun Feb 7 11:22:59 2016 (r408368) @@ -1,6 +1,6 @@ ---- setup.py.orig 2009-02-16 01:49:32.000000000 +0300 -+++ setup.py 2012-01-18 19:01:41.000000000 +0400 -@@ -10,20 +10,8 @@ +--- setup.py.orig 2009-02-15 22:49:32 UTC ++++ setup.py +@@ -10,20 +10,8 @@ if not hasattr(sys, 'version_info') or s raise SystemExit, "Qct requires python 2.4 or later." extra = {}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602071122.u17BMxDj035114>