[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
44/97: gnu: python-fonttools: Remove intervening directory in site-packg
From: |
Hartmut Goebel |
Subject: |
44/97: gnu: python-fonttools: Remove intervening directory in site-packges. |
Date: |
Tue, 18 Oct 2016 20:13:19 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 2791cf273e4ea2ad668788c3c06db1019212b88a
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 c91bf75..5e73d20 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.")
- 39/97: gnu: python-pillow: Fix build., (continued)
- 39/97: gnu: python-pillow: Fix build., Hartmut Goebel, 2016/10/18
- 48/97: gnu: python-ipython: Fix build, Hartmut Goebel, 2016/10/18
- 41/97: gnu: python-zope-schema: Add missing inputs., Hartmut Goebel, 2016/10/18
- 49/97: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH., Hartmut Goebel, 2016/10/18
- 27/97: some inputs -> propagated-inputs, Hartmut Goebel, 2016/10/18
- 52/97: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/10/18
- 56/97: gnu: python-setuptools: remove pre-built binaries from source., Hartmut Goebel, 2016/10/18
- 53/97: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/10/18
- 38/97: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/10/18
- 42/97: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/10/18
- 44/97: gnu: python-fonttools: Remove intervening directory in site-packges.,
Hartmut Goebel <=
- 43/97: gnu: python2-pysnptools: Correct inputs., Hartmut Goebel, 2016/10/18
- 50/97: gnu: thefuck: Fix build., Hartmut Goebel, 2016/10/18
- 45/97: gnu: python-numpy-bootstrap, python-numpy: Fix build., Hartmut Goebel, 2016/10/18
- 54/97: gnu: python-subunit, python-testrepository: Fix inputs, Hartmut Goebel, 2016/10/18
- 58/97: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/10/18
- 67/97: python-blinker: No longer disable tests., Hartmut Goebel, 2016/10/18
- 65/97: gnu: python-joblib: Add comment., Hartmut Goebel, 2016/10/18
- 69/97: gnu: python2-scikit-image: Remove needless propagated-input., Hartmut Goebel, 2016/10/18
- 73/97: gnu: Add python-rst.linker, python2-rst.linker., Hartmut Goebel, 2016/10/18
- 77/97: python-zope-location: Correct inputs., Hartmut Goebel, 2016/10/18