[arch-commits] Commit in python-fonttools/repos/community-any (PKGBUILD PKGBUILD)

Andrzej Giniewicz aginiewicz at archlinux.org
Sat Jan 21 12:22:33 UTC 2017


    Date: Saturday, January 21, 2017 @ 12:22:32
  Author: aginiewicz
Revision: 208251

archrelease: copy trunk to community-any

Added:
  python-fonttools/repos/community-any/PKGBUILD
    (from rev 208250, python-fonttools/trunk/PKGBUILD)
Deleted:
  python-fonttools/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  136 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 68 insertions(+), 68 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-21 12:22:28 UTC (rev 208250)
+++ PKGBUILD	2017-01-21 12:22:32 UTC (rev 208251)
@@ -1,68 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Firmicus <firmicus āt gmx dōt net>
-# Contributor: flying sheep <flying-sheep at web.de>
-
-pkgbase=python-fonttools
-pkgname=('python2-fonttools' 'python-fonttools')
-pkgver=3.4.0
-pkgrel=2
-pkgdesc="Converts OpenType and TrueType fonts to and from XML"
-url="https://github.com/fonttools/fonttools"
-license=("BSD")
-arch=('any')
-makedepends=("python2-setuptools" "python-setuptools" "python-numpy" "python2-numpy")
-source=("https://github.com/fonttools/fonttools/releases/download/${pkgver}/fonttools-${pkgver}.zip")
-sha1sums=('74a68cb0dd5e56a62e2c7addc55cabab788cdd54')
-
-prepare() {
-  cd "$srcdir"
-  cp -a fonttools-${pkgver} fonttools-py2-${pkgver}
-  cd fonttools-py2-${pkgver}
-
-  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-      -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
-      -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
-      -i $(find . -name '*.py')
-}
-
-build() {
-  msg "Building Python2"
-
-  cd "$srcdir"/fonttools-py2-${pkgver}
-  python2 setup.py build
-
-  msg "Building Python3"
-  cd "$srcdir"/fonttools-${pkgver}
-  python setup.py build
-}
-
-package_python2-fonttools() {
-  depends=("python2-numpy")
-
-  cd "$srcdir"/fonttools-py2-${pkgver}
-
-  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-
-  # fix conflicts with python-fonttools
-  mv "$pkgdir"/usr/bin/pyftinspect{,2}
-  mv "$pkgdir"/usr/bin/pyftmerge{,2}
-  mv "$pkgdir"/usr/bin/pyftsubset{,2}
-  mv "$pkgdir"/usr/bin/ttx{,2}
-  mv "$pkgdir"/usr/share/man/man1/ttx{,2}.1
-  mv "$pkgdir"/usr/bin/fonttools{,2}
-
-  install -D -m755 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  chmod oga+r "$pkgdir"/usr/share/man/man1/ttx2.1
-}
-
-package_python-fonttools() {
-  depends=("python-numpy")
-
-  cd "$srcdir"/fonttools-${pkgver}
-
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
-  install -D -m755 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  chmod oga+r "$pkgdir"/usr/share/man/man1/ttx.1
-}

Copied: python-fonttools/repos/community-any/PKGBUILD (from rev 208250, python-fonttools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-01-21 12:22:32 UTC (rev 208251)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Firmicus <firmicus āt gmx dōt net>
+# Contributor: flying sheep <flying-sheep at web.de>
+
+pkgbase=python-fonttools
+pkgname=('python2-fonttools' 'python-fonttools')
+pkgver=3.5.0
+pkgrel=1
+pkgdesc="Converts OpenType and TrueType fonts to and from XML"
+url="https://github.com/fonttools/fonttools"
+license=("BSD")
+arch=('any')
+makedepends=("python2-setuptools" "python-setuptools" "python-numpy" "python2-numpy")
+source=("https://github.com/fonttools/fonttools/releases/download/${pkgver}/fonttools-${pkgver}.zip")
+sha1sums=('cb7e82a10a83204c775bbfca5b2ab51b26412a85')
+
+prepare() {
+  cd "$srcdir"
+  cp -a fonttools-${pkgver} fonttools-py2-${pkgver}
+  cd fonttools-py2-${pkgver}
+
+  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+      -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+      -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+      -i $(find . -name '*.py')
+}
+
+build() {
+  msg "Building Python2"
+
+  cd "$srcdir"/fonttools-py2-${pkgver}
+  python2 setup.py build
+
+  msg "Building Python3"
+  cd "$srcdir"/fonttools-${pkgver}
+  python setup.py build
+}
+
+package_python2-fonttools() {
+  depends=("python2-numpy")
+
+  cd "$srcdir"/fonttools-py2-${pkgver}
+
+  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+  # fix conflicts with python-fonttools
+  mv "$pkgdir"/usr/bin/pyftinspect{,2}
+  mv "$pkgdir"/usr/bin/pyftmerge{,2}
+  mv "$pkgdir"/usr/bin/pyftsubset{,2}
+  mv "$pkgdir"/usr/bin/ttx{,2}
+  mv "$pkgdir"/usr/share/man/man1/ttx{,2}.1
+  mv "$pkgdir"/usr/bin/fonttools{,2}
+
+  install -D -m755 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  chmod oga+r "$pkgdir"/usr/share/man/man1/ttx2.1
+}
+
+package_python-fonttools() {
+  depends=("python-numpy")
+
+  cd "$srcdir"/fonttools-${pkgver}
+
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+  install -D -m755 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  chmod oga+r "$pkgdir"/usr/share/man/man1/ttx.1
+}



More information about the arch-commits mailing list