public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/paludis/
Date: Sat, 18 Feb 2017 18:08:57 +0000 (UTC)	[thread overview]
Message-ID: <1487441332.c16204bae650d6ac57430195f6118d7be2f84dbd.mgorny@gentoo> (raw)

commit:     c16204bae650d6ac57430195f6118d7be2f84dbd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 18 18:08:00 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 18:08:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c16204ba

sys-apps/paludis: Bump to a snapshot -- fix boost-python, #609670

 sys-apps/paludis/Manifest                         |   1 +
 sys-apps/paludis/paludis-3.0.0_pre20170218.ebuild | 153 ++++++++++++++++++++++
 2 files changed, 154 insertions(+)

diff --git a/sys-apps/paludis/Manifest b/sys-apps/paludis/Manifest
index 4e2e97488f..68845c3a9e 100644
--- a/sys-apps/paludis/Manifest
+++ b/sys-apps/paludis/Manifest
@@ -1,2 +1,3 @@
 DIST paludis-2.4.0.tar.bz2 1787689 SHA256 f47b4bb5503dc127022453b15ca811dec22ee2f04c3c3b76ed1c5a83dbe1af1f SHA512 5fbb15d2285c892fdf19288b8838c51ec2439817a9abc685b8692ff4a3ddf76632d3ab51b2e0298c8eacf00f8b00f4e66b47b34db12844cd4eb77cbfb87ca32e WHIRLPOOL d9dc107886b8bf09bb203704d559dd030190b8390607964578c3f2e10a5c5cd4400146ffed894a968143761fc8149796d37597274b34b8414133b26c7252345b
 DIST paludis-2.6.0.tar.bz2 1885055 SHA256 bde018c89fce95c2cc793d9171e5a51748ad682d06f839fab394e233257aaf4c SHA512 78a9c0a19703dbbc07934de389b749ab83365454e29b19c323d6c03304162e35ff4d92f7ac1f28067ad853057f2422be43418b3c6a57a193c4b8dd5a4e81eba4 WHIRLPOOL dc4f4ecad0ccbb4b8e6b1b4d0a2c71772b5be244f09dc5456fe42d5510b6b7432ca087f99ae86b2bbbd05b18f70a15371dca1193ead556751faffd01ef227dd6
+DIST paludis-3.0.0_pre20170218.tar.lz 970163 SHA256 3abf38eb740936f1a1b978c6d0f3092986b05b113c224aa9f0562b9cba602c65 SHA512 572e0b88fe66ae21aad14e47a56ad9758ba8b771d6b0c11c3ded686823864e44716d679eda790754211e8e4b439773a76252769d8f347cb748d5e6dfe22d1f37 WHIRLPOOL 6b7b8ca796524b145d9544968558f58ce82fa773040cb340eb4c65e2f917a0e61cdf257d45481996b666e30b1d7dd9b033e272ee5d11927d759888c0119b25fc

diff --git a/sys-apps/paludis/paludis-3.0.0_pre20170218.ebuild b/sys-apps/paludis/paludis-3.0.0_pre20170218.ebuild
new file mode 100644
index 0000000000..e688867ccb
--- /dev/null
+++ b/sys-apps/paludis/paludis-3.0.0_pre20170218.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+RUBY_VER=2.3
+
+inherit bash-completion-r1 cmake-utils python-single-r1 user
+
+DESCRIPTION="paludis, the other package mangler"
+HOMEPAGE="http://paludis.exherbo.org/"
+SRC_URI="http://dev.gentoo.org/~mgorny/dist/${P}.tar.lz"
+
+IUSE="doc pbins pink python ruby search-index test +xml"
+LICENSE="GPL-2 vim"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86"
+
+COMMON_DEPEND="
+	>=app-admin/eselect-1.2.13
+	>=app-shells/bash-3.2:0
+	dev-libs/libpcre:=[cxx]
+	sys-apps/file:=
+	pbins? ( >=app-arch/libarchive-3.1.2:= )
+	python? (
+		${PYTHON_DEPS}
+		>=dev-libs/boost-1.41.0:=[python,${PYTHON_USEDEP}] )
+	ruby? ( dev-lang/ruby:${RUBY_VER} )
+	search-index? ( >=dev-db/sqlite-3:= )
+	xml? ( >=dev-libs/libxml2-2.6:= )"
+
+DEPEND="${COMMON_DEPEND}
+	app-arch/lzip
+	>=app-text/asciidoc-8.6.3
+	app-text/htmltidy
+	app-text/xmlto
+	>=sys-devel/gcc-4.7
+	doc? (
+		app-doc/doxygen
+		python? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+		ruby? ( dev-ruby/syntax[ruby_targets_ruby${RUBY_VER/./}] )
+	)
+	virtual/pkgconfig
+	test? ( >=dev-cpp/gtest-1.6.0-r1 )"
+
+RDEPEND="${COMMON_DEPEND}
+	sys-apps/sandbox"
+
+PDEPEND="app-eselect/eselect-package-manager"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+pkg_pretend() {
+	if [[ ${MERGE_TYPE} != buildonly ]]; then
+		if id paludisbuild >/dev/null 2>/dev/null ; then
+			if ! groups paludisbuild | grep --quiet '\<tty\>' ; then
+				eerror "The 'paludisbuild' user is now expected to be a member of the"
+				eerror "'tty' group. You should add the user to this group before"
+				eerror "upgrading Paludis."
+				die "Please add paludisbuild to tty group"
+			fi
+		fi
+	fi
+}
+
+pkg_setup() {
+	enewgroup "paludisbuild"
+	enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild,tty"
+
+	use python && python-single-r1_pkg_setup
+}
+
+src_unpack() {
+	default
+
+	ebegin "Unpacking ${P}.tar.lz"
+	tar -x < <(lzip -c -d "${DISTDIR}/${P}.tar.lz") || die
+	eend ${?}
+}
+
+src_prepare() {
+	# Fix the script shebang on Ruby scripts.
+	# https://bugs.gentoo.org/show_bug.cgi?id=439372#c2
+	sed -i -e "1s/ruby/&${RUBY_VER/./}/" ruby/demos/*.rb || die
+
+	eapply_user
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DENABLE_DOXYGEN=$(usex doc)
+		-DENABLE_GTEST=$(usex test)
+		-DENABLE_PBINS=$(usex pbins)
+		-DENABLE_PYTHON=$(usex python)
+		-DENABLE_PYTHON_DOCS=$(usex doc) # USE=python implicit
+		-DENABLE_RUBY=$(usex ruby)
+		-DENABLE_RUBY_DOCS=$(usex doc) # USE=ruby implicit
+		-DENABLE_SEARCH_INDEX=$(usex search-index)
+		-DENABLE_VIM=ON
+		-DENABLE_XML=$(usex xml)
+
+		-DPALUDIS_COLOUR_PINK=$(usex pink)
+		-DRUBY_VERSION=${RUBY_VER}
+		-DPALUDIS_ENVIRONMENTS=all
+		-DPALUDIS_DEFAULT_DISTRIBUTION=gentoo
+		-DPALUDIS_CLIENTS=all
+		-DCONFIG_FRAMEWORK=eselect
+
+		# GNUInstallDirs
+		-DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+	)
+
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	dobashcomp bash-completion/cave
+
+	insinto /usr/share/zsh/site-functions
+	doins zsh-completion/_cave
+}
+
+src_test() {
+	# Work around Portage bugs
+	local -x PALUDIS_DO_NOTHING_SANDBOXY="portage sucks"
+	local -x BASH_ENV=/dev/null
+
+	if [[ ${EUID} == 0 ]] ; then
+		# hate
+		local -x PALUDIS_REDUCED_UID=0
+		local -x PALUDIS_REDUCED_GID=0
+	fi
+
+	cmake-utils_src_test
+}
+
+pkg_postinst() {
+	local pm
+	if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then
+		pm=$( source "${ROOT}"/etc/env.d/50package-manager ; echo "${PACKAGE_MANAGER}" )
+	fi
+
+	if [[ ${pm} != paludis ]] ; then
+		elog "If you are using paludis or cave as your primary package manager,"
+		elog "you should consider running:"
+		elog "    eselect package-manager set paludis"
+	fi
+}


             reply	other threads:[~2017-02-18 18:09 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-18 18:08 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-09-19 11:31 [gentoo-commits] repo/gentoo:master commit in: sys-apps/paludis/ Mikle Kolyada
2018-09-06 21:22 Michał Górny
2018-06-23 18:16 Mikle Kolyada
2018-03-13 19:07 Mikle Kolyada
2018-03-11  2:16 Thomas Deutschmann
2018-03-04 11:19 Michał Górny
2018-03-04 11:19 Michał Górny
2018-02-28 19:10 Michał Górny
2017-11-30 16:01 Michał Górny
2017-11-06 18:31 Michał Górny
2017-11-06 15:10 Michał Górny
2017-09-19 11:50 Michał Górny
2017-08-06  9:41 Michał Górny
2017-08-06  9:36 Michał Górny
2017-08-06  9:36 Michał Górny
2017-08-06  9:36 Michał Górny
2017-02-21 17:26 Michał Górny
2017-02-18 18:52 Michał Górny
2016-12-21 20:09 Tobias Klausmann
2016-12-18 17:36 Michał Górny
2016-12-09 22:57 Michał Górny
2016-12-04  7:36 Hans de Graaff
2016-12-04  7:36 Hans de Graaff
2016-08-07  7:42 Pacho Ramos
2016-07-02 21:19 Michał Górny
2016-05-24 12:48 Michał Górny
2016-05-03 20:43 Michał Górny
2016-01-17 15:23 Michał Górny
2016-01-17 15:23 Michał Górny
2016-01-11 15:34 Michał Górny
2015-10-10 21:16 Michał Górny
2015-08-22 14:45 Agostino Sarubbo
2015-08-22 14:45 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1487441332.c16204bae650d6ac57430195f6118d7be2f84dbd.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox