mgorny      14/12/25 11:11:48

  Modified:             ChangeLog
  Added:                silvercity-0.9.7-r1.ebuild
  Log:
  Convert to distutils-r1.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.29                 app-text/silvercity/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercity/ChangeLog?rev=1.29&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercity/ChangeLog?rev=1.29&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercity/ChangeLog?r1=1.28&r2=1.29

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/silvercity/ChangeLog,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- ChangeLog   10 Aug 2014 18:33:45 -0000      1.28
+++ ChangeLog   25 Dec 2014 11:11:48 -0000      1.29
@@ -1,6 +1,11 @@
 # ChangeLog for app-text/silvercity
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/silvercity/ChangeLog,v 1.28 
2014/08/10 18:33:45 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/silvercity/ChangeLog,v 1.29 
2014/12/25 11:11:48 mgorny Exp $
+
+*silvercity-0.9.7-r1 (25 Dec 2014)
+
+  25 Dec 2014; Michał Górny <[email protected]> +silvercity-0.9.7-r1.ebuild:
+  Convert to distutils-r1.
 
   10 Aug 2014; Sergei Trofimovich <[email protected]> silvercity-0.9.7.ebuild:
   QA: drop trailing '.' from DESCRIPTION



1.1                  app-text/silvercity/silvercity-0.9.7-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercity/silvercity-0.9.7-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercity/silvercity-0.9.7-r1.ebuild?rev=1.1&content-type=text/plain

Index: silvercity-0.9.7-r1.ebuild
===================================================================
# Copyright 1999-2014 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-r1.ebuild,v 1.1 
2014/12/25 11:11:48 mgorny Exp $

EAPI=5

PYTHON_COMPAT=( python2_7 )

inherit distutils-r1 eutils

MY_PN="SilverCity"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="A lexical analyser for many languages"
HOMEPAGE="http://silvercity.sourceforge.net/";
SRC_URI="mirror://sourceforge/silvercity/${MY_P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE=""

DEPEND=""
RDEPEND=""

S="${WORKDIR}/${MY_P}"

python_prepare_all() {
        # Fix line endings.
        find -type f -exec sed -e 's/\r$//' -i {} + || die "sed failed"

        # Fix permissions.
        chmod -x CSS/default.css || die "chmod failed"

        # Fix shebang.
        sed -e 's:#!/usr/home/sweetapp/bin/python:#!/usr/bin/env python:' \
                -i PySilverCity/Scripts/cgi-styler-form.py || die "sed failed"

        distutils-r1_python_prepare_all
}




Reply via email to