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: system-config-printer-common-1.3.9.ebuild ChangeLog |
Date: | Mon, 05 Mar 2012 22:42:03 |
Message-Id: | 20120305224150.4707E2004B@flycatcher.gentoo.org |
1 | reavertm 12/03/05 22:41:50 |
2 | |
3 | Modified: ChangeLog |
4 | Added: system-config-printer-common-1.3.9.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.2.0_alpha90/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.61 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.61&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?rev=1.61&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?r1=1.60&r2=1.61 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v |
20 | retrieving revision 1.60 |
21 | retrieving revision 1.61 |
22 | diff -u -r1.60 -r1.61 |
23 | --- ChangeLog 5 Mar 2012 21:51:50 -0000 1.60 |
24 | +++ ChangeLog 5 Mar 2012 22:41:50 -0000 1.61 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for app-admin/system-config-printer-common |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.60 2012/03/05 21:51:50 ranger Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.61 2012/03/05 22:41:50 reavertm Exp $ |
30 | + |
31 | +*system-config-printer-common-1.3.9 (05 Mar 2012) |
32 | + |
33 | + 05 Mar 2012; Maciej Mrozowski <reavertm@g.o> |
34 | + +system-config-printer-common-1.3.9.ebuild: |
35 | + Version bump |
36 | |
37 | 05 Mar 2012; Brent Baude <ranger@g.o> |
38 | system-config-printer-common-1.3.7.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 app-admin/system-config-printer-common/system-config-printer-common-1.3.9.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.9.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.3.9.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: system-config-printer-common-1.3.9.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 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.3.9.ebuild,v 1.1 2012/03/05 22:41:50 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.3/${MY_P}.tar.xz" |
64 | |
65 | LICENSE="GPL-2" |
66 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~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/libxml2[python] |
77 | dev-python/dbus-python |
78 | >=dev-python/pycups-1.9.60 |
79 | >=dev-python/pygobject-2.21.5:2 |
80 | >=net-print/cups-1.4.6[dbus] |
81 | >=sys-fs/udev-164-r2 |
82 | virtual/libusb:0 |
83 | " |
84 | DEPEND="${COMMON_DEPEND} |
85 | dev-util/intltool |
86 | dev-util/pkgconfig |
87 | doc? ( dev-python/epydoc ) |
88 | " |
89 | RDEPEND="${COMMON_DEPEND} |
90 | !app-admin/system-config-printer:0 |
91 | !<app-admin/system-config-printer-gnome-${PV} |
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.3.5-split.patch" |
103 | eautoreconf |
104 | } |
105 | |
106 | src_configure() { |
107 | econf \ |
108 | --disable-nls \ |
109 | --with-udev-rules |
110 | } |
111 | |
112 | src_compile() { |
113 | emake || die "emake failed" |
114 | if use doc; then |
115 | emake html || die "emake html failed" |
116 | fi |
117 | } |
118 | |
119 | src_install() { |
120 | dodoc AUTHORS ChangeLog README || die "dodoc failed" |
121 | |
122 | if use doc; then |
123 | dohtml -r html/ || die "installing html docs failed" |
124 | fi |
125 | |
126 | emake DESTDIR="${ED}" install \ |
127 | udevrulesdir=/lib/udev/rules.d \ |
128 | udevhelperdir=/lib/udev \ |
129 | || die "emake install failed" |
130 | |
131 | python_convert_shebangs -q -r $(python_get_version) "${ED}" |
132 | } |
133 | |
134 | pkg_postinst() { |
135 | python_mod_optimize cupshelpers |
136 | } |
137 | |
138 | pkg_postrm() { |
139 | python_mod_cleanup cupshelpers /usr/share/system-config-printer |
140 | } |