Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/mico/
Date: Sun, 25 Jul 2021 01:29:22
Message-Id: 1627176442.547ee6961b773fc74f8f353dd06b65e81608a0a1.sam@gentoo
1 commit: 547ee6961b773fc74f8f353dd06b65e81608a0a1
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 25 01:27:22 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 25 01:27:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=547ee696
7
8 net-misc/mico: drop obsolete references to darcs.eclass
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-misc/mico/mico-2.3.13-r13.ebuild | 35 +++++++++++------------------------
13 net-misc/mico/mico-2.3.13-r14.ebuild | 35 +++++++++++------------------------
14 2 files changed, 22 insertions(+), 48 deletions(-)
15
16 diff --git a/net-misc/mico/mico-2.3.13-r13.ebuild b/net-misc/mico/mico-2.3.13-r13.ebuild
17 index 52c03727f64..324ead110f2 100644
18 --- a/net-misc/mico/mico-2.3.13-r13.ebuild
19 +++ b/net-misc/mico/mico-2.3.13-r13.ebuild
20 @@ -5,24 +5,17 @@ EAPI="7"
21
22 inherit flag-o-matic toolchain-funcs autotools
23
24 -if [[ ${PV} == 9999 ]]; then
25 - EDARCS_REPOSITORY="http://www.mico.org/mico-darcs-repository"
26 - inherit darcs
27 - SRC_URI=""
28 - PATCHES="${WORKDIR}/${P}-gentoo.patch"
29 -else
30 - SRC_URI="
31 - http://www.mico.org/${P}.tar.gz
32 - https://github.com/ssi-schaefer/mico/compare/${PV}-raw...${PV}-gentoo-${PR}.patch -> ${P}-gentoo-${PR}.patch
33 - "
34 - PATCHES="${DISTDIR}/${P}-gentoo-${PR}.patch"
35 - KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-winnt"
36 -fi
37 -
38 DESCRIPTION="A freely available and fully compliant implementation of the CORBA standard"
39 HOMEPAGE="http://www.mico.org/"
40 +SRC_URI="
41 + http://www.mico.org/${P}.tar.gz
42 + https://github.com/ssi-schaefer/mico/compare/${PV}-raw...${PV}-gentoo-${PR}.patch -> ${P}-gentoo-${PR}.patch
43 +"
44 +S="${WORKDIR}"/${PN}
45 +
46 LICENSE="GPL-2 LGPL-2"
47 SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-winnt"
49 IUSE="gtk postgres ssl tcl threads X"
50 RESTRICT="test" #298101
51
52 @@ -42,15 +35,9 @@ BDEPEND="
53 >=sys-devel/bison-1.22
54 "
55
56 -if [[ ${PV} == 9999 ]]; then
57 - src_unpack() {
58 - wget -O ${P}-gentoo.patch "https://github.com/ssi-schaefer/mico/compare/gentoo.patch" || die
59 - darcs_src_unpack
60 - default
61 - }
62 -else
63 - S=${WORKDIR}/${PN}
64 -fi
65 +PATCHES=(
66 + "${DISTDIR}"/${P}-gentoo-${PR}.patch
67 +)
68
69 src_prepare() {
70 default
71 @@ -132,7 +119,7 @@ src_install() {
72 mv "${ED}"/usr/doc "${ED}"/usr/share/doc/${PF} || die
73
74 dodoc BUGS CHANGES* CONVERT README* ROADMAP TODO VERSION WTODO
75 - [[ ${PV} == 9999 ]] || dodoc FAQ
76 + dodoc FAQ
77 }
78
79 pkg_postinst() {
80
81 diff --git a/net-misc/mico/mico-2.3.13-r14.ebuild b/net-misc/mico/mico-2.3.13-r14.ebuild
82 index 52c03727f64..324ead110f2 100644
83 --- a/net-misc/mico/mico-2.3.13-r14.ebuild
84 +++ b/net-misc/mico/mico-2.3.13-r14.ebuild
85 @@ -5,24 +5,17 @@ EAPI="7"
86
87 inherit flag-o-matic toolchain-funcs autotools
88
89 -if [[ ${PV} == 9999 ]]; then
90 - EDARCS_REPOSITORY="http://www.mico.org/mico-darcs-repository"
91 - inherit darcs
92 - SRC_URI=""
93 - PATCHES="${WORKDIR}/${P}-gentoo.patch"
94 -else
95 - SRC_URI="
96 - http://www.mico.org/${P}.tar.gz
97 - https://github.com/ssi-schaefer/mico/compare/${PV}-raw...${PV}-gentoo-${PR}.patch -> ${P}-gentoo-${PR}.patch
98 - "
99 - PATCHES="${DISTDIR}/${P}-gentoo-${PR}.patch"
100 - KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-winnt"
101 -fi
102 -
103 DESCRIPTION="A freely available and fully compliant implementation of the CORBA standard"
104 HOMEPAGE="http://www.mico.org/"
105 +SRC_URI="
106 + http://www.mico.org/${P}.tar.gz
107 + https://github.com/ssi-schaefer/mico/compare/${PV}-raw...${PV}-gentoo-${PR}.patch -> ${P}-gentoo-${PR}.patch
108 +"
109 +S="${WORKDIR}"/${PN}
110 +
111 LICENSE="GPL-2 LGPL-2"
112 SLOT="0"
113 +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-winnt"
114 IUSE="gtk postgres ssl tcl threads X"
115 RESTRICT="test" #298101
116
117 @@ -42,15 +35,9 @@ BDEPEND="
118 >=sys-devel/bison-1.22
119 "
120
121 -if [[ ${PV} == 9999 ]]; then
122 - src_unpack() {
123 - wget -O ${P}-gentoo.patch "https://github.com/ssi-schaefer/mico/compare/gentoo.patch" || die
124 - darcs_src_unpack
125 - default
126 - }
127 -else
128 - S=${WORKDIR}/${PN}
129 -fi
130 +PATCHES=(
131 + "${DISTDIR}"/${P}-gentoo-${PR}.patch
132 +)
133
134 src_prepare() {
135 default
136 @@ -132,7 +119,7 @@ src_install() {
137 mv "${ED}"/usr/doc "${ED}"/usr/share/doc/${PF} || die
138
139 dodoc BUGS CHANGES* CONVERT README* ROADMAP TODO VERSION WTODO
140 - [[ ${PV} == 9999 ]] || dodoc FAQ
141 + dodoc FAQ
142 }
143
144 pkg_postinst() {