pyside_aur / pyside-tools / py3build.patch

diff --git a/pyrcc/main.cpp b/pyrcc/main.cpp
index d9cecca..11aadeb 100644
--- a/pyrcc/main.cpp
+++ b/pyrcc/main.cpp
@@ -37,7 +37,7 @@
 // Some static globals
 static QString initName;
 static bool verbose = false;
-static int py_version = 2;
+static int py_version = 3; // arsooy_: by default this binary will create output for Python 3
 static int compressLevel = CONSTANT_COMPRESSLEVEL_DEFAULT;
 static int compressThreshold = CONSTANT_COMPRESSTHRESHOLD_DEFAULT;
 static QString resourceRoot;
@@ -97,8 +97,8 @@ int showHelp(const char *argv0, const QString &error)
     fprintf(stderr, "Usage: %s  [options] <inputs>\n\n"
             "Options:\n"
             "    -o file           Write output to file rather than stdout\n"
-            "    -py2              Generate code for any Python v2.x version (default)\n"
-            "    -py3              Generate code for any Python v3.x version\n"
+            "    -py2              Generate code for any Python v2.x version\n"
+            "    -py3              Generate code for any Python v3.x version (default)\n"
             "    -name name        Create an external initialization function with name\n"
             "    -threshold level  Threshold to consider compressing files\n"
             "    -compress level   Compress input files by level\n"
diff --git a/pyrcc/pyside-rcc.1 b/pyrcc/pyside-rcc.1
index da65823..7f630ee 100644
--- a/pyrcc/pyside-rcc.1
+++ b/pyrcc/pyside-rcc.1
@@ -11,10 +11,10 @@ pyside\-rcc  [options] <inputs>
 Write output to file rather than stdout
 .TP
 \fB\-py2\fR
-Generate code for any Python v2.x version (default)
+Generate code for any Python v2.x version
 .TP
 \fB\-py3\fR
-Generate code for any Python v3.x version
+Generate code for any Python v3.x version (default)
 .TP
 \fB\-name\fR name
 Create an external initialization function with name
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.