1 |
commit: 0dbd3d973fc4cece0b1f09281a428b1ddf41e643 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 1 00:58:52 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 1 00:58:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dbd3d97 |
7 |
|
8 |
app-portage/layman: fix live ebuild |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
app-portage/layman/layman-2.4.3.ebuild | 10 +++++++++- |
13 |
app-portage/layman/layman-9999.ebuild | 3 +-- |
14 |
2 files changed, 10 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/app-portage/layman/layman-2.4.3.ebuild b/app-portage/layman/layman-2.4.3.ebuild |
17 |
index 298dc099aaf9..8b62b7cd4223 100644 |
18 |
--- a/app-portage/layman/layman-2.4.3.ebuild |
19 |
+++ b/app-portage/layman/layman-2.4.3.ebuild |
20 |
@@ -10,7 +10,7 @@ DISTUTILS_USE_SETUPTOOLS=no |
21 |
inherit distutils-r1 linux-info prefix |
22 |
|
23 |
if [[ ${PV} == *9999 ]] ; then |
24 |
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/layman.git" |
25 |
+ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/layman.git" |
26 |
inherit git-r3 |
27 |
else |
28 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
29 |
@@ -68,6 +68,14 @@ python_test() { |
30 |
unset suite |
31 |
} |
32 |
|
33 |
+python_compile_all() { |
34 |
+ # Generate man page. only required for 9999 |
35 |
+ if [[ ${PV} == *9999 ]] ; then |
36 |
+ # override MAKEOPTS to prevent build failure |
37 |
+ emake -j1 -C doc |
38 |
+ fi |
39 |
+} |
40 |
+ |
41 |
python_install_all() { |
42 |
distutils-r1_python_install_all |
43 |
|
44 |
|
45 |
diff --git a/app-portage/layman/layman-9999.ebuild b/app-portage/layman/layman-9999.ebuild |
46 |
index 0f5addf3ecee..598324e7d35c 100644 |
47 |
--- a/app-portage/layman/layman-9999.ebuild |
48 |
+++ b/app-portage/layman/layman-9999.ebuild |
49 |
@@ -10,7 +10,7 @@ DISTUTILS_USE_SETUPTOOLS=no |
50 |
inherit distutils-r1 linux-info prefix |
51 |
|
52 |
if [[ ${PV} == *9999 ]] ; then |
53 |
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/layman.git" |
54 |
+ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/layman.git" |
55 |
inherit git-r3 |
56 |
else |
57 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
58 |
@@ -69,7 +69,6 @@ python_test() { |
59 |
} |
60 |
|
61 |
python_compile_all() { |
62 |
- default_python_compile_all |
63 |
# Generate man page. only required for 9999 |
64 |
if [[ ${PV} == *9999 ]] ; then |
65 |
# override MAKEOPTS to prevent build failure |