1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-07 20:39:18 -04:00
ports/net-p2p/bitmessage/files/patch-setup.py
Joseph Mingrone 645a87e476 net-p2p/bitmessage: Update to 0.6.2
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)
2017-03-19 23:58:44 +00:00

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()