[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:44:41 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit caa10652c5937193d850e3ab5908fd176ae8e54a
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.")
- 40/103: gnu: python-zope-schema: Add missing inputs., (continued)
- 40/103: gnu: python-zope-schema: Add missing inputs., Hartmut Goebel, 2016/10/25
- 23/103: gnu: Fix python inputs, part 5: some inputs become propagated-inputs, Hartmut Goebel, 2016/10/25
- 42/103: gnu: python2-pysnptools: Correct inputs., Hartmut Goebel, 2016/10/25
- 33/103: gnu: python-fixture: Correct inputs., Hartmut Goebel, 2016/10/25
- 25/103: gnu: Fix python inputs, part 7: Ensure python-cython is a native-input., Hartmut Goebel, 2016/10/25
- 30/103: gnu: python-ccm: Update synopsis and description., Hartmut Goebel, 2016/10/25
- 24/103: gnu: Fix python inputs, part 6: some inputs become native-inputs., Hartmut Goebel, 2016/10/25
- 34/103: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/10/25
- 37/103: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/10/25
- 41/103: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/10/25
- 43/103: gnu: python-fonttools: Remove intervening directory in site-packges.,
Hartmut Goebel <=
- 15/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a), Hartmut Goebel, 2016/10/25
- 48/103: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH., Hartmut Goebel, 2016/10/25
- 53/103: gnu: python-subunit, python-testrepository: Fix inputs, Hartmut Goebel, 2016/10/25
- 68/103: gnu: python2-scikit-image: Remove needless native-input and inheritance., Hartmut Goebel, 2016/10/25
- 69/103: gnu: python-redis: Remove unused input., Hartmut Goebel, 2016/10/25
- 55/103: gnu: python-setuptools: remove pre-built binaries from source., Hartmut Goebel, 2016/10/25
- 57/103: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/10/25
- 74/103: gnu: python-zope-location: Correct inputs., Hartmut Goebel, 2016/10/25
- 32/103: gnu: python-hdf5: Correct inputs., Hartmut Goebel, 2016/10/25
- 12/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b), Hartmut Goebel, 2016/10/25