diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-08-01 12:47:43 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-08-01 12:47:43 +0000 |
commit | 9cf8f5de3a4a9704d5104b573337ff2d19faca83 (patch) | |
tree | 737a110a7168d2c58bd7933ec76072d7b125f0fb /dev-python/pycups | |
parent | Move the shared library to / for hid2hci binary from net-wireless/bluez wrt #... (diff) | |
download | gentoo-2-9cf8f5de3a4a9704d5104b573337ff2d19faca83.tar.gz gentoo-2-9cf8f5de3a4a9704d5104b573337ff2d19faca83.tar.bz2 gentoo-2-9cf8f5de3a4a9704d5104b573337ff2d19faca83.zip |
Version bump. Convert to distutils-r1. Bug #474692.
(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
Diffstat (limited to 'dev-python/pycups')
-rw-r--r-- | dev-python/pycups/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/pycups/pycups-1.9.63.ebuild | 45 |
2 files changed, 52 insertions, 2 deletions
diff --git a/dev-python/pycups/ChangeLog b/dev-python/pycups/ChangeLog index d833b9054281..a480fcd24c5c 100644 --- a/dev-python/pycups/ChangeLog +++ b/dev-python/pycups/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pycups -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.66 2012/12/20 16:47:42 kensington Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/ChangeLog,v 1.67 2013/08/01 12:47:43 mgorny Exp $ + +*pycups-1.9.63 (01 Aug 2013) + + 01 Aug 2013; Michał Górny <mgorny@gentoo.org> +pycups-1.9.63.ebuild: + Version bump. Convert to distutils-r1. Bug #474692. 20 Dec 2012; Michael Palimaka <kensington@gentoo.org> -pycups-1.9.61.ebuild: Remove old. diff --git a/dev-python/pycups/pycups-1.9.63.ebuild b/dev-python/pycups/pycups-1.9.63.ebuild new file mode 100644 index 000000000000..337a0fcaed67 --- /dev/null +++ b/dev-python/pycups/pycups-1.9.63.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/pycups-1.9.63.ebuild,v 1.1 2013/08/01 12:47:43 mgorny Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_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 +" + +# 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_install_all() { + use doc && local HTML_DOCS=( html/ ) + use examples && local EXAMPLES=( examples/ ) + + distutils-r1_python_install_all +} |