Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/paludis/
Date: Sun, 06 Aug 2017 09:36:57
Message-Id: 1502012206.530970e5979fd837100c5ad98747b10f32d6f6b0.mgorny@gentoo
1 commit: 530970e5979fd837100c5ad98747b10f32d6f6b0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 6 08:54:09 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 6 09:36:46 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=530970e5
7
8 sys-apps/paludis: Drop old
9
10 sys-apps/paludis/Manifest | 1 -
11 sys-apps/paludis/paludis-2.4.0-r1.ebuild | 162 -------------------------------
12 2 files changed, 163 deletions(-)
13
14 diff --git a/sys-apps/paludis/Manifest b/sys-apps/paludis/Manifest
15 index ba827821948..8b4f73a691f 100644
16 --- a/sys-apps/paludis/Manifest
17 +++ b/sys-apps/paludis/Manifest
18 @@ -1,3 +1,2 @@
19 -DIST paludis-2.4.0.tar.bz2 1787689 SHA256 f47b4bb5503dc127022453b15ca811dec22ee2f04c3c3b76ed1c5a83dbe1af1f SHA512 5fbb15d2285c892fdf19288b8838c51ec2439817a9abc685b8692ff4a3ddf76632d3ab51b2e0298c8eacf00f8b00f4e66b47b34db12844cd4eb77cbfb87ca32e WHIRLPOOL d9dc107886b8bf09bb203704d559dd030190b8390607964578c3f2e10a5c5cd4400146ffed894a968143761fc8149796d37597274b34b8414133b26c7252345b
20 DIST paludis-2.6.0.tar.bz2 1885055 SHA256 bde018c89fce95c2cc793d9171e5a51748ad682d06f839fab394e233257aaf4c SHA512 78a9c0a19703dbbc07934de389b749ab83365454e29b19c323d6c03304162e35ff4d92f7ac1f28067ad853057f2422be43418b3c6a57a193c4b8dd5a4e81eba4 WHIRLPOOL dc4f4ecad0ccbb4b8e6b1b4d0a2c71772b5be244f09dc5456fe42d5510b6b7432ca087f99ae86b2bbbd05b18f70a15371dca1193ead556751faffd01ef227dd6
21 DIST paludis-3.0.0_pre20170219.tar.xz 1004380 SHA256 02b9f5e270edc31b967f58615390b3a6c8268ee000d4d1c093aa04651c4e5681 SHA512 46b970c3585aeba1151442256850d4ad1acd28ca911277459d84dfe2fa480c310e5a9cde83baa7f185a76837b84959ec2d01ee9c4f85ba4a9664993b82d61eb6 WHIRLPOOL 8e2384cca652e71bfb5620ed6e6f6b33568342dec1fa2b8403f9074ca83e3a71106de5061cf08240db91fe34d1c779e689bb8057d18a75cabfe641af2d3eb747
22
23 diff --git a/sys-apps/paludis/paludis-2.4.0-r1.ebuild b/sys-apps/paludis/paludis-2.4.0-r1.ebuild
24 deleted file mode 100644
25 index 60d6a8f224b..00000000000
26 --- a/sys-apps/paludis/paludis-2.4.0-r1.ebuild
27 +++ /dev/null
28 @@ -1,162 +0,0 @@
29 -# Copyright 1999-2016 Gentoo Foundation
30 -# Distributed under the terms of the GNU General Public License v2
31 -
32 -EAPI=5
33 -
34 -PYTHON_COMPAT=( python2_7 )
35 -# matching profile defaults for now
36 -RUBY_VER=2.1
37 -
38 -inherit bash-completion-r1 eutils python-single-r1 user
39 -
40 -DESCRIPTION="paludis, the other package mangler"
41 -HOMEPAGE="http://paludis.exherbo.org/"
42 -SRC_URI="http://paludis.exherbo.org/download/${P}.tar.bz2"
43 -
44 -IUSE="doc pbins pink python ruby search-index test +xml"
45 -LICENSE="GPL-2 vim"
46 -SLOT="0"
47 -KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86"
48 -
49 -COMMON_DEPEND="
50 - >=app-admin/eselect-1.2.13
51 - >=app-shells/bash-3.2
52 - dev-libs/libpcre[cxx]
53 - sys-apps/file
54 - pbins? ( >=app-arch/libarchive-3.1.2 )
55 - python? (
56 - ${PYTHON_DEPS}
57 - >=dev-libs/boost-1.41.0[python,${PYTHON_USEDEP}] )
58 - ruby? ( dev-lang/ruby:${RUBY_VER} )
59 - search-index? ( >=dev-db/sqlite-3 )
60 - xml? ( >=dev-libs/libxml2-2.6 )"
61 -
62 -DEPEND="${COMMON_DEPEND}
63 - >=app-text/asciidoc-8.6.3
64 - app-text/htmltidy
65 - app-text/xmlto
66 - >=sys-devel/gcc-4.7
67 - doc? (
68 - || (
69 - >=app-doc/doxygen-1.5.3
70 - <=app-doc/doxygen-1.5.1 )
71 - python? (
72 - dev-python/sphinx[${PYTHON_USEDEP}] )
73 - ruby? ( dev-ruby/syntax[ruby_targets_ruby${RUBY_VER/./}] )
74 - )
75 - virtual/pkgconfig
76 - test? ( >=dev-cpp/gtest-1.6.0-r1 )"
77 -
78 -RDEPEND="${COMMON_DEPEND}
79 - sys-apps/sandbox"
80 -
81 -PDEPEND="app-eselect/eselect-package-manager"
82 -
83 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
84 -RESTRICT="!test? ( test )"
85 -
86 -pkg_pretend() {
87 - if [[ ${MERGE_TYPE} != buildonly ]]; then
88 - if id paludisbuild >/dev/null 2>/dev/null ; then
89 - if ! groups paludisbuild | grep --quiet '\<tty\>' ; then
90 - eerror "The 'paludisbuild' user is now expected to be a member of the"
91 - eerror "'tty' group. You should add the user to this group before"
92 - eerror "upgrading Paludis."
93 - die "Please add paludisbuild to tty group"
94 - fi
95 - fi
96 - fi
97 -
98 - if [[ ${MERGE_TYPE} != binary ]]; then
99 - if [[ $(gcc-major-version) -lt 4
100 - || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ) ]]
101 - then
102 - eerror "Paludis requires at least gcc 4.7 to build. Please switch the active"
103 - eerror "gcc version using gcc-config."
104 - die "Paludis requires at least gcc 4.7"
105 - fi
106 - fi
107 -}
108 -
109 -pkg_setup() {
110 - enewgroup "paludisbuild"
111 - enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild,tty"
112 -
113 - use python && python-single-r1_pkg_setup
114 -}
115 -
116 -src_prepare() {
117 - # Fix the script shebang on Ruby scripts.
118 - # https://bugs.gentoo.org/show_bug.cgi?id=439372#c2
119 - sed -i -e "1s/ruby/&${RUBY_VER/./}/" ruby/demos/*.rb || die
120 -
121 - epatch_user
122 -}
123 -
124 -src_configure() {
125 - local myconf=(
126 - --htmldir=/usr/share/doc/${PF}/html
127 -
128 - $(use_enable doc doxygen)
129 - $(use_enable test gtest)
130 - $(use_enable pbins)
131 - $(use_enable pink)
132 - $(use_enable python)
133 - $(use python && use_enable doc python-doc)
134 - $(use_enable ruby)
135 - $(use ruby && use_enable doc ruby-doc)
136 - --with-ruby-version="${RUBY_VER}"
137 - $(use_enable search-index)
138 - $(use_enable xml)
139 -
140 - --enable-vim
141 - --with-config-framework=eselect
142 - --with-environments=default,portage
143 - --with-vim-install-dir=/usr/share/vim/vimfiles
144 - )
145 -
146 - econf "${myconf[@]}"
147 -}
148 -
149 -src_install() {
150 - default
151 - prune_libtool_files
152 -
153 - dobashcomp bash-completion/cave
154 -
155 - insinto /usr/share/zsh/site-functions
156 - doins zsh-completion/_cave
157 -}
158 -
159 -src_test() {
160 - # Work around Portage bugs
161 - local -x PALUDIS_DO_NOTHING_SANDBOXY="portage sucks"
162 - local -x BASH_ENV=/dev/null
163 -
164 - if [[ ${EUID} == 0 ]] ; then
165 - # hate
166 - local -x PALUDIS_REDUCED_UID=0
167 - local -x PALUDIS_REDUCED_GID=0
168 - fi
169 -
170 - if ! nonfatal emake -k check ; then
171 - eerror "Tests failed. Looking for files for you to add to your bug report..."
172 - find "${S}" -type f -name '*.epicfail' -or -name '*.log' | while read a ; do
173 - eerror " $a"
174 - done
175 - die "Make check failed"
176 - fi
177 -}
178 -
179 -pkg_postinst() {
180 - local pm
181 - if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then
182 - pm=$( source "${ROOT}"/etc/env.d/50package-manager ; echo "${PACKAGE_MANAGER}" )
183 - fi
184 -
185 - if [[ ${pm} != paludis ]] ; then
186 - elog "If you are using paludis or cave as your primary package manager,"
187 - elog "you should consider running:"
188 - elog " eselect package-manager set paludis"
189 - fi
190 -}