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