public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/pycups: pycups-1.9.66.ebuild ChangeLog
@ 2014-02-25 18:27 Michael Palimaka (kensington)
  0 siblings, 0 replies; only message in thread
From: Michael Palimaka (kensington) @ 2014-02-25 18:27 UTC (permalink / raw
  To: gentoo-commits

kensington    14/02/25 18:27:17

  Modified:             ChangeLog
  Added:                pycups-1.9.66.ebuild
  Log:
  Version bump wrt bug #500534, adding Python 3 support.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)

Revision  Changes    Path
1.80                 dev-python/pycups/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?rev=1.80&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?rev=1.80&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/ChangeLog?r1=1.79&r2=1.80

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- ChangeLog	15 Jan 2014 13:05:02 -0000	1.79
+++ ChangeLog	25 Feb 2014 18:27:17 -0000	1.80
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/pycups
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.79 2014/01/15 13:05:02 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.80 2014/02/25 18:27:17 kensington Exp $
+
+*pycups-1.9.66 (25 Feb 2014)
+
+  25 Feb 2014; Michael Palimaka <kensington@gentoo.org> +pycups-1.9.66.ebuild:
+  Version bump wrt bug #500534, adding Python 3 support.
 
   15 Jan 2014; Agostino Sarubbo <ago@gentoo.org> pycups-1.9.63.ebuild:
   Stable for alpha, wrt bug #488760



1.1                  dev-python/pycups/pycups-1.9.66.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/pycups-1.9.66.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycups/pycups-1.9.66.ebuild?rev=1.1&content-type=text/plain

Index: pycups-1.9.66.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/pycups-1.9.66.ebuild,v 1.1 2014/02/25 18:27:17 kensington Exp $

EAPI=5

PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
inherit distutils-r1

DESCRIPTION="Python bindings for the CUPS API"
HOMEPAGE="http://cyberelk.net/tim/data/pycups/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2"

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

RDEPEND="
	net-print/cups
"
DEPEND="${RDEPEND}"

# epydoc kinda sucks and supports python2 only (it's dead too),
# and since we're dealing with a binary module we need exact version
# match. therefore, docbuilding *requires* any python2 being enabled.

DEPEND="${RDEPEND}
	doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] )
"

REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"

python_compile_all() {
	if use doc; then
		# we can't use Makefile since it relies on hardcoded paths
		epydoc -o html --html cups || die "doc build failed"
	fi
}

python_compile() {
	python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
	distutils-r1_python_compile
}

python_install_all() {
	use doc && local HTML_DOCS=( html/ )
	use examples && local EXAMPLES=( examples/ )

	distutils-r1_python_install_all
}





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

only message in thread, other threads:[~2014-02-25 18:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-25 18:27 [gentoo-commits] gentoo-x86 commit in dev-python/pycups: pycups-1.9.66.ebuild ChangeLog Michael Palimaka (kensington)

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