File: 0001-Force-to-use-CFFI-for-multi-platform-compatibility.patch

package info (click to toggle)
python-pyppmd 1.2.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,648 kB
  • sloc: ansic: 5,644; python: 1,604; makefile: 15
file content (22 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: YOKOTA Hiroshi <yokota.hgml@gmail.com>
Date: Sat, 29 Jun 2024 05:36:41 +0900
Subject: Force to use CFFI for multi-platform compatibility

Big-endian platform only works with CFFI interface.
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index a48c8a9..466abed 100644
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@ def has_option(option):
         return False
 
 
-if has_option("--cffi") or platform.python_implementation() == "PyPy":
+if True: # CFFI
     # packages
     packages = ["pyppmd", "pyppmd.cffi"]