From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 81F25138247 for ; Fri, 17 Jan 2014 15:59:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9167E0AED; Fri, 17 Jan 2014 15:59:31 +0000 (UTC) Received: from mailgate-02.zdv.uni-mainz.de (mailgate-02.zdv.uni-mainz.de [134.93.178.246]) by pigeon.gentoo.org (Postfix) with ESMTP id 047D6E0AE4 for ; Fri, 17 Jan 2014 15:59:30 +0000 (UTC) Received: from pps.filterd (mailgate-02.zdv.uni-mainz.de [127.0.0.1]) by mailgate-02.zdv.uni-mainz.de (8.14.7/8.14.7) with SMTP id s0HFvuwE025089 for ; Fri, 17 Jan 2014 16:59:29 +0100 Received: from e14hub-02.zdv.uni-mainz.de (e14hub-02.zdv.Uni-Mainz.DE [10.94.6.88]) by mailgate-02.zdv.uni-mainz.de with ESMTP id 1hf7m5g08e-1 for ; Fri, 17 Jan 2014 16:59:29 +0100 Received: from cschwan-laptop.localnet (134.93.106.53) by mail.uni-mainz.de (10.94.6.90) with Microsoft SMTP Server (TLS) id 14.3.174.1; Fri, 17 Jan 2014 16:59:16 +0100 From: Christopher Schwan To: Subject: Re: [gentoo-science] sage-on-gentoo: how to do sage development process on Gentoo Date: Fri, 17 Jan 2014 16:59:23 +0100 Message-ID: <2738416.bvEQ4p0WqA@cschwan-laptop> User-Agent: KMail/4.12 (Linux/3.10.25-gentoo; KDE/4.12.0; x86_64; ; ) In-Reply-To: <52D94BC0.5030407@equaeghe.nospammail.net> References: <52D94BC0.5030407@equaeghe.nospammail.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart27256645.4x404jj57V"; micalg=pgp-sha512; protocol="application/pgp-signature" X-Originating-IP: [134.93.106.53] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87,1.0.14,0.0.0000 definitions=2014-01-17_06:2014-01-16,2014-01-17,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1310290000 definitions=main-1401170075 X-Archives-Salt: d832c49e-7aec-4655-80bd-c802026aec88 X-Archives-Hash: a7d78a2b400ac37f11172279d3a6f183 --nextPart27256645.4x404jj57V Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Friday 17 January 2014 16:26:56 Erik Quaeghebeur wrote: > Hi, > > > For development on Sage (such as reviewing), is there a gentoo-specific > setup/approach best to follow? > > So, I'd like to know the Gentoo-specifics for > . > Specifically, is it possible to set up a local/personal live ebuild that > points to the current local/personal branch of the sage source, so that > building allows me to test the changes? > > > Thanks, > > Erik I think in that case you unmask and use the 9999 ebuilds that will fetch the latest sources via git. These ebuilds inherit the git-2 eclass[1] that let you override the repository, branch and commit via the packagename_LIVE_REPO packagename_LIVE_BRANCH packagename_LIVE_COMMIT environment variables; packagename should just be the ebuild name with hyphens replaced by underscores: sage, sage_clib, sage_baselayout, sage_doc. If you need to apply some additional patches, e.g. for gentoo specific changes, use the epatch_user[2] functionality and put the patches under /etc/portage/patches/sci-mathematics/[:SLOT]/ e.g. /etc/portage/patches/sci-mathematics/sage-9999/fix-directory.patch (patch must end with ".patch"). This way you should not need to setup a new overlay, maybe a little script that sets all environment variables will be useful. Cheers, Christopher [1] emerge eclass-manpages ; man git-2.eclass [2] man eutils.eclass --nextPart27256645.4x404jj57V Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABCgAGBQJS2VNgAAoJEAeHQ0RVxNInG5IH/0k3m7nT3662GgwLwegWVjrl MH52MVzzUgxylz4000WvwKhHV7ZGry8Ps78/j5hDRENLQ90K+cklZIewnB9o6BSX GWT10u/99UYTlCtfeA1Knk/U0RjrkNTLY1yVsDl5DVz+fqeU3yrywdiH/VRM8buC F+CvV2EATE3txYV2YnNEvxDQmCBoHozAWD6Dle9vTTrxgFc+68CTg1KkFjz99pQx SuF23/NuHteE7nPVBpWo325ZsI/YIEF29r+ACAkLQfXx5dB8OMahVYAfnaZHv625 CP6ZE8TY98WcSggeXnhVub9Fq5KsfmP0Bgy4O/Q5OKMX6Mj50BkrJ7FE4WkuNFk= =Hmjr -----END PGP SIGNATURE----- --nextPart27256645.4x404jj57V--