mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 20:39:18 -04:00
Also: - add runtime dependencies on devel/py-qt4-core, net/py-qt4-network x11-toolkits/py-qt4-gui, devel/py-msgpack-python, and devel/py-pyopencl - use gmake - remove Makefile, src/bitmsghash_Makefile patches - add setup.py patch - add USE_PYTHON=distutils autoplist PR: 217856 Submitted by: yuri@rawbw.com (maintainer) Approved by: swills (mentor, implicit)
35 lines
1.2 KiB
Python
35 lines
1.2 KiB
Python
--- setup.py.orig 2017-03-01 12:12:31 UTC
|
|
+++ setup.py
|
|
@@ -117,13 +117,7 @@ def detectOS():
|
|
def detectPrereqs(missing=False):
|
|
available = []
|
|
for module in packageName.keys():
|
|
- try:
|
|
- import_module(module)
|
|
- if not missing:
|
|
- available.append(module)
|
|
- except ImportError:
|
|
- if missing:
|
|
- available.append(module)
|
|
+ available.append(module)
|
|
return available
|
|
|
|
|
|
@@ -146,7 +140,7 @@ def compilerToPackages():
|
|
if __name__ == "__main__":
|
|
detectOS.result = None
|
|
detectPrereqs.result = None
|
|
- if detectPrereqs(True) != [] and detectOS() in packageManager:
|
|
+ if False and detectPrereqs(True) != [] and detectOS() in packageManager:
|
|
if detectOS() is not None:
|
|
print "It looks like you're using %s. " \
|
|
"It is highly recommended to use the package manager " \
|
|
@@ -159,7 +153,7 @@ if __name__ == "__main__":
|
|
print "It looks like you're missing setuptools."
|
|
sys.exit()
|
|
|
|
- if detectPrereqs(True) != []:
|
|
+ if False and detectPrereqs(True) != []:
|
|
print "Press Return to continue"
|
|
try:
|
|
nothing = raw_input()
|