From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3404613835A for ; Tue, 16 Feb 2021 18:39:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20209E0855; Tue, 16 Feb 2021 18:39:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0957FE0855 for ; Tue, 16 Feb 2021 18:39:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C1EFD3412E9 for ; Tue, 16 Feb 2021 18:39:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 251C24C2 for ; Tue, 16 Feb 2021 18:39:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1613500769.1ef049d0da6f6c7b5d4b25d9ff7ba977fdb27075.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/dblatex/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/dblatex/Manifest app-text/dblatex/dblatex-0.3.12.ebuild X-VCS-Directories: app-text/dblatex/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1ef049d0da6f6c7b5d4b25d9ff7ba977fdb27075 X-VCS-Branch: master Date: Tue, 16 Feb 2021 18:39:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 58580462-bdfe-4ae5-b66e-b5b7371d6c4d X-Archives-Hash: 0010e8394ba37d00fe99901d88dc8ef1 commit: 1ef049d0da6f6c7b5d4b25d9ff7ba977fdb27075 Author: Zoltan Puskas sinustrom info> AuthorDate: Sat Feb 13 01:31:00 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Feb 16 18:39:29 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ef049d0 app-text/dblatex: Bump to 0.3.12 Closes: https://bugs.gentoo.org/766183 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Zoltan Puskas sinustrom.info> Closes: https://github.com/gentoo/gentoo/pull/19437 Signed-off-by: Sam James gentoo.org> app-text/dblatex/Manifest | 1 + app-text/dblatex/dblatex-0.3.12.ebuild | 60 ++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/app-text/dblatex/Manifest b/app-text/dblatex/Manifest index 8613f7832bc..eea683cc2f4 100644 --- a/app-text/dblatex/Manifest +++ b/app-text/dblatex/Manifest @@ -1 +1,2 @@ DIST dblatex-0.3.11py3.tar.bz2 1671505 BLAKE2B 44e89f5f8d81105a3401074ad765479c04a495962c3efb3677cec81bf3b85c67a03585e7da8bdbd103cbea84e38d2bc633bd13704a5835c98d70fed644bfc6ba SHA512 48c1445c702e9c7c3ff83c57bb8a0caf5f4b027669a70887af0a23f75f5f99fb6840c4281b8bad9402910f3850af485d432e3109e5fd93184434cc87eb712695 +DIST dblatex3-0.3.12.tar.bz2 1693272 BLAKE2B 9310ce5db3b5f92e183f2656c5b1881edaf0208ae4f78f853332c844258fa38d443921fc42c03301773b1451ce272a538c305d765acbdc6eafbdcf25ebf5d2d3 SHA512 5bfa774c8dbe362775f6bbb5e1196e5a2bb1af239778133c12ddc725406ced67f3ff422433a2a1aa02d4431e9be58ba12e918379deb81fcd5b96533d2bdf029a diff --git a/app-text/dblatex/dblatex-0.3.12.ebuild b/app-text/dblatex/dblatex-0.3.12.ebuild new file mode 100644 index 00000000000..ad230da6964 --- /dev/null +++ b/app-text/dblatex/dblatex-0.3.12.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Transform DocBook using TeX macros" +HOMEPAGE="http://dblatex.sourceforge.net/" +SRC_URI="https://downloads.sourceforge.net/project/dblatex/dblatex/${P}/${PN}3-${PV}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc64 ~sparc ~x86" +IUSE="inkscape" + +RDEPEND=" + app-text/docbook-xml-dtd:4.5 + dev-libs/kpathsea + dev-libs/libxslt + dev-libs/libxslt + dev-texlive/texlive-fontutils + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra + dev-texlive/texlive-latexrecommended + dev-texlive/texlive-mathscience + dev-texlive/texlive-pictures + dev-texlive/texlive-xetex + gnome-base/librsvg + media-gfx/imagemagick + media-gfx/transfig + inkscape? ( media-gfx/inkscape ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}3-${PV}" + +PATCHES=( + "${FILESDIR}/${PN}-0.3.11-path-logging.patch" + "${FILESDIR}/${PN}-0.3.11-setup.patch" + "${FILESDIR}/${PN}-0.3.11-encode.patch" +) + +python_prepare_all() { + # Manual page is precomressed, but we will use our own compression later. + gunzip docs/manpage/dblatex.1.gz || die + # If we dont have inkscape we need to use an alternative SVG converter + use inkscape || eapply "${FILESDIR}/${PN}-0.3.11-no-inkscape-dependency.patch" + # If we use inscape however we want to make dblatex compatible with v1.0 + use inkscape && eapply "${FILESDIR}/${PN}-0.3.11-inkscape-1.0.patch" + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + # Move package documentation to a folder name containing version number + mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die +}