403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/math/py-pynleq2/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/math/py-pynleq2/files/patch-setup.py
--- setup.py.orig	2015-10-20 14:54:08 UTC
+++ setup.py
@@ -75,19 +75,21 @@ if len(sys.argv) > 1 and '--help' not in
 
     for src, md5sum in zip(sources, md5sums):
         srcpath = os.path.join('nleq2', src)
-        if not os.path.exists(srcpath):
+        if False and not os.path.exists(srcpath):
             NLEQ2_URL = os.environ.get('PYNLEQ2_NLEQ2_ROOT_URL', None)
             if NLEQ2_URL:
                 download(NLEQ2_URL+src, srcpath)
             else:
                 fmtstr = "Could not find: %s ($PYNLEQ2_NLEQ2_ROOT_URL not set)"
                 raise ValueError(fmtstr % src)
-        if md5_of_file(srcpath).hexdigest() != md5sum:
+        if False and md5_of_file(srcpath).hexdigest() != md5sum:
             raise ValueError("Mismatching MD5 sum for %s" % srcpath)
 
     ext_modules = [
         Extension('pynleq2.nleq2', [os.path.join('nleq2', f)
-                                    for f in ('nleq2.pyf',) + sources])
+                                    for f in ('nleq2.pyf',)]
+                                   , libraries=['ff', 'execinfo']
+                                   , library_dirs=['../.fbuild'])
     ]
 
 PYNLEQ2_RELEASE_VERSION = os.environ.get('PYNLEQ2_RELEASE_VERSION', '')

Youez - 2016 - github.com/yon3zu
LinuXploit