[arch-commits] Commit in scribes/repos/community-any (4 files)

Balló György bgyorgy at nymeria.archlinux.org
Wed Sep 4 21:14:49 UTC 2013


    Date: Wednesday, September 4, 2013 @ 23:14:49
  Author: bgyorgy
Revision: 96774

archrelease: copy trunk to community-any

Added:
  scribes/repos/community-any/PKGBUILD
    (from rev 96773, scribes/trunk/PKGBUILD)
  scribes/repos/community-any/scribes.install
    (from rev 96773, scribes/trunk/scribes.install)
Deleted:
  scribes/repos/community-any/PKGBUILD
  scribes/repos/community-any/scribes.install

-----------------+
 PKGBUILD        |   89 +++++++++++++++++++++++++-----------------------------
 scribes.install |   24 +++++++-------
 2 files changed, 54 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-09-04 21:14:44 UTC (rev 96773)
+++ PKGBUILD	2013-09-04 21:14:49 UTC (rev 96774)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
-# Contributor: Andrew Conkling <andrewski at fr.st>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=scribes
-pkgver=0.4.954
-pkgrel=3
-pkgdesc="An ultra minimalist text editor that combines simplicity with power"
-arch=('any')
-url='http://scribes.sourceforge.net'
-license=('GPL')
-depends=('dbus-python' 'yelp' 'pygtk' 'pygtksourceview2' 'python2-gtkspell'
-         'pyxdg')
-makedepends=('intltool' 'gnome-doc-utils')
-install=$pkgname.install
-source=(http://launchpad.net/scribes/${pkgver%.*}/scribes-milestone1/+download/${pkgname}-${pkgver%.*}-dev-build${pkgver##*.}.tar.bz2)
-sha256sums=('f4cb765d5690f7549eb0336ce23fd0648ba548b9a9e259876e5ee2c095a4b0f1')
-
-prepare() {
-  cd ${srcdir}/${pkgname}-${pkgver%.*}-dev-build${pkgver##*.}
-
-  sed -i 's/python depcheck.py/python2 depcheck.py/' configure
-  sed -i 's/python removepyc.py/python2 removepyc.py/' Makefile.in
-  sed -i 's/python -OO compile.py/python2 -OO compile.py/' Makefile.in
-  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' LanguagePlugins/Sparkup/sparkup.py
-  sed -i 's|#! */usr/bin/env python|#!/usr/bin/env python2|' LanguagePlugins/PythonErrorChecker/ErrorCheckerProcess/{pychecker/checker.py,ScribesPylint/logilab/common/setup.py,ScribesPythonErrorChecker.py,ScribesPylint/logilab/astng/setup.py}
-  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' LanguagePlugins/zencoding/filters/{haml.py,comment.py,escape.py,format.py,format-css.py,html.py,xsl.py}
-  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' LanguagePlugins/zencoding/{zen_actions.py,zen_core.py,html_matcher.py}
-  sed -i 's|#! */usr/bin/env python|#!/usr/bin/env python2|' GenericPlugins/{RecentOpen/ExternalProcess/ScribesRecentFilesIndexer.py,WordCompletion/SuggestionProcess/ScribesWordCompletionSuggestionGenerator.py} SCRIBES/SaveSystem/ExternalProcess/ScribesSaveProcess.py
-  sed -i 's|#! */usr/bin/env python|#!/usr/bin/env python2|' scribesmodule scribesplugin
-  sed -i 's|#! /usr/bin/python|#! /usr/bin/python2|' scribes.in
-  sed -i 's|return join(prefix, "bin", "python")|return join(prefix, "bin", "python2")|' SCRIBES/SaveProcessInitializer/Initializer.py
-}
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver%.*}-dev-build${pkgver##*.}
-
-  PYTHON=python2 ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver%.*}-dev-build${pkgver##*.}
-  make DESTDIR=${pkgdir} install
-}

Copied: scribes/repos/community-any/PKGBUILD (from rev 96773, scribes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-09-04 21:14:49 UTC (rev 96774)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
+# Contributor: Andrew Conkling <andrewski at fr.st>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=scribes
+pkgver=0.4.954
+pkgrel=4
+pkgdesc="An ultra minimalist text editor that combines simplicity with power"
+arch=('any')
+url='http://scribes.sourceforge.net'
+license=('GPL')
+depends=('dbus-python' 'pygtksourceview2' 'python2-gtkspell' 'python2-xdg' 'hicolor-icon-theme' 'desktop-file-utils')
+makedepends=('intltool' 'gnome-doc-utils')
+optdepends=('yelp: open manual') 
+install=$pkgname.install
+source=(http://launchpad.net/scribes/${pkgver%.*}/scribes-milestone1/+download/${pkgname}-${pkgver%.*}-dev-build${pkgver##*.}.tar.bz2)
+sha256sums=('f4cb765d5690f7549eb0336ce23fd0648ba548b9a9e259876e5ee2c095a4b0f1')
+
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver%.*}-dev-build${pkgver##*.}
+
+  # Python2 fix
+  find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+  find . -type f | xargs sed -i 's/join(prefix, "bin", "python")/join(prefix, "bin", "python2")/'
+  sed -i 's/python depcheck.py/python2 depcheck.py/' configure{,.ac}
+  sed -i 's/python removepyc.py/python2 removepyc.py/
+          s/python -OO compile.py/python2 -OO compile.py/' Makefile.{in,am}
+}
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver%.*}-dev-build${pkgver##*.}
+
+  PYTHON=python2 ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver%.*}-dev-build${pkgver##*.}
+  make DESTDIR=${pkgdir} install
+}

Deleted: scribes.install
===================================================================
--- scribes.install	2013-09-04 21:14:44 UTC (rev 96773)
+++ scribes.install	2013-09-04 21:14:49 UTC (rev 96774)
@@ -1,12 +0,0 @@
-post_install() {
-  update-desktop-database -q
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}

Copied: scribes/repos/community-any/scribes.install (from rev 96773, scribes/trunk/scribes.install)
===================================================================
--- scribes.install	                        (rev 0)
+++ scribes.install	2013-09-04 21:14:49 UTC (rev 96774)
@@ -0,0 +1,12 @@
+post_install() {
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list