diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-vcs/qct |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-vcs/qct')
-rw-r--r-- | dev-vcs/qct/Manifest | 6 | ||||
-rw-r--r-- | dev-vcs/qct/files/qct.rc | 3 | ||||
-rw-r--r-- | dev-vcs/qct/metadata.xml | 22 | ||||
-rw-r--r-- | dev-vcs/qct/qct-1.7-r2.ebuild | 71 |
4 files changed, 102 insertions, 0 deletions
diff --git a/dev-vcs/qct/Manifest b/dev-vcs/qct/Manifest new file mode 100644 index 000000000000..52babd588c26 --- /dev/null +++ b/dev-vcs/qct/Manifest @@ -0,0 +1,6 @@ +AUX qct.rc 25 SHA256 bd57baa16b844bacc1b191cf055c2bbd412e4dffeaab14d597651bb669910d0f SHA512 61bda2332e9a9400ecbcd134a65b3a286291690afed67b91ac6773d16b23e6c3ea1615601b6a1bf79bed76b681455941ae2260167d3844c197db83bafa1a8e09 WHIRLPOOL 6d63e5594648408042aa2c1fbb703c4df40a7cf80c673f594f49be23be9fbb8f87c22a39c3b169868cda876e802ac8b400cc54b37e9385ad515665e2081dae36 +DIST qct-1.7.tar.gz 56658 SHA256 06e9969f6c8a08b67f289bc0e95b4f4469d6adbf1aa0bed0f0cc8c5bdea222d0 SHA512 85f8b6bcd5c4081ba17da1bc7e17d0036ec10d9133ed5383adbca16f81b8550d6f137e34636c20f3d03b7cedca75467daa057022374866b4e2ab18aaf7d4b6d2 WHIRLPOOL 1b806fdf090e8465e0c36e5ce6d6879d9cdc43f8906b1a13c72c6f1806c40fff6a1a77b0db59a60b9566e4ac785192a8ab498103bef249ee560899b0c05b0e2a +EBUILD qct-1.7-r2.ebuild 1575 SHA256 ab37659ba02b630e0ceaee291a0b249b4747873c9c8897438906625d8bbe3c46 SHA512 0e71028620a7aef2e13514f9b24c3b5376bf019bf845a5d0c07e1400a0d854bccb10f2e7b8d8b194a6d3436cc69ba55dc5923d3f937a8dbb8acc80824187e891 WHIRLPOOL 5b4a657de77f58ff66cb0c7d6f7d51018dcc6125122fe36e6845ca76cf2e1d15910f2836b34b84ad721dcbd46b237c8b1f877eb10499a3f61c8d153649d2fa10 +MISC ChangeLog 2977 SHA256 1853327c0ba9f82737980cfb209bef6f40c0038c1375a3644badd9c8a01a849d SHA512 4e6b78e1e2f98c271ff9f189aecac6e7677f8874a7ea09fd9598a4da087e04892517504fb84803b58de988e49fd656c3f4028fed9fc6600fa52c79ac0786032a WHIRLPOOL bff07c40769636aada478e50e77032a2dbeeba6ab06aa2b948b42d6574a8ba09ca7d17a8084f484386e5431ea1c4153f789c28cf84676ce1beee38ae8570478a +MISC ChangeLog-2015 1711 SHA256 a28e1499b5112885ec25dd6e00d308cff88ab12574b67feba94131d4d2bfdbbd SHA512 d502707b80b8efd6393386fb69d24ef9a6ebabb86c7eb60d3f9592956c308aceba1bee546fd2b1d8ae22f0745f1f9a526eb34469a1c931ff4705fd71fa88dd0c WHIRLPOOL ac0b4c0bd05342d4ba21005ad6a786a02446fdb9b2e7b43cdc1db053edc9046c25538410095adc9cf83878c0be93362e729a11264e41db127813b9eb9bfc84da +MISC metadata.xml 597 SHA256 05dbdfc90796e3785670cf06f805b8c1291da1937c41dc5e1b14e9594e4d02d4 SHA512 a56e77e545176d386731a8ce14936505a62208d58a4210d50a01379181fc24a6b853e5f698ef6a4824038f475668cba7b83184cbe0cc13acd0fcbb4668fe42f3 WHIRLPOOL 24a77e362adca6eca0b43f8d967dff7090c046e238ff02f3a77fa1fa6b1978c2d9e5211c0860637dbbacc90260a444c1f9be865f184b1687adabfd4d4fe8bfc6 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..d821bbf0b013 --- /dev/null +++ b/dev-vcs/qct/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>qt@gentoo.org</email> + <name>Gentoo Qt Project</name> + </maintainer> + <use> + <flag name="bazaar"> + Support for <pkg>dev-vcs/bzr</pkg> + </flag> + <flag name="mercurial"> + Support for <pkg>dev-vcs/mercurial</pkg> + </flag> + <flag name="monotone"> + Support for <pkg>dev-vcs/monotone</pkg> + </flag> + </use> + <upstream> + <remote-id type="sourceforge">qct</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-vcs/qct/qct-1.7-r2.ebuild b/dev-vcs/qct/qct-1.7-r2.ebuild new file mode 100644 index 000000000000..0093c1bb1ff4 --- /dev/null +++ b/dev-vcs/qct/qct-1.7-r2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 + +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[${PYTHON_USEDEP}] + bazaar? ( dev-vcs/bzr[${PYTHON_USEDEP}] ) + cvs? ( dev-vcs/cvs ) + mercurial? ( dev-vcs/mercurial[${PYTHON_USEDEP}] ) + monotone? ( dev-vcs/monotone ) + subversion? ( dev-vcs/subversion[${PYTHON_USEDEP}] )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +python_prepare_all() { + # support for git requires cogito which isn't in portage + rm qctlib/vcs/{p4,git,cg}.py || die + + declare -A delfiles=([bazaar]=bzr [cvs]=cvs [mercurial]=hg [monotone]=mtn [subversion]=svn) + local i + for i in "${!delfiles[@]}"; do + if ! use $i; then + rm qctlib/vcs/${delfiles[$i]}.py || die + fi + done + + distutils-r1_python_prepare_all +} + +python_compile_all() { + # manpage and html docs are built using asciidoc + emake -C doc man html + HTML_DOCS=( doc/qct.1.html ) +} + +python_install_all() { + doman doc/qct.1 + + if use bazaar; then + python_moduleinto bzrlib/plugins + python_domodule plugins/qctBzrPlugin.py + fi + + if use mercurial; then + python_moduleinto hgext + python_domodule hgext/qct.py + + insinto /etc/mercurial/hgrc.d + doins "${FILESDIR}/qct.rc" + fi + + distutils-r1_python_install_all +} |