summaryrefslogtreecommitdiff
path: root/gnu/packages/libffi.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-26 04:12:53 +0100
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:22:43 +0100
commitdc540ecc371bf614da9b2de6108497f34c07a6fc (patch)
tree4376b61dd75e1b1f55e868bb61709f21fb472eae /gnu/packages/libffi.scm
parentda484bd577ff428865ac9acdb97784c7acdf4355 (diff)
gnu: python2-cffi: Move to (gnu packages pypy).
* gnu/packages/libffi.scm (python2-cffi): Move from here… * gnu/packages/pypy.scm (python2-cffi): …to here. Change-Id: Ib472d2187a118c1dfec62ea9285d48fe63438fbf Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/libffi.scm')
-rw-r--r--gnu/packages/libffi.scm42
1 files changed, 0 insertions, 42 deletions
diff --git a/gnu/packages/libffi.scm b/gnu/packages/libffi.scm
index d6fe695a645..b530a01c42e 100644
--- a/gnu/packages/libffi.scm
+++ b/gnu/packages/libffi.scm
@@ -167,48 +167,6 @@ conversions for values passed between the two languages.")
(description "Foreign Function Interface for Python calling C code.")
(license expat)))
-;;; This Python 2 dependency is needed by the Pypy build system, which is
-;;; unlikely to change in the future.
-(define-public python2-cffi
- (let ((base (package
- (name "python-cffi")
- (version "1.15.1")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "cffi" version))
- (sha256
- (base32 "1y9lr651svbzf1m03s4lqbnbv2byx8f6f0ml7hjm24vvlfwvy06l"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:tests? #f
- #:phases
- #~(modify-phases %standard-phases
- (replace 'build
- (lambda _
- (invoke "python" "setup.py" "build")))
- (replace 'install
- (lambda _
- (let ((site (string-append #$output
- "/lib/python2.7/site-packages/")))
- (mkdir-p site)
- (setenv "PYTHONPATH" site))
- (invoke "python" "./setup.py" "install"
- (string-append "--prefix=" #$output)
- "--no-compile"))))))
- (native-inputs '())
- (inputs (modify-inputs (package-inputs python-cffi)
- (append libxcrypt)))
- (propagated-inputs (list python2-pycparser))
- (home-page "https://cffi.readthedocs.io/")
- (synopsis "Foreign function interface for Python")
- (description "Foreign Function Interface for Python calling C code.")
- (license expat))))
- (package
- (inherit (package-with-python2 base))
- (native-inputs (list pkg-config python-setuptools)))))
-
(define-public python-cffi-documentation
(package
(name "python-cffi-documentation")