Skip to content

Commit

Permalink
dev-tex/crosstex: python-single-r1, EAPI=6
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Feb 18, 2017
1 parent 6ab2a1d commit ec7673d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 51 deletions.
39 changes: 39 additions & 0 deletions dev-tex/crosstex/crosstex-0.6-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

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"

RDEPEND="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
}
51 changes: 0 additions & 51 deletions dev-tex/crosstex/crosstex-0.6.ebuild

This file was deleted.

0 comments on commit ec7673d

Please sign in to comment.