Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/mercurial/
Date: Sat, 02 Dec 2017 12:17:33
Message-Id: 1512217046.b67c325ecc94f396e968e326e6acdf092aa3adf5.polynomial-c@gentoo
1 commit: b67c325ecc94f396e968e326e6acdf092aa3adf5
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 2 12:17:05 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 2 12:17:26 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b67c325e
7
8 dev-vcs/mercurial: Removed old.
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 dev-vcs/mercurial/Manifest | 1 -
13 dev-vcs/mercurial/mercurial-4.3.2.ebuild | 134 -------------------------------
14 2 files changed, 135 deletions(-)
15
16 diff --git a/dev-vcs/mercurial/Manifest b/dev-vcs/mercurial/Manifest
17 index f661033dd21..e050d50e66e 100644
18 --- a/dev-vcs/mercurial/Manifest
19 +++ b/dev-vcs/mercurial/Manifest
20 @@ -1,6 +1,5 @@
21 DIST mercurial-3.8.4.tar.gz 4775341 SHA256 4b2e3ef19d34fa1d781cb7425506a05d4b6b1172bab69d6ea78874175fdf3da6 SHA512 2ee785f631f9ae346e10ca77251a9ce6d3dacd598588c39f1a69ce1f4b668866f6109d682428512c37c300b26741b74672195538d66845e85cfff5ead886cf4c WHIRLPOOL 1f0a12cc6d00f3544ab00e011a9ff9308fe1652c0598045ddba2a41ba17b55c291da200bce85d4c600d673b8746e936c441ffa7398ad810d1069bd97fb32f2db
22 DIST mercurial-4.1.3.tar.gz 5134965 SHA256 103d2ae187d5c94110c0e86ccc3b46f55fcd8e21c78d1c209bac7b59a73e86d8 SHA512 794c513b7e061bc56d270ef57adc0fadeffd5bcc988da0934b24db686b76bf573aef2bbaa3baa9220f31463795bc6e6a99fc1284ebcf8d7e49f42b8129347811 WHIRLPOOL a2f5d5e3e89f794415521bf0bc93ff0e8a67aec6c39951437b6b585f9f6d604bd556af10cce50951128c746719db54ea48f86fb7c262a36a29576ba539be1e79
23 -DIST mercurial-4.3.2.tar.gz 5491214 SHA256 0f5bf688ba2add6f5db98a633edef43411ecf2c7ada5f2e14b9265820a96cd48 SHA512 e69b7cff941d83531d59d91c30e336807f868302dfda565e1421b7d34c2769221220686774af236d86ac0f67dba6e8a0947ed1185b30d89463a8d211e20d1cbc WHIRLPOOL 079d05e75cde63ff907b485a45a6a9cf8b42001525a799939647d05dd60d85c1faa0cbf14b9da95488103ec9f0b177f59ad7d8bde93dca3ffe428d697669bd4e
24 DIST mercurial-4.3.3.tar.gz 5491634 SHA256 47a63c78698bc735667984bbc5b76619ff29a38d742f20cdf9f44cce59752374 SHA512 2d5249b6b2ec6b21c548702af2cf6b8e0858197a370514465aa7a880391f2e9efd6aecefb67fc547dfb8759c1c678009dc5a33fc48743bee30fcbdd853ee1cc6 WHIRLPOOL ef42493fdb4547a4e37d5f311cf5ac6fed90eb991d48ece6b2cbb3efe6722dec1513f044800cc58708c7a680eb1828c7888873b1849772e82901ad5d6d8a757d
25 DIST mercurial-4.3.tar.gz 5469979 SHA256 ebf11176e9b5354ec7a1bde6c5382c914d10c397410531faf89f8b5124a7cb65 SHA512 d74ae5f35d8c415c07737b59e6c5455963dfbf5d038c43d683fd34dd84423b9ccf9cd670667f458db20d8580fc7c7d9e5609d29d990e1e94683734694211c417 WHIRLPOOL 54583dbc826fdec3e737dc49d1a8ce180d29579d091c86e48a3b7c68bb4a2d399c5aff3b2ff0e30cd911e8955537a621c73c330d70a55f7efcdeafd21257178f
26 DIST mercurial-4.4.1.tar.gz 5636532 BLAKE2B 07b91da192db30a925bd9798c5d6ab02336501c04f9d65bb9042786c2f5e6f8c16f6ebe6817f68ac746c21f79e39dbb8284b7590063d7a6ef615a8e2b6dbe821 SHA512 4c87adb6d3d30f7f9211eee64df727aefdac246be3ca9e3af412b76c32b76d701b19e00ca339168446ee5e20fad2ffc24f0c87438b6bda954560108235ab14a8
27
28 diff --git a/dev-vcs/mercurial/mercurial-4.3.2.ebuild b/dev-vcs/mercurial/mercurial-4.3.2.ebuild
29 deleted file mode 100644
30 index f29a2c796da..00000000000
31 --- a/dev-vcs/mercurial/mercurial-4.3.2.ebuild
32 +++ /dev/null
33 @@ -1,134 +0,0 @@
34 -# Copyright 1999-2017 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -PYTHON_COMPAT=( python2_7 )
40 -PYTHON_REQ_USE="threads"
41 -
42 -inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic
43 -
44 -DESCRIPTION="Scalable distributed SCM"
45 -HOMEPAGE="https://www.mercurial-scm.org/"
46 -SRC_URI="https://www.mercurial-scm.org/release/${P}.tar.gz"
47 -
48 -LICENSE="GPL-2+"
49 -SLOT="0"
50 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
51 -IUSE="bugzilla emacs gpg test tk"
52 -
53 -RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
54 - gpg? ( app-crypt/gnupg )
55 - tk? ( dev-lang/tk )
56 - app-misc/ca-certificates"
57 -DEPEND="emacs? ( virtual/emacs )
58 - test? ( app-arch/unzip
59 - dev-python/pygments[${PYTHON_USEDEP}] )"
60 -
61 -SITEFILE="70${PN}-gentoo.el"
62 -
63 -PATCHES=( "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" )
64 -
65 -python_prepare_all() {
66 - # fix up logic that won't work in Gentoo Prefix (also won't outside in
67 - # certain cases), bug #362891
68 - sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
69 -
70 - distutils-r1_python_prepare_all
71 -}
72 -
73 -python_configure_all() {
74 - strip-flags -ftracer -ftree-vectorize
75 - # Note: make it impl-conditional if py3 is supported
76 - append-flags -fno-strict-aliasing
77 -
78 - "${PYTHON}" setup.py build_mo || die
79 -}
80 -
81 -python_compile_all() {
82 - rm -r contrib/{win32,macosx} || die
83 - if use emacs; then
84 - cd contrib || die
85 - elisp-compile mercurial.el || die "elisp-compile failed!"
86 - fi
87 -}
88 -
89 -python_install_all() {
90 - distutils-r1_python_install_all
91 -
92 - newbashcomp contrib/bash_completion hg
93 -
94 - insinto /usr/share/zsh/site-functions
95 - newins contrib/zsh_completion _hg
96 -
97 - rm -f doc/*.?.txt
98 - dodoc CONTRIBUTORS
99 - cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die
100 -
101 - dobin hgeditor
102 - dobin contrib/hgk
103 - python_foreach_impl python_doscript contrib/hg-ssh
104 -
105 - if use emacs; then
106 - elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
107 - elisp-site-file-install "${FILESDIR}"/${SITEFILE}
108 - fi
109 -
110 - local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix buildrpm plan9
111 - *.el mercurial.spec)
112 - for f in ${RM_CONTRIB[@]}; do
113 - rm -r contrib/$f || die
114 - done
115 -
116 - dodoc -r contrib
117 - docompress -x /usr/share/doc/${PF}/contrib
118 - doman doc/*.?
119 -
120 - insinto /etc/mercurial/hgrc.d
121 - doins "${FILESDIR}/cacerts.rc"
122 -}
123 -
124 -src_test() {
125 - pushd tests &>/dev/null || die
126 - rm -rf *svn* # Subversion tests fail with 1.5
127 - rm -f test-archive* # Fails due to verbose tar output changes
128 - rm -f test-convert-baz* # GNU Arch baz
129 - rm -f test-convert-cvs* # CVS
130 - rm -f test-convert-darcs* # Darcs
131 - rm -f test-convert-git* # git
132 - rm -f test-convert-mtn* # monotone
133 - rm -f test-convert-tla* # GNU Arch tla
134 - #rm -f test-doctest* # doctest always fails with python 2.5.x
135 - rm -f test-largefiles* # tends to time out
136 -
137 - popd &>/dev/null || die
138 - distutils-r1_src_test
139 -}
140 -
141 -python_test() {
142 - local TEST_DIR
143 -
144 - rm -rf "${TMPDIR}"/test
145 - distutils_install_for_testing
146 - cd tests || die
147 - "${PYTHON}" run-tests.py --verbose \
148 - --tmpdir="${TMPDIR}"/test \
149 - --with-hg="${TEST_DIR}"/scripts/hg \
150 - || die "Tests fail with ${EPYTHON}"
151 -}
152 -
153 -pkg_postinst() {
154 - use emacs && elisp-site-regen
155 -
156 - elog "If you want to convert repositories from other tools using convert"
157 - elog "extension please install correct tool:"
158 - elog " dev-vcs/cvs"
159 - elog " dev-vcs/darcs"
160 - elog " dev-vcs/git"
161 - elog " dev-vcs/monotone"
162 - elog " dev-vcs/subversion"
163 -}
164 -
165 -pkg_postrm() {
166 - use emacs && elisp-site-regen
167 -}