sci-mathematics/kodkodi: Remove last-rited pkg
authorMichał Górny <mgorny@gentoo.org>
Sat, 14 Sep 2019 15:42:56 +0000 (17:42 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 14 Sep 2019 15:43:14 +0000 (17:43 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
profiles/package.mask
sci-mathematics/kodkodi/Manifest [deleted file]
sci-mathematics/kodkodi/kodkodi-1.5.2-r1.ebuild [deleted file]
sci-mathematics/kodkodi/metadata.xml [deleted file]

index 5839f915bbe1bc1deda19dfbfd22d3be9bcd35f1..be75868ea690a26c2c974fb403d108f24ee5ad54 100644 (file)
@@ -728,12 +728,8 @@ sys-cluster/lspbs
 # sci-mathematics/kodkod: reported to fail to build.  Last bumped
 # in 2012.  Homepage is gone, and sources are nowhere to be found.
 #
-# sci-mathematics/kodkodi: the only revdep of the above.  Last release
-# in 2012.  No reverse dependencies.
-#
 # Removal in 30 days.  Bug #685802.
 sci-mathematics/kodkod
-sci-mathematics/kodkodi
 
 # Michał Górny <mgorny@gentoo.org> (2019-09-07)
 # Unmaintained.  Not bumped since 2011.
@@ -1124,7 +1120,6 @@ sci-mathematics/isabelle
 sci-chemistry/jmol
 sci-mathematics/cvc3
 sci-mathematics/e
-sci-mathematics/kodkodi
 
 # Michał Górny <mgorny@gentoo.org> (2019-08-14)
 # No longer builds.  Homepage is gone, and its keep-alive fork is also
diff --git a/sci-mathematics/kodkodi/Manifest b/sci-mathematics/kodkodi/Manifest
deleted file mode 100644 (file)
index 49f5908..0000000
+++ /dev/null
@@ -1 +0,0 @@
-DIST kodkodi-1.5.2.tgz 2826648 BLAKE2B 1c2c83b2fd0df3bf01d8aa5a5332a4347cd64493daef28780b3cc8fa7d627bed1d05cee91afdfef88b62d262e8ba39be6d8ae719b2f6e0da40808d5ef3176c17 SHA512 117e0f1b3e3ee88efb9a9e2f02e8a7ce82a3487528ad0476acf20fafd885d3d48c051bd4a8cb6aa5cda61f24dfa74159448b83398be4119e726e757f6ff3aad4
diff --git a/sci-mathematics/kodkodi/kodkodi-1.5.2-r1.ebuild b/sci-mathematics/kodkodi/kodkodi-1.5.2-r1.ebuild
deleted file mode 100644 (file)
index 18f9e89..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 java-pkg-simple multilib
-
-DESCRIPTION="A text front-end for the Kodkod Java library"
-HOMEPAGE="http://www21.in.tum.de/~blanchet/#software"
-SRC_URI="http://www21.in.tum.de/~blanchet/${P}.tgz"
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE="isabelle examples"
-
-COMMON_DEP="dev-java/antlr:3
-       =sci-mathematics/kodkod-1.5*:="
-RDEPEND="${COMMON_DEP}
-       isabelle? (
-               sci-mathematics/isabelle:=
-       )
-       >=virtual/jre-1.6"
-DEPEND="${COMMON_DEP}
-       >=virtual/jdk-1.6
-       app-arch/unzip"
-
-S="${WORKDIR}/${P}"
-
-JAVA_GENTOO_CLASSPATH="kodkod,antlr-3"
-
-src_prepare() {
-       default
-       sed -e 's@exec "$ISABELLE_TOOL" java $KODKODI_JAVA_OPT@java@' \
-               -i "${S}/bin/kodkodi" || die "Could not patch bin/kodkodi"
-       rm -f jar/*.jar || die "Could not rm jar files"
-}
-
-src_compile() {
-       JAVA_SRC_DIR="src"
-       TARGETDIR="/usr/share/${P}"
-       KODKOD_LIBDIR="/usr/"$(get_libdir)"/kodkod"
-
-       java-pkg-simple_src_compile
-
-       pushd "${S}/target/classes" > /dev/null || die
-       jar -uf "${S}"/${PN}.jar $(find -name '*.class') || die
-       popd > /dev/null
-}
-
-src_install() {
-       java-pkg-simple_src_install
-       dodoc README HISTORY manual/${PN}.pdf LICENSES/Kodkodi
-       insinto ${TARGETDIR}
-       if use examples; then
-               doins -r examples
-       fi
-
-       if use isabelle; then
-               ISABELLE_HOME="$(isabelle getenv ISABELLE_HOME | cut -d'=' -f 2)" \
-                       || die "isabelle getenv ISABELLE_HOME failed"
-               [[ -n "${ISABELLE_HOME}" ]] || die "ISABELLE_HOME empty"
-               dodir "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc"
-               cat <<- EOF >> "${S}/settings"
-                       KODKODI="\$COMPONENT"
-                       KODKODI_VERSION="${PV}"
-                       KODKODI_PLATFORM=\$ISABELLE_PLATFORM
-                       KODKODI_CLASSPATH="$(java-config --classpath=antlr:3):${ROOT}usr/share/${PN}-${SLOT}/lib/kodkodi.jar:$(java-config --classpath=kodkod)"
-                       KODKODI_JAVA_LIBRARY_PATH="${KODKOD_LIBDIR}"
-               EOF
-               insinto "${ISABELLE_HOME}/contrib/${PN}-${PV}/etc"
-               doins "${S}/settings"
-               dodir "${ISABELLE_HOME}/contrib/${PN}-${PV}/bin"
-               exeinto "${ISABELLE_HOME}/contrib/${PN}-${PV}/bin"
-               doexe bin/kodkodi
-       fi
-}
-
-pkg_postinst() {
-       if use isabelle; then
-               if [ -f "${ROOT}etc/isabelle/components" ]; then
-                       if egrep "contrib/${PN}-[0-9.]*" "${ROOT}etc/isabelle/components"; then
-                               sed -e "/contrib\/${PN}-[0-9.]*/d" \
-                                       -i "${ROOT}etc/isabelle/components"
-                       fi
-                       cat <<- EOF >> "${ROOT}etc/isabelle/components"
-                               contrib/${PN}-${PV}
-                       EOF
-               fi
-       fi
-}
-
-pkg_postrm() {
-       if use isabelle; then
-               if [ ! -f "${ROOT}usr/bin/kodkodi" ]; then
-                       if [ -f "${ROOT}etc/isabelle/components" ]; then
-                               # Note: this sed should only match the version of this ebuild
-                               # Which is what we want as we do not want to remove the line
-                               # of a new kodkodi being installed during an upgrade.
-                               sed -e "/contrib\/${PN}-${PV}/d" \
-                                       -i "${ROOT}etc/isabelle/components"
-                       fi
-               fi
-       fi
-}
diff --git a/sci-mathematics/kodkodi/metadata.xml b/sci-mathematics/kodkodi/metadata.xml
deleted file mode 100644 (file)
index 28c187d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
-  <email>gienah@gentoo.org</email>
-  <name>Mark Wright</name>
-</maintainer>
-<maintainer type="project">
-  <email>sci-mathematics@gentoo.org</email>
-  <name>Gentoo Mathematics Project</name>
-</maintainer>
-<longdescription lang="en">
-A text front-end for the Kodkod Java library.
-</longdescription>
-<use>
-  <flag name="isabelle">Add integration support for the Isabelle/HOL
-  theorem prover.</flag>
-</use>
-</pkgmetadata>