Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
86
Issues
86
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
33
Merge Requests
33
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chakra
Packages
core
Commits
388b8b59
Commit
388b8b59
authored
Feb 27, 2019
by
Jeff Huang
🤔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip-ci] python-pyqt5: fix build
parent
d442b364
Pipeline
#2774
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
python-pyqt5/PKGBUILD
python-pyqt5/PKGBUILD
+5
-5
No files found.
python-pyqt5/PKGBUILD
View file @
388b8b59
pkgbase
=
pyqt5
pkgname
=(
'python-pyqt5-common'
'python3-pyqt5'
'python2-pyqt5'
)
pkgver
=
5.12
pkgrel
=
1
pkgrel
=
2
arch
=(
'x86_64'
)
url
=
"https://riverbankcomputing.com/software/pyqt/intro"
license
=(
'GPL'
)
...
...
@@ -43,7 +43,6 @@ build() {
python3 configure.py
\
--confirm-license
\
--no-sip-files
\
--no-dist-info
\
--qsci-api
\
-q
/usr/bin/qmake-qt5
...
...
@@ -54,7 +53,6 @@ build() {
python2 configure.py
\
--confirm-license
\
--no-sip-files
\
--no-dist-info
\
--qsci-api
\
-q
/usr/bin/qmake-qt5
...
...
@@ -95,13 +93,14 @@ package_python3-pyqt5(){
msg
"Packaging python3-pyqt5"
# INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR
make
DESTDIR
=
"
$pkgdir
"
INSTALL_ROOT
=
"
$pkgdir
"
install
make
DESTDIR
=
"
$pkgdir
"
INSTALL_ROOT
=
"
$pkgdir
"
install
-j1
# Remove unused py2 version of uic modules:
rm
-r
"
$pkgdir
"
/usr/lib/python
*
/site-packages/PyQt5/uic/port_v2
# compile Python bytecode
python3
-m
compileall
-d
/
"
$pkgdir
"
/usr/lib
python3
-O
-m
compileall
-d
/
"
$pkgdir
"
/usr/lib
# Provided by pyqt-common
rm
"
$pkgdir
"
/usr/share/qt5/qsci/api/python/PyQt5.api
...
...
@@ -128,13 +127,14 @@ package_python2-pyqt5(){
cd
PyQt5_gpl-
$pkgver
-py2
msg
"Packaging pyqt5-python2"
# INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR
make
DESTDIR
=
"
$pkgdir
"
INSTALL_ROOT
=
"
$pkgdir
"
install
make
DESTDIR
=
"
$pkgdir
"
INSTALL_ROOT
=
"
$pkgdir
"
install
-j1
# Remove unused py3 version of uic modules:
rm
-r
"
$pkgdir
"
/usr/lib/python
*
/site-packages/PyQt5/uic/port_v3
# compile Python bytecode
python2
-m
compileall
-d
/
"
$pkgdir
"
/usr/lib
python2
-O
-m
compileall
-d
/
"
$pkgdir
"
/usr/lib
# Fix conflicts with python3-pyqt5
mv
"
$pkgdir
"
/usr/bin/
{
,python2-
}
pyuic5
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment