Date: Thursday, July 21, 2016 @ 18:24:07 Author: arojas Revision: 272095
archrelease: copy trunk to extra-any Added: nototools/repos/extra-any/PKGBUILD (from rev 272094, nototools/trunk/PKGBUILD) nototools/repos/extra-any/data_path.patch (from rev 272094, nototools/trunk/data_path.patch) Deleted: nototools/repos/extra-any/PKGBUILD nototools/repos/extra-any/data_path.patch -----------------+ PKGBUILD | 72 +++++++++++++++++++++++++++--------------------------- data_path.patch | 24 +++++++++--------- 2 files changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-07-21 18:23:42 UTC (rev 272094) +++ PKGBUILD 2016-07-21 18:24:07 UTC (rev 272095) @@ -1,36 +0,0 @@ -# $Id: PKGBUILD 249445 2015-10-16 23:55:30Z arojas $ -# Maintainer: Antonio Rojas <aro...@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 -} Copied: nototools/repos/extra-any/PKGBUILD (from rev 272094, nototools/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-07-21 18:24:07 UTC (rev 272095) @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 249445 2015-10-16 23:55:30Z arojas $ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgname=nototools +_commit=71d0fca +pkgver=git20160719 +pkgrel=3 +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=('b96df8e153de944b8687f7f17e15f53567aedae223d5cca2d8ac2dc08b011d18' + '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-21 18:23:42 UTC (rev 272094) +++ data_path.patch 2016-07-21 18:24:07 UTC (rev 272095) @@ -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 272094, nototools/trunk/data_path.patch) =================================================================== --- data_path.patch (rev 0) +++ data_path.patch 2016-07-21 18:24:07 UTC (rev 272095) @@ -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):