Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37852048
en ru br
ALT Linux repos
S:0.6.8-alt1

Group :: Development/Python3
RPM: python3-module-pivy

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: pivy-0.6.6-0002-Gentoo-specific-clear-swig-deprecation-warning.patch
Download


From 8fd388dd17f8bfa7df62cbea86d077c1d0d0cb66 Mon Sep 17 00:00:00 2001
From: Bernd Waibel <waebbl-gentoo@posteo.net>
Date: Sat, 10 Apr 2021 10:49:57 +0200
Subject: [PATCH] [Gentoo-specific] clear swig deprecation warning
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 14f0f1b..b1f9a8f 100755
--- a/setup.py
+++ b/setup.py
@@ -144,7 +144,7 @@ class pivy_build(build):
     SWIG = ((sys.platform == "win32" and "swig.exe") or "swig")
 
     SWIG_SUPPRESS_WARNINGS = "-w302,306,307,312,314,325,361,362,467,389,503,509,510"
-    SWIG_PARAMS = "-c++ -python -includeall -modern -D__PIVY__ " + \
+    SWIG_PARAMS = "-c++ -python -includeall -D__PIVY__ " + \
                   "-I. -Ifake_headers -I\"%s\" %s -o %s_wrap.cpp " + \
                   "interfaces" + os.sep + "%s.i"
     if sys.version_info.major >= 3:
-- 
2.31.1
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin