[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
43/104: gnu: python-fonttools: Remove intervening directory in site-pack
From: |
Hartmut Goebel |
Subject: |
43/104: gnu: python-fonttools: Remove intervening directory in site-packges. |
Date: |
Tue, 15 Nov 2016 21:37:03 +0000 (UTC) |
htgoebel pushed a commit to branch python-build-system
in repository guix.
commit 9e8c6a37dbded0ee721067b4c4066df5f987203a
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 bf1a825..b160ef5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5722,12 +5722,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.")
- 37/104: gnu: python-singledispatch: correct inputs., (continued)
- 37/104: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/11/15
- 36/104: gnu: python-pbr: Rework bootstrapping., Hartmut Goebel, 2016/11/15
- 57/104: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/11/15
- 49/104: gnu: thefuck: Fix build., Hartmut Goebel, 2016/11/15
- 51/104: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/11/15
- 63/104: gnu: python-joblib: Add comment., Hartmut Goebel, 2016/11/15
- 45/104: gnu: python-matplotlib: Fix build., Hartmut Goebel, 2016/11/15
- 50/104: gnu: openstack: Correct inputs., Hartmut Goebel, 2016/11/15
- 71/104: gnu: Add python-rst.linker, python2-rst.linker., Hartmut Goebel, 2016/11/15
- 28/104: gnu: python-sphinx-rtd-theme: Remove inputs., Hartmut Goebel, 2016/11/15
- 43/104: gnu: python-fonttools: Remove intervening directory in site-packges.,
Hartmut Goebel <=
- 58/104: gnu: python-statsmodels: Fix build, Hartmut Goebel, 2016/11/15
- 60/104: gnu: python-pyjwt: Add missing inputs and enable test-suite., Hartmut Goebel, 2016/11/15
- 65/104: gnu: python-blinker: No longer disable tests., Hartmut Goebel, 2016/11/15
- 69/104: gnu: python-redis: Remove unused input., Hartmut Goebel, 2016/11/15
- 73/104: gnu: python-zope-interface: Correct inputs., Hartmut Goebel, 2016/11/15
- 70/104: gnu: python-numpydoc: Correct inputs., Hartmut Goebel, 2016/11/15
- 47/104: gnu: python-ipython: Fix build., Hartmut Goebel, 2016/11/15
- 52/104: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/11/15
- 54/104: gnu: python-pytest-xdist: Remove needless input python-apipkg., Hartmut Goebel, 2016/11/15
- 56/104: gnu: python-testscenarios: remove needless input "mimetools"., Hartmut Goebel, 2016/11/15