[arch-commits] Commit in sunpinyin/repos (4 files)

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 20:42:25
  Author: felixonmars
Revision: 778034

archrelease: copy trunk to community-testing-x86_64

Added:
  sunpinyin/repos/community-testing-x86_64/
  sunpinyin/repos/community-testing-x86_64/PKGBUILD
(from rev 778033, sunpinyin/trunk/PKGBUILD)
  sunpinyin/repos/community-testing-x86_64/scons-python3.patch
(from rev 778033, sunpinyin/trunk/scons-python3.patch)
  sunpinyin/repos/community-testing-x86_64/sunpinyin-use-python3.patch
(from rev 778033, sunpinyin/trunk/sunpinyin-use-python3.patch)

-+
 PKGBUILD|   41 ++
 scons-python3.patch |   50 
 sunpinyin-use-python3.patch |  171 ++
 3 files changed, 262 insertions(+)

Copied: sunpinyin/repos/community-testing-x86_64/PKGBUILD (from rev 778033, 
sunpinyin/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-12-17 20:42:25 UTC (rev 778034)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=sunpinyin
+pkgver=3.0.0rc1
+_tag=v3.0.0-rc1
+pkgrel=4
+arch=('x86_64')
+pkgdesc="Statistical Language Model based pinyin IME by Sun"
+license=('LGPL')
+url="http://sunpinyin.googlecode.com;
+depends=('sqlite' 'make' 'gcc-libs')
+optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
+makedepends=('git' 'scons' 'intltool' 'python')
+source=("git://github.com/sunpinyin/sunpinyin.git#tag=$_tag"
+ scons-python3.patch
+ sunpinyin-use-python3.patch)
+md5sums=('SKIP'
+ '268a91412d5e5c8f3e7a092b0daa8220'
+ 'a652f3f3260968d18c876f6178d7fbf4')
+
+prepare() {
+  cd "$srcdir/$pkgname"
+
+  patch -p1 -i ../scons-python3.patch
+  patch -p1 -i ../sunpinyin-use-python3.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname"
+  scons \
+--prefix=/usr
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+  scons \
+--prefix=/usr \
+--install-sandbox="$pkgdir" \
+install
+}

Copied: sunpinyin/repos/community-testing-x86_64/scons-python3.patch (from rev 
778033, sunpinyin/trunk/scons-python3.patch)
===
--- community-testing-x86_64/scons-python3.patch
(rev 0)
+++ community-testing-x86_64/scons-python3.patch2020-12-17 20:42:25 UTC 
(rev 778034)
@@ -0,0 +1,50 @@
+--- sunpinyin/SConstruct.orig  2019-07-26 18:43:44.176969620 +
 sunpinyin/SConstruct   2019-07-26 18:44:16.680683795 +
+@@ -1,6 +1,7 @@
+ import platform
+ import os
+ import sys
++from functools import reduce
+ 
+ 
+ version = "2.0.4"
+@@ -227,7 +227,7 @@
+ def PassVariables(envvar, env):
+ for (x, y) in envvar:
+ if x in os.environ:
+-print 'Warning: you\'ve set %s in the environmental variable!' % x
++print ('Warning: you\'ve set %s in the environmental variable!' % 
x)
+ env[y] = os.environ[x]
+ 
+ env = CreateEnvironment()
+--- sunpinyin/wrapper/ibus/SConstruct.orig 2019-07-26 18:47:21.482881594 
+
 sunpinyin/wrapper/ibus/SConstruct  2019-07-26 18:47:44.303156268 +
+@@ -36,7 +36,7 @@
+ def PassVariables(envvar, env):
+ for (x, y) in envvar:
+ if x in os.environ:
+-print 'Warning: you\'ve set %s in the environmental variable!' % x
++print ('Warning: you\'ve set %s in the environmental variable!' % 
x)
+ env[y] = os.environ[x]
+ 
+ env = Environment(ENV=os.environ,
+@@ -141,7 +141,7 @@
+ libexec_target = env.Install(bin_dir, ['ibus-engine-sunpinyin', 
+'setup/ibus-setup-sunpinyin'])
+ for exec_bin in libexec_target:
+-env.AddPostAction(exec_bin, Chmod(str(exec_bin), 0755))
++env.AddPostAction(exec_bin, Chmod(str(exec_bin), '0755'))
+ 
+ setup_target = env.Install(data_dir + '/setup',
+['setup/setup.xml',
+--- sunpinyin/src/SConscript.orig  2019-07-26 18:52:28.323285506 +
 sunpinyin/src/SConscript   2019-07-26 18:52:51.890242437 +
+@@ -53,7 +53,7 @@
+ })
+ env.Command('sunpinyin-dictgen', 'sunpinyin-dictgen.mk', [
+ Copy("$TARGET", "$SOURCE"),
+-Chmod("$TARGET", 0755),
++Chmod("$TARGET", '0755'),
+ ])
+ 
+ # -*- indent-tabs-mode: nil -*- vim:et:ts=4

Copied: sunpinyin/repos/community-testing-x86_64/sunpinyin-use-python3.patch 
(from rev 778033, sunpinyin/trunk/sunpinyin-use-python3.patch)
===
--- community-testing-x86_64/sunpinyin-use-python3.patch
(rev 0)
+++ community-testing-x86_64/sunpinyin-use-python3.patch2020-12-17 
20:42:25 UTC (rev 778034)
@@ -0,0 +1,171 @@
+commit d0693ba9f2686ffa46328da129ffef345258fa12
+Author: Peng 

[arch-commits] Commit in sunpinyin/repos (4 files)

2016-08-08 Thread Felix Yan
Date: Monday, August 8, 2016 @ 07:13:25
  Author: felixonmars
Revision: 185981

archrelease: copy trunk to community-i686, community-x86_64

Added:
  sunpinyin/repos/community-i686/PKGBUILD
(from rev 185980, sunpinyin/trunk/PKGBUILD)
  sunpinyin/repos/community-x86_64/PKGBUILD
(from rev 185980, sunpinyin/trunk/PKGBUILD)
Deleted:
  sunpinyin/repos/community-i686/PKGBUILD
  sunpinyin/repos/community-x86_64/PKGBUILD

---+
 /PKGBUILD |   72 
 community-i686/PKGBUILD   |   36 --
 community-x86_64/PKGBUILD |   36 --
 3 files changed, 72 insertions(+), 72 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-08-08 07:12:54 UTC (rev 185980)
+++ community-i686/PKGBUILD 2016-08-08 07:13:25 UTC (rev 185981)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-
-pkgname=sunpinyin
-pkgver=2.0.3.20160226
-_commit=844ad0fe49751d6a09fdfe531668769b06c66459
-pkgrel=1
-arch=('i686' 'x86_64')
-pkgdesc="Statistical Language Model based pinyin IME by Sun"
-license=('LGPL')
-url="http://sunpinyin.googlecode.com;
-depends=('sqlite' 'make' 'gcc-libs')
-optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
-makedepends=('git' 'scons' 'intltool')
-source=("git://github.com/sunpinyin/sunpinyin.git#commit=$_commit")
-md5sums=("SKIP")
-
-prepare() {
-  cd "$srcdir/$pkgname"
-  sed -i -e "1s|python|python2|" python/*.py python/importer/*.py
-}
-
-build() {
-  cd "$srcdir/$pkgname"
-  scons \
---prefix=/usr
-}
-
-package() {
-  cd "$srcdir/$pkgname"
-  scons \
---prefix=/usr \
---install-sandbox="$pkgdir" \
-install
-}

Copied: sunpinyin/repos/community-i686/PKGBUILD (from rev 185980, 
sunpinyin/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-08-08 07:13:25 UTC (rev 185981)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=sunpinyin
+pkgver=3.0.0rc1
+_tag=v3.0.0-rc1
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc="Statistical Language Model based pinyin IME by Sun"
+license=('LGPL')
+url="http://sunpinyin.googlecode.com;
+depends=('sqlite' 'make' 'gcc-libs')
+optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
+makedepends=('git' 'scons' 'intltool')
+source=("git://github.com/sunpinyin/sunpinyin.git#tag=$_tag")
+md5sums=("SKIP")
+
+prepare() {
+  cd "$srcdir/$pkgname"
+  sed -i -e "1s|python|python2|" python/*.py python/importer/*.py
+}
+
+build() {
+  cd "$srcdir/$pkgname"
+  scons \
+--prefix=/usr
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+  scons \
+--prefix=/usr \
+--install-sandbox="$pkgdir" \
+install
+}

Deleted: community-x86_64/PKGBUILD
===
--- community-x86_64/PKGBUILD   2016-08-08 07:12:54 UTC (rev 185980)
+++ community-x86_64/PKGBUILD   2016-08-08 07:13:25 UTC (rev 185981)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-
-pkgname=sunpinyin
-pkgver=2.0.3.20160226
-_commit=844ad0fe49751d6a09fdfe531668769b06c66459
-pkgrel=1
-arch=('i686' 'x86_64')
-pkgdesc="Statistical Language Model based pinyin IME by Sun"
-license=('LGPL')
-url="http://sunpinyin.googlecode.com;
-depends=('sqlite' 'make' 'gcc-libs')
-optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
-makedepends=('git' 'scons' 'intltool')
-source=("git://github.com/sunpinyin/sunpinyin.git#commit=$_commit")
-md5sums=("SKIP")
-
-prepare() {
-  cd "$srcdir/$pkgname"
-  sed -i -e "1s|python|python2|" python/*.py python/importer/*.py
-}
-
-build() {
-  cd "$srcdir/$pkgname"
-  scons \
---prefix=/usr
-}
-
-package() {
-  cd "$srcdir/$pkgname"
-  scons \
---prefix=/usr \
---install-sandbox="$pkgdir" \
-install
-}

Copied: sunpinyin/repos/community-x86_64/PKGBUILD (from rev 185980, 
sunpinyin/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2016-08-08 07:13:25 UTC (rev 185981)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=sunpinyin
+pkgver=3.0.0rc1
+_tag=v3.0.0-rc1
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc="Statistical Language Model based pinyin IME by Sun"
+license=('LGPL')
+url="http://sunpinyin.googlecode.com;
+depends=('sqlite' 'make' 'gcc-libs')
+optdepends=('sunpinyin-data: Statistical language model data 

[arch-commits] Commit in sunpinyin/repos (4 files)

2016-03-04 Thread Felix Yan
Date: Friday, March 4, 2016 @ 09:49:42
  Author: fyan
Revision: 164653

archrelease: copy trunk to community-i686, community-x86_64

Added:
  sunpinyin/repos/community-i686/PKGBUILD
(from rev 164652, sunpinyin/trunk/PKGBUILD)
  sunpinyin/repos/community-x86_64/PKGBUILD
(from rev 164652, sunpinyin/trunk/PKGBUILD)
Deleted:
  sunpinyin/repos/community-i686/PKGBUILD
  sunpinyin/repos/community-x86_64/PKGBUILD

---+
 /PKGBUILD |   72 
 community-i686/PKGBUILD   |   36 --
 community-x86_64/PKGBUILD |   36 --
 3 files changed, 72 insertions(+), 72 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-03-04 08:46:52 UTC (rev 164652)
+++ community-i686/PKGBUILD 2016-03-04 08:49:42 UTC (rev 164653)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-
-pkgname=sunpinyin
-pkgver=2.0.3.20150706
-_commit=cf1810220bf3d3f5a8b990b0a9d3e9df21b1942c
-pkgrel=2
-arch=('i686' 'x86_64')
-pkgdesc="Statistical Language Model based pinyin IME by Sun"
-license=('LGPL')
-url="http://sunpinyin.googlecode.com;
-depends=('sqlite' 'make' 'gcc-libs')
-optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
-makedepends=('git' 'scons' 'intltool')
-source=("git://github.com/sunpinyin/sunpinyin.git#commit=$_commit")
-md5sums=("SKIP")
-
-prepare() {
-  cd "$srcdir/$pkgname"
-  sed -i -e "1s|python|python2|" python/*.py python/importer/*.py
-}
-
-build() {
-  cd "$srcdir/$pkgname"
-  scons \
---prefix=/usr
-}
-
-package() {
-  cd "$srcdir/$pkgname"
-  scons \
---prefix=/usr \
---install-sandbox="$pkgdir" \
-install
-}

Copied: sunpinyin/repos/community-i686/PKGBUILD (from rev 164652, 
sunpinyin/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-03-04 08:49:42 UTC (rev 164653)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=sunpinyin
+pkgver=2.0.3.20160226
+_commit=844ad0fe49751d6a09fdfe531668769b06c66459
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc="Statistical Language Model based pinyin IME by Sun"
+license=('LGPL')
+url="http://sunpinyin.googlecode.com;
+depends=('sqlite' 'make' 'gcc-libs')
+optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
+makedepends=('git' 'scons' 'intltool')
+source=("git://github.com/sunpinyin/sunpinyin.git#commit=$_commit")
+md5sums=("SKIP")
+
+prepare() {
+  cd "$srcdir/$pkgname"
+  sed -i -e "1s|python|python2|" python/*.py python/importer/*.py
+}
+
+build() {
+  cd "$srcdir/$pkgname"
+  scons \
+--prefix=/usr
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+  scons \
+--prefix=/usr \
+--install-sandbox="$pkgdir" \
+install
+}

Deleted: community-x86_64/PKGBUILD
===
--- community-x86_64/PKGBUILD   2016-03-04 08:46:52 UTC (rev 164652)
+++ community-x86_64/PKGBUILD   2016-03-04 08:49:42 UTC (rev 164653)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-
-pkgname=sunpinyin
-pkgver=2.0.3.20150706
-_commit=cf1810220bf3d3f5a8b990b0a9d3e9df21b1942c
-pkgrel=2
-arch=('i686' 'x86_64')
-pkgdesc="Statistical Language Model based pinyin IME by Sun"
-license=('LGPL')
-url="http://sunpinyin.googlecode.com;
-depends=('sqlite' 'make' 'gcc-libs')
-optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
-makedepends=('git' 'scons' 'intltool')
-source=("git://github.com/sunpinyin/sunpinyin.git#commit=$_commit")
-md5sums=("SKIP")
-
-prepare() {
-  cd "$srcdir/$pkgname"
-  sed -i -e "1s|python|python2|" python/*.py python/importer/*.py
-}
-
-build() {
-  cd "$srcdir/$pkgname"
-  scons \
---prefix=/usr
-}
-
-package() {
-  cd "$srcdir/$pkgname"
-  scons \
---prefix=/usr \
---install-sandbox="$pkgdir" \
-install
-}

Copied: sunpinyin/repos/community-x86_64/PKGBUILD (from rev 164652, 
sunpinyin/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2016-03-04 08:49:42 UTC (rev 164653)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=sunpinyin
+pkgver=2.0.3.20160226
+_commit=844ad0fe49751d6a09fdfe531668769b06c66459
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc="Statistical Language Model based pinyin IME by Sun"
+license=('LGPL')
+url="http://sunpinyin.googlecode.com;
+depends=('sqlite' 

[arch-commits] Commit in sunpinyin/repos (4 files)

2015-12-05 Thread Allan McRae
Date: Sunday, December 6, 2015 @ 03:08:05
  Author: allan
Revision: 148761

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  sunpinyin/repos/community-staging-i686/
  sunpinyin/repos/community-staging-i686/PKGBUILD
(from rev 148758, sunpinyin/trunk/PKGBUILD)
  sunpinyin/repos/community-staging-x86_64/
  sunpinyin/repos/community-staging-x86_64/PKGBUILD
(from rev 148758, sunpinyin/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   36 
 community-staging-x86_64/PKGBUILD |   36 
 2 files changed, 72 insertions(+)

Copied: sunpinyin/repos/community-staging-i686/PKGBUILD (from rev 148758, 
sunpinyin/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-06 02:08:05 UTC (rev 148761)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=sunpinyin
+pkgver=2.0.3.20150706
+_commit=cf1810220bf3d3f5a8b990b0a9d3e9df21b1942c
+pkgrel=2
+arch=('i686' 'x86_64')
+pkgdesc="Statistical Language Model based pinyin IME by Sun"
+license=('LGPL')
+url="http://sunpinyin.googlecode.com;
+depends=('sqlite' 'make' 'gcc-libs')
+optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
+makedepends=('git' 'scons' 'intltool')
+source=("git://github.com/sunpinyin/sunpinyin.git#commit=$_commit")
+md5sums=("SKIP")
+
+prepare() {
+  cd "$srcdir/$pkgname"
+  sed -i -e "1s|python|python2|" python/*.py python/importer/*.py
+}
+
+build() {
+  cd "$srcdir/$pkgname"
+  scons \
+--prefix=/usr
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+  scons \
+--prefix=/usr \
+--install-sandbox="$pkgdir" \
+install
+}

Copied: sunpinyin/repos/community-staging-x86_64/PKGBUILD (from rev 148758, 
sunpinyin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-06 02:08:05 UTC (rev 148761)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=sunpinyin
+pkgver=2.0.3.20150706
+_commit=cf1810220bf3d3f5a8b990b0a9d3e9df21b1942c
+pkgrel=2
+arch=('i686' 'x86_64')
+pkgdesc="Statistical Language Model based pinyin IME by Sun"
+license=('LGPL')
+url="http://sunpinyin.googlecode.com;
+depends=('sqlite' 'make' 'gcc-libs')
+optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
+makedepends=('git' 'scons' 'intltool')
+source=("git://github.com/sunpinyin/sunpinyin.git#commit=$_commit")
+md5sums=("SKIP")
+
+prepare() {
+  cd "$srcdir/$pkgname"
+  sed -i -e "1s|python|python2|" python/*.py python/importer/*.py
+}
+
+build() {
+  cd "$srcdir/$pkgname"
+  scons \
+--prefix=/usr
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+  scons \
+--prefix=/usr \
+--install-sandbox="$pkgdir" \
+install
+}


[arch-commits] Commit in sunpinyin/repos (4 files)

2015-09-10 Thread Felix Yan
Date: Friday, September 11, 2015 @ 04:11:43
  Author: fyan
Revision: 139914

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  sunpinyin/repos/community-testing-i686/
  sunpinyin/repos/community-testing-i686/PKGBUILD
(from rev 139912, sunpinyin/trunk/PKGBUILD)
  sunpinyin/repos/community-testing-x86_64/
  sunpinyin/repos/community-testing-x86_64/PKGBUILD
(from rev 139913, sunpinyin/trunk/PKGBUILD)

---+
 community-testing-i686/PKGBUILD   |   36 
 community-testing-x86_64/PKGBUILD |   36 
 2 files changed, 72 insertions(+)

Copied: sunpinyin/repos/community-testing-i686/PKGBUILD (from rev 139912, 
sunpinyin/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-09-11 02:11:43 UTC (rev 139914)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=sunpinyin
+pkgver=2.0.3.20150706
+_commit=cf1810220bf3d3f5a8b990b0a9d3e9df21b1942c
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc="Statistical Language Model based pinyin IME by Sun"
+license=('LGPL')
+url="http://sunpinyin.googlecode.com;
+depends=('sqlite' 'make' 'gcc-libs')
+optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
+makedepends=('git' 'scons' 'intltool')
+source=("git://github.com/sunpinyin/sunpinyin.git#commit=$_commit")
+md5sums=("SKIP")
+
+prepare() {
+  cd "$srcdir/$pkgname"
+  sed -i -e "1s|python|python2|" python/*.py python/importer/*.py
+}
+
+build() {
+  cd "$srcdir/$pkgname"
+  scons \
+--prefix=/usr
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+  scons \
+--prefix=/usr \
+--install-sandbox="$pkgdir" \
+install
+}

Copied: sunpinyin/repos/community-testing-x86_64/PKGBUILD (from rev 139913, 
sunpinyin/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-09-11 02:11:43 UTC (rev 139914)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=sunpinyin
+pkgver=2.0.3.20150706
+_commit=cf1810220bf3d3f5a8b990b0a9d3e9df21b1942c
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc="Statistical Language Model based pinyin IME by Sun"
+license=('LGPL')
+url="http://sunpinyin.googlecode.com;
+depends=('sqlite' 'make' 'gcc-libs')
+optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
+makedepends=('git' 'scons' 'intltool')
+source=("git://github.com/sunpinyin/sunpinyin.git#commit=$_commit")
+md5sums=("SKIP")
+
+prepare() {
+  cd "$srcdir/$pkgname"
+  sed -i -e "1s|python|python2|" python/*.py python/importer/*.py
+}
+
+build() {
+  cd "$srcdir/$pkgname"
+  scons \
+--prefix=/usr
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+  scons \
+--prefix=/usr \
+--install-sandbox="$pkgdir" \
+install
+}


[arch-commits] Commit in sunpinyin/repos (4 files)

2014-08-20 Thread Felix Yan
Date: Thursday, August 21, 2014 @ 03:18:06
  Author: fyan
Revision: 117692

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  sunpinyin/repos/community-testing-i686/
  sunpinyin/repos/community-testing-i686/PKGBUILD
(from rev 117691, sunpinyin/trunk/PKGBUILD)
  sunpinyin/repos/community-testing-x86_64/
  sunpinyin/repos/community-testing-x86_64/PKGBUILD
(from rev 117691, sunpinyin/trunk/PKGBUILD)

---+
 community-testing-i686/PKGBUILD   |   35 +++
 community-testing-x86_64/PKGBUILD |   35 +++
 2 files changed, 70 insertions(+)

Copied: sunpinyin/repos/community-testing-i686/PKGBUILD (from rev 117691, 
sunpinyin/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-08-21 01:18:06 UTC (rev 117692)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan felixonm...@gmail.com
+# Contributor: Thomas Dziedzic  gostrc at gmail 
+
+pkgname=sunpinyin
+pkgver=2.0.3.20140820
+_commit=9c165f917b05bd929cc6e8b02e3db1af08ac75fc
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc=Statistical Language Model based pinyin IME by Sun
+license=('LGPL')
+url=http://sunpinyin.googlecode.com;
+depends=('sqlite' 'make' 'gcc-libs')
+optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
+makedepends=('git' 'scons' 'intltool')
+source=(git://github.com/sunpinyin/sunpinyin.git#commit=$_commit)
+md5sums=(SKIP)
+
+build() {
+  cd $srcdir/$pkgname
+  sed -i -e 1s|python|python2| python/*.py python/importer/*.py
+
+  scons \
+--prefix=/usr
+}
+
+package() {
+  cd $srcdir/$pkgname
+
+  scons \
+--prefix=/usr \
+--install-sandbox=$pkgdir \
+install
+}
+

Copied: sunpinyin/repos/community-testing-x86_64/PKGBUILD (from rev 117691, 
sunpinyin/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-08-21 01:18:06 UTC (rev 117692)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan felixonm...@gmail.com
+# Contributor: Thomas Dziedzic  gostrc at gmail 
+
+pkgname=sunpinyin
+pkgver=2.0.3.20140820
+_commit=9c165f917b05bd929cc6e8b02e3db1af08ac75fc
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc=Statistical Language Model based pinyin IME by Sun
+license=('LGPL')
+url=http://sunpinyin.googlecode.com;
+depends=('sqlite' 'make' 'gcc-libs')
+optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
+makedepends=('git' 'scons' 'intltool')
+source=(git://github.com/sunpinyin/sunpinyin.git#commit=$_commit)
+md5sums=(SKIP)
+
+build() {
+  cd $srcdir/$pkgname
+  sed -i -e 1s|python|python2| python/*.py python/importer/*.py
+
+  scons \
+--prefix=/usr
+}
+
+package() {
+  cd $srcdir/$pkgname
+
+  scons \
+--prefix=/usr \
+--install-sandbox=$pkgdir \
+install
+}
+



[arch-commits] Commit in sunpinyin/repos (4 files)

2013-06-09 Thread Felix Yan
Date: Monday, June 10, 2013 @ 04:29:07
  Author: fyan
Revision: 92609

archrelease: copy trunk to community-i686, community-x86_64

Added:
  sunpinyin/repos/community-i686/PKGBUILD
(from rev 92608, sunpinyin/trunk/PKGBUILD)
  sunpinyin/repos/community-x86_64/PKGBUILD
(from rev 92608, sunpinyin/trunk/PKGBUILD)
Deleted:
  sunpinyin/repos/community-i686/PKGBUILD
  sunpinyin/repos/community-x86_64/PKGBUILD

---+
 /PKGBUILD |   70 
 community-i686/PKGBUILD   |   53 -
 community-x86_64/PKGBUILD |   53 -
 3 files changed, 70 insertions(+), 106 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2013-06-10 02:25:25 UTC (rev 92608)
+++ community-i686/PKGBUILD 2013-06-10 02:29:07 UTC (rev 92609)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan felixonm...@gmail.com
-# Contributor: Thomas Dziedzic  gostrc at gmail 
-
-pkgname=sunpinyin
-pkgver=2.0.3.20130103
-_commit=baf4da89ac04c3eb6ea3b8fb1a10f13bf23f3d87
-pkgrel=1
-arch=('i686' 'x86_64')
-pkgdesc=Statistical Language Model based pinyin IME by Sun
-license=('LGPL')
-url=http://sunpinyin.googlecode.com;
-depends=('sqlite' 'make' 'gcc-libs')
-optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
-makedepends=('git' 'scons' 'intltool')
-
-__gitroot=git://github.com/sunpinyin/sunpinyin.git
-__gitname=$pkgname
-
-build() {
-  cd $srcdir
-  msg Connecting to GIT server
-
-  if [ -d $__gitname ] ; then
-cd $__gitname  git pull origin
-msg The local files are updated.
-  else
-git clone $__gitroot
-  fi
-
-  msg GIT checkout done or server timeout
-  msg Starting make...
-
-  rm -rf $srcdir/$__gitname-build
-  git clone $srcdir/$__gitname $srcdir/$__gitname-build
-  cd $srcdir/$__gitname-build
-  git checkout $_commit
-
-  sed -i -e 1s|python|python2| python/*.py python/importer/*.py
-
-  scons \
---prefix=/usr
-}
-
-package() {
-  cd $srcdir/$__gitname-build
-
-  scons \
---prefix=/usr \
---install-sandbox=$pkgdir \
-install
-}
-

Copied: sunpinyin/repos/community-i686/PKGBUILD (from rev 92608, 
sunpinyin/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-06-10 02:29:07 UTC (rev 92609)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan felixonm...@gmail.com
+# Contributor: Thomas Dziedzic  gostrc at gmail 
+
+pkgname=sunpinyin
+pkgver=2.0.3.20130307
+_commit=64e26d9ed1f617e59ff37c2efc0be97727c799a1
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc=Statistical Language Model based pinyin IME by Sun
+license=('LGPL')
+url=http://sunpinyin.googlecode.com;
+depends=('sqlite' 'make' 'gcc-libs')
+optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
+makedepends=('git' 'scons' 'intltool')
+source=(git://github.com/sunpinyin/sunpinyin.git#commit=$_commit)
+md5sums=(SKIP)
+
+build() {
+  cd $srcdir/$pkgname
+  sed -i -e 1s|python|python2| python/*.py python/importer/*.py
+
+  scons \
+--prefix=/usr
+}
+
+package() {
+  cd $srcdir/$pkgname
+
+  scons \
+--prefix=/usr \
+--install-sandbox=$pkgdir \
+install
+}
+

Deleted: community-x86_64/PKGBUILD
===
--- community-x86_64/PKGBUILD   2013-06-10 02:25:25 UTC (rev 92608)
+++ community-x86_64/PKGBUILD   2013-06-10 02:29:07 UTC (rev 92609)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan felixonm...@gmail.com
-# Contributor: Thomas Dziedzic  gostrc at gmail 
-
-pkgname=sunpinyin
-pkgver=2.0.3.20130103
-_commit=baf4da89ac04c3eb6ea3b8fb1a10f13bf23f3d87
-pkgrel=1
-arch=('i686' 'x86_64')
-pkgdesc=Statistical Language Model based pinyin IME by Sun
-license=('LGPL')
-url=http://sunpinyin.googlecode.com;
-depends=('sqlite' 'make' 'gcc-libs')
-optdepends=('sunpinyin-data: Statistical language model data from open-gram 
project for sunpinyin')
-makedepends=('git' 'scons' 'intltool')
-
-__gitroot=git://github.com/sunpinyin/sunpinyin.git
-__gitname=$pkgname
-
-build() {
-  cd $srcdir
-  msg Connecting to GIT server
-
-  if [ -d $__gitname ] ; then
-cd $__gitname  git pull origin
-msg The local files are updated.
-  else
-git clone $__gitroot
-  fi
-
-  msg GIT checkout done or server timeout
-  msg Starting make...
-
-  rm -rf $srcdir/$__gitname-build
-  git clone $srcdir/$__gitname $srcdir/$__gitname-build
-  cd $srcdir/$__gitname-build
-  git checkout $_commit
-
-  sed -i -e 1s|python|python2| python/*.py python/importer/*.py
-
-  scons \
---prefix=/usr
-}
-
-package() {
-  cd $srcdir/$__gitname-build
-
-  scons \
---prefix=/usr \
---install-sandbox=$pkgdir \
-install
-}
-

Copied: sunpinyin/repos/community-x86_64/PKGBUILD (from