[arch-commits] Commit in nototools/repos/extra-any (4 files)
Antonio Rojas
arojas at archlinux.org
Tue Jul 19 22:24:26 UTC 2016
Date: Tuesday, July 19, 2016 @ 22:24:26
Author: arojas
Revision: 272063
archrelease: copy trunk to extra-any
Added:
nototools/repos/extra-any/PKGBUILD
(from rev 272062, nototools/trunk/PKGBUILD)
nototools/repos/extra-any/data_path.patch
(from rev 272062, nototools/trunk/data_path.patch)
Deleted:
nototools/repos/extra-any/PKGBUILD
nototools/repos/extra-any/data_path.patch
-----------------+
PKGBUILD | 68 ++++++++++++++++++++++++++++--------------------------
data_path.patch | 24 +++++++++----------
2 files changed, 48 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-19 22:24:12 UTC (rev 272062)
+++ PKGBUILD 2016-07-19 22:24:26 UTC (rev 272063)
@@ -1,32 +0,0 @@
-# $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
-}
Copied: nototools/repos/extra-any/PKGBUILD (from rev 272062, nototools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-07-19 22:24:26 UTC (rev 272063)
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 249445 2015-10-16 23:55:30Z arojas $
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=nototools
+_commit=0c3cc04
+pkgver=git20160719
+pkgrel=2
+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
+ https://github.com/googlei18n/nototools/commit/0484c9e4.patch)
+sha256sums=('1d699a9e0b7ddf734331d97e83b6f3c8e6c0d6a268089fb0b41af64cf74fe068'
+ '8ef0f97a049a28d5b9dd8afa8b89ead06ae2cb81ebbf17da5e6f053c51b9b28c'
+ 'a00d1401f5e0ba6258bc87298c991a4238ad7c3eb3fc07ead418928779d58370')
+
+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
+# Remove broken unichr import
+ patch -p1 -R -i ../0484c9e4.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 22:24:12 UTC (rev 272062)
+++ data_path.patch 2016-07-19 22:24:26 UTC (rev 272063)
@@ -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 272062, nototools/trunk/data_path.patch)
===================================================================
--- data_path.patch (rev 0)
+++ data_path.patch 2016-07-19 22:24:26 UTC (rev 272063)
@@ -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