diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-16 17:26:43 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-16 17:26:43 +0100 |
commit | 71636704ffe28a56a34dfc8a218432df5d1faf15 (patch) | |
tree | 7664f0cb0b651a75444ece71c45d4631b43a98fd | |
parent | pa-sink-ctl-2 stable for x86 and amd64 (diff) | |
download | benf-71636704ffe28a56a34dfc8a218432df5d1faf15.tar.gz benf-71636704ffe28a56a34dfc8a218432df5d1faf15.tar.bz2 benf-71636704ffe28a56a34dfc8a218432df5d1faf15.zip |
Add dblatex 0.3.4 ebuild
-rw-r--r-- | app-text/dblatex/Manifest | 11 | ||||
-rw-r--r-- | app-text/dblatex/dblatex-0.3.4.ebuild | 50 | ||||
-rw-r--r-- | app-text/dblatex/files/dblatex-0.3.4-install_layout.patch | 15 |
3 files changed, 72 insertions, 4 deletions
diff --git a/app-text/dblatex/Manifest b/app-text/dblatex/Manifest index 798d653..60eca50 100644 --- a/app-text/dblatex/Manifest +++ b/app-text/dblatex/Manifest @@ -1,4 +1,7 @@ -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 +AUX dblatex-0.3.4-install_layout.patch 502 SHA256 53ad2207b9f1181f16e7fe8bae919d5a74f4d22ba15945c61322a0fda06472f0 SHA512 e8ad310d83425f18f1711452a2c23d7159807a323faf3fc698c554548fac5dd1d1ac634ab13d7a7cd0f87fc4258ec0b833370424ec687df9cef290a802b41174 WHIRLPOOL 15fd2d116272adecb271533111a40469274005c3f9b72b05c95ed42cf739c95e62d8504509ee0836df9fc855ac9a6e2c311b648c478251a3159caff45776c6b7 +DIST dblatex-0.3.2.tar.bz2 1237256 SHA256 ebdcb07e1fc18e8c0af6b9ead58fe637485a4e8b2067440de02b7b2a3653e249 SHA512 af27694b9f2e5e549f1260721c7eeb92cf0a0f8d8a2555cc314fee76af1e9ce29ec4867031790bae1980937bab4cb9879fc8f267a971da25829ed6f7d67e977b WHIRLPOOL 0aaa8e93eeaf0e44c08e11bdbe6ea48ea9770c03cd97ebcd604647c9b3e257971cfb19a147469f15d59e79acb5b3c42be6e322d1d1f0631434916a0536f47d3d +DIST dblatex-0.3.4.tar.bz2 1468806 SHA256 2009c8de332edca9edc75b42cd623834f2bb45e512b6975f98a0e3032a1f1c88 SHA512 3ca7752739d94d3276017330d415515b195101ea5a2035286eac19b8f6eac2bedee3ff639b0a88626655d22cc29e705677f074a8b61688d24d0843f4b5156f86 WHIRLPOOL 158fae6a9f060cbfd0dc3fb614d8e0ba8a11b422220af981239bc60602bc9d4b7c54b180965ee16289a546c657749276e466d1832207f5290cdf4b535c31764c +DIST dblatex-0.3.tar.bz2 1129409 SHA256 e1b69a4503918bda50179be331849c5b00e1927c071e53d8ae709c2791d271c7 +EBUILD dblatex-0.3.2.ebuild 1067 SHA256 fcc0e03f369f50f1d9867f254d300f3d639471277ac0688e4d7702fad7a72486 SHA512 343bf3836e82411e34db3a690016fd22ca72618207e3d124e1eb473020249973446089b06ad5c405427a5280a20212c480e08f4be65e9989ff3939890303df44 WHIRLPOOL 52c484b2965efb13a6e456c5efb9439e2f2111f8c2bbe89869f89af4d33fe3649c8aa1969232b3e2b5d21e3f5f3eebc392080f6edcec52830329bb16a54ea465 +EBUILD dblatex-0.3.4.ebuild 1193 SHA256 580f3be8bb9a5e5bdf674bc33b93081c181e16862ee4aa7ae47ba7952653911e SHA512 83c3d0557b620fe95803ab5c594d17035bdcc4b90613e05efc876cf8c6bb96af2888daff98ab7b9bd2fada6585b225dbb1ff82f05dfafddb5dba16e49d577feb WHIRLPOOL 444ae8294155fd17b4ce004e6142886b34b4b79a29b44be39616a6b97c68fe81837ba44cbe819d298056f6a3da850945dd42ab7d38a1b3ac1e0b96a6b8fbcea0 +EBUILD dblatex-0.3.ebuild 1067 SHA256 3ede00a6c9ca18feab3115cda176f8417d40f34bddd96824a138f13edb740bff SHA512 38dffb1638e637a1c54792a6a62781b8f5c63520e28ad3a51891e5ecfb9b8ff80eed8976cb4059073f9ca97894dfd52a360fd4dac918eca2a05f1040ff8ea27c WHIRLPOOL 95aef9822708137cebca77637d9bfcb9ff9af1cc40f8473fbeff8d5021abc569677e0120d3adaff7e800ea7eef38e4fd2be5ecf00c2404c3e035b23d340b7bc5 diff --git a/app-text/dblatex/dblatex-0.3.4.ebuild b/app-text/dblatex/dblatex-0.3.4.ebuild new file mode 100644 index 0000000..218a417 --- /dev/null +++ b/app-text/dblatex/dblatex-0.3.4.ebuild @@ -0,0 +1,50 @@ +# 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 eutils + +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-latexrecommended + dev-texlive/texlive-mathextra + dev-texlive/texlive-pictures + dev-texlive/texlive-xetex + dev-libs/libxslt + app-text/docbook-xml-dtd + gnome-base/librsvg" +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 + + epatch "${FILESDIR}/dblatex-0.3.4-install_layout.patch" + + distutils_src_prepare +} + +src_install() { + distutils_src_install + dobin "${S}"/scripts/dblatex || die "dobin failed" + + mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die "mv doc" +} + diff --git a/app-text/dblatex/files/dblatex-0.3.4-install_layout.patch b/app-text/dblatex/files/dblatex-0.3.4-install_layout.patch new file mode 100644 index 0000000..171bd34 --- /dev/null +++ b/app-text/dblatex/files/dblatex-0.3.4-install_layout.patch @@ -0,0 +1,15 @@ +diff -urN dblatex-0.3.4.orig/setup.py dblatex-0.3.4/setup.py +--- dblatex-0.3.4.orig/setup.py 2012-06-03 02:43:42.000000000 +0300 ++++ dblatex-0.3.4/setup.py 2012-12-08 21:29:45.276764482 +0200 +@@ -365,10 +365,7 @@ + raise OSError("not found: %s" % ", ".join(mis_stys)) + + def run(self): +- if self.install_layout == "deb": +- db = DebianInstaller(self) +- else: +- db = None ++ db = None + + if not(db) and not(self.nodeps): + try: |