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