summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2022-06-09 09:04:44 +0200
committerPacho Ramos <pacho@gentoo.org>2022-06-09 09:04:44 +0200
commit9d51e4910533c866deae3e23e2e71feefcd73384 (patch)
treebe466a1763629238a19b1200b0c70843ed8e8118 /sci-chemistry
parentsci-chemistry/molsketch: Needs to be rebuilt with openbabel subslot changes (diff)
downloadgentoo-9d51e4910533c866deae3e23e2e71feefcd73384.tar.gz
gentoo-9d51e4910533c866deae3e23e2e71feefcd73384.tar.bz2
gentoo-9d51e4910533c866deae3e23e2e71feefcd73384.zip
sci-chemistry/molsketch: drop 0.4.1-r1
Closes: https://bugs.gentoo.org/830529 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/molsketch/Manifest1
-rw-r--r--sci-chemistry/molsketch/files/molsketch-0.4.1-more-quotes.patch11
-rw-r--r--sci-chemistry/molsketch/molsketch-0.4.1-r1.ebuild60
3 files changed, 0 insertions, 72 deletions
diff --git a/sci-chemistry/molsketch/Manifest b/sci-chemistry/molsketch/Manifest
index adf2a2ef3279..3dd6281fb472 100644
--- a/sci-chemistry/molsketch/Manifest
+++ b/sci-chemistry/molsketch/Manifest
@@ -1,2 +1 @@
-DIST Molsketch-0.4.1-src.tar.gz 1499842 BLAKE2B 22584f012e838037f9e23c16da6c63984604002884d279b2b6012d80eb08af9ee18b4d364fa29327572854fccad34840f97413b29b487cfbeb6496a2a8003d17 SHA512 263b088c2b8d01c1f13802b18aea6f6784580fe1a806de45b0e1ecd9f29024350e01a611bdeed1891938acc733a42746203d345d3be13ebaf4c309413e86bf26
DIST Molsketch-0.7.2-src.tar.gz 1907992 BLAKE2B 6bd099d963f352e66f73741273e9dee17f2fb299aec32b053ca39aa731a27f6a73093f98a4dbde2b6a97b85015016d1136fa4ead5f564006991b83072009ee6a SHA512 5e06f177ed4e7e8457215e07b623b1d92fa111f696fd7a106b0a6e8c56cc9c7d953fc33e0c0955c19766599d41a82519db95e12c0c49d3e4d3392311af3cc034
diff --git a/sci-chemistry/molsketch/files/molsketch-0.4.1-more-quotes.patch b/sci-chemistry/molsketch/files/molsketch-0.4.1-more-quotes.patch
deleted file mode 100644
index c32b975778eb..000000000000
--- a/sci-chemistry/molsketch/files/molsketch-0.4.1-more-quotes.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/libmolsketch/src/molscene.cpp
-+++ b/libmolsketch/src/molscene.cpp
-@@ -842,7 +842,7 @@
- void MolScene::dragEnterEvent(QGraphicsSceneDragDropEvent *event)
- {
- if (!event->mimeData() || !event->mimeData()->hasFormat(mimeType())) return;
-- if (!event->proposedAction() == Qt::CopyAction) return;
-+ if ((!event->proposedAction()) == Qt::CopyAction) return;
- event->accept();
- for (genericAction* action : sceneActions())
- action->setChecked(false);
diff --git a/sci-chemistry/molsketch/molsketch-0.4.1-r1.ebuild b/sci-chemistry/molsketch/molsketch-0.4.1-r1.ebuild
deleted file mode 100644
index 5b997ba272bb..000000000000
--- a/sci-chemistry/molsketch/molsketch-0.4.1-r1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake qmake-utils xdg-utils
-
-DESCRIPTION="A drawing tool for 2D molecular structures"
-HOMEPAGE="http://molsketch.sourceforge.net/"
-SRC_URI="mirror://sourceforge/project/${PN}/Molsketch/Beryllium-7%20${PV}/${P^}-src.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-DEPEND="
- >=sci-chemistry/openbabel-2.2
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtprintsupport:5
- dev-qt/qtsvg:5
- dev-qt/qtwidgets:5
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${P^}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.3.0-_DEFAULT_SOURCE.patch
- "${FILESDIR}"/${P}-more-quotes.patch
-)
-
-src_prepare() {
- sed -e "/LIBRARY DESTINATION/ s/lib/$(get_libdir)/g" \
- -i {obabeliface,libmolsketch/src}/CMakeLists.txt || die #351246
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DOPENBABEL2_INCLUDE_DIR="${EPREFIX}"/usr/include/openbabel-2.0
- -DMSK_INSTALL_PREFIX=/usr
- -DMSK_INSTALL_DOCS="${EPREFIX}"/usr/share/doc/${PF}
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- dosym ${PN}-qt5 /usr/bin/${PN}
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
-}