summaryrefslogtreecommitdiff
path: root/app-eselect/eselect-pdftex
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-eselect/eselect-pdftex
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-eselect/eselect-pdftex')
-rw-r--r--app-eselect/eselect-pdftex/Manifest3
-rw-r--r--app-eselect/eselect-pdftex/eselect-pdftex-0.3.ebuild30
-rw-r--r--app-eselect/eselect-pdftex/files/pdftex.eselect-0.3147
-rw-r--r--app-eselect/eselect-pdftex/metadata.xml8
4 files changed, 0 insertions, 188 deletions
diff --git a/app-eselect/eselect-pdftex/Manifest b/app-eselect/eselect-pdftex/Manifest
deleted file mode 100644
index a24b8a7b0ee2..000000000000
--- a/app-eselect/eselect-pdftex/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-AUX pdftex.eselect-0.3 3756 BLAKE2B d63f515ddae49219141093f8bba3830b4d1daaa0d0bf176537b0a0156bf65d3868bd467e337b6bdfff7e04a54cd54d2d4204141d0b2324630fcfef5c6110a7b4 SHA512 6821ae3dda5fdc35f9d8a41e789870e38c525cfafba0079fa912048a74b873236382367e5752ef3e7115799a9bd22e2b2147a5d778e5a2b688d86e550d534b2d
-EBUILD eselect-pdftex-0.3.ebuild 752 BLAKE2B 92c346bbed05c32a07cf71221b89cb8dfe50d915ecc997a44ef4a51bc4091bb51447a5f98d162be36dfb47b6975e9db987422559b766a9361e84f402d2691ea4 SHA512 a8b7c8d0c2aa90de2b3d3ffb456a6f60985404aa518afc5604e40d292c1f7502134e84207120732e3d28b2ceee931ee5b424bda323682932708d353e7f10d930
-MISC metadata.xml 245 BLAKE2B ee3a163cfe0a4bc59c0dfb46f9ddb580e2d259b4d0e33cb4e684eb9e6d4b901bf97c6edd891f3b75a613a782f1b89318d0ee3ec9bee4e34c4441d9e8f4267678 SHA512 1653777623e2c15e1ce13229e396723b2cc9c214983e0f8592de98c01a31badc6c38c6735ed44f937d145883b43fb6f049af3eddb9ff96b18c96ccf8f67dd690
diff --git a/app-eselect/eselect-pdftex/eselect-pdftex-0.3.ebuild b/app-eselect/eselect-pdftex/eselect-pdftex-0.3.ebuild
deleted file mode 100644
index 6fed1c5bec95..000000000000
--- a/app-eselect/eselect-pdftex/eselect-pdftex-0.3.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils
-
-DESCRIPTION="pdftex module for eselect"
-HOMEPAGE="https://www.gentoo.org/proj/en/eselect/"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~ppc ~ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND=""
-# Depend on texlive-core-2008 that allows usage of this module, otherwise it
-# will not work so nicely.
-RDEPEND=">=app-admin/eselect-1.2.3
- >=app-text/texlive-core-2008"
-
-src_install() {
- local MODULEDIR="/usr/share/eselect/modules"
- local MODULE="pdftex"
- dodir ${MODULEDIR}
- insinto ${MODULEDIR}
- newins "${FILESDIR}/${MODULE}.eselect-${PVR}" ${MODULE}.eselect \
- || die "failed to install"
-}
diff --git a/app-eselect/eselect-pdftex/files/pdftex.eselect-0.3 b/app-eselect/eselect-pdftex/files/pdftex.eselect-0.3
deleted file mode 100644
index f382c8f876bf..000000000000
--- a/app-eselect/eselect-pdftex/files/pdftex.eselect-0.3
+++ /dev/null
@@ -1,147 +0,0 @@
-# -*-eselect-*- vim: ft=eselect
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-DESCRIPTION="Manage /usr/bin/pdftex implementations"
-MAINTAINER="tex@gentoo.org"
-SVN_DATE='$Date: 2015/03/31 16:53:36 $'
-VERSION=$(svn_date_to_version "${SVN_DATE}" )
-
-# find a list of pdftex symlink targets, best first
-find_targets() {
- local f
- for f in "${ROOT}"/usr/bin/pdftex-*; do
- if [[ -f ${f} ]] ; then
- echo "${f##*/pdftex-}"
- fi
- done | sort
-}
-
-# find version number of currently symlinked version
-identify_target() {
- local f
- f="$(canonicalise "${ROOT}"/usr/bin/pdftex)"
- echo "${f##*/pdftex-}"
-}
-
-# try to remove the pdftex symlink
-remove_symlinks() {
- rm -f "${ROOT}"/usr/bin/pdftex &>/dev/null
-}
-
-# set the pdftex symlink
-set_symlinks() {
- local target="${1}" targets
- if is_number "${target}" && [[ ${target} -ge 1 ]] ; then
- targets=( $(find_targets ) )
- target=${targets[$(( ${target} - 1 ))]}
- fi
- if [[ -f "${ROOT}/usr/bin/pdftex-${target}" ]] ; then
- remove_symlinks
- ln -s "pdftex-${target}" "${ROOT}/usr/bin/pdftex" || \
- die "Could not set ${target} /usr/bin/pdftex symlink"
- echo "Updating TeX formats"
- "${ROOT}"/usr/bin/fmtutil-sys --all &>/dev/null || write_warning_msg "Could not update TeX formats for some reason, pdftex may not work properly."
- else
- die -q "Target \"${target}\" doesn't appear to be valid!"
- fi
-}
-
-### show action ###
-
-describe_show() {
- echo "Show the current pdftex version"
-}
-
-do_show() {
- [[ -z "${@}" ]] || die -q "Too many parameters"
-
- write_list_start "Current pdftex verson:"
- if [[ -L "${ROOT}/usr/bin/pdftex" ]] ; then
- write_kv_list_entry "$(identify_target)" ""
- elif [[ -e "${ROOT}/usr/bin/pdftex" ]] ; then
- write_kv_list_entry "(not a symlink)" ""
- else
- write_kv_list_entry "(unset)" ""
- fi
-}
-
-### list action ###
-
-describe_list() {
- echo "List available pdftex versions"
-}
-
-do_list() {
- [[ -z "${@}" ]] || die -q "Too many parameters"
-
- local i targets current
- targets=( $(find_targets ) )
- current=$(identify_target)
- for (( i = 0; i < ${#targets[@]}; i++ )); do
- [[ ${targets[i]} = ${current} ]] \
- && targets[i]=$(highlight_marker "${targets[i]}")
- done
- write_list_start "Available pdftex versions:"
- write_numbered_list -m "(none found)" "${targets[@]}"
-}
-
-### set action ###
-
-describe_set() {
- echo "Set a new pdftex version"
-}
-
-describe_set_options() {
- echo "target : Target version number or index from 'list' action"
-}
-
-describe_set_parameters() {
- echo "<target>"
-}
-
-do_set() {
- if [[ -z "${1}" ]] ; then
- die -q "You didn't give me a version number"
-
- elif [[ -n "${2}" ]] ; then
- die -q "Too many parameters"
-
- elif [[ -L "${ROOT}/usr/bin/pdftex" ]] ; then
- if ! remove_symlinks ; then
- die -q "Can't remove existing version symlink"
- elif ! set_symlinks "${1}" ; then
- die -q "Can't set new version"
- fi
-
- elif [[ -e "${ROOT}/usr/bin/pdftex" ]] ; then
- die -q "${ROOT}/usr/bin/pdftex seems to be from an old ebuild, please remove manually"
- else
- set_symlinks "${1}" || die -q "Can't set new version"
- fi
-}
-
-### update action ###
-
-describe_update() {
- echo "Automatically update the pdftex version number"
-}
-
-describe_update_options() {
- echo "--if-unset : Do not override currently selected version"
-}
-
-do_update() {
- [[ -z "${1}" ]] || ( [[ -z "${2}" ]] && [[ "${1}" == "--if-unset" ]] ) || \
- die -q "Usage error"
-
- if [[ -L "${ROOT}/usr/bin/pdftex" ]] ; then
- [[ ${1} == "--if-unset" ]] && return
- remove_symlinks || die -q "Can't remove existing symlink"
- fi
- if [[ -e "${ROOT}/usr/bin/pdftex" ]] ; then
- die -q "${ROOT}/usr/bin/pdftex seems to be from an old ebuild, please remove manually"
- elif ! [[ -z $(find_targets ) ]] ; then
- set_symlinks 1 || die -q "Can't set a new version"
- fi
-}
diff --git a/app-eselect/eselect-pdftex/metadata.xml b/app-eselect/eselect-pdftex/metadata.xml
deleted file mode 100644
index 13170c3184d8..000000000000
--- a/app-eselect/eselect-pdftex/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?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>
-</pkgmetadata>