public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-admin/system-config-printer-common: ChangeLog system-config-printer-common-1.3.1.ebuild system-config-printer-common-1.3.0-r1.ebuild
@ 2011-02-17 20:37 Maciej Mrozowski (reavertm)
  0 siblings, 0 replies; only message in thread
From: Maciej Mrozowski (reavertm) @ 2011-02-17 20:37 UTC (permalink / raw
  To: gentoo-commits

reavertm    11/02/17 20:37:33

  Modified:             ChangeLog
  Added:                system-config-printer-common-1.3.1.ebuild
  Removed:              system-config-printer-common-1.3.0-r1.ebuild
  Log:
  Version bump, remove old
  
  (Portage version: 2.2.0_alpha23/cvs/Linux x86_64)

Revision  Changes    Path
1.31                 app-admin/system-config-printer-common/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?rev=1.31&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?rev=1.31&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/ChangeLog?r1=1.30&r2=1.31

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- ChangeLog	16 Feb 2011 19:57:04 -0000	1.30
+++ ChangeLog	17 Feb 2011 20:37:33 -0000	1.31
@@ -1,6 +1,13 @@
 # ChangeLog for app-admin/system-config-printer-common
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.30 2011/02/16 19:57:04 reavertm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/ChangeLog,v 1.31 2011/02/17 20:37:33 reavertm Exp $
+
+*system-config-printer-common-1.3.1 (17 Feb 2011)
+
+  17 Feb 2011; Maciej Mrozowski <reavertm@gentoo.org>
+  -system-config-printer-common-1.3.0-r1.ebuild,
+  +system-config-printer-common-1.3.1.ebuild:
+  Version bump, remove old
 
 *system-config-printer-common-1.3.0-r1 (16 Feb 2011)
 



1.1                  app-admin/system-config-printer-common/system-config-printer-common-1.3.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.1.ebuild?rev=1.1&content-type=text/plain

Index: system-config-printer-common-1.3.1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.1.ebuild,v 1.1 2011/02/17 20:37:33 reavertm Exp $

EAPI="3"

PYTHON_DEPEND="2"
WANT_AUTOMAKE="1.11"
inherit python autotools

MY_P="${PN%-common}-${PV}"

DESCRIPTION="Common modules of Red Hat's printer administration tool"
HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
SRC_URI="http://cyberelk.net/tim/data/system-config-printer/1.3/${MY_P}.tar.xz"

LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
SLOT="0"
IUSE="doc policykit"

# Needs cups running, bug 284005
RESTRICT="test"

# system-config-printer split since 1.1.3
COMMON_DEPEND="
	dev-libs/glib:2
	dev-libs/libusb
	dev-libs/libxml2[python]
	dev-python/dbus-python
	>=dev-python/pycups-1.9.53
	>=dev-python/pygobject-2.21.5
	net-print/cups[dbus]
	sys-fs/udev
"
DEPEND="${COMMON_DEPEND}
	dev-util/intltool
	doc? ( dev-python/epydoc )
"
RDEPEND="${COMMON_DEPEND}
	!app-admin/system-config-printer:0
	policykit? ( sys-auth/polkit )
"

S="${WORKDIR}/${MY_P}"

pkg_setup() {
	python_set_active_version 2
}

src_prepare() {
	epatch "${FILESDIR}/${PN}-1.3.0-split.patch"

	eautoreconf
}

src_configure() {
	econf \
		--disable-nls \
		--with-udev-rules
}

src_compile() {
	emake || die "emake failed"
	if 	use doc; then
		emake html || die "emake html failed"
	fi
}

src_install() {
	dodoc AUTHORS ChangeLog README || die "dodoc failed"

	if use doc; then
		dohtml -r html/ || die "installing html docs failed"
	fi

	emake DESTDIR="${ED}" install \
		udevrulesdir=/lib/udev/rules.d \
		udevhelperdir=/lib/udev \
		|| die "emake install failed"

	python_convert_shebangs -q -r $(python_get_version) "${ED}"
}

pkg_postinst() {
	python_mod_optimize cupshelpers
}

pkg_postrm() {
	python_mod_cleanup cupshelpers /usr/share/system-config-printer
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-17 20:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-17 20:37 [gentoo-commits] gentoo-x86 commit in app-admin/system-config-printer-common: ChangeLog system-config-printer-common-1.3.1.ebuild system-config-printer-common-1.3.0-r1.ebuild Maciej Mrozowski (reavertm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox