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: Thu, 06 Sep 2018 21:23:07
Message-Id: 1536268934.836599ff8ed6dea2d37ddb07e586a7dba3e8997e.mgorny@gentoo
1 commit: 836599ff8ed6dea2d37ddb07e586a7dba3e8997e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 6 20:53:22 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 6 21:22:14 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=836599ff
7
8 sys-apps/paludis: Clean old up
9
10 sys-apps/paludis/Manifest | 1 -
11 sys-apps/paludis/paludis-3.0.0_pre20170808.ebuild | 148 ----------------------
12 2 files changed, 149 deletions(-)
13
14 diff --git a/sys-apps/paludis/Manifest b/sys-apps/paludis/Manifest
15 index 8204d0bea72..d13ad5b563f 100644
16 --- a/sys-apps/paludis/Manifest
17 +++ b/sys-apps/paludis/Manifest
18 @@ -1,2 +1 @@
19 DIST paludis-57881321fa3d5d82a9260db54afd608fd61dd533.tar.xz 1004012 BLAKE2B 0bc65918b277ae4203fb5dc66fe3a84caa142b5e97b9e1f1b9a5f2e1b9c27fb4c60109c0bc1c058e095850bcf488075e21ab080bc5c4f2156e4c901923856ddb SHA512 ed9053b933172dea0122c171a14965b0d183affa8d3f2aa2be5cc2a2cf11f81f8a693b30bee93963dd890ebe41f454cf5ec5ab38f0b7924318b8bd8d1c37f5d9
20 -DIST paludis-f8e58ee1d02d2476ae92ebc3737e42b8b6a36891.tar.xz 1004024 BLAKE2B 1c34c93815efa41298cc2916c4428971d1f54242cfd759c771972bdcde94986c6af03546372c7eda277a343851b38ee93c0a103e519457b42e48cc7bed87b755 SHA512 813592b6f164d7994000ff1740e003049e040e7d58832bb1393a1f4facf428806b57bbf97855b830f75acf4b20e963093e9993b110f76f44e25afb9a8a1eaa1e
21
22 diff --git a/sys-apps/paludis/paludis-3.0.0_pre20170808.ebuild b/sys-apps/paludis/paludis-3.0.0_pre20170808.ebuild
23 deleted file mode 100644
24 index a373d25270d..00000000000
25 --- a/sys-apps/paludis/paludis-3.0.0_pre20170808.ebuild
26 +++ /dev/null
27 @@ -1,148 +0,0 @@
28 -# Copyright 1999-2018 Gentoo Foundation
29 -# Distributed under the terms of the GNU General Public License v2
30 -
31 -EAPI=6
32 -
33 -PYTHON_COMPAT=( python2_7 )
34 -RUBY_VER=2.3
35 -
36 -inherit bash-completion-r1 cmake-utils python-single-r1 user
37 -
38 -MY_P=paludis-f8e58ee1d02d2476ae92ebc3737e42b8b6a36891
39 -DESCRIPTION="paludis, the other package mangler"
40 -HOMEPAGE="http://paludis.exherbo.org/"
41 -SRC_URI="https://git.exherbo.org/paludis/paludis.git/snapshot/${MY_P}.tar.xz"
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.65:=[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-arch/xz-utils
63 - >=app-text/asciidoc-8.6.3
64 - app-text/htmltidy
65 - app-text/xmlto
66 - >=sys-devel/gcc-4.7
67 - doc? (
68 - app-doc/doxygen
69 - python? ( dev-python/sphinx[${PYTHON_USEDEP}] )
70 - ruby? ( dev-ruby/syntax[ruby_targets_ruby${RUBY_VER/./}] )
71 - )
72 - virtual/pkgconfig
73 - test? ( >=dev-cpp/gtest-1.6.0-r1 )"
74 -
75 -RDEPEND="${COMMON_DEPEND}
76 - sys-apps/sandbox"
77 -
78 -PDEPEND="app-eselect/eselect-package-manager"
79 -
80 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
81 - ruby? ( ruby_targets_ruby${RUBY_VER/./} )"
82 -RESTRICT="!test? ( test )"
83 -
84 -S=${WORKDIR}/${MY_P}
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 -
99 -pkg_setup() {
100 - enewgroup "paludisbuild"
101 - enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild,tty"
102 -
103 - use python && python-single-r1_pkg_setup
104 -}
105 -
106 -src_prepare() {
107 - # Fix the script shebang on Ruby scripts.
108 - # https://bugs.gentoo.org/show_bug.cgi?id=439372#c2
109 - sed -i -e "1s/ruby/&${RUBY_VER/./}/" ruby/demos/*.rb || die
110 -
111 - cmake-utils_src_prepare
112 -}
113 -
114 -src_configure() {
115 - local mycmakeargs=(
116 - -DENABLE_DOXYGEN=$(usex doc)
117 - -DENABLE_GTEST=$(usex test)
118 - -DENABLE_PBINS=$(usex pbins)
119 - -DENABLE_PYTHON=$(usex python)
120 - -DENABLE_PYTHON_DOCS=$(usex doc) # USE=python implicit
121 - -DENABLE_RUBY=$(usex ruby)
122 - -DENABLE_RUBY_DOCS=$(usex doc) # USE=ruby implicit
123 - -DENABLE_SEARCH_INDEX=$(usex search-index)
124 - -DENABLE_VIM=ON
125 - -DENABLE_XML=$(usex xml)
126 -
127 - -DPALUDIS_COLOUR_PINK=$(usex pink)
128 - -DRUBY_VERSION=${RUBY_VER}
129 - -DPALUDIS_ENVIRONMENTS=all
130 - -DPALUDIS_DEFAULT_DISTRIBUTION=gentoo
131 - -DPALUDIS_CLIENTS=all
132 - -DCONFIG_FRAMEWORK=eselect
133 -
134 - # GNUInstallDirs
135 - -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
136 - )
137 -
138 - cmake-utils_src_configure
139 -}
140 -
141 -src_install() {
142 - cmake-utils_src_install
143 -
144 - dobashcomp bash-completion/cave
145 -
146 - insinto /usr/share/zsh/site-functions
147 - doins zsh-completion/_cave
148 -}
149 -
150 -src_test() {
151 - # Work around Portage bugs
152 - local -x PALUDIS_DO_NOTHING_SANDBOXY="portage sucks"
153 - local -x BASH_ENV=/dev/null
154 -
155 - if [[ ${EUID} == 0 ]] ; then
156 - # hate
157 - local -x PALUDIS_REDUCED_UID=0
158 - local -x PALUDIS_REDUCED_GID=0
159 - fi
160 -
161 - cmake-utils_src_test
162 -}
163 -
164 -pkg_postinst() {
165 - local pm
166 - if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then
167 - pm=$( source "${ROOT}"/etc/env.d/50package-manager ; echo "${PACKAGE_MANAGER}" )
168 - fi
169 -
170 - if [[ ${pm} != paludis ]] ; then
171 - elog "If you are using paludis or cave as your primary package manager,"
172 - elog "you should consider running:"
173 - elog " eselect package-manager set paludis"
174 - fi
175 -}