summaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-09-26 15:14:53 +0200
committerLudovic Courtès <ludo@gnu.org>2015-09-26 15:14:53 +0200
commite1556533d3e57950417b2e35a68e95c65fee5042 (patch)
tree41d67b065c7828e164af83254fb447849d9e880d /gnu/packages/python.scm
parent5d8d8f3b0a07edb3bd435830b076749f906537d8 (diff)
parent92f1cefb74f6092c0c70f93140824ab806086272 (diff)
Merge branch 'core-updates'
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm43
1 files changed, 36 insertions, 7 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7bb5e95c353..708ba29d240 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -674,7 +674,7 @@ have been used.")
674(define-public python-setuptools 674(define-public python-setuptools
675 (package 675 (package
676 (name "python-setuptools") 676 (name "python-setuptools")
677 (version "12.1") 677 (version "18.3.1")
678 (source 678 (source
679 (origin 679 (origin
680 (method url-fetch) 680 (method url-fetch)
@@ -682,7 +682,7 @@ have been used.")
682 version ".tar.gz")) 682 version ".tar.gz"))
683 (sha256 683 (sha256
684 (base32 684 (base32
685 "04bfk7si1pwj3b5k2b1x9b1zkiclybmzpw6alrs5bciri56lg9zs")))) 685 "0kc7rbav00ks6iaw14p38y81q12fx0lpkhgf5m97xc04f5r318ig"))))
686 (build-system python-build-system) 686 (build-system python-build-system)
687 ;; FIXME: Tests require pytest, which itself relies on setuptools. 687 ;; FIXME: Tests require pytest, which itself relies on setuptools.
688 ;; One could bootstrap with an internal untested setuptools. 688 ;; One could bootstrap with an internal untested setuptools.
@@ -2791,7 +2791,7 @@ association studies (GWAS) on extremely large data sets.")
2791 (tgt-dir (string-append html "/" dir))) 2791 (tgt-dir (string-append html "/" dir)))
2792 (unless (equal? "." dir) 2792 (unless (equal? "." dir)
2793 (mkdir-p tgt-dir)) 2793 (mkdir-p tgt-dir))
2794 (copy-file file (string-append html "/" file)))) 2794 (install-file file html)))
2795 (find-files "." ".*")))))) 2795 (find-files "." ".*"))))))
2796 ,phases))))))) 2796 ,phases)))))))
2797 2797
@@ -2835,7 +2835,7 @@ association studies (GWAS) on extremely large data sets.")
2835 (for-each 2835 (for-each
2836 (lambda (dir tgt) 2836 (lambda (dir tgt)
2837 (map (lambda (file) 2837 (map (lambda (file)
2838 (copy-file file (string-append tgt "/" (basename file)))) 2838 (install-file file tgt))
2839 (find-files dir ".*"))) 2839 (find-files dir ".*")))
2840 (list "docs" "htmldoc" "examples") 2840 (list "docs" "htmldoc" "examples")
2841 (list doc html-doc examples)))) 2841 (list doc html-doc examples))))
@@ -3147,9 +3147,7 @@ atlas_libs = openblas
3147 (for-each (lambda (file) 3147 (for-each (lambda (file)
3148 (let* ((dir (dirname file)) 3148 (let* ((dir (dirname file))
3149 (tgt-dir (string-append html "/" dir))) 3149 (tgt-dir (string-append html "/" dir)))
3150 (unless (equal? "." dir) 3150 (install-file file html)))
3151 (mkdir-p tgt-dir))
3152 (copy-file file (string-append html "/" file))))
3153 (find-files "." ".*")))))) 3151 (find-files "." ".*"))))))
3154 ;; Tests can only be run after the library has been installed and not 3152 ;; Tests can only be run after the library has been installed and not
3155 ;; within the source directory. 3153 ;; within the source directory.
@@ -4642,6 +4640,37 @@ term.js Javascript terminal emulator library.")
4642 ,@(alist-delete "python-tornado" 4640 ,@(alist-delete "python-tornado"
4643 (package-propagated-inputs terminado))))))) 4641 (package-propagated-inputs terminado)))))))
4644 4642
4643(define-public python-fonttools
4644 (package
4645 (name "python-fonttools")
4646 (version "2.5")
4647 (source (origin
4648 (method url-fetch)
4649 (uri (string-append
4650 "https://pypi.python.org/packages/source/F/FontTools/"
4651 "fonttools-" version ".tar.gz"))
4652 (sha256
4653 (base32
4654 "08ay3x4ijarwhl60gqx2i9jzq6pxs20p4snc2d1q5jagh4rn39lb"))))
4655 (build-system python-build-system)
4656 (arguments '(#:test-target "check"))
4657 (propagated-inputs
4658 ;; XXX: module not found if setuptools is not available.
4659 `(("python-setuptools" ,python-setuptools)))
4660 (home-page "http://github.com/behdad/fonttools")
4661 (synopsis "Tools to manipulate font files")
4662 (description
4663 "FontTools/TTX is a library to manipulate font files from Python. It
4664supports reading and writinfg of TrueType/OpenType fonts, reading and writing
4665of AFM files, reading (and partially writing) of PS Type 1 fonts. The package
4666also contains a tool called “TTX” which converts TrueType/OpenType fonts to and
4667from an XML-based format.")
4668 (license (non-copyleft "file://LICENSE.txt"
4669 "See LICENSE.txt in the distribution."))))
4670
4671(define-public python2-fonttools
4672 (package-with-python2 python-fonttools))
4673
4645(define-public python-ly 4674(define-public python-ly
4646 (package 4675 (package
4647 (name "python-ly") 4676 (name "python-ly")