Gentoo Archives: gentoo-commits

From: "Maciej Mrozowski (reavertm)" <reavertm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/system-config-printer-common: ChangeLog system-config-printer-common-1.2.4.ebuild system-config-printer-common-1.2.3.ebuild
Date: Wed, 25 Aug 2010 00:32:33
Message-Id: 20100825003226.00C7620051@flycatcher.gentoo.org
1 reavertm 10/08/25 00:32:25
2
3 Modified: ChangeLog
4 Added: system-config-printer-common-1.2.4.ebuild
5 Removed: system-config-printer-common-1.2.3.ebuild
6 Log:
7 Version bump, remove old
8
9 (Portage version: 2.2_rc68/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.23 app-admin/system-config-printer-common/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?rev=1.23&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?rev=1.23&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?r1=1.22&r2=1.23
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v
21 retrieving revision 1.22
22 retrieving revision 1.23
23 diff -u -r1.22 -r1.23
24 --- ChangeLog 31 Jul 2010 15:12:25 -0000 1.22
25 +++ ChangeLog 25 Aug 2010 00:32:25 -0000 1.23
26 @@ -1,6 +1,14 @@
27 # ChangeLog for app-admin/system-config-printer-common
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.22 2010/07/31 15:12:25 pacho Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.23 2010/08/25 00:32:25 reavertm Exp $
31 +
32 +*system-config-printer-common-1.2.4 (24 Aug 2010)
33 +
34 + 24 Aug 2010; Maciej Mrozowski <reavertm@g.o>
35 + -system-config-printer-common-1.2.3.ebuild,
36 + -files/system-config-printer-common-1.2.3-split.patch,
37 + +system-config-printer-common-1.2.4.ebuild:
38 + Version bump, remove old
39
40 31 Jul 2010; Pacho Ramos <pacho@g.o>
41 system-config-printer-common-1.2.2.ebuild:
42
43
44
45 1.1 app-admin/system-config-printer-common/system-config-printer-common-1.2.4.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.2.4.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.2.4.ebuild?rev=1.1&content-type=text/plain
49
50 Index: system-config-printer-common-1.2.4.ebuild
51 ===================================================================
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.2.4.ebuild,v 1.1 2010/08/25 00:32:25 reavertm Exp $
55
56 EAPI="3"
57
58 PYTHON_DEPEND="2"
59 WANT_AUTOMAKE="1.11"
60 inherit python autotools
61
62 MY_P="${PN%-common}-${PV}"
63
64 DESCRIPTION="Common modules of Red Hat's printer administration tool"
65 HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
66 SRC_URI="http://cyberelk.net/tim/data/system-config-printer/1.2/${MY_P}.tar.xz"
67
68 LICENSE="GPL-2"
69 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
70 SLOT="0"
71 IUSE="doc policykit"
72
73 # Needs cups running, bug 284005
74 RESTRICT="test"
75
76 # system-config-printer split since 1.1.3
77 COMMON_DEPEND="
78 dev-libs/glib:2
79 dev-libs/libusb
80 dev-libs/libxml2[python]
81 dev-python/dbus-python
82 dev-python/pycups
83 dev-python/pygobject
84 net-print/cups[dbus]
85 sys-fs/udev
86 "
87 DEPEND="${COMMON_DEPEND}
88 dev-util/intltool
89 doc? ( dev-python/epydoc )
90 "
91 RDEPEND="${COMMON_DEPEND}
92 !app-admin/system-config-printer:0
93 policykit? ( sys-auth/polkit )
94 "
95
96 S="${WORKDIR}/${MY_P}"
97
98 pkg_setup() {
99 python_set_active_version 2
100 }
101
102 src_prepare() {
103 epatch "${FILESDIR}/${PN}-1.2.2-split.patch"
104
105 eautoreconf
106 }
107
108 src_configure() {
109 econf \
110 --disable-nls \
111 --with-udev-rules
112 }
113
114 src_compile() {
115 emake || die "emake failed"
116 if use doc; then
117 emake html || die "emake html failed"
118 fi
119 }
120
121 src_install() {
122 dodoc AUTHORS ChangeLog README || die "dodoc failed"
123
124 if use doc; then
125 dohtml -r html/ || die "installing html docs failed"
126 fi
127
128 emake DESTDIR="${D}" install \
129 udevrulesdir=/lib/udev/rules.d \
130 udevhelperdir=/lib/udev \
131 || die "emake install failed"
132
133 python_convert_shebangs -q -r $(python_get_version) "${D}"
134 }
135
136 pkg_postinst() {
137 python_mod_optimize cupshelpers
138 }
139
140 pkg_postrm() {
141 python_mod_cleanup cupshelpers /usr/share/system-config-printer
142 }