Skip to content

Commit

Permalink
dev-tex/circuit_macros: bump to 8.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Dupeyron committed Mar 1, 2016
1 parent 26c14b0 commit ec5ccbf
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-tex/circuit_macros/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DIST circuit_macros-8.3.1.tar.gz 2021702 SHA256 3ea3a258c4222b981c541924a2f006079b6240a6500a7e5a76985be1ad4eb085 SHA512 b7f5ee756169b15b80d8645501462281150a9981e7b80eec7b453829b61610b352a349e2f0086f70421ef7eb38f1ac205e3eecc318fc14ee67eb90e94414d219 WHIRLPOOL 6d2f22bac6b7f695261db6878faaeb1fa08ae5924c5d9ce15362d2c7f5f2e60c372302c581f234c21dc7b183206b46aa85e71b877a53720b3b2ca6882a996206
DIST circuit_macros-8.3.2.tar.gz 2047086 SHA256 006723c6ebc06120c90b5c4a9b77cea318172121923207575eeb5c6b1925d32d SHA512 bfc43496985b9b2a09a5adbf5c2e5dbd09109a75d3d684858746885fd571da17f4d8209bd9a3b084b155d6a36269fea2d9f750a05c262f1c0d07b969b3233204 WHIRLPOOL be295b4c8c41236632a32f6ce8990c93fab490c9977d246ac0bfcd54868bfad4a21cb9d135b4d2100405c6200f8d09ee4c0e68e920aa9a0330c20c8a95c40351
DIST circuit_macros-8.3.tar.gz 1897642 SHA256 c3b547a79204acb71cc32f59261963116afb6afd2614bb135bf1b5edf64b077c SHA512 d9407c54e5b87f5bd1cf43f92f4b65a2e59221f8a62d687918230f0ab6ffa47757436c1914e76872b7ac22b6547ab6c0efa54a0f05647ff435a4f2452a1c6029 WHIRLPOOL 7b50ed8cac220cfd1c071102ff54a1074ce2f737e7a61202b446202a613da2a9d94b19611174a9e979a8b09aa4f60246580b802efb6ba821307d8849f7306ad8
50 changes: 50 additions & 0 deletions dev-tex/circuit_macros/circuit_macros-8.3.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit texlive-common

DESCRIPTION="M4 Macros for Electric circuit diagrams in TeX or LaTeX"
HOMEPAGE="https://ece.uwaterloo.ca/~aplevich/Circuit_macros/"
SRC_URI="https://ece.uwaterloo.ca/~aplevich/Circuit_macros/Circuit_macros.tar.gz -> circuit_macros-${PV}.tar.gz"

LICENSE="LPPL-1.3c"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples +script"

DEPEND=""
RDEPEND="|| ( app-text/texlive[graphics] app-text/texlive[pstricks] )
media-gfx/dpic
sys-devel/m4
script? ( app-text/texlive[graphics]
dev-texlive/texlive-latexextra )"

S="${WORKDIR}/Circuit_macros${PV}"

src_install() {
insinto /usr/share/${PN}
doins *.m4
insinto /usr/share/texmf-site/tex/latex/${PN}
doins boxdims.sty
dodoc README CHANGES Makefile doc/CMman.pdf
rm -f doc/CMman.pdf
use doc && dodoc -r doc
use examples && dodoc -r examples
use script && dobin "${FILESDIR}/cm2pdf"
docompress -x \
/usr/share/doc/${PF}/Makefile \
/usr/share/doc/${PF}/doc \
/usr/share/doc/${PF}/examples
}

pkg_postinst() {
etexmf-update
use script && einfo "cm2pdf was installed to automatically create PDFs. Run cm2pdf --help for usage help."
}

pkg_postrm() {
etexmf-update
}

0 comments on commit ec5ccbf

Please sign in to comment.