[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
43/103: gnu: python-fonttools: Remove intervening directory in site-pack
From: |
Hartmut Goebel |
Subject: |
43/103: gnu: python-fonttools: Remove intervening directory in site-packges. |
Date: |
Tue, 25 Oct 2016 17:47:52 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 59575d9fea8ccb9479cf031d13bbed982f48e93a
Author: Hartmut Goebel <address@hidden>
Date: Sat Oct 8 14:54:39 2016 +0200
gnu: python-fonttools: Remove intervening directory in site-packges.
* gnu/packages/python.scm (python-fonttools): Add phase patch-setuppy.
---
gnu/packages/python.scm | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5cbfa8e..53cb582 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5317,12 +5317,23 @@ term.js Javascript terminal emulator library.")
(base32
"08ay3x4ijarwhl60gqx2i9jzq6pxs20p4snc2d1q5jagh4rn39lb"))))
(build-system python-build-system)
- (arguments '(#:test-target "check"))
+ (arguments
+ '(#:test-target "check"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-setuppy
+ ;; Remove the undocumented "extra_path" argument, which adds an
+ ;; intervening directories between site-packages and the package
+ ;; directory.
+ (lambda _
+ (substitute* "setup.py"
+ (("^[ \t]*extra_path *= *'FontTools',") ""))
+ #t)))))
(home-page "http://github.com/behdad/fonttools")
(synopsis "Tools to manipulate font files")
(description
"FontTools/TTX is a library to manipulate font files from Python. It
-supports reading and writinfg of TrueType/OpenType fonts, reading and writing
+supports reading and writing of TrueType/OpenType fonts, reading and writing
of AFM files, reading (and partially writing) of PS Type 1 fonts. The package
also contains a tool called “TTX” which converts TrueType/OpenType fonts to and
from an XML-based format.")
- 91/103: gnu: python-sphinxcontrib-newsfeed: Remove needless input., (continued)
- 91/103: gnu: python-sphinxcontrib-newsfeed: Remove needless input., Hartmut Goebel, 2016/10/25
- 88/103: gnu: python-consul: Correct inputs., Hartmut Goebel, 2016/10/25
- 81/103: gnu: Remove some outdated comments., Hartmut Goebel, 2016/10/25
- 97/103: gnu: python-flake8: Remove python byte-code files from source., Hartmut Goebel, 2016/10/25
- 11/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1a), Hartmut Goebel, 2016/10/25
- 80/103: gnu: python-tox: Update FIXME comments., Hartmut Goebel, 2016/10/25
- 100/103: gnu: python-scikit-learn: Remove useless property "python2-variant"., Hartmut Goebel, 2016/10/25
- 99/103: gnu: python-tables: Remove python byte-code files from source., Hartmut Goebel, 2016/10/25
- 101/103: Add a series of FIXME and TODO comments., Hartmut Goebel, 2016/10/25
- 16/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4b), Hartmut Goebel, 2016/10/25
- 43/103: gnu: python-fonttools: Remove intervening directory in site-packges.,
Hartmut Goebel <=
- 36/103: gnu: python-pbr: Rework bootstrapping., Hartmut Goebel, 2016/10/25
- 75/103: gnu: python-configobj: Correct inputs., Hartmut Goebel, 2016/10/25
- 85/103: gnu: python-responses: Correct inputs, Hartmut Goebel, 2016/10/25
- 93/103: gnu: khal: Fix build., Hartmut Goebel, 2016/10/25
- 96/103: gnu: python-pytest-django: Remove needless propagated input "python-py"., Hartmut Goebel, 2016/10/25
- 92/103: gnu: python-testlib: Remove useless self-defined phase "unpack"., Hartmut Goebel, 2016/10/25
- 98/103: gnu: python-flake8-2.2.4: Remove python byte-code files from source., Hartmut Goebel, 2016/10/25
- 102/103: Add TODO comments., Hartmut Goebel, 2016/10/25
- 87/103: gnu: python-prompt-toolkit: Correct inputs, Hartmut Goebel, 2016/10/25
- 24/103: gnu: Fix python inputs, part 6: some inputs become native-inputs., Hartmut Goebel, 2016/10/25