public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-scheme/chicken: ChangeLog chicken-4.8.0.2.ebuild chicken-4.8.0.1.ebuild
@ 2013-04-07 22:49 Panagiotis Christopoulos (pchrist)
  0 siblings, 0 replies; only message in thread
From: Panagiotis Christopoulos (pchrist) @ 2013-04-07 22:49 UTC (permalink / raw
  To: gentoo-commits

pchrist     13/04/07 22:49:31

  Modified:             ChangeLog
  Added:                chicken-4.8.0.2.ebuild
  Removed:              chicken-4.8.0.1.ebuild
  Log:
  Pushing chicken 4.8.0.2, removing 4.8.0.1
  
  (Portage version: 2.1.11.60/cvs/Linux x86_64, signed Manifest commit with key 3AC579B91BC03656)

Revision  Changes    Path
1.47                 dev-scheme/chicken/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-scheme/chicken/ChangeLog?rev=1.47&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-scheme/chicken/ChangeLog?rev=1.47&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-scheme/chicken/ChangeLog?r1=1.46&r2=1.47

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-scheme/chicken/ChangeLog,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- ChangeLog	5 Feb 2013 23:51:45 -0000	1.46
+++ ChangeLog	7 Apr 2013 22:49:31 -0000	1.47
@@ -1,6 +1,13 @@
 # ChangeLog for dev-scheme/chicken
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/ChangeLog,v 1.46 2013/02/05 23:51:45 pchrist Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/ChangeLog,v 1.47 2013/04/07 22:49:31 pchrist Exp $
+
+*chicken-4.8.0.2 (07 Apr 2013)
+
+  07 Apr 2013; Panagiotis Christopoulos <pchrist@gentoo.org>
+  -chicken-4.8.0.1.ebuild, -files/chicken-4.8.0.1-parallel-build.patch,
+  +chicken-4.8.0.2.ebuild, +files/chicken-4.8.0.2-parallel-build.patch:
+  Pushing chicken 4.8.0.2, removing 4.8.0.1
 
 *chicken-4.8.0.1 (05 Feb 2013)
 



1.1                  dev-scheme/chicken/chicken-4.8.0.2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-scheme/chicken/chicken-4.8.0.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-scheme/chicken/chicken-4.8.0.2.ebuild?rev=1.1&content-type=text/plain

Index: chicken-4.8.0.2.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/chicken-4.8.0.2.ebuild,v 1.1 2013/04/07 22:49:31 pchrist Exp $

EAPI="3"

inherit eutils multilib versionator

MY_PV=$(get_version_component_range 1-3)
DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler"
HOMEPAGE="http://www.call-cc.org/"
SRC_URI="http://code.call-cc.org/releases/${MY_PV}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
IUSE="emacs parallel-build doc"

DEPEND="sys-apps/texinfo
		emacs? ( virtual/emacs )"
RDEPEND="emacs? ( virtual/emacs app-emacs/scheme-complete )"

src_prepare() {
	if use "parallel-build"
	then
		epatch "${FILESDIR}"/${P}-parallel-build.patch
	fi

	#Because chicken's Upstream is in the habit of using variables that
	#portage also uses :( eg. $ARCH and $A
	sed 's,A\(\s?=\|)\),chicken&,' -i Makefile.cross-linux-mingw \
		defaults.make rules.make \
		|| die "sed failed"

	sed "s,ARCH,zARCH," -i Makefile.bsd Makefile.cross-linux-mingw \
		Makefile.cygwin Makefile.haiku Makefile.linux Makefile.macosx \
		Makefile.mingw Makefile.mingw-msys Makefile.solaris \
		defaults.make rules.make \
		|| die "sed failed"

	sed "s,\$(PREFIX)/lib,\$(PREFIX)/$(get_libdir)," -i defaults.make || die "sed failed"
	sed "s,\$(DATADIR)/doc,\$(SHAREDIR)/doc/${P}," -i defaults.make || die "sed failed"
}

src_compile() {
	OPTIONS="PLATFORM=linux PREFIX=/usr"
	if use "parallel-build"
	then
		emake ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \
			LINKER_OPTIONS="${LDFLAGS}" \
			HOSTSYSTEM="${CBUILD}" || die "emake failed"
	else
		emake -j1 ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \
			LINKER_OPTIONS="${LDFLAGS}" \
			HOSTSYSTEM="${CBUILD}" || die "emake failed"
	fi
}

# chicken's testsuite is not runnable before install
# upstream has been notified of the issue
RESTRICT=test

src_install() {
	# still can't run make in parallel for the install target
	emake -j1 ${OPTIONS} DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" \
		LINKER_OPTIONS="${LDFLAGS}" \
		install || die

	rm "${D}"/usr/share/doc/${P}/LICENSE || die
	dodoc NEWS || die

	# remove HTML documentation if the user doesn't USE=doc
	if ! use "doc"
	then
		rm -rf "${D}"/usr/share/doc/${P}/manual || die
	fi
}





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

only message in thread, other threads:[~2013-04-07 22:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-07 22:49 [gentoo-commits] gentoo-x86 commit in dev-scheme/chicken: ChangeLog chicken-4.8.0.2.ebuild chicken-4.8.0.1.ebuild Panagiotis Christopoulos (pchrist)

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