Commit MetaInfo

Revisióne6ed0e3525f8a93f1e6e0064e6f05b42d840555f (tree)
Tiempo2022-01-20 00:27:01
Autorhalcon74
Commiterhalcon74

Log Message

new ebuild dev-vcs/tortoisehg

Cambiar Resumen

Diferencia incremental

diff -r 09175cee4cb4 -r e6ed0e3525f8 README.md
--- a/README.md Sat Dec 25 03:27:32 2021 +0300
+++ b/README.md Wed Jan 19 18:27:01 2022 +0300
@@ -28,6 +28,7 @@
2828 * dev-perl/TOML - Dependency for Minilla. Absent in ::gentoo.
2929 * dev-perl/TOML-Parser - Dependency for Minilla. Absent in ::gentoo.
3030 * dev-vcs/hg-git - Started as a version bump, relatively to 0.9.0 in ::gentoo at 04.02.2021.
31+* dev-vcs/tortoisehg - Version bump, relatively to the current 5.9.3 in ::gentoo (19.01.2022).
3132 * media-gfx/xnviewmp-bin - Attempt to build XnViewMP with system libraries. So far unsuccessful... [MASKED], as this ebuild is not yet ready. Absent in ::gentoo.
3233 * media-libs/avidemux-plugins - Fixed Gentoo bug 744859. Lets to get rid of dev-lang/spidermonkey and of python 2.7.
3334 * net-im/dino - Fixed Gentoo bug 790170.
diff -r 09175cee4cb4 -r e6ed0e3525f8 dev-vcs/tortoisehg/Manifest
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-vcs/tortoisehg/Manifest Wed Jan 19 18:27:01 2022 +0300
@@ -0,0 +1,5 @@
1+DIST tortoisehg-5.9.3.tar.gz 8637453 BLAKE2B 9fa90c108f32b1e15c233e7ccbadbda08e434f23aa5c5fe7c235c743c98f54f4222a1804c06b0ca300cc3d0b049c117007a53452ff20ae4411bca30d8ed9013b SHA512 870b3b717962b8450d07fca5300f971d187236edce5a9d2926144b832c0771b8f5a324bdfd05a1fed3d2b4de4bad913c0c8f4435908e602e268c561ed64abbb2
2+DIST tortoisehg-6.0.tar.gz 8638242 BLAKE2B aeb43dfa314c03c219bf494feb5a3b69fd6497c53bcfacfd2be0bf00520969f8cefd1fbd3c5850c850995b57818dc4f9b454cdd43f00d1956e3629e26fe9ae5f SHA512 ed3e17374c2ea1632f084cb51241994db4269a297083cf9d44ba5b97b7b61480975d25c7a1567b9538f7437e2e35e7c56582b19e36ed1b27fed7409eb01208f1
3+EBUILD tortoisehg-5.9.3.ebuild 2125 BLAKE2B 3d99ef21b7995a2ab1c0f6a6655c7e052fcb91bcfe2e58b61f03b10bfcb4ba1ffa708703a96947b5b1df9d42a04f6b47ded4d4557a3b7348f049341ab50f6977 SHA512 737857617e6359537d91a14e80b41ada72d8a29410f355435aa9b39646c7eeb03a5673d8ed0d7746da12818b3093711f439f1323354f68b7669c6934cfefccd6
4+EBUILD tortoisehg-6.0.ebuild 2125 BLAKE2B 3d99ef21b7995a2ab1c0f6a6655c7e052fcb91bcfe2e58b61f03b10bfcb4ba1ffa708703a96947b5b1df9d42a04f6b47ded4d4557a3b7348f049341ab50f6977 SHA512 737857617e6359537d91a14e80b41ada72d8a29410f355435aa9b39646c7eeb03a5673d8ed0d7746da12818b3093711f439f1323354f68b7669c6934cfefccd6
5+MISC metadata.xml 665 BLAKE2B 3b2ca2d22f6d234cf854088ceac06290694516a9bf63d7f7f9695a9eca522feffdbda1d7fc8e33dffae2f94d3f59fc177c81ed0f39d7761a1a4283663fb27d30 SHA512 07e50ef0238ec2fe774c0c90e4f866f2a1ea024e53dbd97a0a610afb4ea1675e24d6b36e3b6885eff2c977c98a3fb889288f4b57bfae880f26d40ea9260bb3c0
diff -r 09175cee4cb4 -r e6ed0e3525f8 dev-vcs/tortoisehg/metadata.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-vcs/tortoisehg/metadata.xml Wed Jan 19 18:27:01 2022 +0300
@@ -0,0 +1,17 @@
1+<?xml version="1.0" encoding="UTF-8"?>
2+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
3+<pkgmetadata>
4+ <maintainer type="person" proxied="yes">
5+ <email>halcon@tuta.io</email>
6+ <name>Alexey Mishustin</name>
7+ </maintainer>
8+ <longdescription>TortoiseHg is a Windows shell extension and a series of
9+ applications for the Mercurial distributed revision control system.
10+ It also includes a Gnome/Nautilus extension and a CLI wrapper
11+ application so the TortoiseHg tools
12+ can be used on non-Windows platforms.
13+ </longdescription>
14+ <upstream>
15+ <remote-id type="heptapod">mercurial/tortoisehg/thg</remote-id>
16+ </upstream>
17+</pkgmetadata>
diff -r 09175cee4cb4 -r e6ed0e3525f8 dev-vcs/tortoisehg/tortoisehg-6.0.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-vcs/tortoisehg/tortoisehg-6.0.ebuild Wed Jan 19 18:27:01 2022 +0300
@@ -0,0 +1,80 @@
1+# Copyright 1999-2021 Gentoo Authors
2+# Distributed under the terms of the GNU General Public License v2
3+
4+EAPI=8
5+
6+PYTHON_COMPAT=( python3_{8..10} )
7+
8+DISTUTILS_USE_SETUPTOOLS=no
9+
10+inherit desktop distutils-r1 optfeature xdg-utils
11+
12+if [[ ${PV} != *9999* ]]; then
13+ KEYWORDS="~amd64 ~arm64 ~x86"
14+ SRC_URI="https://foss.heptapod.net/mercurial/${PN}/thg/-/archive/${PV}/thg-${PV}.tar.gz -> ${P}.tar.gz"
15+ HG_DEPEND=">=dev-vcs/mercurial-5.8[${PYTHON_USEDEP}]"
16+ S="${WORKDIR}/thg-${PV}"
17+else
18+ inherit mercurial
19+ EHG_REPO_URI="https://foss.heptapod.net/mercurial/${PN}/thg"
20+ EHG_REVISION="stable"
21+ HG_DEPEND=">=dev-vcs/mercurial-5.8[${PYTHON_USEDEP}]"
22+fi
23+
24+DESCRIPTION="Set of graphical tools for Mercurial"
25+HOMEPAGE="https://tortoisehg.bitbucket.io/"
26+
27+LICENSE="GPL-2"
28+SLOT="0"
29+IUSE="test"
30+RESTRICT="!test? ( test )"
31+
32+RDEPEND="
33+ ${HG_DEPEND}
34+ dev-python/iniparse[${PYTHON_USEDEP}]
35+ dev-python/pygments[${PYTHON_USEDEP}]
36+ dev-python/PyQt5[network,svg,${PYTHON_USEDEP}]
37+ >=dev-python/qscintilla-python-2.9.4[qt5(+),${PYTHON_USEDEP}]
38+"
39+DEPEND="
40+ ${RDEPEND}
41+ test? (
42+ dev-python/mock[${PYTHON_USEDEP}]
43+ dev-python/pytest[${PYTHON_USEDEP}]
44+ )
45+"
46+
47+distutils_enable_sphinx doc/source
48+
49+python_prepare_all() {
50+ # Remove file that collides with >=mercurial-4.0 (bug #599266).
51+ rm "${S}"/hgext3rd/__init__.py || die "can't remove /hgext3rd/__init__.py"
52+
53+ sed -i -e 's:share/doc/tortoisehg:share/doc/'"${PF}"':' setup.py || die
54+ distutils-r1_python_prepare_all
55+}
56+
57+python_test() {
58+ ${EPYTHON} tests/run-tests.py -m 'not largefiles' --doctest-modules tests || die
59+ ${EPYTHON} tests/run-tests.py -m largefiles tests || die
60+}
61+
62+python_install_all() {
63+ distutils-r1_python_install_all
64+ dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc
65+ newicon -s scalable icons/scalable/apps/thg.svg thg_logo.svg
66+ domenu contrib/thg.desktop
67+}
68+
69+pkg_postinst() {
70+ xdg_icon_cache_update
71+ elog "When startup of ${PN} fails with an API version mismatch error"
72+ elog "between dev-python/sip and dev-python/PyQt5 please rebuild"
73+ elog "dev-python/qscintilla-python."
74+
75+ optfeature "the core git extension support" dev-python/pygit2
76+}
77+
78+pkg_postrm() {
79+ xdg_icon_cache_update
80+}
Show on old repository browser