summaryrefslogtreecommitdiff
path: root/dev-tex/crosstex
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-tex/crosstex
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-tex/crosstex')
-rw-r--r--dev-tex/crosstex/Manifest3
-rw-r--r--dev-tex/crosstex/crosstex-0.6-r2.ebuild41
-rw-r--r--dev-tex/crosstex/metadata.xml11
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-tex/crosstex/Manifest b/dev-tex/crosstex/Manifest
new file mode 100644
index 000000000000..a1f8111c7f85
--- /dev/null
+++ b/dev-tex/crosstex/Manifest
@@ -0,0 +1,3 @@
+DIST crosstex-0.6.tar.gz 2366411 BLAKE2B 75ecfbb16b67c9cf7e8bce7e62b4fbc7693b57593196987f066d5ede5c7bdfabeb600d081d9e35eaa0ead830cfa5f97810d971583d951913025cccf42e33e1c9 SHA512 88d42ddbe4b229838c0750bbaf6d099349679a66859e8c28e03888d06bbc4641dd815a37e167700f6494a53e950245af864ea260a7779c3fd50e65cd968de08c
+EBUILD crosstex-0.6-r2.ebuild 899 BLAKE2B 9c2de988b5893880bf1f029b677a0937f79d37c8ccf2d248922222351b5028d8287e78faa27dcdd582cefdfa996f25f8f5dd840b227c80ff7a7746339d97ac24 SHA512 72f437759aea7db0e88f118f8d1e57c6d136788d6fbd131b9650c63a9ef64c578c9f1c190d16ea92b2b2ce7883446cc22ed232b75038a6c8064569b5fc654514
+MISC metadata.xml 327 BLAKE2B b401e5a95533706ef9ec9d59c7601073de96e18d0faf5fa553472b559345055928dd7978a2f513bc1d92c29bfca7bdcb29c316d09f113b6e0cdc2fe95d6b768c SHA512 8426ec7478b97340f66c69fd58c187f1d3d6ac874703a09bf47620c9f57a015519d1ae4ab424a3ea10718c514feb8ad0e6d91b4516d6cf9f06d8b3278e2bb8e7
diff --git a/dev-tex/crosstex/crosstex-0.6-r2.ebuild b/dev-tex/crosstex/crosstex-0.6-r2.ebuild
new file mode 100644
index 000000000000..9e986f7cd802
--- /dev/null
+++ b/dev-tex/crosstex/crosstex-0.6-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="CrossTeX - object oriented BibTeX replacement"
+HOMEPAGE="http://www.cs.cornell.edu/people/egs/crosstex/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/ply[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ # NB: LIBDIR changed from site-packages to avoid installing .xtx
+ # files to top site-packages dir
+ emake \
+ ROOT="${D}" \
+ PREFIX="${EPREFIX}/usr" \
+ LIBDIR="/lib/crosstex" \
+ install
+
+ python_fix_shebang "${ED%/}/usr/bin"
+ python_optimize "${ED%/}/usr/lib/crosstex"
+
+ dodoc crosstex.pdf
+ if use examples; then
+ docinto examples
+ dodoc -r tests/.
+ fi
+}
diff --git a/dev-tex/crosstex/metadata.xml b/dev-tex/crosstex/metadata.xml
new file mode 100644
index 000000000000..4450cbbae5bc
--- /dev/null
+++ b/dev-tex/crosstex/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">crosstex</remote-id>
+ </upstream>
+</pkgmetadata>