From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PrYIX-0000QB-8w for garchives@archives.gentoo.org; Mon, 21 Feb 2011 16:07:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B18BCE0512; Mon, 21 Feb 2011 16:07:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6780CE0512 for ; Mon, 21 Feb 2011 16:07:33 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 709131B40B8 for ; Mon, 21 Feb 2011 16:07:32 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2244) id 521A220054; Mon, 21 Feb 2011 16:07:30 +0000 (UTC) From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, arfrever@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in app-text/silvercity: silvercity-0.9.7.ebuild ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: silvercity-0.9.7.ebuild ChangeLog X-VCS-Directories: app-text/silvercity X-VCS-Committer: arfrever X-VCS-Committer-Name: Arfrever Frehtes Taifersar Arahesis Content-Type: text/plain; charset=utf8 Message-Id: <20110221160730.521A220054@flycatcher.gentoo.org> Date: Mon, 21 Feb 2011 16:07:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 7a341ddd39095b704a8f2c1fffe5d3b2 arfrever 11/02/21 16:07:30 Modified: silvercity-0.9.7.ebuild ChangeLog Log: Restrict Jython ABIs. Fix installation (bug #355837). =20 (Portage version: 2.2.0_alpha24_p17/cvs/Linux x86_64) Revision Changes Path 1.10 app-text/silvercity/silvercity-0.9.7.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercit= y/silvercity-0.9.7.ebuild?rev=3D1.10&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercit= y/silvercity-0.9.7.ebuild?rev=3D1.10&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercit= y/silvercity-0.9.7.ebuild?r1=3D1.9&r2=3D1.10 Index: silvercity-0.9.7.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/app-text/silvercity/silvercity-0.9.7.eb= uild,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- silvercity-0.9.7.ebuild 21 Feb 2011 13:21:53 -0000 1.9 +++ silvercity-0.9.7.ebuild 21 Feb 2011 16:07:30 -0000 1.10 @@ -1,13 +1,13 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/silvercity/silvercity-0.9.7.= ebuild,v 1.9 2011/02/21 13:21:53 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/silvercity/silvercity-0.9.7.= ebuild,v 1.10 2011/02/21 16:07:30 arfrever Exp $ =20 EAPI=3D"3" PYTHON_DEPEND=3D"2" SUPPORT_PYTHON_ABIS=3D"1" -RESTRICT_PYTHON_ABIS=3D"3.*" +RESTRICT_PYTHON_ABIS=3D"3.* *-jython" =20 -inherit distutils eutils python +inherit distutils =20 MY_PN=3D"SilverCity" MY_P=3D"${MY_PN}-${PV}" @@ -26,21 +26,19 @@ =20 S=3D"${WORKDIR}/${MY_P}" =20 +PYTHON_NONVERSIONED_EXECUTABLES=3D("/usr/bin/source2html.py") + PYTHON_MODNAME=3D"${MY_PN}" =20 -src_install() { - distutils_src_install +src_prepare() { + distutils_src_prepare =20 - # Remove useless documentation. - rm "${D}usr/share/doc/${P}/PKG-INFO"* + # Fix line endings. + find -type f -exec sed -e 's/\r$//' -i \{\} \; || die "sed failed" =20 # Fix permissions. - chmod 644 "${D}"usr/$(get_libdir)/python*/site-packages/SilverCity/defa= ult.css - - # Fix CR/LF issue. - find "${D}usr/bin" -iname "*.py" -exec sed -e 's/\r$//' -i \{\} \; + chmod -x CSS/default.css || die "chmod failed" =20 - # Fix path. - dosed -i 's|#!/usr/home/sweetapp/bin/python|#!/usr/bin/env python|' \ - /usr/bin/cgi-styler-form.py || die "dosed failed" + # Fix shebang. + sed -e 's:#!/usr/home/sweetapp/bin/python:#!/usr/bin/env python:' -i Py= SilverCity/Scripts/cgi-styler-form.py || die "sed failed" } 1.26 app-text/silvercity/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercit= y/ChangeLog?rev=3D1.26&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercit= y/ChangeLog?rev=3D1.26&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercit= y/ChangeLog?r1=3D1.25&r2=3D1.26 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/app-text/silvercity/ChangeLog,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- ChangeLog 3 Oct 2009 05:09:11 -0000 1.25 +++ ChangeLog 21 Feb 2011 16:07:30 -0000 1.26 @@ -1,6 +1,10 @@ # ChangeLog for app-text/silvercity -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/silvercity/ChangeLog,v 1.25 = 2009/10/03 05:09:11 arfrever Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/silvercity/ChangeLog,v 1.26 = 2011/02/21 16:07:30 arfrever Exp $ + + 21 Feb 2011; Arfrever Frehtes Taifersar Arahesis + silvercity-0.9.7.ebuild: + Restrict Jython ABIs. Fix installation (bug #355837). =20 03 Oct 2009; Arfrever Frehtes Taifersar Arahesis silvercity-0.9.7.ebuild: