summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-07-25 02:27:22 +0100
committerSam James <sam@gentoo.org>2021-07-25 02:27:22 +0100
commit547ee6961b773fc74f8f353dd06b65e81608a0a1 (patch)
tree6b6e766e6b825f1ad3155f6723564267baec453e /net-misc/mico
parentprofiles/arch/sparc: drop obsolete USE mask (diff)
downloadgentoo-547ee6961b773fc74f8f353dd06b65e81608a0a1.tar.gz
gentoo-547ee6961b773fc74f8f353dd06b65e81608a0a1.tar.bz2
gentoo-547ee6961b773fc74f8f353dd06b65e81608a0a1.zip
net-misc/mico: drop obsolete references to darcs.eclass
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/mico')
-rw-r--r--net-misc/mico/mico-2.3.13-r13.ebuild35
-rw-r--r--net-misc/mico/mico-2.3.13-r14.ebuild35
2 files changed, 22 insertions, 48 deletions
diff --git a/net-misc/mico/mico-2.3.13-r13.ebuild b/net-misc/mico/mico-2.3.13-r13.ebuild
index 52c03727f64a..324ead110f2b 100644
--- a/net-misc/mico/mico-2.3.13-r13.ebuild
+++ b/net-misc/mico/mico-2.3.13-r13.ebuild
@@ -5,24 +5,17 @@ EAPI="7"
inherit flag-o-matic toolchain-funcs autotools
-if [[ ${PV} == 9999 ]]; then
- EDARCS_REPOSITORY="http://www.mico.org/mico-darcs-repository"
- inherit darcs
- SRC_URI=""
- PATCHES="${WORKDIR}/${P}-gentoo.patch"
-else
- SRC_URI="
- http://www.mico.org/${P}.tar.gz
- https://github.com/ssi-schaefer/mico/compare/${PV}-raw...${PV}-gentoo-${PR}.patch -> ${P}-gentoo-${PR}.patch
- "
- PATCHES="${DISTDIR}/${P}-gentoo-${PR}.patch"
- KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-winnt"
-fi
-
DESCRIPTION="A freely available and fully compliant implementation of the CORBA standard"
HOMEPAGE="http://www.mico.org/"
+SRC_URI="
+ http://www.mico.org/${P}.tar.gz
+ https://github.com/ssi-schaefer/mico/compare/${PV}-raw...${PV}-gentoo-${PR}.patch -> ${P}-gentoo-${PR}.patch
+"
+S="${WORKDIR}"/${PN}
+
LICENSE="GPL-2 LGPL-2"
SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-winnt"
IUSE="gtk postgres ssl tcl threads X"
RESTRICT="test" #298101
@@ -42,15 +35,9 @@ BDEPEND="
>=sys-devel/bison-1.22
"
-if [[ ${PV} == 9999 ]]; then
- src_unpack() {
- wget -O ${P}-gentoo.patch "https://github.com/ssi-schaefer/mico/compare/gentoo.patch" || die
- darcs_src_unpack
- default
- }
-else
- S=${WORKDIR}/${PN}
-fi
+PATCHES=(
+ "${DISTDIR}"/${P}-gentoo-${PR}.patch
+)
src_prepare() {
default
@@ -132,7 +119,7 @@ src_install() {
mv "${ED}"/usr/doc "${ED}"/usr/share/doc/${PF} || die
dodoc BUGS CHANGES* CONVERT README* ROADMAP TODO VERSION WTODO
- [[ ${PV} == 9999 ]] || dodoc FAQ
+ dodoc FAQ
}
pkg_postinst() {
diff --git a/net-misc/mico/mico-2.3.13-r14.ebuild b/net-misc/mico/mico-2.3.13-r14.ebuild
index 52c03727f64a..324ead110f2b 100644
--- a/net-misc/mico/mico-2.3.13-r14.ebuild
+++ b/net-misc/mico/mico-2.3.13-r14.ebuild
@@ -5,24 +5,17 @@ EAPI="7"
inherit flag-o-matic toolchain-funcs autotools
-if [[ ${PV} == 9999 ]]; then
- EDARCS_REPOSITORY="http://www.mico.org/mico-darcs-repository"
- inherit darcs
- SRC_URI=""
- PATCHES="${WORKDIR}/${P}-gentoo.patch"
-else
- SRC_URI="
- http://www.mico.org/${P}.tar.gz
- https://github.com/ssi-schaefer/mico/compare/${PV}-raw...${PV}-gentoo-${PR}.patch -> ${P}-gentoo-${PR}.patch
- "
- PATCHES="${DISTDIR}/${P}-gentoo-${PR}.patch"
- KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-winnt"
-fi
-
DESCRIPTION="A freely available and fully compliant implementation of the CORBA standard"
HOMEPAGE="http://www.mico.org/"
+SRC_URI="
+ http://www.mico.org/${P}.tar.gz
+ https://github.com/ssi-schaefer/mico/compare/${PV}-raw...${PV}-gentoo-${PR}.patch -> ${P}-gentoo-${PR}.patch
+"
+S="${WORKDIR}"/${PN}
+
LICENSE="GPL-2 LGPL-2"
SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-winnt"
IUSE="gtk postgres ssl tcl threads X"
RESTRICT="test" #298101
@@ -42,15 +35,9 @@ BDEPEND="
>=sys-devel/bison-1.22
"
-if [[ ${PV} == 9999 ]]; then
- src_unpack() {
- wget -O ${P}-gentoo.patch "https://github.com/ssi-schaefer/mico/compare/gentoo.patch" || die
- darcs_src_unpack
- default
- }
-else
- S=${WORKDIR}/${PN}
-fi
+PATCHES=(
+ "${DISTDIR}"/${P}-gentoo-${PR}.patch
+)
src_prepare() {
default
@@ -132,7 +119,7 @@ src_install() {
mv "${ED}"/usr/doc "${ED}"/usr/share/doc/${PF} || die
dodoc BUGS CHANGES* CONVERT README* ROADMAP TODO VERSION WTODO
- [[ ${PV} == 9999 ]] || dodoc FAQ
+ dodoc FAQ
}
pkg_postinst() {