diff options
author | Maciej Mrozowski (reavertm) <reavertm@poczta.fm> | 2010-01-16 06:09:31 +0100 |
---|---|---|
committer | Maciej Mrozowski (reavertm) <reavertm@poczta.fm> | 2010-01-16 06:09:31 +0100 |
commit | ff341b966724fb114a036385b6ef58f662628619 (patch) | |
tree | f065096cc73b79eb1df50a068baab7cbc75caeb2 /dev-python | |
parent | [kde-base/kdebase-kioslaves] Added back virtual/ssh (for fish://) (diff) | |
download | kde-ff341b966724fb114a036385b6ef58f662628619.tar.gz kde-ff341b966724fb114a036385b6ef58f662628619.tar.bz2 kde-ff341b966724fb114a036385b6ef58f662628619.zip |
[dev-python/pycups] Version bump 1.9.47
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pycups/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pycups/metadata.xml | 9 | ||||
-rw-r--r-- | dev-python/pycups/pycups-1.9.47.ebuild | 51 |
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/pycups/Manifest b/dev-python/pycups/Manifest new file mode 100644 index 0000000000..71fe8465da --- /dev/null +++ b/dev-python/pycups/Manifest @@ -0,0 +1,3 @@ +DIST pycups-1.9.47.tar.bz2 45175 RMD160 1960eed95e34e95d51169774f7d65575e8cc569d SHA1 50663840cf64c6b7c6661a4b6b593f83f642dcca SHA256 1bb0cb75c1b8e0c4f0677b07546fcd0c9ec9ed04aa977ee9fc5466cbb6fe862b +EBUILD pycups-1.9.47.ebuild 952 RMD160 a35fae898d911cc699f00ad5f151d462239209ca SHA1 32c73773aed9c04ec7ee395a96230ecb624c3cb9 SHA256 c48bb0b95eeee876fc4382abaed984334380962fa82f3cd29ea5198cf236ce84 +MISC metadata.xml 254 RMD160 5b019c6857b4f16e448b37bb41a23abf95aeaff0 SHA1 6dd78589487c63dfe4d45792c3064f9c7f9de417 SHA256 291d2bc4bebfae761cbb4df4e2cc50664e6de12ec7a11f8cb07e71098e70bd6c diff --git a/dev-python/pycups/metadata.xml b/dev-python/pycups/metadata.xml new file mode 100644 index 0000000000..0a510dc09c --- /dev/null +++ b/dev-python/pycups/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kde</herd> + <maintainer> + <email>reavertm@gmail.com</email> + <name>Maciej Mrozowski</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/pycups/pycups-1.9.47.ebuild b/dev-python/pycups/pycups-1.9.47.ebuild new file mode 100644 index 0000000000..113891fd02 --- /dev/null +++ b/dev-python/pycups/pycups-1.9.47.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +NEED_PYTHON="2.4" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils flag-o-matic + +DESCRIPTION="Python bindings for the CUPS API" +HOMEPAGE="http://cyberelk.net/tim/data/pycups/" +SRC_URI="http://cyberelk.net/tim/data/pycups/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc examples" + +RDEPEND=" + net-print/cups +" +DEPEND="${RDEPEND} + doc? ( dev-python/epydoc ) +" + +RESTRICT_PYTHON_ABIS="3*" + +src_compile() { + append-cflags -DVERSION=\\\"${PV}\\\" + distutils_src_compile + + if use doc; then + emake doc || die "emake doc failed" + fi +} + +src_install() { + distutils_src_install + + if use doc; then + dohtml -r html/ || die "installing html docs failed" + fi + + if use examples; then + insinto /usr/share/doc/"${P}" + doins -r examples/ || die "installing examples failed" + fi + +} |