From 3f92924aa71d63beb1ade69261e17da26969eee9 Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 20 Sep 2017 11:39:29 +0000 Subject: [PATCH 2/7] gnu: Add python2-ufolib. * gnu/packages/python.scm (python2-ufolib): New variable. --- gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e8af186f8..052547316 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7398,6 +7398,32 @@ from an XML-based format.") (define-public python2-fonttools (package-with-python2 python-fonttools)) +(define-public python2-ufolib + (package + (name "python2-ufolib") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ufoLib" version ".zip")) + (sha256 + (base32 "1njin1465qqzshnrvcl5sbv0bsy15gj6fycbw4lmcnwkx5sldgyx")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2)) + (propagated-inputs + `(("python2-fonttools" ,python2-fonttools))) + (native-inputs + `(("unzip" ,unzip) + ("python2-pytest-3.0" ,python2-pytest-3.0) + ("python2-pytest-runner" ,python2-pytest-runner))) + (home-page "https://github.com/unified-font-object/ufoLib") + (synopsis "Low-level UFO reader and writer.") + (description + "ufoLib reads and writes Unified Font Object (UFO) +files. UFO is a file format that stores fonts source files.") + (license license:bsd-3))) + (define-public python-ly (package (name "python-ly") -- 2.14.2