From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27818 invoked from network); 23 Aug 2004 22:14:36 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 23 Aug 2004 22:14:36 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.34) id 1BzN5I-00017M-Bd for arch-gentoo-dev@lists.gentoo.org; Mon, 23 Aug 2004 22:14:36 +0000 Received: (qmail 3612 invoked by uid 89); 23 Aug 2004 22:14:35 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 24116 invoked from network); 23 Aug 2004 22:14:35 +0000 From: Stuart Herbert Reply-To: stuart@gentoo.org Organization: Gentoo Linux Project To: gentoo-dev@lists.gentoo.org Date: Mon, 23 Aug 2004 23:14:09 +0100 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_DxmKBR6apg4qac+"; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200408232314.27507.stuart@gentoo.org> Subject: [gentoo-dev] earchdeps - script to list DEPS that need keywording on other arches X-Archives-Salt: 120ce9f4-4b27-40af-837a-0f81b8b3bb58 X-Archives-Hash: 33bc141c33baea722c9de7592da69232 --Boundary-02=_DxmKBR6apg4qac+ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, http://dev.gentoo.org/~stuart/tools/earchdeps is a simple Bash script which= =20 lists all the DEPs that need keywording in order to mark a package stable o= n=20 any specified arch. usage: earchdeps CATEGORY/PN PVR ARCH e.g. earchdeps dev-php/mod_php 5.0.1 sparc The output is a list of atoms that need keywording. =20 >=3Dapp-text/fdftk-6.0-r1 >=3Ddev-db/freetds-0.62.3 >=3Ddev-db/qdbm-1.8.15 >=3Ddev-libs/glib-2.4.5 >=3Ddev-php/mod_php-5.0.1 >=3Ddev-php/php-5.0.1 >=3Dmedia-libs/alsa-lib-1.0.5-r3 >=3Dmedia-libs/clibpdf-202_p1 >=3Dmedia-libs/fontconfig-2.2.2 >=3Dmedia-plugins/alsa-jack-1.0.5 >=3Dmedia-sound/alsa-headers-1.0.5a >=3Dmedia-sound/jack-audio-connection-kit-0.98.1-r1 >=3Dnet-libs/libmonetra-4.1 >=3Dnet-nds/openldap-2.1.30-r1 >=3Dsys-devel/binutils-2.14.90.0.8-r1 >=3Dsys-kernel/development-sources-2.6.8.1 >=3Dsys-libs/glibc-2.3.3.20040420-r1 >=3Dx11-libs/qt-3.3.3 It tries very hard to cope with deep dependencies. If package foo-4.0 is t= he=20 prefered stable package on the arch that earchdep is running on, it'll=20 recommend that >=3Dfoo-4.0 is marked stable on the arch that is being teste= d. =20 It should correctly cope if foo-4.1 is already marked stable on that arch. = =20 If the arch has foo-3.9 marked stable, that's considered to be not good=20 enough. You can't use this to produce a list for another arch until you've marked a= ll=20 the DEPS as stable on your own arch (or at least chucked the relevant entri= es=20 into /etc/portage/package.keywords). It tries very hard to ensure that all the USE flags supported by the packag= e=20 are switched on. It can't spot flags that switch functionality off; coping= =20 with those is an exercise left for the reader. I'd be very interested in feedback and patches. If others confirm that it'= s=20 output is reliable enough, I'll add an ebuild for it into app-portage. Best regards, Stu =2D-=20 Stuart Herbert stuart@gentoo.o= rg Gentoo Developer http://www.gentoo.or= g/ http://stu.gnqs.org/diar= y/ GnuPG key id# F9AFC57C available from http://pgp.mit.edu Key fingerprint =3D 31FB 50D4 1F88 E227 F319 C549 0C2F 80BA F9AF C57C =2D- --Boundary-02=_DxmKBR6apg4qac+ Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBKmxCDC+AuvmvxXwRAvQrAKCie+VP4/eDYS60hil6UEFZ2ngUWwCfTmdi teTQQcG7VIxZQKffEGaJO1k= =Jxft -----END PGP SIGNATURE----- --Boundary-02=_DxmKBR6apg4qac+--