aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rabbitmq-server/py3.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-09 11:12:59 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-09 12:37:05 -0300
commit35c6452a338f6a7f1bfb9896cf43594b80eaf8c8 (patch)
tree06008061cd8a7a5e176b4d7068d6fdd05b451acf /testing/rabbitmq-server/py3.patch
parentc2fbad37637db450b37dccca09536cbcf7e1446a (diff)
downloadaports-35c6452a338f6a7f1bfb9896cf43594b80eaf8c8.tar.bz2
aports-35c6452a338f6a7f1bfb9896cf43594b80eaf8c8.tar.xz
testing/rabbitmq-server: rebuild with python3 makedepends
Diffstat (limited to 'testing/rabbitmq-server/py3.patch')
-rw-r--r--testing/rabbitmq-server/py3.patch112
1 files changed, 112 insertions, 0 deletions
diff --git a/testing/rabbitmq-server/py3.patch b/testing/rabbitmq-server/py3.patch
new file mode 100644
index 0000000000..24f3b067f5
--- /dev/null
+++ b/testing/rabbitmq-server/py3.patch
@@ -0,0 +1,112 @@
+diff --git a/deps/amqp10_common/codegen.py b/deps/amqp10_common/codegen.py
+index dc4480a..d573bcf 100755
+--- a/deps/amqp10_common/codegen.py
++++ b/deps/amqp10_common/codegen.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+
+ from __future__ import print_function
+
+diff --git a/deps/rabbit_common/codegen.py b/deps/rabbit_common/codegen.py
+index 8b81362..70bd7fa 100755
+--- a/deps/rabbit_common/codegen.py
++++ b/deps/rabbit_common/codegen.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+
+ ## The contents of this file are subject to the Mozilla Public License
+ ## Version 1.1 (the "License"); you may not use this file except in
+diff --git a/deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_django/manage.py b/deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_django/manage.py
+index 1ae2e80..3e61442 100755
+--- a/deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_django/manage.py
++++ b/deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_django/manage.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ import os
+ import sys
+
+diff --git a/deps/rabbitmq_consistent_hash_exchange/README.md b/deps/rabbitmq_consistent_hash_exchange/README.md
+index ce1623f..6ff906b 100644
+--- a/deps/rabbitmq_consistent_hash_exchange/README.md
++++ b/deps/rabbitmq_consistent_hash_exchange/README.md
+@@ -150,7 +150,7 @@ Executable versions of some of the code examples can be found under [./examples]
+ This version of the example uses [Pika](https://pika.readthedocs.io/en/stable/), the most widely used Python client for RabbitMQ:
+
+ ``` python
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+
+ import pika
+ import time
+@@ -342,7 +342,7 @@ routed to the same **arbitrarily chosen** queue.
+ #### Code Example in Python
+
+ ``` python
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+
+ import pika
+ import time
+@@ -544,7 +544,7 @@ routed to the same **arbitrarily chosen** queue.
+ #### Code Example in Python
+
+ ``` python
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+
+ import pika
+ import time
+diff --git a/deps/rabbitmq_consistent_hash_exchange/examples/python/example1.py b/deps/rabbitmq_consistent_hash_exchange/examples/python/example1.py
+index 6cf67d6..30e43ea 100644
+--- a/deps/rabbitmq_consistent_hash_exchange/examples/python/example1.py
++++ b/deps/rabbitmq_consistent_hash_exchange/examples/python/example1.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+
+ import pika
+ import time
+diff --git a/deps/rabbitmq_consistent_hash_exchange/examples/python/example2.py b/deps/rabbitmq_consistent_hash_exchange/examples/python/example2.py
+index 8c1ac15..0099b28 100644
+--- a/deps/rabbitmq_consistent_hash_exchange/examples/python/example2.py
++++ b/deps/rabbitmq_consistent_hash_exchange/examples/python/example2.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+
+ import pika
+ import time
+diff --git a/deps/rabbitmq_consistent_hash_exchange/examples/python/example3.py b/deps/rabbitmq_consistent_hash_exchange/examples/python/example3.py
+index 0b74501..c11a4ce 100644
+--- a/deps/rabbitmq_consistent_hash_exchange/examples/python/example3.py
++++ b/deps/rabbitmq_consistent_hash_exchange/examples/python/example3.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+
+ import pika
+ import time
+diff --git a/deps/rabbitmq_management/bin/rabbitmqadmin b/deps/rabbitmq_management/bin/rabbitmqadmin
+index 55173cb..04c0c12 100755
+--- a/deps/rabbitmq_management/bin/rabbitmqadmin
++++ b/deps/rabbitmq_management/bin/rabbitmqadmin
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+
+ # The contents of this file are subject to the Mozilla Public License
+ # Version 1.1 (the "License"); you may not use this file except in
+diff --git a/deps/rabbitmq_trust_store/examples/rabbitmq_trust_store_django/manage.py b/deps/rabbitmq_trust_store/examples/rabbitmq_trust_store_django/manage.py
+index 469f277..ea21f63 100755
+--- a/deps/rabbitmq_trust_store/examples/rabbitmq_trust_store_django/manage.py
++++ b/deps/rabbitmq_trust_store/examples/rabbitmq_trust_store_django/manage.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ import os
+ import sys
+
+