1 |
commit: e2e1e9f873fbbfa1fd7cee53b330c32e0917ab66 |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 27 01:00:25 2019 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 27 01:01:10 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2e1e9f8 |
7 |
|
8 |
dev-python/qscintilla-python: add 2.11.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org> |
12 |
|
13 |
dev-python/qscintilla-python/Manifest | 1 + |
14 |
.../qscintilla-python-2.11.4.ebuild | 76 ++++++++++++++++++++++ |
15 |
2 files changed, 77 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/qscintilla-python/Manifest b/dev-python/qscintilla-python/Manifest |
18 |
index afe4c275980..a1ce86f8e01 100644 |
19 |
--- a/dev-python/qscintilla-python/Manifest |
20 |
+++ b/dev-python/qscintilla-python/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST QScintilla-2.11.3.tar.gz 3006383 BLAKE2B 6238aaff44d6136a64e8c38e38c4886357eb72aa4067f54eda1e876040c41ebce8577e244b81a062e9020c4d142439f5612ca88055d0ba87172ff5b8893938d7 SHA512 83406ef2f425c6288fcac52b01417853186ba860e33e14b236801271e034c327cbb00817cb7247e98bafc1844aeff9f24ec4878ac8ec4bd52d0d2d9778f6b884 |
23 |
+DIST QScintilla-2.11.4.tar.gz 3007719 BLAKE2B b0f88a15a3636a0056d3bdac6e5d5bb05a065461c7de7fe0d5ad1740e87ca78a47bc1fd1af90a8751b553e8e326c830088a4cb38c9ebcad6be8bf9ebdb49bad0 SHA512 90fc2427121ca9ae55e34cf636460099bbdadd844318d9ef05f86790a36e25fb64528264bb7bb99e46b7add96378eff0cc69bb692940c6a1bddfadf86a9abdbd |
24 |
DIST QScintilla_gpl-2.10.8.tar.gz 2736054 BLAKE2B 4bc7a2bc1974f8e10a96b7716a8e35d4854e9eeb8040734f99b796bddd9679ee2539f6517743689f9d7deff9ce523cdbb2f77ccd65eaadfc947dcc7a1337d918 SHA512 c0a216737dbda6bc390225196b37a43e4884c9cd67e6e81fc1b1b952683fe88dbfe7caf3c66d94a378f37502e1f08cbdf788426248e73f5f66ec65982b7652b5 |
25 |
|
26 |
diff --git a/dev-python/qscintilla-python/qscintilla-python-2.11.4.ebuild b/dev-python/qscintilla-python/qscintilla-python-2.11.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..a058f7a3eab |
29 |
--- /dev/null |
30 |
+++ b/dev-python/qscintilla-python/qscintilla-python-2.11.4.ebuild |
31 |
@@ -0,0 +1,76 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} ) |
38 |
+inherit python-r1 qmake-utils |
39 |
+ |
40 |
+DESCRIPTION="Python bindings for QScintilla" |
41 |
+HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/intro" |
42 |
+ |
43 |
+MY_PN=QScintilla |
44 |
+MY_P=${MY_PN}-${PV/_pre/.dev} |
45 |
+if [[ ${PV} == *_pre* ]]; then |
46 |
+ SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" |
47 |
+else |
48 |
+ SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${MY_PN}/${PV}/${MY_P}.tar.gz" |
49 |
+fi |
50 |
+ |
51 |
+LICENSE="GPL-3" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~ppc64 ~x86" |
54 |
+IUSE="debug" |
55 |
+ |
56 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ ${PYTHON_DEPS} |
60 |
+ >=dev-python/PyQt5-5.12[gui,printsupport,widgets,${PYTHON_USEDEP}] |
61 |
+ >=dev-python/PyQt5-sip-4.19.14:=[${PYTHON_USEDEP}] |
62 |
+ dev-qt/qtcore:5 |
63 |
+ dev-qt/qtgui:5 |
64 |
+ dev-qt/qtprintsupport:5 |
65 |
+ dev-qt/qtwidgets:5 |
66 |
+ ~x11-libs/qscintilla-${PV}:= |
67 |
+" |
68 |
+DEPEND="${RDEPEND} |
69 |
+ >=dev-python/sip-4.19.14[${PYTHON_USEDEP}] |
70 |
+" |
71 |
+ |
72 |
+S=${WORKDIR}/${MY_P}/Python |
73 |
+ |
74 |
+src_configure() { |
75 |
+ configuration() { |
76 |
+ local myconf=( |
77 |
+ "${PYTHON}" |
78 |
+ "${S}"/configure.py |
79 |
+ --pyqt=PyQt5 |
80 |
+ --qmake="$(qt5_get_bindir)"/qmake |
81 |
+ $(usex debug '--debug --trace' '') |
82 |
+ --verbose |
83 |
+ ) |
84 |
+ echo "${myconf[@]}" |
85 |
+ "${myconf[@]}" || die |
86 |
+ |
87 |
+ # Fix parallel install failure |
88 |
+ sed -i -e '/INSTALLS += distinfo/i distinfo.depends = install_subtargets install_pep484_stubs install_api' \ |
89 |
+ ${MY_PN}.pro || die |
90 |
+ |
91 |
+ # Run eqmake to respect toolchain and build flags |
92 |
+ eqmake5 -recursive ${MY_PN}.pro |
93 |
+ } |
94 |
+ python_foreach_impl run_in_build_dir configuration |
95 |
+} |
96 |
+ |
97 |
+src_compile() { |
98 |
+ python_foreach_impl run_in_build_dir default |
99 |
+} |
100 |
+ |
101 |
+src_install() { |
102 |
+ installation() { |
103 |
+ emake INSTALL_ROOT="${D}" install |
104 |
+ python_optimize |
105 |
+ } |
106 |
+ python_foreach_impl run_in_build_dir installation |
107 |
+} |