[arch-commits] Commit in nototools/repos/extra-any (4 files)

Antonio Rojas arojas at archlinux.org
Tue Jul 19 21:52:31 UTC 2016


    Date: Tuesday, July 19, 2016 @ 21:52:31
  Author: arojas
Revision: 272061

archrelease: copy trunk to extra-any

Added:
  nototools/repos/extra-any/PKGBUILD
    (from rev 272060, nototools/trunk/PKGBUILD)
  nototools/repos/extra-any/data_path.patch
    (from rev 272060, nototools/trunk/data_path.patch)
Deleted:
  nototools/repos/extra-any/PKGBUILD
  nototools/repos/extra-any/data_path.patch

-----------------+
 PKGBUILD        |   64 +++++++++++++++++++++++++++---------------------------
 data_path.patch |   24 ++++++++++----------
 2 files changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-19 21:51:25 UTC (rev 272060)
+++ PKGBUILD	2016-07-19 21:52:31 UTC (rev 272061)
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 249445 2015-10-16 23:55:30Z arojas $
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=nototools
-_commit=580e5294
-pkgver=git20151020
-pkgrel=1
-pkgdesc="Noto fonts support tools and scripts"
-arch=(any)
-url="https://www.google.com/get/noto/"
-license=(Apache)
-depends=(python2)
-makedepends=(python2-setuptools)
-source=("https://github.com/googlei18n/nototools/archive/$_commit.zip" data_path.patch)
-sha256sums=('194c027b6e89febb7231daead7bc537ad7fed40fb3138f29df367b01d87a92d9'
-            '8ef0f97a049a28d5b9dd8afa8b89ead06ae2cb81ebbf17da5e6f053c51b9b28c')
-
-prepare() {
-  cd nototools-*
-  find -name '*.py' | xargs sed -e 's|/usr/bin/python|/usr/bin/python2|g' -e 's|/usr/bin/env python|/usr/bin/env python2|' -i
-
-# Fix data files location
-  patch -p0 -i ../data_path.patch
-}
-
-package() {
-  cd nototools-*
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  mkdir -p "$pkgdir"/usr/share/nototools
-  cp -r third_party "$pkgdir"/usr/share/nototools
-}

Copied: nototools/repos/extra-any/PKGBUILD (from rev 272060, nototools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-07-19 21:52:31 UTC (rev 272061)
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 249445 2015-10-16 23:55:30Z arojas $
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=nototools
+_commit=0c3cc04
+pkgver=git20160719
+pkgrel=1
+pkgdesc="Noto fonts support tools and scripts"
+arch=(any)
+url="https://www.google.com/get/noto/"
+license=(Apache)
+depends=(python2)
+makedepends=(python2-setuptools)
+source=("https://github.com/googlei18n/nototools/archive/$_commit.zip" data_path.patch)
+sha256sums=('1d699a9e0b7ddf734331d97e83b6f3c8e6c0d6a268089fb0b41af64cf74fe068'
+            '8ef0f97a049a28d5b9dd8afa8b89ead06ae2cb81ebbf17da5e6f053c51b9b28c')
+
+prepare() {
+  cd nototools-*
+  find -name '*.py' | xargs sed -e 's|/usr/bin/python|/usr/bin/python2|g' -e 's|/usr/bin/env python|/usr/bin/env python2|' -i
+
+# Fix data files location
+  patch -p0 -i ../data_path.patch
+}
+
+package() {
+  cd nototools-*
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  mkdir -p "$pkgdir"/usr/share/nototools
+  cp -r third_party "$pkgdir"/usr/share/nototools
+}

Deleted: data_path.patch
===================================================================
--- data_path.patch	2016-07-19 21:51:25 UTC (rev 272060)
+++ data_path.patch	2016-07-19 21:52:31 UTC (rev 272061)
@@ -1,12 +0,0 @@
---- nototools/unicode_data.py.orig	2015-10-20 19:21:32.611686276 +0000
-+++ nototools/unicode_data.py	2015-10-20 19:22:40.021351354 +0000
-@@ -329,8 +329,7 @@
-     return frozenset(_script_code_to_long_name.keys())
- 
- 
--_DATA_DIR_PATH = path.join(path.abspath(path.dirname(__file__)),
--                           os.pardir, "third_party", "ucd")
-+_DATA_DIR_PATH = "/usr/share/nototools/third_party/ucd"
- 
- 
- def open_unicode_data_file(data_file_name):

Copied: nototools/repos/extra-any/data_path.patch (from rev 272060, nototools/trunk/data_path.patch)
===================================================================
--- data_path.patch	                        (rev 0)
+++ data_path.patch	2016-07-19 21:52:31 UTC (rev 272061)
@@ -0,0 +1,12 @@
+--- nototools/unicode_data.py.orig	2015-10-20 19:21:32.611686276 +0000
++++ nototools/unicode_data.py	2015-10-20 19:22:40.021351354 +0000
+@@ -329,8 +329,7 @@
+     return frozenset(_script_code_to_long_name.keys())
+ 
+ 
+-_DATA_DIR_PATH = path.join(path.abspath(path.dirname(__file__)),
+-                           os.pardir, "third_party", "ucd")
++_DATA_DIR_PATH = "/usr/share/nototools/third_party/ucd"
+ 
+ 
+ def open_unicode_data_file(data_file_name):



More information about the arch-commits mailing list