summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2020-07-27 22:33:32 -0400
committerAaron Bauman <bman@gentoo.org>2020-07-27 22:33:32 -0400
commitf63396228c129fdbac0b2b6bf90ca0dbe64bfb08 (patch)
tree7f870e5b96903f3fd9ebe72e4da5188f7092f94d /sci-chemistry
parentapp-misc/OpenRGB-0.3-r1: Revbump, add udev USE flag to install udev rules (diff)
downloadgentoo-f63396228c129fdbac0b2b6bf90ca0dbe64bfb08.tar.gz
gentoo-f63396228c129fdbac0b2b6bf90ca0dbe64bfb08.tar.bz2
gentoo-f63396228c129fdbac0b2b6bf90ca0dbe64bfb08.zip
*/*: Drop last-rited Py2 only pkgs
Bug: https://bugs.gentoo.org/616064 Closes: https://bugs.gentoo.org/721904 Closes: https://bugs.gentoo.org/609686 Closes: https://bugs.gentoo.org/695016 Closes: https://bugs.gentoo.org/722616 Closes: https://bugs.gentoo.org/684098 Closes: https://bugs.gentoo.org/672164 Closes: https://bugs.gentoo.org/699136 Closes: https://bugs.gentoo.org/690776 Closes: https://bugs.gentoo.org/695912 Closes: https://bugs.gentoo.org/697004 Closes: https://bugs.gentoo.org/711026 Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/bkchem/Manifest1
-rw-r--r--sci-chemistry/bkchem/bkchem-0.14.0_pre2-r2.ebuild40
-rw-r--r--sci-chemistry/bkchem/files/bkchem-0.14.0_pre2-nolauncher.patch106
-rw-r--r--sci-chemistry/bkchem/metadata.xml8
-rw-r--r--sci-chemistry/pymol-plugins-bni-tools/Manifest1
-rw-r--r--sci-chemistry/pymol-plugins-bni-tools/metadata.xml11
-rw-r--r--sci-chemistry/pymol-plugins-bni-tools/pymol-plugins-bni-tools-0.27.ebuild37
-rw-r--r--sci-chemistry/pymol-plugins-emovie/Manifest1
-rw-r--r--sci-chemistry/pymol-plugins-emovie/files/1.0.4-indent.patch22
-rw-r--r--sci-chemistry/pymol-plugins-emovie/metadata.xml8
-rw-r--r--sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild35
-rw-r--r--sci-chemistry/viewmol/Manifest1
-rw-r--r--sci-chemistry/viewmol/files/2.4.1-change-default-paths.patch68
-rw-r--r--sci-chemistry/viewmol/files/2.4.1-remove-icc-check.patch22
-rw-r--r--sci-chemistry/viewmol/metadata.xml11
-rw-r--r--sci-chemistry/viewmol/viewmol-2.4.1-r3.ebuild89
16 files changed, 0 insertions, 461 deletions
diff --git a/sci-chemistry/bkchem/Manifest b/sci-chemistry/bkchem/Manifest
deleted file mode 100644
index dd4ad7bdb9bd..000000000000
--- a/sci-chemistry/bkchem/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST bkchem-0.14.0-pre2.tar.gz 998916 BLAKE2B 07c01abb31325c3721cc478438c1b34f156bc589a186eeedd62b6ac058f8ec64b1ea86a3c25bb6ab8045e0aaa838f10c5d16b68516fdea5607795b64fb4c39bb SHA512 7fc3bbd7bfe27bc91cf69a98c347a3fb92f4ea25b45a13debd0646a6b02d7a40c5729ae1b2a9ac33c1049d6b90e38355c3cd80e06660a0a2fcc5dafb3514ef20
diff --git a/sci-chemistry/bkchem/bkchem-0.14.0_pre2-r2.ebuild b/sci-chemistry/bkchem/bkchem-0.14.0_pre2-r2.ebuild
deleted file mode 100644
index d6162080214b..000000000000
--- a/sci-chemistry/bkchem/bkchem-0.14.0_pre2-r2.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-PYTHON_REQ_USE="tk"
-
-inherit distutils-r1 eutils versionator
-
-MY_P="${PN}-$(replace_version_separator 3 -)"
-
-DESCRIPTION="Chemical drawing program"
-HOMEPAGE="http://bkchem.zirael.org/"
-SRC_URI="http://bkchem.zirael.org/download/${MY_P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-LICENSE="GPL-2"
-IUSE="cairo"
-
-DEPEND="cairo? ( dev-python/pycairo[${PYTHON_USEDEP}] )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"/${MY_P}
-
-PATCHES=(
- "${FILESDIR}"/${P}-nolauncher.patch
-)
-
-python_install() {
- distutils-r1_python_install "--strip=${ED}/_${EPYTHON}"
-}
-
-python_install_all() {
- distutils-r1_python_install_all
- python_foreach_impl python_newscript ${PN}/${PN}.py ${PN}
- make_desktop_entry bkchem BKChem "${EPREFIX}"/usr/share/${PN}/images/${PN}.png Science
-}
diff --git a/sci-chemistry/bkchem/files/bkchem-0.14.0_pre2-nolauncher.patch b/sci-chemistry/bkchem/files/bkchem-0.14.0_pre2-nolauncher.patch
deleted file mode 100644
index 202c47a9c74f..000000000000
--- a/sci-chemistry/bkchem/files/bkchem-0.14.0_pre2-nolauncher.patch
+++ /dev/null
@@ -1,106 +0,0 @@
- bkchem/bkchem.py | 24 +++++++++++++-----------
- setup.py | 23 -----------------------
- 2 files changed, 13 insertions(+), 34 deletions(-)
-
-diff --git a/bkchem/bkchem.py b/bkchem/bkchem.py
-index b336b9c..bcb68b0 100644
---- a/bkchem/bkchem.py
-+++ b/bkchem/bkchem.py
-@@ -1,3 +1,4 @@
-+#!/usr/bin/env python2
- #--------------------------------------------------------------------------
- # This file is part of BKChem - a chemical drawing program
- # Copyright (C) 2002-2009 Beda Kosata <beda@zirael.org>
-@@ -18,18 +19,19 @@
- #--------------------------------------------------------------------------
-
-
--"""this is just a starter of the application"""
-+#"""this is just a starter of the application"""
-
- ## support for loading from outside of bkchem dir
-
--import os_support, sys
-+from bkchem import os_support
-+import sys
- sys.path.insert( 1, os_support.get_module_path())
-
-
- ### now starting for real
-
--from singleton_store import Store
--import pref_manager
-+from bkchem.singleton_store import Store
-+from bkchem import pref_manager
-
- # at first preference manager
- Store.pm = pref_manager.pref_manager(
-@@ -78,13 +80,13 @@ else:
-
-
-
--import config
-+from bkchem import config
-
- if not config.debug:
- # checking of important modules availability
- # import modules
-- import import_checker
-- import messages
-+ from bkchem import import_checker
-+ from bkchem import messages
-
- # we need sets from the 2.3 version
- if not import_checker.python_version_ok:
-@@ -103,16 +105,16 @@ if not config.debug:
-
-
- #import Tkinter
--from main import BKChem
--from splash import Splash
--from singleton_store import Store
-+from bkchem.main import BKChem
-+from bkchem.splash import Splash
-+from bkchem.singleton_store import Store
-
- myapp = BKChem()
- myapp.withdraw()
-
- if __name__ == '__main__':
-
-- import messages
-+ from bkchem import messages
- enc = sys.getfilesystemencoding()
- if not enc:
- enc = sys.getdefaultencoding()
-diff --git a/setup.py b/setup.py
-index d4b2a21..2319216 100755
---- a/setup.py
-+++ b/setup.py
-@@ -91,26 +91,3 @@ if len( sys.argv) > 1 and sys.argv[1] == 'install' and '--help' not in sys.argv:
- print "file %s created" % config_name
-
-
-- # the executable
-- if not os.path.isdir( bin_dir):
-- try:
-- os.mkdir( bin_dir)
-- except:
-- print "ERROR: could not create directory %s" % bin_dir
-- sys.exit( 201)
-- exec_name = os.path.join( bin_dir, 'bkchem')
-- try:
-- file = open( exec_name, 'w')
-- except:
-- print "ERROR: couldn't open the file %s for write" % exec_name
-- sys.exit( 201)
-- file.write( "#!/bin/sh\n")
-- file.write( 'python %s "$@"\n' % strip_path( os.path.join( py_dir, "bkchem", "bkchem.py")))
-- file.close()
-- print "file %s created" % exec_name
-- try:
-- os.chmod( os.path.join( bin_dir, 'bkchem'), 5+5*8+7*8*8)
-- except:
-- print "ERROR: failed to make %s executable" % exec_name
-- sys.exit( 201)
-- print "file %s made executable" % exec_name
diff --git a/sci-chemistry/bkchem/metadata.xml b/sci-chemistry/bkchem/metadata.xml
deleted file mode 100644
index 8937bad0b175..000000000000
--- a/sci-chemistry/bkchem/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>sci-chemistry@gentoo.org</email>
- <name>Gentoo Chemistry Project</name>
- </maintainer>
-</pkgmetadata>
diff --git a/sci-chemistry/pymol-plugins-bni-tools/Manifest b/sci-chemistry/pymol-plugins-bni-tools/Manifest
deleted file mode 100644
index 808e9258c6b2..000000000000
--- a/sci-chemistry/pymol-plugins-bni-tools/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST bni-tools-027.zip 33753 BLAKE2B 3cf52b42709c0e08879b7f3174ab6e7fd6c052a2827a0ee6d102fa16f30a985d7ff766abc6dc27595973a1f6151f684e97b34da981196c411fdac178499f9a51 SHA512 9c0ef1ca5bbb3040192ab2668f354f947e93d42c91a0cfdde5d05be273e6ba9f29ec3c6ee86367f18d87316282b4e0141183b8d6259bd36d44010b7bbb7666e5
diff --git a/sci-chemistry/pymol-plugins-bni-tools/metadata.xml b/sci-chemistry/pymol-plugins-bni-tools/metadata.xml
deleted file mode 100644
index 0f732a212193..000000000000
--- a/sci-chemistry/pymol-plugins-bni-tools/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci-chemistry@gentoo.org</email>
- <name>Gentoo Chemistry Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">bni-tools</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sci-chemistry/pymol-plugins-bni-tools/pymol-plugins-bni-tools-0.27.ebuild b/sci-chemistry/pymol-plugins-bni-tools/pymol-plugins-bni-tools-0.27.ebuild
deleted file mode 100644
index 1de68c64d64f..000000000000
--- a/sci-chemistry/pymol-plugins-bni-tools/pymol-plugins-bni-tools-0.27.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-r1 versionator
-
-MY_PN="${PN#pymol-plugins-}"
-MY_P="${MY_PN}-$(delete_version_separator 1)"
-MY_P_DOT="${MY_PN}-${PV}"
-
-DESCRIPTION="Gives Pymol additional functionalities and presets to the PyMOL GUI"
-HOMEPAGE="http://bni-tools.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}/${MY_P_DOT}/${MY_P}.zip"
-
-LICENSE="CNRI"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- sci-chemistry/pymol[${PYTHON_USEDEP}]"
-DEPEND="${PYTHON_DEPS}
- app-arch/unzip"
-
-S="${WORKDIR}"
-
-src_install() {
- python_moduleinto pmg_tk/startup
- python_foreach_impl python_domodule bni-tools.py
- python_foreach_impl python_optimize
- dodoc readme.txt
- dohtml ShortCommandDescription.html
-}
diff --git a/sci-chemistry/pymol-plugins-emovie/Manifest b/sci-chemistry/pymol-plugins-emovie/Manifest
deleted file mode 100644
index d6a95f63f57c..000000000000
--- a/sci-chemistry/pymol-plugins-emovie/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST eMovie_package.zip 22840 BLAKE2B 593548d5f940432cbf71580410fba01bcf54f884d6ac1a726a0ce65a7efa4d90c283985f81b5348eadaf54f497a32e1d478ca803cb0fbdacd7bfde30b939d864 SHA512 5d4af5f8bd6e7e0f24f33d769925bd0444389b1c0fbdd14776f4073fd3e1e818c4623791bcb0cff5496729dc55e0429c48c3c16cb5fdbb91c51f9c5445c7afe4
diff --git a/sci-chemistry/pymol-plugins-emovie/files/1.0.4-indent.patch b/sci-chemistry/pymol-plugins-emovie/files/1.0.4-indent.patch
deleted file mode 100644
index a9a77e5055dd..000000000000
--- a/sci-chemistry/pymol-plugins-emovie/files/1.0.4-indent.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/eMovie.py b/eMovie.py
-index a865732..8b5b068 100644
---- a/eMovie.py
-+++ b/eMovie.py
-@@ -931,7 +931,7 @@ class Story(tkSimpleDialog.Dialog):
-
- if self.parent is not None:
- self.geometry("+%d+%d" % (parent.winfo_rootx()+50,parent.winfo_rooty()+50))
-- self.initial_focus.focus_set()
-+ self.initial_focus.focus_set()
-
- self.wait_window(self)
-
-@@ -2041,7 +2041,7 @@ class AddMorph(tkSimpleDialog.Dialog):
-
- if self.parent is not None:
- self.geometry("+%d+%d" % (parent.winfo_rootx()+50,parent.winfo_rooty()+50))
-- self.initial_focus.focus_set()
-+ self.initial_focus.focus_set()
-
- self.wait_window(self)
-
diff --git a/sci-chemistry/pymol-plugins-emovie/metadata.xml b/sci-chemistry/pymol-plugins-emovie/metadata.xml
deleted file mode 100644
index da36ecbfcd6a..000000000000
--- a/sci-chemistry/pymol-plugins-emovie/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>sci-chemistry@gentoo.org</email>
- <name>Gentoo Chemistry Project</name>
- </maintainer>
-</pkgmetadata>
diff --git a/sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild b/sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild
deleted file mode 100644
index e7b2eb7d4771..000000000000
--- a/sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit eutils python-r1
-
-DESCRIPTION="PyMOL plugin for convinient movie creation"
-SRC_URI="http://www.weizmann.ac.il/ISPC/eMovie_package.zip"
-HOMEPAGE="http://www.weizmann.ac.il/ISPC/eMovie.html"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- >sci-chemistry/pymol-0.99[${PYTHON_USEDEP}]"
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PV}-indent.patch
-}
-
-src_install() {
- python_moduleinto pmg_tk/startup
- python_foreach_impl python_domodule eMovie.py
- python_foreach_impl python_optimize
-}
diff --git a/sci-chemistry/viewmol/Manifest b/sci-chemistry/viewmol/Manifest
deleted file mode 100644
index 64ae88baf763..000000000000
--- a/sci-chemistry/viewmol/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST viewmol-2.4.1.src.tgz 2229379 BLAKE2B c7d3d9f0a0a728f13be718e2b85a645d1824d2c9efd920a05a0693dfb5904e18da20fcef8080e99f497280effdb71cb21c58d9aeadf49d2477e1c931caa49389 SHA512 42701d570d97e77b84597950a9068dfdf48faf4e551957383c8eea38f082c1ad136c17b7cbd3903673478506116d6fc08d1288842e74d6a9776526c685083584
diff --git a/sci-chemistry/viewmol/files/2.4.1-change-default-paths.patch b/sci-chemistry/viewmol/files/2.4.1-change-default-paths.patch
deleted file mode 100644
index 4b1edef7ef8b..000000000000
--- a/sci-chemistry/viewmol/files/2.4.1-change-default-paths.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-diff --git a/source/getrc.c b/source/getrc.c
-index a39b436..c130096 100644
---- a/getrc.c
-+++ b/getrc.c
-@@ -87,7 +87,7 @@ extern XtAppContext app;
-
- static char viewmolpath[MAXLENLINE];
-
--#define DEFAULTPATH "/usr/local/lib/viewmol"
-+#define DEFAULTPATH "@GENTOO_PORTAGE_EPREFIX@/usr/GENTOOLIBDIR/viewmol"
-
- int getrc(void)
- {
-diff --git a/source/install b/source/install
-index 580865b..f136af3 100755
---- a/install
-+++ b/install
-@@ -54,24 +54,27 @@ fi
- cp $dirorig/viewmol $ROOT/bin
- chmod 711 $ROOT/bin/viewmol
-
--# install other files needed in $ROOT/lib/viewmol
--if [ ! -d $ROOT/lib/viewmol/$dir ]
-+# install other files needed in $ROOT/GENTOOLIBDIR/viewmol
-+if [ ! -d $ROOT/GENTOOLIBDIR/viewmol/$dir ]
- then
-- mkdir -p $ROOT/lib/viewmol/$dir
-- chmod 755 $ROOT/lib/viewmol/$dir
-+ mkdir -p $ROOT/GENTOOLIBDIR/viewmol/$dir
-+ chmod 755 $ROOT/GENTOOLIBDIR/viewmol/$dir
- fi
- cd $dirorig
--cp tm bio readgamess readgauss readmopac readpdb $ROOT/lib/viewmol/$dir
--chmod 711 $ROOT/lib/viewmol/$dir/*
-+cp tm bio readgamess readgauss readmopac readpdb $ROOT/GENTOOLIBDIR/viewmol/$dir
-+chmod 711 $ROOT/GENTOOLIBDIR/viewmol/$dir/*
- cd ../..
--cp readdmol readdmol.awk readgulp readpqs writecar writegauss.py writemol writetm $ROOT/lib/viewmol
--chmod 755 $ROOT/lib/viewmol/*
--cp -r doc examples locale scripts tests $ROOT/lib/viewmol
--find $ROOT/lib/viewmol -type f -exec chmod a+r {} \;
--find $ROOT/lib/viewmol -type d -exec chmod a+rx {} \;
--sed 's/\/source//g' viewmolrc > $ROOT/lib/viewmol/viewmolrc
--chmod -R 644 $ROOT/lib/viewmol/viewmolrc
--if [ -d /usr/X11R6/lib/X11/app-defaults ]
-+cp readdmol readdmol.awk readgulp readpqs writecar writegauss.py writemol writetm $ROOT/GENTOOLIBDIR/viewmol
-+chmod 755 $ROOT/GENTOOLIBDIR/viewmol/*
-+mkdir -p $ROOT/usr/share/viewmol $ROOT/usr/share/doc/GENTOODOCDIR/ $ROOT/GENTOOLIBDIR/viewmol/
-+cp -r examples scripts tests $ROOT/usr/share/viewmol
-+cp -r locale $ROOT/GENTOOLIBDIR/viewmol/
-+cp -r doc/* examples scripts tests $ROOT/usr/share/doc/GENTOODOCDIR/
-+find $ROOT/GENTOOLIBDIR/viewmol -type f -exec chmod a+r {} \;
-+find $ROOT/GENTOOLIBDIR/viewmol -type d -exec chmod a+rx {} \;
-+sed 's/\/source//g' viewmolrc > $ROOT/GENTOOLIBDIR/viewmol/viewmolrc
-+chmod -R 644 $ROOT/GENTOOLIBDIR/viewmol/viewmolrc
-+if [ -d $ROOT/X11R6/GENTOOLIBDIR/X11/app-defaults ]
- then
- locale=`echo $LANG | cut -c1-2`
- if [ "$locale" = "en" ]
-@@ -82,6 +85,6 @@ then
- # The C locale is defined by default for rpm builds, overwrite it
- locale="en_US"
- fi
-- cp locale/${locale}/Viewmol /usr/X11R6/lib/X11/app-defaults
-- chmod a+r /usr/X11R6/lib/X11/app-defaults/Viewmol
-+ cp locale/${locale}/Viewmol ${ROOT}/X11R6/GENTOOLIBDIR/X11/app-defaults
-+ chmod a+r ${ROOT}/X11R6/GENTOOLIBDIR/X11/app-defaults/Viewmol
- fi
diff --git a/sci-chemistry/viewmol/files/2.4.1-remove-icc-check.patch b/sci-chemistry/viewmol/files/2.4.1-remove-icc-check.patch
deleted file mode 100644
index fd91e0a5a434..000000000000
--- a/sci-chemistry/viewmol/files/2.4.1-remove-icc-check.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/getmachine
-+++ b/getmachine
-@@ -269,19 +269,11 @@
- makedir
- cat ../.config.$os > makefile
- use_icc=`type icc 2> /dev/null`
-- if [ "$use_icc" = "" ]
-- then
- findProcessor
- echo 'COMPILER=gcc' >> makefile
- echo "OPT=-O6 -mcpu=$processor -fomit-frame-pointer -ffast-math -malign-double" >> makefile
- echo 'CFLAGS=-Wall -I/usr/X11R6/include -DLINUX -Wno-strict-aliasing' >> makefile
- echo "LDFLAGS=$LINKFORSHARED" >> makefile
-- else
-- echo 'COMPILER=icc' >> makefile
-- echo 'OPT=-O2 -ipo' >> makefile
-- echo 'CFLAGS=-I/opt/intel/compiler50/ia32/include -I/usr/X11R6/include -DLINUX' >> makefile
-- echo "LDFLAGS=$LINKFORSHARED -ipo" >> makefile
-- fi
- echo 'SCANDIR=' >> makefile
- echo 'INCLUDE=$(TIFFINCLUDE) -I$(PNGINCLUDE) -I$(PYTHONINCLUDE)' >> makefile
- echo 'LIBRARY=$(LIBTIFF) $(LIBPNG) -L$(LIBPYTHON)' >> makefile
diff --git a/sci-chemistry/viewmol/metadata.xml b/sci-chemistry/viewmol/metadata.xml
deleted file mode 100644
index 335c7edd503b..000000000000
--- a/sci-chemistry/viewmol/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci-chemistry@gentoo.org</email>
- <name>Gentoo Chemistry Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">viewmol</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sci-chemistry/viewmol/viewmol-2.4.1-r3.ebuild b/sci-chemistry/viewmol/viewmol-2.4.1-r3.ebuild
deleted file mode 100644
index a82367bac3b7..000000000000
--- a/sci-chemistry/viewmol/viewmol-2.4.1-r3.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="tk(-)"
-
-inherit prefix python-single-r1 toolchain-funcs
-
-DESCRIPTION="Open-source graphical front end for computational chemistry programs"
-HOMEPAGE="http://viewmol.sourceforge.net/"
-SRC_URI="mirror://sourceforge/viewmol/${P}.src.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- media-libs/libpng:0=
- media-libs/tiff:0
- virtual/glu
- virtual/opengl
- x11-libs/libX11
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXt
- x11-libs/motif:0
- ${PYTHON_DEPS}"
-DEPEND="${RDEPEND}
- x11-base/xorg-proto"
-
-S="${WORKDIR}/${P}/source"
-
-PATCHES=(
- "${FILESDIR}"/${PV}-remove-icc-check.patch
- "${FILESDIR}"/${PV}-change-default-paths.patch
-)
-
-src_prepare() {
- default
-
- eprefixify getrc.c
- sed "s:GENTOOLIBDIR:$(get_libdir):g" -i install getrc.c || die
- sed "s:GENTOODOCDIR:${PF}:g" -i install || die
-
- mkdir "$(uname -s)" || die
- cd "$(uname -s)" || die
-
- cat >> ".config.$(uname -s)" <<- EOF || die
- LIBTIFF = -L"${EPREFIX}/usr/$(get_libdir)"
- TIFFINCLUDE = "${EPREFIX}/usr/include"
-
- LIBPNG = -L"${EPREFIX}/usr/$(get_libdir)"
- PNGINCLUDE = "${EPREFIX}/usr/include"
-
- PYTHONVERSION = ${EPYTHON}
- PYTHONINCLUDE = $(python_get_CFLAGS)
- PYTHONLIB = $(python_get_LIBS)
-
- COMPILER = $(tc-getCC)
- CFLAGS = ${CFLAGS} -DLINUX
- LDFLAGS = ${LDFLAGS}
- SCANDIR=
- INCLUDE=\$(TIFFINCLUDE) -I\$(PNGINCLUDE) \$(PYTHONINCLUDE)
- LIBRARY=\$(LIBTIFF) \$(LIBPNG) \$(PYTHONLIB)
- LIBS=-L"${EPREFIX}/usr/$(get_libdir)" -ltiff -lpng -lz -lGLU -lGL -L"${EPREFIX}/usr/X11R6/lib" -lXm -lXmu -lXp -lXi -lXext -lXt -lX11 -lpthread -lutil -ldl -lm
- EOF
-
- cp .config.$(uname -s) makefile || die
- cat ../Makefile >> makefile || die
-}
-
-src_compile() {
- emake -C "$(uname -s)" viewmol_ tm_ bio_ readgamess_ readgauss_ readmopac_ readpdb_
- "${EPREFIX}"/bin/bash makeTranslations || die
-}
-
-src_install() {
- ./install "${ED%/}"/usr || die
-
- # fix broken layout
- mv "${ED%/}"/usr/{usr/share,} || die
- rm -rf "${ED%/}"/usr/usr || die
- mv "${ED%/}"/usr/{$(get_libdir)/${PN}/locale,share} || die
- mv "${ED%/}"/usr/{$(get_libdir),libexec} || die
-}