diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-23 23:29:26 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-23 23:29:26 +0000 |
commit | 7a670487b6c60621f2d6bd32782ddba8c5cf213e (patch) | |
tree | 0b75b6338955f124afc335a374f025484f47b28b /dev-python/pygtkhelpers | |
parent | old (diff) | |
download | historical-7a670487b6c60621f2d6bd32782ddba8c5cf213e.tar.gz historical-7a670487b6c60621f2d6bd32782ddba8c5cf213e.tar.bz2 historical-7a670487b6c60621f2d6bd32782ddba8c5cf213e.zip |
Initial addition.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pygtkhelpers')
-rw-r--r-- | dev-python/pygtkhelpers/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pygtkhelpers/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pygtkhelpers/metadata.xml | 5 | ||||
-rw-r--r-- | dev-python/pygtkhelpers/pygtkhelpers-0.4.1.ebuild | 55 |
4 files changed, 74 insertions, 0 deletions
diff --git a/dev-python/pygtkhelpers/ChangeLog b/dev-python/pygtkhelpers/ChangeLog new file mode 100644 index 000000000000..a09eb1502efc --- /dev/null +++ b/dev-python/pygtkhelpers/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/pygtkhelpers +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkhelpers/ChangeLog,v 1.1 2010/06/23 23:29:26 arfrever Exp $ + +*pygtkhelpers-0.4.1 (23 Jun 2010) + + 23 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +pygtkhelpers-0.4.1.ebuild, +metadata.xml: + Initial addition. Ebuild written by me. + diff --git a/dev-python/pygtkhelpers/Manifest b/dev-python/pygtkhelpers/Manifest new file mode 100644 index 000000000000..4cc7fad57098 --- /dev/null +++ b/dev-python/pygtkhelpers/Manifest @@ -0,0 +1,4 @@ +DIST pygtkhelpers-0.4.1.tar.gz 89160 RMD160 faa7b15b035eee34ac6bdcdaae41392f923dbe42 SHA1 0167be8e56c48c52bf60a6ca93360614388c5093 SHA256 0105f2ca52e0cba0377f1137d1769c1d0bea941b1c24183f9aa3f8c9cbbc0791 +EBUILD pygtkhelpers-0.4.1.ebuild 1455 RMD160 5e936153feb9c0910ce2ea93f8dc4e84af2d47ab SHA1 37f4dddb87c78baec12aa1f9bb8468ee40867ec0 SHA256 28efe31e7923f998393606c6c3f99fb2bcee450c9945aafad0e3231fc35aa765 +MISC ChangeLog 417 RMD160 e1706de502318346d20a86e2f5f8e08f8f71728b SHA1 426bd5fb7eaecb24a109aa2e7b6bddb893b1e872 SHA256 43167162cd128023181cfceba64999efe01b2348bd8bfea41029c98a05ed4056 +MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a diff --git a/dev-python/pygtkhelpers/metadata.xml b/dev-python/pygtkhelpers/metadata.xml new file mode 100644 index 000000000000..301d2207cc29 --- /dev/null +++ b/dev-python/pygtkhelpers/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> +</pkgmetadata> diff --git a/dev-python/pygtkhelpers/pygtkhelpers-0.4.1.ebuild b/dev-python/pygtkhelpers/pygtkhelpers-0.4.1.ebuild new file mode 100644 index 000000000000..d12b17d80a04 --- /dev/null +++ b/dev-python/pygtkhelpers/pygtkhelpers-0.4.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkhelpers/pygtkhelpers-0.4.1.ebuild,v 1.1 2010/06/23 23:29:26 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +DESCRIPTION="PyGTKHelpers is a library to assist the building of PyGTK applications" +HOMEPAGE="http://packages.python.org/pygtkhelpers/ http://pypi.python.org/pypi/pygtkhelpers" +SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="doc examples" + +DEPEND="dev-python/setuptools + doc? ( dev-python/sphinx )" +RDEPEND="" + +src_prepare() { + distutils_src_prepare + + # docs/_static/scope.jpg does not exist. + sed -e "s/^\(html_logo =.*\)/#\1/" -i docs/conf.py || die "sed failed" +} + +src_compile() { + distutils_src_compile + + if use doc; then + einfo "Generation of documentation" + "$(PYTHON -f)" setup.py build_sphinx || die "Generation of documentation failed" + fi +} + +src_install() { + distutils_src_install + + if use doc; then + pushd build/sphinx/html > /dev/null + docinto html + cp -R [a-z]* _images _static "${ED}usr/share/doc/${PF}/html" || die "Installation of documentation failed" + popd > /dev/null + fi + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r examples/* || die "Installation of examples failed" + fi +} |