diff options
author | 2012-05-18 15:13:29 +0200 | |
---|---|---|
committer | 2012-05-18 15:13:29 +0200 | |
commit | 5dc3856e1a678963b22db24aad4fb2bf1f81c736 (patch) | |
tree | 085850fbc6ec68e5d6a7acec28547c6286c38576 | |
parent | dblatex: Make it usable for a2x pdf-output (diff) | |
download | benf-5dc3856e1a678963b22db24aad4fb2bf1f81c736.tar.gz benf-5dc3856e1a678963b22db24aad4fb2bf1f81c736.tar.bz2 benf-5dc3856e1a678963b22db24aad4fb2bf1f81c736.zip |
Add dblatex-0.3.2 ebuild
-rw-r--r-- | app-text/dblatex/Manifest | 2 | ||||
-rw-r--r-- | app-text/dblatex/dblatex-0.3.2.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/app-text/dblatex/Manifest b/app-text/dblatex/Manifest index c113f1e..798d653 100644 --- a/app-text/dblatex/Manifest +++ b/app-text/dblatex/Manifest @@ -1,2 +1,4 @@ +DIST dblatex-0.3.2.tar.bz2 1237256 RMD160 464b85f26a16faa5d2e9b63ce0d1a43abc80db8a SHA1 e75a4d1c39f0881e3e38ac82e5bffefe09974280 SHA256 ebdcb07e1fc18e8c0af6b9ead58fe637485a4e8b2067440de02b7b2a3653e249 DIST dblatex-0.3.tar.bz2 1129409 RMD160 987090d2282b8ff802f6e806f788d9fdc42187e2 SHA1 60a853354de23a44c2f32bca812909e3a5dd76ba SHA256 e1b69a4503918bda50179be331849c5b00e1927c071e53d8ae709c2791d271c7 +EBUILD dblatex-0.3.2.ebuild 1067 RMD160 a227e2d29947ac2a798babb7c1097eea2e108f56 SHA1 78dfc0ea3b2382780e301ecac46e979321125106 SHA256 fcc0e03f369f50f1d9867f254d300f3d639471277ac0688e4d7702fad7a72486 EBUILD dblatex-0.3.ebuild 1067 RMD160 6184c1f4868ae0000e99cf98040856f9b357bcdd SHA1 0a7ebf9bc61f08f6f1306d30ddddde6d4f245ae3 SHA256 3ede00a6c9ca18feab3115cda176f8417d40f34bddd96824a138f13edb740bff diff --git a/app-text/dblatex/dblatex-0.3.2.ebuild b/app-text/dblatex/dblatex-0.3.2.ebuild new file mode 100644 index 0000000..bf91dd5 --- /dev/null +++ b/app-text/dblatex/dblatex-0.3.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" +PYTHON_DEPEND="*" +SUPPORT_PYTHON_ABIS="1" +# Not tested with Python 3. +RESTRICT_PYTHON_ABIS="3.*" +PYTHON_MODNAME="dbtexmf" + +inherit distutils + +DESCRIPTION="Transform DocBook using TeX macros" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +HOMEPAGE="http://dblatex.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~x86" +IUSE="" + +DEPEND="app-text/texlive + dev-texlive/texlive-latexextra + dev-texlive/texlive-mathextra + dev-texlive/texlive-xetex + dev-libs/libxslt + gnome-base/librsvg + app-text/docbook-xml-dtd + dev-texlive/texlive-pictures" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:base=package_base:base='/usr/share/dblatex/':" scripts/dblatex + sed -i -e 's/"inkscape.*" % /"rsvg-convert -f %s -o %s %s" % /' \ + lib/dbtexmf/core/imagedata.py + + distutils_src_prepare +} + +src_compile() { + distutils_src_compile +} + +src_install() { + distutils_src_install + newbin "${S}"/scripts/dblatex dblatex || die "newbin failed" +} + |