[gentoo-commits] repo/gentoo:master commit in: dev-tex/lgrind/
commit: ef84a98b9675b991b28fc33f9e4f5b39746cab01 Author: Aaron Bauman gentoo org> AuthorDate: Sat Nov 9 20:52:07 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Sat Nov 9 20:52:07 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef84a98b dev-tex/lgrind: bump EAPI and stuff Signed-off-by: Aaron Bauman gentoo.org> dev-tex/lgrind/lgrind-3.67-r3.ebuild | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/dev-tex/lgrind/lgrind-3.67-r3.ebuild b/dev-tex/lgrind/lgrind-3.67-r3.ebuild index 7c92be12ec1..bf0507cc896 100644 --- a/dev-tex/lgrind/lgrind-3.67-r3.ebuild +++ b/dev-tex/lgrind/lgrind-3.67-r3.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit latex-package toolchain-funcs eutils +inherit latex-package toolchain-funcs DESCRIPTION="A pretty printer for various programming languages with tex output." SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tgz; @@ -15,12 +15,12 @@ IUSE="examples" S=${WORKDIR}/${PN} -src_unpack() { - unpack ${A} - cd "${S}" - echo 'CFLAGS+=-DDEFSFILE=\"$(DEFSFILE)\" -DVERSION=\"$(VERSION)\"' > source/Makefile - echo 'lgrind: lgrind.o lgrindef.o regexp.o' >> source/Makefile - epatch "${FILESDIR}/${P}-fgets.patch" +PATCHES=( "${FILESDIR}/${P}-fgets.patch" ) + +src_prepare() { + echo 'CFLAGS+=-DDEFSFILE=\"$(DEFSFILE)\" -DVERSION=\"$(VERSION)\"' > source/Makefile || die "Fixing Makefile failed" + echo 'lgrind: lgrind.o lgrindef.o regexp.o' >> source/Makefile || die "Fixing Makefile failed" + default } src_compile() { @@ -28,7 +28,7 @@ src_compile() { latex-package_src_compile cd "${S}"/source - emake DEFSFILE="/usr/share/texmf/tex/latex/${PN}/lgrindef" VERSION="${PV}" || die + emake DEFSFILE="/usr/share/texmf/tex/latex/${PN}/lgrindef" VERSION="${PV}" } src_install() { @@ -42,10 +42,12 @@ src_install() { # and finally, the documentation dodoc FAQ README + if use examples ; then docinto examples dodoc example/* fi + cd "${S}"/source doman lgrind.1 lgrindef.5 }
[gentoo-commits] repo/gentoo:master commit in: dev-tex/lgrind/
commit: c5be99130ae6b803fee2be6fbd8f54421fb05aa5 Author: Andreas K. Hüttel gentoo org> AuthorDate: Fri Aug 23 19:49:30 2019 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Fri Aug 23 19:49:44 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5be9913 dev-tex/lgrind: fix distfile name Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Andreas K. Hüttel gentoo.org> dev-tex/lgrind/Manifest | 2 +- dev-tex/lgrind/lgrind-3.67-r3.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-tex/lgrind/Manifest b/dev-tex/lgrind/Manifest index 5b55bf3e6c2..c465a2635ef 100644 --- a/dev-tex/lgrind/Manifest +++ b/dev-tex/lgrind/Manifest @@ -1 +1 @@ -DIST lgrind.tar.gz 73205 BLAKE2B f19c5ed96251a4c9e5b8ec2cc2115a2b3581c067c26468dc80bfbeece1cb40f72964d60115221c52ab6c0067d670d6497c26eabc3743573248c77e63df24d416 SHA512 89dffec60b6cbac82e9633690412961cb619d6d86d39bea2fb6f3026e1317eb00494d7ed68865a943b1872346eaecdc1b8502de41517023a47309e1e803da2c6 +DIST lgrind-3.67.tgz 73205 BLAKE2B f19c5ed96251a4c9e5b8ec2cc2115a2b3581c067c26468dc80bfbeece1cb40f72964d60115221c52ab6c0067d670d6497c26eabc3743573248c77e63df24d416 SHA512 89dffec60b6cbac82e9633690412961cb619d6d86d39bea2fb6f3026e1317eb00494d7ed68865a943b1872346eaecdc1b8502de41517023a47309e1e803da2c6 diff --git a/dev-tex/lgrind/lgrind-3.67-r3.ebuild b/dev-tex/lgrind/lgrind-3.67-r3.ebuild index fa373590f4b..7c92be12ec1 100644 --- a/dev-tex/lgrind/lgrind-3.67-r3.ebuild +++ b/dev-tex/lgrind/lgrind-3.67-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=0 @@ -6,7 +6,7 @@ EAPI=0 inherit latex-package toolchain-funcs eutils DESCRIPTION="A pretty printer for various programming languages with tex output." -SRC_URI="mirror://gentoo/${PN}.tar.gz" +SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tgz; LICENSE="BSD LGrind-Jacobson" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: dev-tex/lgrind/
commit: 3a7fdba73e9421f626f1e277b76a54c5b4e2f3e7 Author: Jonas Stein gentoo org> AuthorDate: Wed Oct 18 19:25:24 2017 + Commit: Jonas Stein gentoo org> CommitDate: Wed Oct 18 19:26:02 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a7fdba7 dev-tex/lgrind: QA fix shortened description The description must be <=80 char. Package-Manager: Portage-2.3.11, Repoman-2.3.3 dev-tex/lgrind/lgrind-3.67-r3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-tex/lgrind/lgrind-3.67-r3.ebuild b/dev-tex/lgrind/lgrind-3.67-r3.ebuild index 6b1dfd0e374..d5d981cee31 100644 --- a/dev-tex/lgrind/lgrind-3.67-r3.ebuild +++ b/dev-tex/lgrind/lgrind-3.67-r3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit latex-package toolchain-funcs eutils -DESCRIPTION="A source pretty printer for LaTeX - styles to stylise your source and code examples" +DESCRIPTION="A pretty printer for various programming languages with tex output." SRC_URI="mirror://gentoo/${PN}.tar.gz" LICENSE="BSD LGrind-Jacobson"