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-17 08:59:31 +0100
commit6eb44a48d6fd99f85f1914dec9440295c2b32857 (patch)
treebdfbb5ba2a82a9556684345aab49a425f05fc2fb /gnu/packages/python-xyz.scm
parentc84653456ce17f715716f194ffa225d2b2425dcc (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 84de163ab5..657089bbcd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -33283,47 +33283,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")