summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-08-17 00:06:20 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-19 13:57:40 +0100
commitaa955fd084cc146500552d66c13a2f2cd3e8831b (patch)
treee398bffa9108d5a7380f0a41f9121fca160241f9 /gnu/packages/python-xyz.scm
parent97a8ee3bd336d1984a78053976d77434c4528750 (diff)
gnu: python-freetype-py: Move to fontutils.
* gnu/packages/python-xyz.scm (python-freetype-py): Move from here ... * gnu/packages/fontutils.scm: ... to here. * gnu/packages/gnome-xyz.scm: Add fontutils module. Change-Id: Ic5c3d9a360bfb5e1214c73144619863f83a2db97
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm41
1 files changed, 0 insertions, 41 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c1c1d85bfc..c0b31a7097 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -33284,47 +33284,6 @@ dumping of JSON5 data structures.")
Foundation maintained libraries.")
(license license:expat)))
-(define-public python-freetype-py
- (package
- (name "python-freetype-py")
- (version "2.5.1")
- (source
- (origin
- (method git-fetch) ;no tests in PyPI archive
- (uri (git-reference
- (url "https://github.com/rougier/freetype-py")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0cls0469zfqzwpq6k4pxa9vrczsqabqk4qh7444xybcyq9qgs1lp"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags #~(list "tests")
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'patch-lib-paths
- (lambda _
- (substitute* "freetype/raw.py"
- (("ctypes.util.find_library\\('freetype'\\)")
- (format #f "'~a/~a'" #$(this-package-input "freetype")
- "lib/libfreetype.so")))))
- (add-before 'build 'set-version
- (lambda _
- (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
- (native-inputs
- (list python-pytest
- python-setuptools
- python-setuptools-scm))
- (inputs
- (list freetype))
- (home-page "https://github.com/rougier/freetype-py")
- (synopsis "Freetype python bindings")
- (description
- "Freetype Python provides bindings for the FreeType library. Only the
-high-level API is bound.")
- (license license:bsd-3)))
-
(define-public python-frozendict
(package
(name "python-frozendict")