Gentoo Archives: gentoo-dev

From: Jodok Batlogg <batlogg@××××××××××.net>
To: gentoo-dev@g.o
Subject: [gentoo-dev] custom ebuild: AUTOCLEAN unmerges slotted version
Date: Sun, 10 Aug 2003 22:58:49
Message-Id: bh6ihs$c8p$1@sea.gmane.org
1 hi,
2
3 i'm preparing an ebuild for plone1.1 (zope based CMS). I took the existing
4 1.04-ebuild and added SLOT="1.0" and SLOT="1.1".
5
6 the ebuilds work fine, but although i specified two different slots
7 AUTOCLEAN always unmerges the lower version. I have no idea why.
8
9 i've attached the two ebuilds. is there sth. obvious i'm missing? i can't
10 find the reason.
11
12 thanks in advance
13
14 jodok
15
16 --------------------------------------------------------------------------
17 # Copyright 2003 Gentoo Technologies, Inc.
18 # Distributed under the terms of the GNU General Public Form License v2
19 # $Header: /home/cvs/gentoo/portage/net-zope/plone/plone-1.0.4-r1.ebuild,v
20 1.1 2003/08/05 19:45:48 jb Exp $
21
22 SLOT="1.0"
23
24 inherit zproduct
25 S="${WORKDIR}/CMFPlone-${PV}"
26
27 DESCRIPTION="A Zope Content Management System, based on Zope CMF."
28 HOMEPAGE="http://plone.org"
29 SRC_URI="mirror://sourceforge/plone/CMFPlone${PV}.tar.gz"
30 LICENSE="GPL-2"
31 KEYWORDS="x86 ~ppc"
32 RDEPEND="=net-zope/cmf-1.3*
33 >=net-zope/dcworkflow-1.0.4
34 >=net-zope/formulator-1.2.0
35 ${RDEPEND}"
36
37 ZPROD_LIST="CMFPlone"
38
39 src_install()
40 {
41 rm -R Formulator/
42 rm -R DCWorkflow/
43 zproduct_src_install all
44 }
45
46 # Since i18n isn't a product folder, leaving it in $ZP_DIR/$PF.
47
48 pkg_postinst()
49 {
50 zproduct_pkg_postinst
51 einfo "---> NOTE: i18n folder location: ${ZP_DIR}/${PF}"
52 }
53
54
55 --------------------------------------------------------------------------
56 # Copyright 2003 Gentoo Technologies, Inc.
57 # Distributed under the terms of the GNU General Public Form License v2
58 # $Header:
59 /home/cvs/gentoo/portage/net-zope/plone/plone-1.1_pre20030805.ebuild,v 1.2
60 2003/08/05 21:40:40 jb Exp $
61
62 SLOT="1.1"
63
64 inherit zproduct
65 S="${WORKDIR}/CMFPlone-1.1"
66
67 DESCRIPTION="A Zope Content Management System, based on Zope CMF."
68 HOMEPAGE="http://plone.org"
69 SRC_URI="http://gentoo.at/distfiles/CMFPlone${PV}.tar.gz"
70 LICENSE="GPL-2"
71 KEYWORDS="~x86 ~ppc"
72 RDEPEND="=net-zope/cmf-1.4*
73 =net-zope/dcworkflow-1.4*
74 >=net-zope/formulator-1.4.2
75 >=net-zope/cmfactionicons-0.1_pre20030805
76 >=net-zope/cmfquickinstallertool-1.2.1
77 >=net-zope/groupuserfolder-1.3.1
78 >=net-zope/externaleditor-0.7
79 >=net-zope/btreefolder2-0.5.0
80 ${RDEPEND}"
81
82 ZPROD_LIST="CMFPlone"
83
84 --------------------------------------------------------------------------
85
86 jodok batlogg
87 solution2u.net gmbh . hof 4 . a-6861 alberschwende
88 fon +43 5579 85777-65 . fax -77 . mobil +43 699 11841546
89 http://solution2u.net/ . batlogg(at)solution2u(dot)net
90
91 have a nice day
92
93
94 --
95 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] custom ebuild: AUTOCLEAN unmerges slotted version Martin Schlemmer <azarah@g.o>