[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
42/57: gnu: python-fonttools: Remove intervening directory in site-packg
From: |
Hartmut Goebel |
Subject: |
42/57: gnu: python-fonttools: Remove intervening directory in site-packges. |
Date: |
Sat, 15 Oct 2016 14:08:14 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 38bff99d4bf596c7201de96625274c608188a390
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 c1d2b57..a79b678 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5322,12 +5322,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.")
- 08/57: lint: more packages to probably be a native input., (continued)
- 08/57: lint: more packages to probably be a native input., Hartmut Goebel, 2016/10/15
- 19/57: gnu: python-pytest-cov: Use upstream options for testing., Hartmut Goebel, 2016/10/15
- 23/57: inputs -> propagated-inputs: special, Hartmut Goebel, 2016/10/15
- 29/57: gnu: python-ccm: Update synopsis and description., Hartmut Goebel, 2016/10/15
- 22/57: gnu: Fix inputs in python.scm, part 2: native-inputs -> propagated-inputs., Hartmut Goebel, 2016/10/15
- 32/57: gnu: python-fixture: Correct inputs., Hartmut Goebel, 2016/10/15
- 38/57: gnu: python-pytest-flakes: Fix build., Hartmut Goebel, 2016/10/15
- 06/57: guix: python-build-system: Delete .egg-info file created in phase check., Hartmut Goebel, 2016/10/15
- 34/57: gnu: python-testrepositoryfixture: Correct inputs., Hartmut Goebel, 2016/10/15
- 33/57: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/10/15
- 42/57: gnu: python-fonttools: Remove intervening directory in site-packges.,
Hartmut Goebel <=
- 43/57: gnu: python-numpy-bootstrap, python-numpy: Fix build., Hartmut Goebel, 2016/10/15
- 44/57: gnu: python-matplotlib: Fix build., Hartmut Goebel, 2016/10/15
- 20/57: gnu: Fix inputs in python.scm, part 1: inputs -> propagated-inputs., Hartmut Goebel, 2016/10/15
- 30/57: gnu: python-h5py: Remove needless "python2-variant" property., Hartmut Goebel, 2016/10/15
- 24/57: gnu: python-sphinx-rtd-theme: Remove inputs., Hartmut Goebel, 2016/10/15
- 31/57: gnu: python-hdf5: Correct inputs., Hartmut Goebel, 2016/10/15
- 28/57: gnu: python-ccm: Add missing input python-psutil., Hartmut Goebel, 2016/10/15
- 57/57: Add a series of FIXME and TODO comments., Hartmut Goebel, 2016/10/15
- 10/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b), Hartmut Goebel, 2016/10/15
- 27/57: gnu: Ensure python-cython is a native-input., Hartmut Goebel, 2016/10/15