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