commit:     81de968292b35dacf25c7eb03986e9b97f79675c
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 14:11:53 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 14:25:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81de9682

sci-mathematics/relational: treeclean

Closes: https://bugs.gentoo.org/846281
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 profiles/package.mask                              |  1 -
 sci-mathematics/relational/Manifest                |  1 -
 .../files/relational-2.5-no-qtwebkit.patch         | 67 ----------------------
 sci-mathematics/relational/metadata.xml            | 11 ----
 .../relational/relational-2.5-r2.ebuild            | 44 --------------
 5 files changed, 124 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 3889d176cfbd..0436b00d8f83 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -635,7 +635,6 @@ media-tv/tvnamer
 net-analyzer/carl
 net-im/skype-dbus-mock
 sci-libs/bmrblib
-sci-mathematics/relational
 
 # Jonas Stein <[email protected]> (2022-11-13)
 # Dead upstream

diff --git a/sci-mathematics/relational/Manifest 
b/sci-mathematics/relational/Manifest
deleted file mode 100644
index 569113c9d012..000000000000
--- a/sci-mathematics/relational/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST relational_2.5.orig.tar.gz 118776 BLAKE2B 
bec1a8c1a3c7973b9200f9a61e65aa144998558a9798e1e869d970ba15d2f7970be8dad865cfa779f05ee535638011851534a3be0c354d216eb35f38f135cb4d
 SHA512 
588e35a57cf915e544d62749b76ed81927ac06fd88271f0d4d88ee5f221928c2c24e2a88165aae63c1b9b120ddaa20e15e21fe9c207eac3150b744274ae45a8a

diff --git a/sci-mathematics/relational/files/relational-2.5-no-qtwebkit.patch 
b/sci-mathematics/relational/files/relational-2.5-no-qtwebkit.patch
deleted file mode 100644
index 092b4a58e37e..000000000000
--- a/sci-mathematics/relational/files/relational-2.5-no-qtwebkit.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From bcdf81cdcd7fe531e11cb1db55e63468b7d73d47 Mon Sep 17 00:00:00 2001
-From: Salvo 'LtWorf' Tomaselli <[email protected]>
-Date: Sat, 26 Aug 2017 17:51:04 +0200
-Subject: [PATCH] Remove embedded browser with website
-
----
- relational_gui/about.py | 32 --------------------------------
- 1 file changed, 32 deletions(-)
-
-diff --git a/relational_gui/about.py b/relational_gui/about.py
-index 4c03c99..55abfc9 100644
---- a/relational_gui/about.py
-+++ b/relational_gui/about.py
-@@ -18,12 +18,6 @@
- 
- from PyQt5 import QtCore, QtGui, QtWidgets
- 
--try:  # If QtWebKit is available, uses it
--    from PyQt5 import QtWebKitWidgets
--    webk = True
--except:
--    webk = False
--
- version = 0
- 
- 
-@@ -85,31 +79,7 @@ def setupUi(self, Dialog):
-         self.tab_2.setObjectName("tab_2")
-         self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.tab_2)
-         self.verticalLayout_7.setObjectName("verticalLayout_7")
--        if (webk):
--            self.webView = QtWebKitWidgets.QWebView(self.tab_2)
--            self.webView.setUrl(
--                
QtCore.QUrl("http://ltworf.github.io/relational/allowed_expressions.html";))
--            self.webView.setObjectName("webView")
--            self.verticalLayout_7.addWidget(self.webView)
--        else:
--            self.webLink = QtWidgets.QLabel(self.groupBox)
--            self.webLink.setFont(font)
--            self.webLink.setObjectName("lblLink")
--            self.webLink.setText(QtWidgets.QApplication.translate(
--                "Dialog", "<a 
href=\"http://ltworf.github.io/relational/\";>Relational's website</a>", None,))
--            self.webLink.setOpenExternalLinks(True)
--            self.webLink.setTextFormat(QtCore.Qt.AutoText)
--            self.webLink.setTextInteractionFlags(
--                QtCore.Qt.LinksAccessibleByKeyboard |
--                QtCore.Qt.LinksAccessibleByMouse |
--                QtCore.Qt.TextBrowserInteraction |
--                QtCore.Qt.TextSelectableByKeyboard |
--                QtCore.Qt.TextSelectableByMouse
--            )
--
--            self.verticalLayout_7.addWidget(self.webLink)
- 
--        self.tabWidget.addTab(self.tab_2, "")
-         self.verticalLayout_2.addWidget(self.tabWidget)
-         self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
-         self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
-@@ -294,8 +264,6 @@ def retranslateUi(self, Dialog):
-                                                                "<p style=\" 
margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; 
-qt-block-indent:0; text-indent:0px;\">The GNU General Public License does not 
permit incorporating your program into proprietary programs. If your program is 
a subroutine library, you may consider it more useful to permit linking 
proprietary applications with the library. If this is what you want to do, use 
the GNU Lesser General Public License instead of this License. But first, 
please read &lt;http://www.gnu.org/philosophy/why-not-lgpl.html&gt;. 
</p></body></html>", None))
-         self.tabWidget.setTabText(self.tabWidget.indexOf(self.License), 
QtWidgets.QApplication.translate(
-             "Dialog", "License", None))
--        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), 
QtWidgets.QApplication.translate(
--            "Dialog", "Docs", None))
- 
- 
- if __name__ == "__main__":

diff --git a/sci-mathematics/relational/metadata.xml 
b/sci-mathematics/relational/metadata.xml
deleted file mode 100644
index c55a483e7c97..000000000000
--- a/sci-mathematics/relational/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Gentoo Qt Project</name>
-       </maintainer>
-       <upstream>
-               <remote-id type="github">ltworf/relational</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/sci-mathematics/relational/relational-2.5-r2.ebuild 
b/sci-mathematics/relational/relational-2.5-r2.ebuild
deleted file mode 100644
index 41251c5f5f99..000000000000
--- a/sci-mathematics/relational/relational-2.5-r2.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9} )
-
-inherit python-single-r1
-
-DESCRIPTION="Educational tool for relational algebra"
-HOMEPAGE="https://ltworf.github.io/relational/";
-SRC_URI="https://github.com/ltworf/${PN}/releases/download/${PV}/${PN}_${PV}.orig.tar.gz";
-S="${WORKDIR}/${PN}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}
-       $(python_gen_cond_dep '
-               dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
-       ')
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${P}-no-qtwebkit.patch" )
-
-src_prepare() {
-       default
-
-       sed -i -e '/^Terminal=/ s/0/false/' \
-               -e '/^Keywords=/ s/$/;/' \
-               relational.desktop || die
-}
-
-src_install() {
-       emake -j1 DESTDIR="${ED}" 
install-{relational-cli,python3-relational,relational}
-       python_optimize
-
-       dodoc CHANGELOG complexity CREDITS README.md
-}

Reply via email to