Skip to content

Commit 7e08ce2

Browse files
committed
Use riverbank repository for building dev builds of PyQt6.
1 parent 9fdf004 commit 7e08ce2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/tasks/pyqt.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,12 @@ namespace mob::tasks {
3737

3838
url source_url()
3939
{
40-
return "https://pypi.io/packages/source/P/PyQt6/"
41-
"PyQt6-" +
42-
pyqt::version() + ".tar.gz";
40+
const auto version = pyqt::version();
41+
std::string base = "https://pypi.io/packages/source/P/PyQt6/";
42+
if (version.find("dev") != std::string::npos) {
43+
base = "https://riverbankcomputing.com/pypi/packages/PyQt6/";
44+
}
45+
return base + "PyQt6-" + pyqt::version() + ".tar.gz";
4346
}
4447

4548
url prebuilt_url()

0 commit comments

Comments
 (0)