commit: 62625ca33c86939528d51e276a2a8ff569fb09b1 Author: Harald Weiner <timeraider <AT> gmx <DOT> at> AuthorDate: Mon Sep 18 00:26:20 2017 +0000 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> CommitDate: Sun Dec 17 04:23:08 2017 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=62625ca3
Tree-clean: I do no longer maintain these ebuilds. Closes: https://github.com/gentoo/sci/pull/812 Package-Manager: Portage-2.3.6, Repoman-2.3.1 dev-python/busfactor/busfactor-0.2.ebuild | 34 ------ dev-python/busfactor/files/0.2/main.py | 7 -- dev-python/busfactor/files/0.2/setup.py.patch | 23 ---- dev-python/busfactor/metadata.xml | 15 --- dev-python/gitana/files/0.2/case_study.py.patch | 10 -- dev-python/gitana/files/0.2/db2json_gui.py.patch | 67 ----------- dev-python/gitana/files/0.2/git2db.py.patch | 28 ----- dev-python/gitana/files/0.2/git2db_gui.py.patch | 124 --------------------- dev-python/gitana/files/0.2/gitana.py.patch | 22 ---- dev-python/gitana/files/0.2/gitana_gui.py.patch | 53 --------- .../gitana/files/0.2/gitquerier_gitpython.py.patch | 39 ------- dev-python/gitana/files/0.2/init.py | 1 - dev-python/gitana/files/0.2/init_dbschema.py.patch | 20 ---- dev-python/gitana/files/0.2/setup.py | 39 ------- dev-python/gitana/files/0.2/updatedb.py.patch | 29 ----- dev-python/gitana/files/0.2/updatedb_gui.py.patch | 64 ----------- dev-python/gitana/gitana-0.2.ebuild | 76 ------------- dev-python/gitana/metadata.xml | 15 --- .../emscripten-fastcomp-1.37.9.ebuild | 54 --------- .../files/1.37.9/CMakeLists.txt.patch | 10 -- .../files/1.37.9/Version.cpp.patch | 14 --- dev-util/emscripten-fastcomp/metadata.xml | 11 -- dev-util/emscripten/emscripten-1.37.9.ebuild | 73 ------------ dev-util/emscripten/files/1.37.9/emcc.patch | 16 --- dev-util/emscripten/files/1.37.9/emcmake.patch | 16 --- dev-util/emscripten/files/99emscripten | 1 - dev-util/emscripten/files/emscripten.config | 56 ---------- dev-util/emscripten/files/hello_world.cpp | 5 - dev-util/emscripten/metadata.xml | 11 -- sci-libs/dtk/dtk-2017.03.21.ebuild | 39 ------- sci-libs/dtk/metadata.xml | 15 --- .../axel-vtkview/axel-vtkview-2017.03.21.ebuild | 40 ------- .../files/2017.03.21/CMakeLists.txt.patch | 21 ---- .../2017.03.21/axlVtkView-CMakeLists.txt.patch | 10 -- sci-mathematics/axel-vtkview/metadata.xml | 12 -- sci-mathematics/axel/axel-2017.03.21.ebuild | 61 ---------- .../files/2017.03.21/AxelConfig.cmake.in.patch | 13 --- .../axel/files/2017.03.21/CMakeLists.txt.patch | 49 -------- .../files/2017.03.21/install-AxelConfig.cmake.in | 67 ----------- .../2017.03.21/install-axel-config.h.in.patch | 12 -- .../axel/files/2017.03.21/main.cpp.patch | 23 ---- sci-mathematics/axel/metadata.xml | 12 -- .../files/2017.03.21/gsAxel-CMakeLists.txt.patch | 42 ------- sci-mathematics/gismo/gismo-2017.03.21.ebuild | 47 -------- sci-mathematics/gismo/metadata.xml | 13 --- 45 files changed, 1409 deletions(-) diff --git a/dev-python/busfactor/busfactor-0.2.ebuild b/dev-python/busfactor/busfactor-0.2.ebuild deleted file mode 100644 index 17c263dfa..000000000 --- a/dev-python/busfactor/busfactor-0.2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="tk" - -inherit distutils-r1 eutils - -DESCRIPTION="A bus factor analyzer for Git repositories" -HOMEPAGE="https://github.com/SOM-Research/busfactor" -SRC_URI="https://timeraider4u.github.io/distfiles/files/${P}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -IUSE="" - -KEYWORDS="~amd64 ~x86" - -DEPEND="" -RDEPEND="${DEPEND} - ~dev-python/gitana-${PV}[${PYTHON_USEDEP}]" - -PATCHES=( - "${FILESDIR}/${PV}/setup.py.patch" -) - -src_prepare() { - cp "${FILESDIR}/${PV}/main.py" "${S}/main.py" \ - || die "Could not copy '${FILESDIR}/${PV}/main.py' to '${S}/main.py'" - # patches are applied by distutils-r1.eclass - distutils-r1_python_prepare_all -} diff --git a/dev-python/busfactor/files/0.2/main.py b/dev-python/busfactor/files/0.2/main.py deleted file mode 100644 index b4e863df2..000000000 --- a/dev-python/busfactor/files/0.2/main.py +++ /dev/null @@ -1,7 +0,0 @@ -import bus_factor_gui - -def main(): - bus_factor_gui.main("") - -if __name__ == "__main__": - main() diff --git a/dev-python/busfactor/files/0.2/setup.py.patch b/dev-python/busfactor/files/0.2/setup.py.patch deleted file mode 100644 index 5a846ffad..000000000 --- a/dev-python/busfactor/files/0.2/setup.py.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/setup.py 2017-02-23 13:31:01.608732993 +0100 -+++ b/setup.py 2017-02-23 13:33:44.290607540 +0100 -@@ -10,7 +10,8 @@ - https://github.com/pypa/sampleproject - """ - --from distutils.core import setup -+"""from distutils.core import setup""" -+from setuptools import setup - - setup(name='busfactor', - version='0.2', -@@ -26,4 +27,10 @@ - 'data/*.json', 'js/*.js', 'js/bootstrap/*.js', - 'js/vendor/*.js', '*.png', 'index.html', - 'LICENSE']}, -+ entry_points = { -+ "console_scripts": [ -+ "busfactor_gui = busfactor.main:main", -+ ] -+ }, -+ - ) diff --git a/dev-python/busfactor/metadata.xml b/dev-python/busfactor/metadata.xml deleted file mode 100644 index ddd09607c..000000000 --- a/dev-python/busfactor/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>harald.wei...@jku.at</email> - <name>Harald Weiner</name> - </maintainer> - <maintainer type="project"> - <email>s...@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">SOM-Research/busfactor</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/gitana/files/0.2/case_study.py.patch b/dev-python/gitana/files/0.2/case_study.py.patch deleted file mode 100644 index 338e42bf1..000000000 --- a/dev-python/gitana/files/0.2/case_study.py.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff --git a/case_study.py b/case_study.py -index 6ec3a5a..fdc2711 100644 ---- a/case_study.py -+++ b/case_study.py -@@ -18,4 +18,4 @@ for repo in repos: - g = Gitana(schema) - g.init_dbschema(schema) - g.git2db(schema, repo[2]) -- print schema + " done!" -+ print (schema + " done!") diff --git a/dev-python/gitana/files/0.2/db2json_gui.py.patch b/dev-python/gitana/files/0.2/db2json_gui.py.patch deleted file mode 100644 index 53a657dcc..000000000 --- a/dev-python/gitana/files/0.2/db2json_gui.py.patch +++ /dev/null @@ -1,67 +0,0 @@ -diff --git a/db2json_gui.py b/db2json_gui.py -index 3edc13c..8dcb622 100644 ---- a/db2json_gui.py -+++ b/db2json_gui.py -@@ -2,6 +2,7 @@ __author__ = 'atlanmod' - - from Tkinter import * - from tkFileDialog import * -+import tkMessageBox - import ttk - import threading - import os -@@ -137,6 +138,22 @@ class DB2JSON_GUI(Tk): - labelExecuting.grid(column=0, row=16, sticky='EW') - - self.resizable(False, False) -+ -+ # TKinker is not thread safe! -+ # See http://stackoverflow.com/questions/22541693/tkinter-and-thread-out-of-stack-space-infinite-loop -+ self.resetButtons = False -+ self.importingFailureMsg = "" -+ def do_every_50_ms(self): -+ if self.resetButtons: -+ self.buttonFinish.config(state=NORMAL) -+ self.buttonAbort.config(state=DISABLED) -+ self.resetButtons = False -+ if self.importingFailureMsg: -+ tkMessageBox.showerror("Importing GIT repository failed:", -+ self.importingFailureMsg) -+ self.importingFailureMsg = "" -+ self.after(50, do_every_50_ms, self) -+ do_every_50_ms(self) - - def search_for_resource(self): - f = askopenfilename(parent=self, title='Choose a file', -@@ -236,6 +253,9 @@ class DB2JSON_GUI(Tk): - self.FILTER = "in" - else: - self.FILTER = "out" -+ -+ if not os.path.exists(DB2JSON_GUI.JSON_DIRECTORY_PATH): -+ os.makedirs(DB2JSON_GUI.JSON_DIRECTORY_PATH) - - g = Gitana(self.DBNAME) - g.db2json(self.DBNAME, self.OUTPUT_JSON, self.LINE_DETAILS) -@@ -259,13 +279,16 @@ class DB2JSON_GUI(Tk): - self.USER_ALIASES_PATH) - - self.info_execution.set("Finished") -- self.buttonFinish.config(state=NORMAL) -- self.buttonAbort.config(state=DISABLED) -+ #self.buttonFinish.config(state=NORMAL) -+ #self.buttonAbort.config(state=DISABLED) -+ self.resetButtons = True - except Exception as e: -- print traceback.format_exc() -+ print( traceback.format_exc()) - self.info_execution.set("Failed") -- self.buttonFinish.config(state=NORMAL) -- self.buttonAbort.config(state=DISABLED) -+ #self.buttonFinish.config(state=NORMAL) -+ #self.buttonAbort.config(state=DISABLED) -+ self.importingFailureMsg = traceback.format_exc(limit=1) -+ self.resetButtons = True - - def start_export(self): - label = Label(self, text=id) diff --git a/dev-python/gitana/files/0.2/git2db.py.patch b/dev-python/gitana/files/0.2/git2db.py.patch deleted file mode 100644 index 5bec4900c..000000000 --- a/dev-python/gitana/files/0.2/git2db.py.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/git2db.py b/git2db.py -index 8bd727f..688b7e2 100644 ---- a/git2db.py -+++ b/git2db.py -@@ -15,14 +15,14 @@ FULL_IMPORT_TYPE = 3 - - class Git2Db(): - -- def __init__(self, db_name, git_repo_path, before_date, import_last_commit, import_type, logger): -+ def __init__(self, db_name, git_repo_path, before_date, import_last_commit, import_type, logger, branch): - self.logger = logger - self.git_repo_path = git_repo_path - self.db_name = db_name - self.before_date = before_date - self.import_last_commit = import_last_commit - self.import_type = import_type -- self.querier = GitQuerier(git_repo_path, logger) -+ self.querier = GitQuerier(git_repo_path, logger, branch) - - self.cnx = mysql.connector.connect(**config_db.CONFIG) - self.set_database() -@@ -430,4 +430,4 @@ class Git2Db(): - minutes_and_seconds = divmod((end_time-start_time).total_seconds(), 60) - self.logger.info("Git2Db: process finished after " + str(minutes_and_seconds[0]) - + " minutes and " + str(round(minutes_and_seconds[1], 1)) + " secs") -- return -\ No newline at end of file -+ return diff --git a/dev-python/gitana/files/0.2/git2db_gui.py.patch b/dev-python/gitana/files/0.2/git2db_gui.py.patch deleted file mode 100644 index 1c2385f8a..000000000 --- a/dev-python/gitana/files/0.2/git2db_gui.py.patch +++ /dev/null @@ -1,124 +0,0 @@ -diff --git a/git2db_gui.py b/git2db_gui.py -index a515bf2..8bceab4 100644 ---- a/git2db_gui.py -+++ b/git2db_gui.py -@@ -2,6 +2,7 @@ __author__ = 'atlanmod' - - from Tkinter import * - from tkFileDialog import * -+import tkMessageBox - import threading - import os - import re -@@ -57,11 +58,19 @@ class Git2DB_GUI(Tk): - self.beforeDateVariable = StringVar() - self.beforeDate = Entry(self, textvariable=self.beforeDateVariable, width=30) - self.beforeDate.grid(column=1, row=5, sticky='W') -+ -+ #insert branch only -+ labelBranch = Label(self, text=u"Include this branch only (e.g. origin/master)", anchor="w") -+ labelBranch.grid(column=0, row=6, sticky='W') -+ -+ self.branchVariable = StringVar() -+ self.entryBranch = Entry(self, textvariable=self.branchVariable, width=30) -+ self.entryBranch.grid(column=1, row=6, sticky='W') - - ########################## - #empty label - emptyLabel = Label(self, anchor="w") -- emptyLabel.grid(column=0, row=6, sticky='WE') -+ emptyLabel.grid(column=0, row=7, sticky='WE') - ########################## - - #select import process -@@ -71,30 +80,46 @@ class Git2DB_GUI(Tk): - self.importProcessType2 = Radiobutton(self, text="Medium mode (patch contents)", variable=self.importProcessTypeVariable, value=2) - self.importProcessType3 = Radiobutton(self, text="Full mode (patch line details)", variable=self.importProcessTypeVariable, value=3) - -- self.importProcessType1.grid(column=0, row=7, sticky='W') -- self.importProcessType2.grid(column=0, row=8, sticky='W') -- self.importProcessType3.grid(column=0, row=9, sticky='W') -+ self.importProcessType1.grid(column=0, row=8, sticky='W') -+ self.importProcessType2.grid(column=0, row=9, sticky='W') -+ self.importProcessType3.grid(column=0, row=10, sticky='W') - - ########################## - #empty label - emptyLabel = Label(self, anchor="w") -- emptyLabel.grid(column=0, row=10, sticky='WE') -+ emptyLabel.grid(column=0, row=11, sticky='WE') - ########################## - - #Finish button - self.buttonFinish = Button(self, text=u"Import", command=self.launch_thread_execute) -- self.buttonFinish.grid(column=1, row=11, sticky="E") -+ self.buttonFinish.grid(column=1, row=12, sticky="E") - - #Abort interrupt - self.buttonAbort = Button(self, text=u"Abort", command=self.launch_thread_interrupt) -- self.buttonAbort.grid(column=2, row=11, sticky="E") -+ self.buttonAbort.grid(column=2, row=12, sticky="E") - self.buttonAbort.config(state=DISABLED) - - self.info_execution = StringVar() - labelExecuting = Label(self, textvariable=self.info_execution, anchor="w") -- labelExecuting.grid(column=0, row=11, sticky='EW') -+ labelExecuting.grid(column=0, row=12, sticky='EW') - - self.resizable(False, False) -+ -+ # TKinker is not thread safe! -+ # See http://stackoverflow.com/questions/22541693/tkinter-and-thread-out-of-stack-space-infinite-loop -+ self.resetButtons = False -+ self.importingFailureMsg = "" -+ def do_every_50_ms(self): -+ if self.resetButtons: -+ self.buttonFinish.config(state=NORMAL) -+ self.buttonAbort.config(state=DISABLED) -+ self.resetButtons = False -+ if self.importingFailureMsg: -+ tkMessageBox.showerror("Importing GIT repository failed:", -+ self.importingFailureMsg) -+ self.importingFailureMsg = "" -+ self.after(50, do_every_50_ms, self) -+ do_every_50_ms(self) - - def search_for_directory(self): - dir = askdirectory(parent=self, title='Choose a directory') -@@ -163,22 +188,29 @@ class Git2DB_GUI(Tk): - self.REPO_NAME = self.repoNameVariable.get() - self.REPO_OWNER = self.repoOwnerVariable.get() - self.BEFORE_DATE = None -+ self.BRANCH = self.branchVariable.get() -+ print("Only branch='" + self.BRANCH + "'") - if self.beforeDateVariable.get() != '': - self.BEFORE_DATE = self.beforeDateVariable.get() -- schema = self.REPO_OWNER + "_" + self.REPO_NAME -+ schema = self.REPO_NAME -+ if self.REPO_OWNER: -+ schema = self.REPO_OWNER + "_" + self.REPO_NAME - self.IMPORT_TYPE = self.importProcessTypeVariable.get() - g = Gitana(schema) - g.init_dbschema(schema) -- g.git2db(schema, self.REPO_PATH, self.BEFORE_DATE, self.IMPORT_TYPE) -+ g.git2db(schema, self.REPO_PATH, self.BEFORE_DATE, self.IMPORT_TYPE, self.BRANCH) - - self.info_execution.set("Finished") -- self.buttonFinish.config(state=NORMAL) -- self.buttonAbort.config(state=DISABLED) -+ #self.buttonFinish.config(state=NORMAL) -+ #self.buttonAbort.config(state=DISABLED) -+ self.resetButtons = True - except: -- print traceback.format_exc() -+ print (traceback.format_exc()) - self.info_execution.set("Failed") -- self.buttonFinish.config(state=NORMAL) -- self.buttonAbort.config(state=DISABLED) -+ #self.buttonFinish.config(state=NORMAL) -+ #self.buttonAbort.config(state=DISABLED) -+ self.importingFailureMsg = traceback.format_exc(limit=1) -+ self.resetButtons = True - - def start_export(self): - label = Label(self, text=id) diff --git a/dev-python/gitana/files/0.2/gitana.py.patch b/dev-python/gitana/files/0.2/gitana.py.patch deleted file mode 100644 index 66fec6836..000000000 --- a/dev-python/gitana/files/0.2/gitana.py.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/gitana.py b/gitana.py -index ffbf7c0..c9351fc 100644 ---- a/gitana.py -+++ b/gitana.py -@@ -29,8 +29,8 @@ class Gitana(): - i.execute() - return - -- def git2db(self, db_name, git_path, before, import_type): -- extractor = Git2Db(db_name, git_path, before, None, import_type, self.logger) -+ def git2db(self, db_name, git_path, before, import_type, branch): -+ extractor = Git2Db(db_name, git_path, before, None, import_type, self.logger, branch) - extractor.extract() - return - -@@ -52,4 +52,4 @@ class Gitana(): - def updatedb(self, db_name, git_path, before_date, import_last_commit): - updater = UpdateDb(db_name, git_path, before_date, import_last_commit, self.logger) - updater.update() -- return -\ No newline at end of file -+ return diff --git a/dev-python/gitana/files/0.2/gitana_gui.py.patch b/dev-python/gitana/files/0.2/gitana_gui.py.patch deleted file mode 100644 index 3cdf87643..000000000 --- a/dev-python/gitana/files/0.2/gitana_gui.py.patch +++ /dev/null @@ -1,53 +0,0 @@ -diff --git a/gitana_gui.py b/gitana_gui.py -index 620f3a8..445544d 100644 ---- a/gitana_gui.py -+++ b/gitana_gui.py -@@ -1,21 +1,25 @@ -+#!/usr/bin/python2.7 - __author__ = 'atlanmod' - - from Tkinter import * - from PIL import ImageTk, Image - import subprocess -+import os - - - class GUI(Tk): -+ mypath = "" - - def __init__(self): - Tk.__init__(self) -+ self.mypath = os.path.dirname(os.path.abspath(__file__)) + "/" - - self.initialize() - self.title("Gitana") - self.mainloop() - - def initialize(self): -- img = ImageTk.PhotoImage(Image.open("img/gitana_icon.png")) -+ img = ImageTk.PhotoImage(Image.open(self.mypath + "img/gitana_icon.png")) - labelImg = Label(image=img) - labelImg.image = img - labelImg.grid(row=2, columnspan=3, rowspan=10, sticky='WE') -@@ -37,15 +41,18 @@ class GUI(Tk): - self.resizable(False, False) - - def start_import(self): -- proc = subprocess.Popen({sys.executable, "git2db_gui.py"}) -+ cmd = sys.executable + " " + self.mypath + "git2db_gui.py" -+ proc = subprocess.Popen({cmd}, shell=True) - proc.communicate() - - def start_update(self): -- proc = subprocess.Popen({sys.executable, "updatedb_gui.py"}) -+ cmd = sys.executable + " " + self.mypath + "updatedb_gui.py" -+ proc = subprocess.Popen({cmd}, shell=True) - proc.communicate() - - def start_export(self): -- proc = subprocess.Popen({sys.executable, "db2json_gui.py"}) -+ cmd = sys.executable + " " + self.mypath + "db2json_gui.py" -+ proc = subprocess.Popen({cmd}, shell=True) - proc.communicate() - - diff --git a/dev-python/gitana/files/0.2/gitquerier_gitpython.py.patch b/dev-python/gitana/files/0.2/gitquerier_gitpython.py.patch deleted file mode 100644 index b0a36c3ff..000000000 --- a/dev-python/gitana/files/0.2/gitquerier_gitpython.py.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff --git a/gitquerier_gitpython.py b/gitquerier_gitpython.py -index ccbe5da..bfcf557 100644 ---- a/gitquerier_gitpython.py -+++ b/gitquerier_gitpython.py -@@ -10,8 +10,10 @@ class GitQuerier(): - #python, java, html, xml, sql, javascript, c, c++, scala, php, ruby, matlab - ALLOWED_EXTENSION = ['py', 'java', 'html', 'xml', 'sql', 'js', 'c', 'cpp', 'cc', 'scala', 'php', 'rb', 'm'] - -- def __init__(self, git_repo_path, logger): -+ def __init__(self, git_repo_path, logger, branch): - self.logger = logger -+ self.branch = branch -+ print("GitQuerier: self.branch='" + self.branch + "'") - self.repo = Repo(git_repo_path, odbt=GitCmdObjectDB) - self.gitt = self.repo.git - self.no_treated_extensions = set() -@@ -164,9 +166,13 @@ class GitQuerier(): - for ref in self.repo.references: - if type(ref) == RemoteReference: - if ref.name != "origin/HEAD": -- references.append((ref.name, 'branch')) -+ if (not self.branch) or (ref.name == self.branch): -+ print("references.append('" + ref.name + "'") -+ references.append((ref.name, 'branch')) - elif type(ref) == TagReference: -- references.append((ref.name, 'tag')) -+ if (not self.branch) or (ref.name == self.branch): -+ references.append((ref.name, 'tag')) -+ print("references.append('" + ref.name + "'") - else: - self.logger.warning("Git2Db: " + str(type(ref)) + " not handled in the extractor") - -@@ -686,4 +692,4 @@ class GitQuerier(): - if self.line_contains_close_block_comment(line, ext): - block_comment = False - -- return block_comment -\ No newline at end of file -+ return block_comment diff --git a/dev-python/gitana/files/0.2/init.py b/dev-python/gitana/files/0.2/init.py deleted file mode 100644 index 04d2875c1..000000000 --- a/dev-python/gitana/files/0.2/init.py +++ /dev/null @@ -1 +0,0 @@ -__author__ = 'valerio cosentino' diff --git a/dev-python/gitana/files/0.2/init_dbschema.py.patch b/dev-python/gitana/files/0.2/init_dbschema.py.patch deleted file mode 100644 index eb566ff38..000000000 --- a/dev-python/gitana/files/0.2/init_dbschema.py.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/init_dbschema.py b/init_dbschema.py -index 3429e3f..da87d2c 100644 ---- a/init_dbschema.py -+++ b/init_dbschema.py -@@ -11,6 +11,7 @@ class InitDbSchema(): - def __init__(self, db_name, logger): - self.logger = logger - self.db_name = db_name -+ print("DB-name='" + self.db_name + "'") - - self.cnx = mysql.connector.connect(**config_db.CONFIG) - -@@ -357,6 +358,7 @@ class InitDbSchema(): - RETURN _result; - END""" - -+ cursor.execute("SET GLOBAL log_bin_trust_function_creators = 1;") - cursor.execute(get_file_history) - cursor.execute(levenshtein_distance) - cursor.execute(soundex_match) diff --git a/dev-python/gitana/files/0.2/setup.py b/dev-python/gitana/files/0.2/setup.py deleted file mode 100644 index 2e4ee3bf2..000000000 --- a/dev-python/gitana/files/0.2/setup.py +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/python2.7 - -""" - setup module for gitana - - See: - https://github.com/SOM-Research/Gitana/tree/0.2 - - https://packaging.python.org/en/latest/distributing.html - https://github.com/pypa/sampleproject -""" - -"""from distutils.core import setup""" -from setuptools import setup - -setup(name='gitana', - version='0.2', - license='MIT', - author='valerio cosentino', - url='https://github.com/SOM-Research/Gitana', - description='SQL-based Git Repository Inspector', - long_description='Gitana exports and digests the data of a Git repository, issue trackers and Q&A web-sites to a relational database in order to ease browsing and querying activities with standard SQL syntax and tools.', - keywords='Gitana: SQL-based Git Repository Inspector', - packages=['gitana'], - package_dir={'gitana': ''}, - package_data={'gitana': ['img/*.png', 'settings/*']}, - entry_points = { - "console_scripts": [ - "gitana_gui = gitana.gitana_gui:main", - ] - }, -) - -"""py_modules=['foo'],""" -"""package_data={'mypkg': ['data/*.dat']},""" -"""data_files=[('img', ['img/*']), - ('json', ['json/*']), - ('settings', ['settings/*']), - ],""" diff --git a/dev-python/gitana/files/0.2/updatedb.py.patch b/dev-python/gitana/files/0.2/updatedb.py.patch deleted file mode 100644 index b513b143e..000000000 --- a/dev-python/gitana/files/0.2/updatedb.py.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/updatedb.py b/updatedb.py -index adda156..5ea592c 100644 ---- a/updatedb.py -+++ b/updatedb.py -@@ -17,7 +17,7 @@ class UpdateDb(): - self.before_date = before_date - self.import_last_commit = import_last_commit - self.existing_refs = [] -- self.querier = GitQuerier(git_repo_path, logger) -+ self.querier = GitQuerier(git_repo_path, logger, '') - - self.cnx = mysql.connector.connect(**config_db.CONFIG) - self.set_database() -@@ -161,7 +161,7 @@ class UpdateDb(): - self.delete_file_modifications(last_commit_id) - - def update_repo(self, repo_id, import_type): -- git2db = Git2Db(self.db_name, self.git_repo_path, self.before_date, self.import_last_commit, import_type, self.logger) -+ git2db = Git2Db(self.db_name, self.git_repo_path, self.before_date, self.import_last_commit, import_type, self.logger, '') - - if self.import_last_commit: - self.delete_last_commit_info(repo_id) -@@ -228,4 +228,4 @@ class UpdateDb(): - minutes_and_seconds = divmod((end_time-start_time).total_seconds(), 60) - self.logger.info("UpdateDb: process finished after " + str(minutes_and_seconds[0]) - + " minutes and " + str(round(minutes_and_seconds[1], 1)) + " secs") -- return -\ No newline at end of file -+ return diff --git a/dev-python/gitana/files/0.2/updatedb_gui.py.patch b/dev-python/gitana/files/0.2/updatedb_gui.py.patch deleted file mode 100644 index c910a9df0..000000000 --- a/dev-python/gitana/files/0.2/updatedb_gui.py.patch +++ /dev/null @@ -1,64 +0,0 @@ -diff --git a/updatedb_gui.py b/updatedb_gui.py -index e3c94c6..b89ba4d 100644 ---- a/updatedb_gui.py -+++ b/updatedb_gui.py -@@ -2,6 +2,7 @@ __author__ = 'atlanmod' - - from Tkinter import * - from tkFileDialog import * -+import tkMessageBox - import threading - import os - import re -@@ -76,6 +77,22 @@ class UpdateDB_GUI(Tk): - labelExecuting.grid(column=0, row=7, sticky='EW') - - self.resizable(False, False) -+ -+ # TKinker is not thread safe! -+ # See http://stackoverflow.com/questions/22541693/tkinter-and-thread-out-of-stack-space-infinite-loop -+ self.resetButtons = False -+ self.importingFailureMsg = "" -+ def do_every_50_ms(self): -+ if self.resetButtons: -+ self.buttonFinish.config(state=NORMAL) -+ self.buttonAbort.config(state=DISABLED) -+ self.resetButtons = False -+ if self.importingFailureMsg: -+ tkMessageBox.showerror("Importing GIT repository failed:", -+ self.importingFailureMsg) -+ self.importingFailureMsg = "" -+ self.after(50, do_every_50_ms, self) -+ do_every_50_ms(self) - - def search_for_directory(self): - dir = askdirectory(parent=self, title='Choose a directory') -@@ -141,19 +158,23 @@ class UpdateDB_GUI(Tk): - try: - self.REPO_PATH = self.repoPathVariable.get() - self.DBNAME = self.DBNameVariable.get() -+ print("DB_NAME='" + self.DBNAME + "'") - self.BEFORE_DATE = self.beforeDateVariable.get() - self.IMPORT_LAST_COMMIT = self.lastCommitCorruptedVariable.get() - g = Gitana(self.DBNAME) - g.updatedb(self.DBNAME, self.REPO_PATH, self.BEFORE_DATE, self.IMPORT_LAST_COMMIT) - - self.info_execution.set("Finished") -- self.buttonFinish.config(state=NORMAL) -- self.buttonAbort.config(state=DISABLED) -+ #self.buttonFinish.config(state=NORMAL) -+ #self.buttonAbort.config(state=DISABLED) -+ self.resetButtons = True - except: -- print traceback.format_exc() -+ print( traceback.format_exc()) - self.info_execution.set("Failed") -- self.buttonFinish.config(state=NORMAL) -- self.buttonAbort.config(state=DISABLED) -+ #self.buttonFinish.config(state=NORMAL) -+ #self.buttonAbort.config(state=DISABLED) -+ self.importingFailureMsg = traceback.format_exc(limit=1) -+ self.resetButtons = True - - def start_export(self): - label = Label(self, text=id) diff --git a/dev-python/gitana/gitana-0.2.ebuild b/dev-python/gitana/gitana-0.2.ebuild deleted file mode 100644 index 77c5b66cf..000000000 --- a/dev-python/gitana/gitana-0.2.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="tk" - -inherit distutils-r1 eutils - -DESCRIPTION="SQL-based Git Repository Inspector" -HOMEPAGE="https://github.com/SOM-Research/Gitana" -SRC_URI="https://github.com/SOM-Research/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -IUSE="" - -KEYWORDS="~amd64 ~x86" - -# problem with https://github.com/SOM-Research/Gitana/issues/5 -# wait for release of git-python version 2.0.9 and update as soon as possible - -DEPEND="dev-python/git-python:0[${PYTHON_USEDEP}] - dev-python/mysql-connector-python:0[${PYTHON_USEDEP}] - dev-python/networkx:0[${PYTHON_USEDEP}] - dev-python/pillow:0[tk,${PYTHON_USEDEP}] - dev-python/PyGithub:0[${PYTHON_USEDEP}] - dev-python/python-bugzilla:0[${PYTHON_USEDEP}] - dev-python/simplejson:0[${PYTHON_USEDEP}] - >=dev-vcs/git-1.9.4 - >=virtual/mysql-5.6" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/Gitana-${PV}" - -# fixes python compiler issues -# fixes tk full-qualified import issues -# fixes path handling -# adds additional text fields in GUI -# fixes multi-thread handling -PATCHES=( - "${FILESDIR}/${PV}/case_study.py.patch" - "${FILESDIR}/${PV}/db2json_gui.py.patch" - "${FILESDIR}/${PV}/git2db.py.patch" - "${FILESDIR}/${PV}/git2db_gui.py.patch" - "${FILESDIR}/${PV}/gitana.py.patch" - "${FILESDIR}/${PV}/gitana_gui.py.patch" - "${FILESDIR}/${PV}/gitquerier_gitpython.py.patch" - "${FILESDIR}/${PV}/init_dbschema.py.patch" - "${FILESDIR}/${PV}/updatedb_gui.py.patch" - "${FILESDIR}/${PV}/updatedb.py.patch" -) - -src_prepare() { - cp "${FILESDIR}/${PV}/init.py" "${S}/__init__.py" \ - || die "Could not copy '${FILESDIR}/${PV}/init__.py' to '${S}/__init.py'" - cp "${FILESDIR}/${PV}/setup.py" "${S}/setup.py" \ - || die "Could not copy '${FILESDIR}/${PV}/setup.py' to '${S}/setup.py'" - # patches are applied by distutils-r1.eclass - distutils-r1_python_prepare_all -} - -python_install() { - distutils-r1_python_install - # install config file - dodir /etc/ - local MY_SITEDIR=$(python_get_sitedir) - local MY_FILE="${MY_SITEDIR}/${PN}/config_db.py" - local MY_CONF="/etc/gitana_db.conf" - mv "${ED}${MY_FILE}" "${ED}${MY_CONF}" \ - || die "Could not move '${ED}${MY_FILE}' to '${ED}${MY_CONF}" - dosym "${MY_CONF}" "${MY_FILE}" - ewarn "Please edit ${EPREFIX}/etc/gitana_db.conf" \ - " with settings for your MySQL server." -} diff --git a/dev-python/gitana/metadata.xml b/dev-python/gitana/metadata.xml deleted file mode 100644 index 65ccba066..000000000 --- a/dev-python/gitana/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>harald.wei...@jku.at</email> - <name>Harald Weiner</name> - </maintainer> - <maintainer type="project"> - <email>s...@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">SOM-Research/gitana</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-util/emscripten-fastcomp/emscripten-fastcomp-1.37.9.ebuild b/dev-util/emscripten-fastcomp/emscripten-fastcomp-1.37.9.ebuild deleted file mode 100644 index c4ffa8996..000000000 --- a/dev-util/emscripten-fastcomp/emscripten-fastcomp-1.37.9.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit cmake-utils python-single-r1 - -DESCRIPTION="Emscripten LLVM backend - Fastcomp is the default compiler core for Emscripten" -HOMEPAGE="http://emscripten.org/" -SRC_URI="https://github.com/kripken/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - https://github.com/kripken/${PN}-clang/archive/${PV}.tar.gz -> ${PN}-clang-${PV}.tar.gz" -KEYWORDS="~amd64 ~x86" -SLOT="0" -LICENSE="UoI-NCSA" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -MY_DEPEND="${PYTHON_DEPS} - >=net-libs/nodejs-0.12.10" -DEPEND="${MY_DEPEND} - >=dev-util/cmake-3.4.3" -RDEPEND="${MY_DEPEND} - >=virtual/jre-1.5" - -src_prepare() { - eapply "${FILESDIR}/${PV}/CMakeLists.txt.patch" - cd "${S}/../${PN}-clang-${PV}" || \ - die "Could not change to directory '${S}/../${PN}-clang-${PV}'" - eapply "${FILESDIR}/${PV}/Version.cpp.patch" - cd "${S}" || die "Could not change to directory '${S}'" - eapply_user -} - -src_configure() { - # create symlink to tools/clang - ln -s "${WORKDIR}/${PN}-clang-${PV}/" "${WORKDIR}/${P}/tools/clang" \ - || die "Could not create symlink to tools/clang" - local mycmakeargs=( - # avoid clashes with sys-devel/llvm - -DCMAKE_INSTALL_PREFIX="/usr/share/${P}" - -DLLVM_OCAML_INSTALL_PATH="/usr/share/${P}/ocaml" - -DLLVM_ENABLE_OCAMLDOC=OFF - -DLLVM_TARGETS_TO_BUILD="X86;JSBackend" - -DLLVM_INCLUDE_EXAMPLES=OFF - -DLLVM_INCLUDE_TESTS=OFF - -DCLANG_INCLUDE_EXAMPLES=OFF - -DCLANG_INCLUDE_TESTS=OFF - -DCLANG_INCLUDE_DOCS=OFF - -DLLVM_INCLUDE_DOCS=OFF - ) - cmake-utils_src_configure -} diff --git a/dev-util/emscripten-fastcomp/files/1.37.9/CMakeLists.txt.patch b/dev-util/emscripten-fastcomp/files/1.37.9/CMakeLists.txt.patch deleted file mode 100644 index d053132a3..000000000 --- a/dev-util/emscripten-fastcomp/files/1.37.9/CMakeLists.txt.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/CMakeLists.txt.orig 2016-05-12 13:26:02.739443914 +0200 -+++ b/CMakeLists.txt 2016-05-12 13:26:26.448733236 +0200 -@@ -175,7 +175,7 @@ - string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE) - - if (CMAKE_BUILD_TYPE AND -- NOT uppercase_CMAKE_BUILD_TYPE MATCHES "^(DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL)$") -+ NOT uppercase_CMAKE_BUILD_TYPE MATCHES "^(DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL|GENTOO)$") - message(FATAL_ERROR "Invalid value for CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}") - endif() diff --git a/dev-util/emscripten-fastcomp/files/1.37.9/Version.cpp.patch b/dev-util/emscripten-fastcomp/files/1.37.9/Version.cpp.patch deleted file mode 100644 index 291a1ea6d..000000000 --- a/dev-util/emscripten-fastcomp/files/1.37.9/Version.cpp.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/lib/Basic/Version.cpp 2016-03-17 23:31:35.160129074 +0100 -+++ b/lib/Basic/Version.cpp 2016-03-17 23:32:07.722127712 +0100 -@@ -135,9 +135,9 @@ - - // XXX EMSCRIPTEN: show our versions - OS << " (emscripten " --#include "../../../../emscripten-version.txt" -+#include "../../emscripten-version.txt" - " : " --#include "../../../../tools/clang/emscripten-version.txt" -+#include "../../emscripten-version.txt" - ")"; - - return OS.str(); diff --git a/dev-util/emscripten-fastcomp/metadata.xml b/dev-util/emscripten-fastcomp/metadata.xml deleted file mode 100644 index 89b91870f..000000000 --- a/dev-util/emscripten-fastcomp/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="person"> - <email>harald.wei...@jku.at</email> - <name>Harald Weiner</name> - </maintainer> - <upstream> - <remote-id type="github">kripken/emscripten-fastcomp-clang</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-util/emscripten/emscripten-1.37.9.ebuild b/dev-util/emscripten/emscripten-1.37.9.ebuild deleted file mode 100644 index 51a451856..000000000 --- a/dev-util/emscripten/emscripten-1.37.9.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit python-single-r1 - -DESCRIPTION="LLVM-to-JavaScript Compiler" -HOMEPAGE="http://emscripten.org/" -SRC_URI="https://github.com/kripken/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64 ~x86" -SLOT="0" -LICENSE="UoI-NCSA" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS} - ~dev-util/emscripten-fastcomp-${PV}" -RDEPEND="${DEPEND}" - -DEST="/usr/share/" -TEST="${WORKDIR}/test/" - -prepare_file() { - cp "${FILESDIR}/${1}" "${S}/" || die "could not copy '${1}'" - sed -i "s/\${PV}/${PV}/g" "${S}/${1}" || \ - die "could not adjust path for '${1}'" -} - -src_prepare() { - prepare_file "99emscripten" - prepare_file "emscripten.config" - eapply "${FILESDIR}/${PV}/emcc.patch" - eapply "${FILESDIR}/${PV}/emcmake.patch" - eapply_user -} - -src_test() { - mkdir "${TEST}" || die "Could not create test directory!" - cp "${FILESDIR}/hello_world.cpp" "${TEST}" || die "Could not copy example file" - cp "${S}/emscripten.config" "${TEST}" || die "Could not copy config file" - sed -i -e "/^EMSCRIPTEN_ROOT/s|/usr/share/|${S}|" \ - "${TEST}/emscripten.config" || die "Could not adjust path for testing" - export EM_CONFIG="${TEST}/emscripten.config" || die "Could not export variable" - ../"${P}/emcc" "${TEST}/hello_world.cpp" -o "${TEST}/hello_world.js" || \ - die "Error during executing emcc!" - test -f "${TEST}/hello_world.js" || die "Could not find '${TEST}/hello_world.js'" - OUT=$(/usr/bin/node "${TEST}/hello_world.js") || \ - die "Could not execute /usr/bin/node" - EXP=$(echo -e -n 'Hello World!\n') || die "Could not create expected string" - if [ "${OUT}" != "${EXP}" ]; then - die "Expected '${EXP}' but got '${OUT}'!" - fi - rm -r "${TEST}" || die "Could not clean-up '${TEST}'" -} - -src_install() { - dodir ${DEST}/${P} - cp -R "${S}/" "${D}/${DEST}" || die "Could not install files" - dosym ../share/${P}/emcc /usr/bin/emcc - dosym ../share/${P}/emcmake /usr/bin/emcmake - doenvd 99emscripten - ewarn "If you consider using emscripten in an active shell,"\ - "please execute 'source /etc/profile'" -} - -pkg_postinst() { - elog "Running emscripten initialization, may take a few seconds..." - export EM_CONFIG="${DEST}/${P}/emscripten.config" || die "Could not export variable" - /usr/bin/emcc -v || die "Could not run emcc initialization" -} diff --git a/dev-util/emscripten/files/1.37.9/emcc.patch b/dev-util/emscripten/files/1.37.9/emcc.patch deleted file mode 100644 index 49bf9fd0b..000000000 --- a/dev-util/emscripten/files/1.37.9/emcc.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/emcc.orig 2016-05-13 02:59:24.977645718 +0200 -+++ b/emcc 2016-05-13 03:00:22.778643301 +0200 -@@ -4,6 +4,7 @@ - - - import sys -+import os - - - -@@ -14,4 +15,4 @@ - else: - import os, subprocess - if __name__ == '__main__': -- sys.exit(subprocess.call(['python2', os.path.join(os.path.dirname(__file__), 'emcc.py')] + sys.argv[1:])) -+ sys.exit(subprocess.call(['python2', os.path.join(os.path.dirname(os.environ['EM_CONFIG']), 'emcc.py')] + sys.argv[1:])) diff --git a/dev-util/emscripten/files/1.37.9/emcmake.patch b/dev-util/emscripten/files/1.37.9/emcmake.patch deleted file mode 100644 index 02ce70321..000000000 --- a/dev-util/emscripten/files/1.37.9/emcmake.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/emcmake.orig 2016-05-13 02:59:31.244645456 +0200 -+++ b/emcmake 2016-05-13 03:03:54.995634425 +0200 -@@ -4,6 +4,7 @@ - - - import sys -+import os - - - -@@ -14,4 +15,4 @@ - else: - import os, subprocess - if __name__ == '__main__': -- sys.exit(subprocess.call(['python2', os.path.join(os.path.dirname(__file__), 'emcmake.py')] + sys.argv[1:])) -+ sys.exit(subprocess.call(['python2', os.path.join(os.path.dirname(os.environ['EM_CONFIG']), 'emcmake.py')] + sys.argv[1:])) diff --git a/dev-util/emscripten/files/99emscripten b/dev-util/emscripten/files/99emscripten deleted file mode 100644 index b1acf2a71..000000000 --- a/dev-util/emscripten/files/99emscripten +++ /dev/null @@ -1 +0,0 @@ -EM_CONFIG=/usr/share/emscripten-${PV}/emscripten.config diff --git a/dev-util/emscripten/files/emscripten.config b/dev-util/emscripten/files/emscripten.config deleted file mode 100644 index e8a4d7a0e..000000000 --- a/dev-util/emscripten/files/emscripten.config +++ /dev/null @@ -1,56 +0,0 @@ - -# Note: If you put paths relative to the home directory, do not forget os.path.expanduser - -# Note: On Windows, remember to escape backslashes! I.e. EMSCRIPTEN_ROOT='c:\emscripten\' is not valid, but EMSCRIPTEN_ROOT='c:\\emscripten\\' and EMSCRIPTEN_ROOT='c:/emscripten/' are. - -import os - -# this helps projects using emscripten find it -EMSCRIPTEN_ROOT = os.path.expanduser(os.getenv('EMSCRIPTEN') or '/usr/share/emscripten-${PV}') # directory -LLVM_ROOT = os.path.expanduser(os.getenv('LLVM') or '/usr/share/emscripten-fastcomp-${PV}/bin') # directory - -# If not specified, defaults to sys.executable. -#PYTHON = 'python' - -# Add this if you have manually built the JS optimizer executable (in Emscripten/tools/optimizer) and want to run it from a custom location. -# Alternatively, you can set this as the environment variable EMSCRIPTEN_NATIVE_OPTIMIZER. -# EMSCRIPTEN_NATIVE_OPTIMIZER='/path/to/custom/optimizer(.exe)' - -# See below for notes on which JS engine(s) you need -NODE_JS = os.path.expanduser(os.getenv('NODE') or '/usr/bin/node') # executable -SPIDERMONKEY_ENGINE = [os.path.expanduser(os.getenv('SPIDERMONKEY') or 'js')] # executable -V8_ENGINE = os.path.expanduser(os.getenv('V8') or 'd8') # executable - -JAVA = 'java' # executable - -TEMP_DIR = '/tmp' - -CRUNCH = os.path.expanduser(os.getenv('CRUNCH') or 'crunch') # executable - -#CLOSURE_COMPILER = '..' # define this to not use the bundled version - -######################################################################################################## - - -# Pick the JS engine to use for running the compiler. This engine must exist, or -# nothing can be compiled. -# -# Recommendation: If you already have node installed, use that. Otherwise, build v8 or -# spidermonkey from source. Any of these three is fine, as long as it's -# a recent version (especially for v8 and spidermonkey). - -COMPILER_ENGINE = NODE_JS -#COMPILER_ENGINE = V8_ENGINE -#COMPILER_ENGINE = SPIDERMONKEY_ENGINE - - -# All JS engines to use when running the automatic tests. Not all the engines in this list -# must exist (if they don't, they will be skipped in the test runner). -# -# Recommendation: If you already have node installed, use that. If you can, also build -# spidermonkey from source as well to get more test coverage (node can't -# run all the tests due to node issue 1669). v8 is currently not recommended -# here because of v8 issue 1822. - -JS_ENGINES = [NODE_JS] # add this if you have spidermonkey installed too, SPIDERMONKEY_ENGINE] - diff --git a/dev-util/emscripten/files/hello_world.cpp b/dev-util/emscripten/files/hello_world.cpp deleted file mode 100644 index 85daba3e4..000000000 --- a/dev-util/emscripten/files/hello_world.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#include <iostream> -int main(int argc, char ** argv) { - std::cout << "Hello World!" << std::endl; -} - diff --git a/dev-util/emscripten/metadata.xml b/dev-util/emscripten/metadata.xml deleted file mode 100644 index b2ee118ca..000000000 --- a/dev-util/emscripten/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="person"> - <email>harald.wei...@jku.at</email> - <name>Harald Weiner</name> - </maintainer> - <upstream> - <remote-id type="github">kripken/emscripten</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/dtk/dtk-2017.03.21.ebuild b/sci-libs/dtk/dtk-2017.03.21.ebuild deleted file mode 100644 index 6ef40677c..000000000 --- a/sci-libs/dtk/dtk-2017.03.21.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -DESCRIPTION="Meta-platform for modular scientific platform development" -HOMEPAGE="https://github.com/d-tk/dtk" -SRC_URI="https://timeraider4u.github.io/distfiles/files/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="dev-qt/qtcore:5 - dev-qt/qtconcurrent:5 - dev-qt/qtnetwork:5 - dev-qt/qtgui:5 - dev-qt/qtdeclarative:5 - dev-qt/qttest:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - dev-qt/qtxml:5" -DEPEND="${RDEPEND} - dev-lang/swig:0" - -src_configure() { - local mycmakeargs=( - -DDTK_BUILD_SUPPORT_COMPOSER=ON - -DDTK_BUILD_SUPPORT_CORE=ON - -DDTK_BUILD_SUPPORT_CONTAINER=ON - -DDTK_BUILD_SUPPORT_DISTRIBUTED=ON - -DDTK_BUILD_SUPPORT_GUI=ON - -DDTK_BUILD_SUPPORT_MATH=ON - ) - cmake-utils_src_configure -} diff --git a/sci-libs/dtk/metadata.xml b/sci-libs/dtk/metadata.xml deleted file mode 100644 index 1933d4c95..000000000 --- a/sci-libs/dtk/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>harald.wei...@jku.at</email> - <name>Harald Weiner</name> - </maintainer> - <maintainer type="project"> - <email>s...@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">d-tk/dtk</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-mathematics/axel-vtkview/axel-vtkview-2017.03.21.ebuild b/sci-mathematics/axel-vtkview/axel-vtkview-2017.03.21.ebuild deleted file mode 100644 index 48d2eab66..000000000 --- a/sci-mathematics/axel-vtkview/axel-vtkview-2017.03.21.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -DESCRIPTION="Vtk plug-in for sci-mathematics/axel" -HOMEPAGE="http://dtk.inria.fr/axel/" -SRC_URI="https://timeraider4u.github.io/distfiles/files/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="~sci-libs/dtk-${PV} - ~sci-mathematics/axel-${PV} - >=sci-libs/vtk-6.0.0[qt5,rendering]" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${PV}/CMakeLists.txt.patch" - "${FILESDIR}/${PV}/axlVtkView-CMakeLists.txt.patch" -) - -src_configure() { - local mycmakeargs=( - -DAXL=ON - -DAXEL_USED=ON - -DDTK_USED=ON - -DBUILD_FOR_RELEASE=ON - -Daxel-sdk_VERSION_MAJOR=2 - -Daxel-sdk_VERSION_MINOR=4 - -Daxel-sdk_VERSION_PATCH=0 - -DVTK_QT_VERSION:STRING=5 - -DVTKVIEW_USED=ON - ) - cmake-utils_src_configure -} diff --git a/sci-mathematics/axel-vtkview/files/2017.03.21/CMakeLists.txt.patch b/sci-mathematics/axel-vtkview/files/2017.03.21/CMakeLists.txt.patch deleted file mode 100644 index 0ce95b0db..000000000 --- a/sci-mathematics/axel-vtkview/files/2017.03.21/CMakeLists.txt.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/CMakeLists.txt 2017-03-01 18:07:06.105852551 +0100 -+++ b/CMakeLists.txt 2017-03-01 18:08:32.199894675 +0100 -@@ -202,6 +202,7 @@ - find_package (Qt5Core REQUIRED) - find_package (Qt5Sql REQUIRED) - find_package (Qt5WebKitWidgets REQUIRED) -+find_package (Qt5Xml REQUIRED) - - set (QT_USE_QTXML 1) - set (QT_USE_QTOPENGL 1) -@@ -319,3 +320,10 @@ - # Build axl - ###################################################################### - add_subdirectory (axl) -+ -+install ( FILES "${CMAKE_BINARY_DIR}/plugins/libaxlVtkView.so" -+ DESTINATION lib/axel-plugins) -+ -+install ( DIRECTORY "${PROJECT_SOURCE_DIR}/axl/axlVtkView" -+ DESTINATION include/ -+ FILES_MATCHING PATTERN "*.h") diff --git a/sci-mathematics/axel-vtkview/files/2017.03.21/axlVtkView-CMakeLists.txt.patch b/sci-mathematics/axel-vtkview/files/2017.03.21/axlVtkView-CMakeLists.txt.patch deleted file mode 100644 index 33a789bd3..000000000 --- a/sci-mathematics/axel-vtkview/files/2017.03.21/axlVtkView-CMakeLists.txt.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/axl/axlVtkView/CMakeLists.txt.orig 2016-04-08 15:02:22.921914810 +0200 -+++ b/axl/axlVtkView/CMakeLists.txt 2016-04-08 15:03:05.692913022 +0200 -@@ -167,6 +167,7 @@ - qt5_use_modules(${LIB_NAME} Gui) - qt5_use_modules(${LIB_NAME} OpenGL) - qt5_use_modules(${LIB_NAME} Widgets) -+qt5_use_modules(${LIB_NAME} Xml) - - ## ################################################################# - ## Target properties diff --git a/sci-mathematics/axel-vtkview/metadata.xml b/sci-mathematics/axel-vtkview/metadata.xml deleted file mode 100644 index c38916f51..000000000 --- a/sci-mathematics/axel-vtkview/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>harald.wei...@jku.at</email> - <name>Harald Weiner</name> - </maintainer> - <maintainer type="project"> - <email>s...@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-mathematics/axel/axel-2017.03.21.ebuild b/sci-mathematics/axel/axel-2017.03.21.ebuild deleted file mode 100644 index 31499d2c3..000000000 --- a/sci-mathematics/axel/axel-2017.03.21.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils user - -DESCRIPTION="Algebraic geometric modeling platform" -HOMEPAGE="http://dtk.inria.fr/axel/" -SRC_URI="https://timeraider4u.github.io/distfiles/files/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="~sci-libs/dtk-${PV}" -DEPEND="${RDEPEND}" - -pkg_setup() { - AXEL_DATA_DIR="/usr/share/axel/data" - AXEL_PLUGINS_DIR="/usr/lib/axel-plugins" - AXEL_GROUP="dtk-axel" - enewgroup "${AXEL_GROUP}" -} - -PATCHES=( - "${FILESDIR}/${PV}/CMakeLists.txt.patch" - "${FILESDIR}/${PV}/AxelConfig.cmake.in.patch" - "${FILESDIR}/${PV}/install-axel-config.h.in.patch" - "${FILESDIR}/${PV}/main.cpp.patch" -) - -src_prepare() { - cp "${FILESDIR}/${PV}/install-AxelConfig.cmake.in" \ - "${S}/cmake/install-AxelConfig.cmake.in" || \ - die "Could not copy '${FILESDIR}/${PV}/install-AxelConfig.cmake.in' to '${S}/cmake/'" - # patches are applied by cmake-utils - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DAXL=ON - -DDTK_USED=ON - -DBUILD_FOR_RELEASE=ON - -Daxel-sdk_VERSION_MAJOR=2 - -Daxel-sdk_VERSION_MINOR=4 - -Daxel-sdk_VERSION_PATCH=0 - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - keepdir "${AXEL_DATA_DIR}" - keepdir "${AXEL_PLUGINS_DIR}" - # allow users to develop plug-ins - fowners "root:${AXEL_GROUP}" "${AXEL_PLUGINS_DIR}" - fperms g+w "${AXEL_PLUGINS_DIR}" -} diff --git a/sci-mathematics/axel/files/2017.03.21/AxelConfig.cmake.in.patch b/sci-mathematics/axel/files/2017.03.21/AxelConfig.cmake.in.patch deleted file mode 100644 index 26156df50..000000000 --- a/sci-mathematics/axel/files/2017.03.21/AxelConfig.cmake.in.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/cmake/AxelConfig.cmake.in.orig 2016-04-09 21:54:56.363950425 +0200 -+++ b/cmake/AxelConfig.cmake.in 2016-04-09 22:05:45.816923263 +0200 -@@ -1,7 +1,7 @@ - --set (@PKG_NAME@_INCLUDE_DIR @PROJECT_SOURCE_DIR@/src @dtk_INCLUDE_DIRS@) --set (@PKG_NAME@_LIBRARY_DIR @CMAKE_BINARY_DIR@/lib) --set (@PKG_NAME@_PLUGIN_DIR @CMAKE_BINARY_DIR@/plugins) -+set (@PKG_NAME@_INCLUDE_DIR @PROJECT_SOURCE_DIR@/src @dtk_INCLUDE_DIRS@ @CMAKE_INSTALL_PREFIX@/include/axlCore @CMAKE_INSTALL_PREFIX@/include/axlGui) -+set (@PKG_NAME@_LIBRARY_DIR @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@) -+set (@PKG_NAME@_PLUGIN_DIR @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/axel-plugins) - - if (APPLE) - set (@PKG_NAME@_PLUGIN_DIR @CMAKE_BINARY_DIR@/bin/axel.app/Contents/PlugIns) diff --git a/sci-mathematics/axel/files/2017.03.21/CMakeLists.txt.patch b/sci-mathematics/axel/files/2017.03.21/CMakeLists.txt.patch deleted file mode 100644 index 967262670..000000000 --- a/sci-mathematics/axel/files/2017.03.21/CMakeLists.txt.patch +++ /dev/null @@ -1,49 +0,0 @@ ---- a/CMakeLists.txt 2017-03-01 16:45:56.000000000 +0100 -+++ b/CMakeLists.txt 2017-03-01 16:53:47.896067236 +0100 -@@ -32,7 +32,7 @@ - #set(AXEL_VERSION ${PROJECT_VERSION}) - - set(AXEL_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}) --set(AXEL_PLUGIN_DIR ${CMAKE_BINARY_DIR}/plugins) -+set(AXEL_PLUGIN_DIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/axel-plugins) - if (APPLE) - set (AXEL_PLUGIN_DIR ${CMAKE_BINARY_DIR}/bin/axel.app/Contents/PlugIns) - endif (APPLE) -@@ -323,18 +323,31 @@ - #################################################################### - if(BUILD_FOR_RELEASE) - configure_file ( "${PROJECT_SOURCE_DIR}/cmake/install-AxelConfig.cmake.in" -- "${CMAKE_BINARY_DIR}/for_installer/lib/cmake/AxelConfig.cmake" -+ "${CMAKE_BINARY_DIR}/lib/cmake/AxelConfig.cmake" - @ONLY IMMEDIATE) - --install ( FILES "${CMAKE_BINARY_DIR}/for_installer/lib/cmake/AxelConfig.cmake" -- DESTINATION lib/cmake) -+install ( FILES "${CMAKE_BINARY_DIR}/lib/cmake/AxelConfig.cmake" -+ DESTINATION lib/cmake/Axel) - - configure_file ( "${PROJECT_SOURCE_DIR}/cmake/install-axel-config.h.in" -- "${CMAKE_BINARY_DIR}/for_installer/include/axel-config.h" -+ "${CMAKE_BINARY_DIR}/include/axel-config.h" - @ONLY IMMEDIATE) - --install ( FILES "${CMAKE_BINARY_DIR}/for_installer/include/axel-config.h" -- DESTINATION include) -+install ( FILES "${CMAKE_BINARY_DIR}/include/axel-config.h" -+ DESTINATION include/Axel) -+install ( FILES "${CMAKE_BINARY_DIR}/src/axlCore/axlCoreExport.h" -+ DESTINATION include/axlCore) -+install ( FILES "${CMAKE_BINARY_DIR}/src/axlGui/axlGuiExport.h" -+ DESTINATION include/axlGui) -+ -+install(DIRECTORY "${PROJECT_SOURCE_DIR}/src/axlCore" -+ DESTINATION include/ -+ FILES_MATCHING PATTERN "*.h" -+) -+install(DIRECTORY ${PROJECT_SOURCE_DIR}/src/axlGui -+ DESTINATION include/ -+ FILES_MATCHING PATTERN "*.h" -+) - endif(BUILD_FOR_RELEASE) - ###################################################################### - # Update diff --git a/sci-mathematics/axel/files/2017.03.21/install-AxelConfig.cmake.in b/sci-mathematics/axel/files/2017.03.21/install-AxelConfig.cmake.in deleted file mode 100644 index 8de7aba44..000000000 --- a/sci-mathematics/axel/files/2017.03.21/install-AxelConfig.cmake.in +++ /dev/null @@ -1,67 +0,0 @@ -## Version: $Id$ -## -###################################################################### -## -### Commentary: -## -###################################################################### -## -### Change Log: -## -###################################################################### -## - - -## ################################################################### -## Defines: -## - Axel_INCLUDE_DIRS -## ################################################################### - -set(Axel_INCLUDE_DIRS - "@CMAKE_INSTALL_PREFIX@/include" - "@CMAKE_INSTALL_PREFIX@/include/Axel" - "@CMAKE_INSTALL_PREFIX@/include/axlCore" - "@CMAKE_INSTALL_PREFIX@/include/axlGui") - -set(CMAKE_MODULE_PATH - ${CMAKE_MODULE_PATH} "@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/cmake/Axel/") - -set(AXEL_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@") - -set(AXEL_INSTALL_DOCS "@CMAKE_INSTALL_PREFIX@/doc") - -set(AXEL_PLUGIN_DIR "@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/axel-plugins") - -#include("@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/cmake/Axel/axelDepends.cmake") - -find_package(Qt5 REQUIRED COMPONENTS - Core - Concurrent - Network - Quick - Svg - Test - Widgets - Xml) - -find_package(dtk REQUIRED) - -## ################################################################### -## Options -## ################################################################### - -## ################################################################### -## Always full RPATH -## ################################################################### - -include(GNUInstallDirs) -SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) - -# the RPATH to be used when installing, but only if it's not a system directory -LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}" isSystemDir) -IF("${isSystemDir}" STREQUAL "-1") - SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") -ENDIF("${isSystemDir}" STREQUAL "-1") - -###################################################################### -### AxelConfig.cmake.in ends here diff --git a/sci-mathematics/axel/files/2017.03.21/install-axel-config.h.in.patch b/sci-mathematics/axel/files/2017.03.21/install-axel-config.h.in.patch deleted file mode 100644 index 3b0ce511e..000000000 --- a/sci-mathematics/axel/files/2017.03.21/install-axel-config.h.in.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/cmake/install-axel-config.h.in.orig 2016-04-09 02:52:24.299133099 +0200 -+++ b/cmake/install-axel-config.h.in 2016-04-09 02:54:46.051127171 +0200 -@@ -12,7 +12,7 @@ - #define AXEL_SOURCE_DIR "[INSTALLER_TARGET_DIR]" - - /* Directory of plugins */ --#define AXEL_PLUGIN_DIR "[INSTALLER_TARGET_DIR]/@INSTALLER_PLUGIN_SUBDIR@" -+#define AXEL_PLUGIN_DIR "@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/axel-plugins" - - /* Directory of data */ --#define AXEL_DATA_DIR "[INSTALLER_TARGET_DIR]/data" -+#define AXEL_DATA_DIR "@CMAKE_INSTALL_PREFIX@/share/axel/data" diff --git a/sci-mathematics/axel/files/2017.03.21/main.cpp.patch b/sci-mathematics/axel/files/2017.03.21/main.cpp.patch deleted file mode 100644 index d9a490d6f..000000000 --- a/sci-mathematics/axel/files/2017.03.21/main.cpp.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- axel-2017.02.16/app/axel/main.cpp 2017-03-01 17:35:15.329721658 +0100 -+++ axel-2017.02.16/app/axel/main.cpp 2017-03-01 17:41:45.095111231 +0100 -@@ -39,6 +39,7 @@ - #include <axlRpc/axlServer.h> - #endif - -+#include <axel-config.h> // For AXEL_PLUGIN_DIR, AXEL_DATA_DIR - - int main(int argc, char **argv) - { -@@ -84,7 +85,11 @@ - #elif defined(Q_OS_MAC) - QString pathPlugins = QString("%1/../PlugIns/").arg(qApp->applicationDirPath()); - #else -- QString pathPlugins = QString("%1/../plugins/").arg(qApp->applicationDirPath()); -+ #if defined(AXEL_PLUGIN_DIR) -+ QString pathPlugins = QString(AXEL_PLUGIN_DIR); -+ #else -+ QString pathPlugins = QString("%1/../plugins/").arg(qApp->applicationDirPath()); -+ #endif - #endif - dtkPluginManager::instance()->setPath(pathPlugins); - //Initialized all factories diff --git a/sci-mathematics/axel/metadata.xml b/sci-mathematics/axel/metadata.xml deleted file mode 100644 index c38916f51..000000000 --- a/sci-mathematics/axel/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>harald.wei...@jku.at</email> - <name>Harald Weiner</name> - </maintainer> - <maintainer type="project"> - <email>s...@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-mathematics/gismo/files/2017.03.21/gsAxel-CMakeLists.txt.patch b/sci-mathematics/gismo/files/2017.03.21/gsAxel-CMakeLists.txt.patch deleted file mode 100644 index fb2347373..000000000 --- a/sci-mathematics/gismo/files/2017.03.21/gsAxel-CMakeLists.txt.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- a/plugins/gsAxel/CMakeLists.txt 2016-10-14 02:04:17.303985030 +0200 -+++ b/plugins/gsAxel/CMakeLists.txt 2016-10-14 02:06:30.251979470 +0200 -@@ -150,7 +150,7 @@ - - qt5_use_modules(${PROJECT_NAME} Quick) - qt5_use_modules(${PROJECT_NAME} Network) --qt5_use_modules(${PROJECT_NAME} Declarative) -+#qt5_use_modules(${PROJECT_NAME} Declarative) - qt5_use_modules(${PROJECT_NAME} Xml) - qt5_use_modules(${PROJECT_NAME} Core) - qt5_use_modules(${PROJECT_NAME} Gui) -@@ -169,21 +169,21 @@ - - # note: policy CMP0026: The LOCATION property should not be read from target - #get_property(gsAxelPlugin_location TARGET ${PROJECT_NAME} PROPERTY LOCATION) --ADD_CUSTOM_COMMAND( -- TARGET ${PROJECT_NAME} -- POST_BUILD -- COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:${PROJECT_NAME}> ${AXEL_PLUGIN_DIR} -- COMMAND ${CMAKE_COMMAND} -E echo 'The plugin has been copied to ${AXEL_PLUGIN_DIR}.' -- ) -+#ADD_CUSTOM_COMMAND( -+# TARGET ${PROJECT_NAME} -+# POST_BUILD -+# COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:${PROJECT_NAME}> ${AXEL_PLUGIN_DIR} -+# COMMAND ${CMAKE_COMMAND} -E echo 'The plugin has been copied to ${AXEL_PLUGIN_DIR}.' -+# ) - - ## ################################################################# - ## Install rules - ## ################################################################# - - install(TARGETS ${PROJECT_NAME} -- RUNTIME DESTINATION include/gismo/plugins -- LIBRARY DESTINATION include/gismo/plugins -- ARCHIVE DESTINATION include/gismo/plugins) -+ RUNTIME DESTINATION lib/axel-plugins/ -+ LIBRARY DESTINATION lib/axel-plugins/ -+ ARCHIVE DESTINATION lib/axel-plugins/) - - - ##########CPACK diff --git a/sci-mathematics/gismo/gismo-2017.03.21.ebuild b/sci-mathematics/gismo/gismo-2017.03.21.ebuild deleted file mode 100644 index 1e505d55f..000000000 --- a/sci-mathematics/gismo/gismo-2017.03.21.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils eutils - -DESCRIPTION='C++ library for geometric design and numerical simulation' -HOMEPAGE="https://gs.jku.at/gismo" -SRC_URI="https://timeraider4u.github.io/distfiles/files/${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples vtk" - -# Unbundling in progress, -# preparing local changes to get upstream -DEPEND=" - doc? ( >=app-doc/doxygen-1.8 ) - vtk? ( dev-qt/qtwidgets:5 - sci-mathematics/axel - sci-mathematics/axel-vtkview - )" - -PATCHES=( - "${FILESDIR}/${PV}/gsAxel-CMakeLists.txt.patch" -) - -src_configure() { - local mycmakeargs=( - -DGISMO_BUILD_EXAMPLES=$(usex examples) - -DGISMO_BUILD_AXL=$(usex vtk) - # set to same directory as the one used by einstalldocs - -DDOC_INSTALL_DIR="/usr/share/doc/${PF}" - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile - if use doc ; then - # explicitly call optional target doc - cd "${S}_build" || die "could not find cmake build folder" - emake doc - fi -} diff --git a/sci-mathematics/gismo/metadata.xml b/sci-mathematics/gismo/metadata.xml deleted file mode 100644 index 37c33ad5e..000000000 --- a/sci-mathematics/gismo/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>harald.wei...@jku.at</email> - <name>Harald Weiner</name> - </maintainer> - <use> - <flag name="doc">Build doxygen-documentation</flag> - <flag name="examples">Build examples</flag> - <flag name="vtk">Build plug-in for sci-mathematics/axel-vtkview</flag> - </use> -</pkgmetadata>