diff options
author | Michał Górny <mgorny@gentoo.org> | 2012-12-31 12:15:59 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2012-12-31 12:15:59 +0000 |
commit | 5a3f0bebbbb9515a6ba9fc2a9b9d668201549a3a (patch) | |
tree | 94cb07826a2043593bb4439d357f4054ddfee4d3 /dev-python/docutils-glep | |
parent | Remove old version of setproctitle. (diff) | |
download | gentoo-2-5a3f0bebbbb9515a6ba9fc2a9b9d668201549a3a.tar.gz gentoo-2-5a3f0bebbbb9515a6ba9fc2a9b9d668201549a3a.tar.bz2 gentoo-2-5a3f0bebbbb9515a6ba9fc2a9b9d668201549a3a.zip |
Introduce a split ebuild for GLEP support for docutils.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'dev-python/docutils-glep')
-rw-r--r-- | dev-python/docutils-glep/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/docutils-glep/docutils-glep-0.4-r1.ebuild | 46 | ||||
-rw-r--r-- | dev-python/docutils-glep/metadata.xml | 5 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/docutils-glep/ChangeLog b/dev-python/docutils-glep/ChangeLog new file mode 100644 index 000000000000..6eab419893a4 --- /dev/null +++ b/dev-python/docutils-glep/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-python/docutils-glep +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils-glep/ChangeLog,v 1.1 2012/12/31 12:15:59 mgorny Exp $ + +*docutils-glep-0.4-r1 (31 Dec 2012) + + 31 Dec 2012; Michał Górny <mgorny@gentoo.org> +docutils-glep-0.4-r1.ebuild, + +metadata.xml: + Introduce a split ebuild for GLEP support for docutils. diff --git a/dev-python/docutils-glep/docutils-glep-0.4-r1.ebuild b/dev-python/docutils-glep/docutils-glep-0.4-r1.ebuild new file mode 100644 index 000000000000..be02f1775ead --- /dev/null +++ b/dev-python/docutils-glep/docutils-glep-0.4-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils-glep/docutils-glep-0.4-r1.ebuild,v 1.1 2012/12/31 12:15:59 mgorny Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} pypy{1_8,1_9} ) + +inherit eutils python-r1 + +MY_P=${PF/docutils-/} + +DESCRIPTION="Gentoo GLEP support for docutils" +HOMEPAGE="http://www.gentoo.org/proj/en/glep/" +SRC_URI="mirror://gentoo/${MY_P}.tbz2" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=">=dev-python/docutils-0.10[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch_user + + # It's easier to move them around now. + # TODO: add python_newmodule? + mkdir {readers,transforms,writers} || die + mv {glepread,readers/glep}.py || die + mv {glepstrans,transforms/gleps}.py || die + mv glep_html writers/ || die +} + +src_install() { + inst() { + python_doscript glep.py + + python_moduleinto docutils + python_domodule readers transforms writers + } + + python_foreach_impl inst +} diff --git a/dev-python/docutils-glep/metadata.xml b/dev-python/docutils-glep/metadata.xml new file mode 100644 index 000000000000..301d2207cc29 --- /dev/null +++ b/dev-python/docutils-glep/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> |