From owner-svn-ports-all@freebsd.org Sun Feb 7 11:23:00 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D35BEAA17FC; Sun, 7 Feb 2016 11:23:00 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8FB13AE2; Sun, 7 Feb 2016 11:23:00 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u17BMxeu035117; Sun, 7 Feb 2016 11:22:59 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u17BMxDj035114; Sun, 7 Feb 2016 11:22:59 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201602071122.u17BMxDj035114@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 7 Feb 2016 11:22:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408368 - in head/devel/qct: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 11:23:01 -0000 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 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 = {}