[arch-commits] Commit in python2-fonttools/repos (4 files)
Ángel Velásquez
angvp at nymeria.archlinux.org
Mon Aug 19 10:03:09 UTC 2013
Date: Monday, August 19, 2013 @ 12:03:09
Author: angvp
Revision: 96004
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
python2-fonttools/repos/community-testing-i686/
python2-fonttools/repos/community-testing-i686/PKGBUILD
(from rev 96003, python2-fonttools/trunk/PKGBUILD)
python2-fonttools/repos/community-testing-x86_64/
python2-fonttools/repos/community-testing-x86_64/PKGBUILD
(from rev 96003, python2-fonttools/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: python2-fonttools/repos/community-testing-i686/PKGBUILD (from rev 96003, python2-fonttools/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-08-19 10:03:09 UTC (rev 96004)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Firmicus <firmicus āt gmx dōt net>
+
+pkgname=python2-fonttools
+pkgver=2.4
+pkgrel=2
+pkgdesc="Converts OpenType and TrueType fonts to and from XML"
+url="http://sourceforge.net/projects/fonttools/"
+license=("BSD")
+arch=('i686' 'x86_64')
+depends=("python2-numpy")
+makedepends=("python2-setuptools")
+provides=('fonttools') # temporary compatibility because of rename
+replaces=('fonttools')
+source=(http://downloads.sourceforge.net/fonttools/fonttools-$pkgver.tar.gz)
+md5sums=('41b2d2be48214d2af848e04fded54689')
+
+build() {
+ cd "$srcdir"/fonttools-$pkgver
+
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir"/fonttools-$pkgver
+
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ install -D -m755 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ chmod oga+r "$pkgdir"/usr/share/man/man1/ttx.1
+ sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ $(find "${pkgdir}" -name '*.py')
+}
+
Copied: python2-fonttools/repos/community-testing-x86_64/PKGBUILD (from rev 96003, python2-fonttools/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2013-08-19 10:03:09 UTC (rev 96004)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Firmicus <firmicus āt gmx dōt net>
+
+pkgname=python2-fonttools
+pkgver=2.4
+pkgrel=2
+pkgdesc="Converts OpenType and TrueType fonts to and from XML"
+url="http://sourceforge.net/projects/fonttools/"
+license=("BSD")
+arch=('i686' 'x86_64')
+depends=("python2-numpy")
+makedepends=("python2-setuptools")
+provides=('fonttools') # temporary compatibility because of rename
+replaces=('fonttools')
+source=(http://downloads.sourceforge.net/fonttools/fonttools-$pkgver.tar.gz)
+md5sums=('41b2d2be48214d2af848e04fded54689')
+
+build() {
+ cd "$srcdir"/fonttools-$pkgver
+
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir"/fonttools-$pkgver
+
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ install -D -m755 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ chmod oga+r "$pkgdir"/usr/share/man/man1/ttx.1
+ sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ $(find "${pkgdir}" -name '*.py')
+}
+
More information about the arch-commits
mailing list