Add dev-tex/problempack package.
authorW. Trevor King <wking@drexel.edu>
Mon, 2 Apr 2012 20:01:18 +0000 (16:01 -0400)
committerW. Trevor King <wking@drexel.edu>
Mon, 2 Apr 2012 20:01:18 +0000 (16:01 -0400)
dev-tex/problempack/ChangeLog [new file with mode: 0644]
dev-tex/problempack/Manifest [new file with mode: 0644]
dev-tex/problempack/metadata.xml [new file with mode: 0644]
dev-tex/problempack/problempack-9999.ebuild [new file with mode: 0644]

diff --git a/dev-tex/problempack/ChangeLog b/dev-tex/problempack/ChangeLog
new file mode 100644 (file)
index 0000000..db252e5
--- /dev/null
@@ -0,0 +1,14 @@
+# ChangeLog for dev-tex/problempack
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+*problempack-9999 (02 Apr 2012)
+  02 Apr 2012; W. Trevor King <wking@drexel.edu> ChangeLog, metadata.xml, problempack-9999.ebuild :
+  - Created ebuild suite for problempack.
+  - Added initial ChangeLog which should be updated whenever the
+  package is updated in any way. This changelog is targetted to
+  users. This means that the comments should well explained and
+  written in clean English. The details about writing correct
+  changelogs are explained in the skel.ChangeLog file which you can
+  find in the root directory of the portage repository.
diff --git a/dev-tex/problempack/Manifest b/dev-tex/problempack/Manifest
new file mode 100644 (file)
index 0000000..b67893a
--- /dev/null
@@ -0,0 +1,3 @@
+EBUILD problempack-9999.ebuild 787 RMD160 50e08a00ba7c25459d19e17d9ae84370ebb70210 SHA1 1a24b29e13dac9f92290690899d01b01fc1b014a SHA256 e646e9f1bed7d7f6f69d5c6a4681910fbb4962c8049e6d65f96e2513de5e319e
+MISC ChangeLog 710 RMD160 bdeaed1b985c1d056b5a4434e8dd0324e4a03dd6 SHA1 2aa058b3366d773a3384bd8cef4ebf59a577dfdd SHA256 fa13f51f7f52a6ec980c24df0cbbf01140059a0935e5745b44804473c585275f
+MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72
diff --git a/dev-tex/problempack/metadata.xml b/dev-tex/problempack/metadata.xml
new file mode 100644 (file)
index 0000000..d124928
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd></herd>
+       <maintainer>
+               <email>wking@drexel.edu</email>
+               <name>W. Trevor King</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-tex/problempack/problempack-9999.ebuild b/dev-tex/problempack/problempack-9999.ebuild
new file mode 100644 (file)
index 0000000..2661ccd
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit latex-package
+
+if [[ ${PV} == "9999" ]] ; then
+       inherit git-2
+       EGIT_BRANCH="master"
+       EGIT_REPO_URI="git://tremily.us/${PN}.git"
+       SRC_URI=""
+else
+       SRC_URI="http://git.tremily.us/?p=${PN}.git;a=snapshot;h=v${PV};sf=tgz"
+fi
+
+DESCRIPTION="LaTeX package for formatting problems and solutions."
+HOMEPAGE="http://blog.tremily.us/posts/problempack/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="dev-texlive/texlive-latex"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+       if [[ ${PV} == "9999" ]] ; then
+               git-2_src_unpack
+       else
+               unpack ${A}
+       fi
+       cd "${S}"
+}
+
+src_install() {
+       latex-package_src_install
+       if use doc ; then
+               dodoc test/*
+       fi
+}