summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <jcallen@gentoo.org>2010-03-05 02:18:28 +0000
committerJonathan Callen <jcallen@gentoo.org>2010-03-05 02:18:28 +0000
commitb1b9c9d667f59176183ccae7779358c06f490956 (patch)
tree17bce32aea9e472714e9bc5e54c98bcfdf0ae743 /dev-vcs/qct
parentVersion bump (diff)
downloadhistorical-b1b9c9d667f59176183ccae7779358c06f490956.tar.gz
historical-b1b9c9d667f59176183ccae7779358c06f490956.tar.bz2
historical-b1b9c9d667f59176183ccae7779358c06f490956.zip
Move from dev-util/qct to dev-vcs/qct
Package-Manager: portage--svn/cvs/Linux i686
Diffstat (limited to 'dev-vcs/qct')
-rw-r--r--dev-vcs/qct/ChangeLog11
-rw-r--r--dev-vcs/qct/Manifest15
-rw-r--r--dev-vcs/qct/files/qct.rc3
-rw-r--r--dev-vcs/qct/metadata.xml16
-rw-r--r--dev-vcs/qct/qct-1.7.ebuild68
5 files changed, 113 insertions, 0 deletions
diff --git a/dev-vcs/qct/ChangeLog b/dev-vcs/qct/ChangeLog
new file mode 100644
index 000000000000..1ad2ac2865fc
--- /dev/null
+++ b/dev-vcs/qct/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-vcs/qct
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/qct/ChangeLog,v 1.1 2010/03/05 02:18:28 abcd Exp $
+
+ 05 Mar 2010; Jonathan Callen <abcd@gentoo.org> ChangeLog:
+ Move from dev-util to dev-vcs
+
+ 15 Jun 2009; Ben de Groot <yngwin@gentoo.org> +files/qct.rc:
+ Initial import from qting-edge overlay. Ebuild developed by Dror Levin and
+ contributors in bug 162963.
+
diff --git a/dev-vcs/qct/Manifest b/dev-vcs/qct/Manifest
new file mode 100644
index 000000000000..b5e3829108f0
--- /dev/null
+++ b/dev-vcs/qct/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX qct.rc 25 RMD160 42e4ee3a52fb54214ad6588c5c3f2a0f600f7c1b SHA1 b56549607ab9a4fcacf51e16ae1de13e90f9ea31 SHA256 bd57baa16b844bacc1b191cf055c2bbd412e4dffeaab14d597651bb669910d0f
+DIST qct-1.7.tar.gz 56658 RMD160 7520c049be83f834ecd9e31e44aac684e960f617 SHA1 a12040ade4f24db1f2c522a1aee7a4f6ff06be4f SHA256 06e9969f6c8a08b67f289bc0e95b4f4469d6adbf1aa0bed0f0cc8c5bdea222d0
+EBUILD qct-1.7.ebuild 1623 RMD160 530de523ee19b95fbf7c68e952f54fd1160ea74d SHA1 8a2061201ea951898f27f8b2d1b9003787c9f664 SHA256 ddd54caa4da5b2d5f3f11028de30ce4fd96d1c9d530af6beb79004b5f70a6867
+MISC ChangeLog 457 RMD160 81d62dcaadd07b6b4dae5c483bc25f817ec989da SHA1 36a73dfc3c44c6dc46c6e0fc489917d1a5f66fdb SHA256 5802ab23f2e5cbb890279d6f0b6668a3ff3ce1fd1081cec141edc27ca95cdac0
+MISC metadata.xml 427 RMD160 4436d6d9d728acacdc858600849d80f401d9bd43 SHA1 5064e11f14778cd78397047be3c1557a780eff54 SHA256 64b561597d4ffb1fd2b6b5753899dfb99f088671a6a773f9a12af7422c38cc8d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkuQagAACgkQOypDUo0oQOonxACg0KeV/5tDiy+rGQ2itKl7nZ9U
+cGsAoJ9gTnA+p7YJ+zB+/ZTq0a514kS6
+=rOEj
+-----END PGP SIGNATURE-----
diff --git a/dev-vcs/qct/files/qct.rc b/dev-vcs/qct/files/qct.rc
new file mode 100644
index 000000000000..3ab69befa3c5
--- /dev/null
+++ b/dev-vcs/qct/files/qct.rc
@@ -0,0 +1,3 @@
+[extensions]
+hgext.qct=
+
diff --git a/dev-vcs/qct/metadata.xml b/dev-vcs/qct/metadata.xml
new file mode 100644
index 000000000000..7efdd1fc1e07
--- /dev/null
+++ b/dev-vcs/qct/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>qt</herd>
+ <use>
+ <flag name='bazaar'>
+ Support for <pkg>dev-util/bzr</pkg>
+ </flag>
+ <flag name='mercurial'>
+ Support for <pkg>dev-util/mercurial</pkg>
+ </flag>
+ <flag name='monotone'>
+ Support for <pkg>dev-util/monotone</pkg>
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-vcs/qct/qct-1.7.ebuild b/dev-vcs/qct/qct-1.7.ebuild
new file mode 100644
index 000000000000..c1e0dc78c85b
--- /dev/null
+++ b/dev-vcs/qct/qct-1.7.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/qct/qct-1.7.ebuild,v 1.1 2010/03/05 02:18:28 abcd Exp $
+
+EAPI="2"
+NEED_PYTHON="2.4"
+inherit distutils
+
+DESCRIPTION="PyQt based commit tool for many VCSs"
+HOMEPAGE="http://qct.sourceforge.net/"
+SRC_URI="http://qct.sourceforge.net/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bazaar cvs mercurial monotone subversion"
+
+DEPEND="app-text/asciidoc
+ app-text/xmlto
+ dev-python/PyQt4
+ bazaar? ( dev-util/bzr )
+ cvs? ( dev-util/cvs )
+ mercurial? ( dev-util/mercurial )
+ monotone? ( dev-util/monotone )
+ subversion? ( dev-util/subversion )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ distutils_src_prepare
+
+ rm qctlib/vcs/p4.py
+
+ # support for git requires cogito which isn't in portage
+ rm qctlib/vcs/git.py
+ rm qctlib/vcs/cg.py
+
+ use bazaar || rm qctlib/vcs/bzr.py
+ use cvs || rm qctlib/vcs/cvs.py
+ use mercurial || rm qctlib/vcs/hg.py
+ use monotone || rm qctlib/vcs/mtn.py
+ use subversion || rm qctlib/vcs/svn.py
+}
+
+src_install() {
+ distutils_src_install
+
+ # needed for $PYVER
+ distutils_python_version
+
+ # manpage and html docs are built using asciidoc
+ make -C doc man html || die
+ doman doc/qct.1 || die
+ dohtml doc/qct.1.html || die
+
+ if use bazaar; then
+ insinto "$(python_get_sitedir)/bzrlib/plugins" || die
+ doins plugins/qctBzrPlugin.py || die
+ fi
+
+ if use mercurial; then
+ insinto "$(python_get_sitedir)/hgext" || die
+ doins hgext/qct.py || die
+ insinto /etc/mercurial/hgrc.d || die
+ doins "${FILESDIR}/qct.rc" || die
+ fi
+}