public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-apps/entropy: entropy-1.0_rc38.ebuild ChangeLog
@ 2011-08-12  9:29 Fabio Erculiani (lxnay)
  0 siblings, 0 replies; only message in thread
From: Fabio Erculiani (lxnay) @ 2011-08-12  9:29 UTC (permalink / raw
  To: gentoo-commits

lxnay       11/08/12 09:29:11

  Modified:             ChangeLog
  Added:                entropy-1.0_rc38.ebuild
  Log:
  version bump
  
  (Portage version: 2.2.0_alpha37/cvs/Linux x86_64)

Revision  Changes    Path
1.6                  sys-apps/entropy/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/entropy/ChangeLog?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/entropy/ChangeLog?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/entropy/ChangeLog?r1=1.5&r2=1.6

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/entropy/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChangeLog	11 Aug 2011 11:27:52 -0000	1.5
+++ ChangeLog	12 Aug 2011 09:29:11 -0000	1.6
@@ -1,6 +1,11 @@
 # ChangeLog for sys-apps/entropy
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/entropy/ChangeLog,v 1.5 2011/08/11 11:27:52 lxnay Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/entropy/ChangeLog,v 1.6 2011/08/12 09:29:11 lxnay Exp $
+
+*entropy-1.0_rc38 (12 Aug 2011)
+
+  12 Aug 2011; Fabio Erculiani <lxnay@gentoo.org> +entropy-1.0_rc38.ebuild:
+  version bump
 
 *entropy-1.0_rc37 (11 Aug 2011)
 



1.1                  sys-apps/entropy/entropy-1.0_rc38.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/entropy/entropy-1.0_rc38.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/entropy/entropy-1.0_rc38.ebuild?rev=1.1&content-type=text/plain

Index: entropy-1.0_rc38.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/entropy/entropy-1.0_rc38.ebuild,v 1.1 2011/08/12 09:29:11 lxnay Exp $

EAPI="3"
PYTHON_DEPEND="2"
inherit eutils python

DESCRIPTION="Entropy Package Manager foundation library"
HOMEPAGE="http://www.sabayon.org"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE=""
SRC_URI="mirror://sabayon/${CATEGORY}/${P}.tar.bz2"

RDEPEND="dev-db/sqlite[soundex]
	net-misc/rsync
	sys-apps/diffutils
	sys-apps/sandbox
	>=sys-apps/portage-2.1.9
	sys-devel/gettext"
DEPEND="${RDEPEND}
	dev-util/intltool"

REPO_CONFPATH="${ROOT}/etc/entropy/repositories.conf"
ENTROPY_CACHEDIR="${ROOT}/var/lib/entropy/caches"

pkg_setup() {
	# Can:
	# - update repos
	# - update security advisories
	# - handle on-disk cache (atm)
	enewgroup entropy || die "failed to create entropy group"
	# Create unprivileged entropy user
	enewgroup entropy-nopriv || die "failed to create entropy-nopriv group"
	enewuser entropy-nopriv -1 -1 -1 entropy-nopriv || die "failed to create entropy-nopriv user"
}

src_compile() {
	# TODO: move to separate package
	cd "${S}"/misc/po || die
	emake || die "make failed"
}

src_install() {
	emake DESTDIR="${D}" LIBDIR="usr/lib" entropy-install || die "make install failed"

	# TODO: move to separate package
	cd "${S}"/misc/po || die
	emake DESTDIR="${D}" LIBDIR="usr/lib" install || die "make install failed"
}

pkg_postinst() {

	# Copy config file over
	if [ -f "${REPO_CONFPATH}.example" ] && [ ! -f "${REPO_CONFPATH}" ]; then
		einfo "Copying ${REPO_CONFPATH}.example over to ${REPO_CONFPATH}"
		cp "${REPO_CONFPATH}.example" "${REPO_CONFPATH}" -p
	fi
	if [ -d "${ENTROPY_CACHEDIR}" ]; then
		einfo "Purging current Entropy cache"
		rm -rf "${ENTROPY_CACHEDIR}"/*
	fi

	python_mod_optimize "/usr/lib/entropy/libraries/entropy"

	# force python 2.x
	eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 --ignore 3.3

	echo
	elog "If you want to enable Entropy packages delta download support, please"
	elog "install dev-util/bsdiff."
	echo

}

pkg_postrm() {
	python_mod_cleanup "/usr/lib/entropy/libraries/entropy"
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-12  9:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-12  9:29 [gentoo-commits] gentoo-x86 commit in sys-apps/entropy: entropy-1.0_rc38.ebuild ChangeLog Fabio Erculiani (lxnay)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox