diff options
author | Matt Harrison | 2013-02-01 20:21:55 -0500 |
---|---|---|
committer | Matt Harrison | 2015-06-09 13:34:42 -0400 |
commit | 6578e31ef95edfeb6ae24e83de42a9c80b0310f3 (patch) | |
tree | 91ae956a6231ca1238e109cd1b41e1b6c3879676 | |
download | aur-6578e31ef95edfeb6ae24e83de42a9c80b0310f3.tar.gz |
Merge geany-zencoding Project
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 30 | ||||
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | geany-zencoding.patch | 414 |
4 files changed, 463 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9dd7243fbeba --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = geany-zencoding + pkgdesc = Zen Coding plugin for geany + pkgver = 0.22 + pkgrel = 1 + url = https://github.com/codebrainz/geany-zencoding + arch = x86_64 + arch = i686 + license = GPL + makedepends = intltool + depends = geany + depends = python2 + source = https://github.com/codebrainz/geany-zencoding/tarball/51334a0259d48a972290dba4c471e1c1aa234931 + source = geany-zencoding.patch + sha256sums = bc2513582309bc7c787947ce1163ff5616855354ab1c1bf4f0b96da711ea72b8 + sha256sums = 0f885d5443ad868595c8628118e9aba14f8a4a4d85fac8bb767ef21d7ec493ca + +pkgname = geany-zencoding + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..721cbced9e3f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Matt Harrison <matt@mistbyte.com> +# Contributor: Sagar Chalise <chalisesagar@gmail.com> + +pkgname=geany-zencoding +pkgver=0.22 +pkgrel=1 +pkgdesc="Zen Coding plugin for geany" +arch=('x86_64' 'i686') +url="https://github.com/codebrainz/geany-zencoding" +license=('GPL') +depends=('geany' 'python2') +makedepends=('intltool') +source=("https://github.com/codebrainz/geany-zencoding/tarball/51334a0259d48a972290dba4c471e1c1aa234931" "geany-zencoding.patch") +sha256sums=('bc2513582309bc7c787947ce1163ff5616855354ab1c1bf4f0b96da711ea72b8' + '0f885d5443ad868595c8628118e9aba14f8a4a4d85fac8bb767ef21d7ec493ca') + +build() { + cd "$srcdir/codebrainz-geany-zencoding-51334a0/" + patch -p1 -i $srcdir/geany-zencoding.patch + ./autogen.sh + ./configure --prefix=`pkg-config --variable=prefix geany` + make +} + +package() { + cd "$srcdir/codebrainz-geany-zencoding-51334a0/" + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/README b/README new file mode 100644 index 000000000000..ffc511942c9c --- /dev/null +++ b/README @@ -0,0 +1 @@ +PKGBUILD files for geany-zencoding diff --git a/geany-zencoding.patch b/geany-zencoding.patch new file mode 100644 index 000000000000..b01d071d181a --- /dev/null +++ b/geany-zencoding.patch @@ -0,0 +1,414 @@ +diff -rcB geany-zc-orig/configure.ac geany-zencoding/configure.ac +*** geany-zc-orig/configure.ac 2011-11-14 20:59:28.746554254 +0545 +--- geany-zencoding/configure.ac 2011-11-14 20:56:50.613230459 +0545 +*************** +*** 15,21 **** + AC_PROG_SED + + # Check for Python to pre-compile python sources +! AC_PATH_PROG([PYTHON], [python], [no]) + AC_SUBST([PYTHON]) + if [[ x"$PYTHON" = "xno" ]]; then + AC_MSG_ERROR([Python not found, is it installed?]) +--- 15,21 ---- + AC_PROG_SED + + # Check for Python to pre-compile python sources +! AC_PATH_PROG([PYTHON], [python2], [no]) + AC_SUBST([PYTHON]) + if [[ x"$PYTHON" = "xno" ]]; then + AC_MSG_ERROR([Python not found, is it installed?]) +diff -rcB geany-zc-orig/zencoding/actions/basic.py geany-zencoding/zencoding/actions/basic.py +*** geany-zc-orig/zencoding/actions/basic.py 2011-11-14 20:59:28.749887587 +0545 +--- geany-zencoding/zencoding/actions/basic.py 2011-11-14 20:58:38.286557305 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + + """ +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + + """ +diff -rcB geany-zc-orig/zencoding/actions/__init__.py geany-zencoding/zencoding/actions/__init__.py +*** geany-zc-orig/zencoding/actions/__init__.py 2011-11-14 20:59:28.746554254 +0545 +--- geany-zencoding/zencoding/actions/__init__.py 2011-11-14 20:58:38.166557314 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + + # import all actions +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + + # import all actions +*************** +*** 12,15 **** + + __import__(__name__, globals(), locals(), __sub_modules) + +! del __sub_modules +\ No newline at end of file +--- 12,15 ---- + + __import__(__name__, globals(), locals(), __sub_modules) + +! del __sub_modules +diff -rcB geany-zc-orig/zencoding/actions/token.py geany-zencoding/zencoding/actions/token.py +*** geany-zc-orig/zencoding/actions/token.py 2011-11-14 20:59:28.749887587 +0545 +--- geany-zencoding/zencoding/actions/token.py 2011-11-14 20:58:38.039890653 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + + ''' +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + + ''' +diff -rcB geany-zc-orig/zencoding/filters/comment.py geany-zencoding/zencoding/filters/comment.py +*** geany-zc-orig/zencoding/filters/comment.py 2011-11-14 20:59:28.749887587 +0545 +--- geany-zencoding/zencoding/filters/comment.py 2011-11-14 20:58:38.999890624 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + + ''' +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + + ''' +*************** +*** 44,47 **** + add_comments(item, i) + process(item, profile) + +! return tree +\ No newline at end of file +--- 44,47 ---- + add_comments(item, i) + process(item, profile) + +! return tree +diff -rcB geany-zc-orig/zencoding/filters/css.py geany-zencoding/zencoding/filters/css.py +*** geany-zc-orig/zencoding/filters/css.py 2011-11-14 20:59:28.749887587 +0545 +--- geany-zencoding/zencoding/filters/css.py 2011-11-14 20:58:38.886557271 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + ''' + Process CSS properties: replaces snippets, augumented with ! char, with +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + ''' + Process CSS properties: replaces snippets, augumented with ! char, with +*************** +*** 20,23 **** + + process(item, profile) + +! return tree +\ No newline at end of file +--- 20,23 ---- + + process(item, profile) + +! return tree +diff -rcB geany-zc-orig/zencoding/filters/escape.py geany-zencoding/zencoding/filters/escape.py +*** geany-zc-orig/zencoding/filters/escape.py 2011-11-14 20:59:28.749887587 +0545 +--- geany-zencoding/zencoding/filters/escape.py 2011-11-14 20:58:38.586557288 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + + ''' +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + + ''' +*************** +*** 28,31 **** + + process(item) + +! return tree +\ No newline at end of file +--- 28,31 ---- + + process(item) + +! return tree +diff -rcB geany-zc-orig/zencoding/filters/format-css.py geany-zencoding/zencoding/filters/format-css.py +*** geany-zc-orig/zencoding/filters/format-css.py 2011-11-14 20:59:28.749887587 +0545 +--- geany-zencoding/zencoding/filters/format-css.py 2011-11-14 20:58:39.126557254 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + + ''' +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + + ''' +*************** +*** 21,24 **** + + process(item, profile) + +! return tree +\ No newline at end of file +--- 21,24 ---- + + process(item, profile) + +! return tree +diff -rcB geany-zc-orig/zencoding/filters/format.py geany-zencoding/zencoding/filters/format.py +*** geany-zc-orig/zencoding/filters/format.py 2011-11-14 20:59:28.749887587 +0545 +--- geany-zencoding/zencoding/filters/format.py 2011-11-14 20:58:39.489890569 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + + """ +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + + """ +*************** +*** 179,182 **** + + process(item, profile, level + 1) + +! return tree +\ No newline at end of file +--- 179,182 ---- + + process(item, profile, level + 1) + +! return tree +diff -rcB geany-zc-orig/zencoding/filters/haml.py geany-zencoding/zencoding/filters/haml.py +*** geany-zc-orig/zencoding/filters/haml.py 2011-11-14 20:59:28.749887587 +0545 +--- geany-zencoding/zencoding/filters/haml.py 2011-11-14 20:58:39.376557242 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + + ''' +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + + ''' +*************** +*** 157,160 **** + + process(item, profile, level + 1) + +! return tree +\ No newline at end of file +--- 157,160 ---- + + process(item, profile, level + 1) + +! return tree +diff -rcB geany-zc-orig/zencoding/filters/html.py geany-zencoding/zencoding/filters/html.py +*** geany-zc-orig/zencoding/filters/html.py 2011-11-14 20:59:28.749887587 +0545 +--- geany-zencoding/zencoding/filters/html.py 2011-11-14 20:58:38.389890632 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + + ''' +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + + ''' +diff -rcB geany-zc-orig/zencoding/filters/__init__.py geany-zencoding/zencoding/filters/__init__.py +*** geany-zc-orig/zencoding/filters/__init__.py 2011-11-14 20:59:28.749887587 +0545 +--- geany-zencoding/zencoding/filters/__init__.py 2011-11-14 20:58:38.683223948 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + + import os.path +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + + import os.path +*************** +*** 14,17 **** + + __import__(__name__, globals(), locals(), __sub_modules) + +! del __sub_modules +\ No newline at end of file +--- 14,17 ---- + + __import__(__name__, globals(), locals(), __sub_modules) + +! del __sub_modules +diff -rcB geany-zc-orig/zencoding/filters/single-line.py geany-zencoding/zencoding/filters/single-line.py +*** geany-zc-orig/zencoding/filters/single-line.py 2011-11-14 20:59:28.749887587 +0545 +--- geany-zencoding/zencoding/filters/single-line.py 2011-11-14 20:58:38.786557275 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + ''' + Output abbreviation on a single line (i.e. no line breaks) +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + ''' + Output abbreviation on a single line (i.e. no line breaks) +*************** +*** 26,29 **** + + process(item, profile) + +! return tree +\ No newline at end of file +--- 26,29 ---- + + process(item, profile) + +! return tree +diff -rcB geany-zc-orig/zencoding/filters/trim.py geany-zencoding/zencoding/filters/trim.py +*** geany-zc-orig/zencoding/filters/trim.py 2011-11-14 20:59:28.749887587 +0545 +--- geany-zencoding/zencoding/filters/trim.py 2011-11-14 20:58:39.249890589 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + ''' + Trim filter: removes characters at the beginning of the text +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + ''' + Trim filter: removes characters at the beginning of the text +*************** +*** 19,22 **** + + process(item, profile) + +! return tree +\ No newline at end of file +--- 19,22 ---- + + process(item, profile) + +! return tree +diff -rcB geany-zc-orig/zencoding/filters/xsl.py geany-zencoding/zencoding/filters/xsl.py +*** geany-zc-orig/zencoding/filters/xsl.py 2011-11-14 20:59:28.749887587 +0545 +--- geany-zencoding/zencoding/filters/xsl.py 2011-11-14 20:58:38.489890626 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + + ''' +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + + ''' +*************** +*** 30,33 **** + if item.type == 'tag' and item.name.lower() in tags and item.children: + trim_attribute(item) + +! process(item, profile) +\ No newline at end of file +--- 30,33 ---- + if item.type == 'tag' and item.name.lower() in tags and item.children: + trim_attribute(item) + +! process(item, profile) +diff -rcB geany-zc-orig/zencoding/html_matcher.py geany-zencoding/zencoding/html_matcher.py +*** geany-zc-orig/zencoding/html_matcher.py 2011-11-14 20:59:28.749887587 +0545 +--- geany-zencoding/zencoding/html_matcher.py 2011-11-14 20:58:37.916557326 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + + ''' +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + + ''' +*************** +*** 270,273 **** + + ix += 1 + +! return action(opening_tag, closing_tag, start_ix) +\ No newline at end of file +--- 270,273 ---- + + ix += 1 + +! return action(opening_tag, closing_tag, start_ix) +diff -rcB geany-zc-orig/zencoding/resources.py geany-zencoding/zencoding/resources.py +*** geany-zc-orig/zencoding/resources.py 2011-11-14 20:59:28.753220920 +0545 +--- geany-zencoding/zencoding/resources.py 2011-11-14 20:58:39.589890567 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + ''' + @author Sergey Chikuyonok (serge.che@gmail.com) +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + ''' + @author Sergey Chikuyonok (serge.che@gmail.com) +*************** +*** 367,370 **** + pass + + if user_settings: +! set_vocabulary(user_settings, VOC_USER) +\ No newline at end of file +--- 367,370 ---- + pass + + if user_settings: +! set_vocabulary(user_settings, VOC_USER) +diff -rcB geany-zc-orig/zencoding/utils.py geany-zencoding/zencoding/utils.py +*** geany-zc-orig/zencoding/utils.py 2011-11-14 20:59:28.753220920 +0545 +--- geany-zencoding/zencoding/utils.py 2011-11-14 20:58:34.886557511 +0545 +*************** +*** 1,4 **** +! #!/usr/bin/env python + # -*- coding: utf-8 -*- + ''' + Core Zen Coding library. Contains various text manipulation functions: +--- 1,4 ---- +! #!/usr/bin/env python2 + # -*- coding: utf-8 -*- + ''' + Core Zen Coding library. Contains various text manipulation functions: |