Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@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.13.ebuild system-config-printer-common-1.4.3.ebuild ChangeLog system-config-printer-common-1.4.1.ebuild
Date: Wed, 30 Oct 2013 18:04:38
Message-Id: 20131030180435.0786D20047@flycatcher.gentoo.org
1 pacho 13/10/30 18:04:34
2
3 Modified: ChangeLog
4 Added: system-config-printer-common-1.3.13.ebuild
5 system-config-printer-common-1.4.3.ebuild
6 Removed: system-config-printer-common-1.4.1.ebuild
7 Log:
8 Version bump, drop old.
9
10 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
11
12 Revision Changes Path
13 1.99 app-admin/system-config-printer-common/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?rev=1.99&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?rev=1.99&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?r1=1.98&r2=1.99
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v
22 retrieving revision 1.98
23 retrieving revision 1.99
24 diff -u -r1.98 -r1.99
25 --- ChangeLog 20 Oct 2013 08:27:13 -0000 1.98
26 +++ ChangeLog 30 Oct 2013 18:04:34 -0000 1.99
27 @@ -1,6 +1,17 @@
28 # ChangeLog for app-admin/system-config-printer-common
29 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.98 2013/10/20 08:27:13 pacho Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.99 2013/10/30 18:04:34 pacho Exp $
32 +
33 +*system-config-printer-common-1.4.3 (30 Oct 2013)
34 +*system-config-printer-common-1.3.13 (30 Oct 2013)
35 +
36 + 30 Oct 2013; Pacho Ramos <pacho@g.o>
37 + +files/system-config-printer-common-1.3.13-split.patch,
38 + +system-config-printer-common-1.3.13.ebuild,
39 + +system-config-printer-common-1.4.3.ebuild,
40 + -files/system-config-printer-common-1.3.9-split.patch,
41 + -system-config-printer-common-1.4.1.ebuild:
42 + Version bump, drop old.
43
44 *system-config-printer-common-1.4.2 (20 Oct 2013)
45
46
47
48
49 1.1 app-admin/system-config-printer-common/system-config-printer-common-1.3.13.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.13.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.13.ebuild?rev=1.1&content-type=text/plain
53
54 Index: system-config-printer-common-1.3.13.ebuild
55 ===================================================================
56 # Copyright 1999-2013 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.13.ebuild,v 1.1 2013/10/30 18:04:34 pacho Exp $
59
60 EAPI="5"
61 PYTHON_COMPAT=( python2_{6,7} )
62 PYTHON_REQ_USE="xml"
63
64 inherit autotools eutils python-single-r1 udev systemd
65
66 MY_P=${PN%-common}-${PV}
67
68 DESCRIPTION="Common modules of Red Hat's printer administration tool"
69 HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
70 SRC_URI="http://cyberelk.net/tim/data/${PN/-common}/${PV%.*}/${MY_P}.tar.xz"
71
72 LICENSE="GPL-2"
73 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
74 SLOT="0"
75 IUSE="doc policykit"
76 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
77
78 # Needs cups running, bug 284005
79 RESTRICT="test"
80
81 # system-config-printer split since 1.1.3
82 #
83 # Additional unhandled dependencies:
84 # net-firewall/firewalld[${PYTHON_USEDEP}]
85 # gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
86 COMMON_DEPEND="
87 ${PYTHON_DEPS}
88 >=dev-libs/glib-2
89 dev-libs/libxml2[python,${PYTHON_USEDEP}]
90 dev-python/dbus-python[${PYTHON_USEDEP}]
91 >=dev-python/pycups-1.9.60[${PYTHON_USEDEP}]
92 dev-python/pycurl[${PYTHON_USEDEP}]
93 >=dev-python/pygobject-2.21.5:2[${PYTHON_USEDEP}]
94 net-print/cups[dbus]
95 virtual/libusb:1
96 >=virtual/udev-172
97 "
98 DEPEND="${COMMON_DEPEND}
99 dev-util/intltool
100 virtual/pkgconfig
101 doc? ( dev-python/epydoc[${PYTHON_USEDEP}] )
102 "
103 RDEPEND="${COMMON_DEPEND}
104 !<app-admin/system-config-printer-gnome-${PV}
105 policykit? ( >=sys-auth/polkit-0.104-r1 )
106 "
107
108 S=${WORKDIR}/${MY_P}
109
110 pkg_setup() {
111 python-single-r1_pkg_setup
112 }
113
114 src_prepare() {
115 epatch "${FILESDIR}"/${PN}-1.3.13-split.patch
116 eautoreconf
117 }
118
119 src_configure() {
120 econf \
121 --disable-nls \
122 --with-udev-rules \
123 $(systemd_with_unitdir)
124 }
125
126 src_compile() {
127 emake
128 use doc && emake html
129 }
130
131 src_install() {
132 emake \
133 DESTDIR="${D}" \
134 udevhelperdir="$(udev_get_udevdir)" \
135 udevrulesdir="$(udev_get_udevdir)/rules.d" \
136 install
137
138 dodoc AUTHORS ChangeLog README
139 use doc && dohtml -r html/
140
141 python_fix_shebang "${ED}"
142 }
143
144
145
146 1.1 app-admin/system-config-printer-common/system-config-printer-common-1.4.3.ebuild
147
148 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.4.3.ebuild?rev=1.1&view=markup
149 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.4.3.ebuild?rev=1.1&content-type=text/plain
150
151 Index: system-config-printer-common-1.4.3.ebuild
152 ===================================================================
153 # Copyright 1999-2013 Gentoo Foundation
154 # Distributed under the terms of the GNU General Public License v2
155 # $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.4.3.ebuild,v 1.1 2013/10/30 18:04:34 pacho Exp $
156
157 EAPI="5"
158 PYTHON_COMPAT=( python2_{6,7} )
159 PYTHON_REQ_USE="xml"
160
161 inherit autotools eutils python-single-r1 systemd
162
163 MY_P=${PN%-common}-${PV}
164
165 DESCRIPTION="Common modules of Red Hat's printer administration tool"
166 HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
167 SRC_URI="http://cyberelk.net/tim/data/${PN/-common}/${PV%.*}/${MY_P}.tar.xz"
168
169 LICENSE="GPL-2"
170 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
171 SLOT="0"
172 IUSE="doc policykit"
173 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
174
175 # Needs cups running, bug 284005
176 RESTRICT="test"
177
178 # system-config-printer split since 1.1.3
179 #
180 # Additional unhandled dependencies:
181 # net-firewall/firewalld[${PYTHON_USEDEP}]
182 # gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
183 COMMON_DEPEND="
184 ${PYTHON_DEPS}
185 >=dev-libs/glib-2
186 dev-libs/libxml2[python,${PYTHON_USEDEP}]
187 dev-python/dbus-python[${PYTHON_USEDEP}]
188 >=dev-python/pycups-1.9.60[${PYTHON_USEDEP}]
189 dev-python/pycurl[${PYTHON_USEDEP}]
190 dev-python/pygobject:3[${PYTHON_USEDEP}]
191 net-print/cups[dbus]
192 virtual/libusb:1
193 >=virtual/udev-172
194 "
195 DEPEND="${COMMON_DEPEND}
196 app-arch/xz-utils
197 dev-util/intltool
198 virtual/pkgconfig
199 doc? ( dev-python/epydoc[${PYTHON_USEDEP}] )
200 "
201 RDEPEND="${COMMON_DEPEND}
202 !<app-admin/system-config-printer-gnome-${PV}
203 policykit? ( >=sys-auth/polkit-0.104-r1 )
204 "
205
206 S=${WORKDIR}/${MY_P}
207
208 pkg_setup() {
209 python-single-r1_pkg_setup
210 }
211
212 src_prepare() {
213 epatch "${FILESDIR}"/${PN}-1.4.1-split.patch
214 eautoreconf
215 }
216
217 src_configure() {
218 econf \
219 --disable-nls \
220 --with-udev-rules \
221 $(systemd_with_unitdir)
222 }
223
224 src_compile() {
225 emake
226 use doc && emake html
227 }
228
229 src_install() {
230 default
231
232 use doc && dohtml -r html/
233
234 python_fix_shebang "${ED}"
235 }