mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
Merge updates from master
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 pypi xdg
|
||||
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
DIST mat2-0.13.3.tar.gz 11782599 BLAKE2B 26ace57f5ac8ba2444a389615cb89f30e27a89f2e704620dcf0e0999f9643d7b46f6a920ead1ee747c1ac7f818cdb3fe0dcd3acf3b370545414aefd7e1c3850c SHA512 48405de214b69e6d6fe818580ce758817632a4a3ab6cc6b73e7c13d0db2d5cd75a4ffffab22ce1b5dc73a6cc03da9436e44e290f74700027277ec18db023a6fb
|
||||
DIST mat2-0.13.3.tar.gz.asc 833 BLAKE2B 9e1fdd6b714f020e16b3660f535ef1b1a150220011922f50a67cd1dce7ed8c704a7c1537e3304d38a5a2b3b42affa1c46a1bb6afd342ef4247dcbec2e1e68ebc SHA512 d6de8d3675892407da58171c71f65785df6d946842cda23b12a6d9c253a89d9885c83857f3e7bd05309490f3c4e482c2eeef567e2fdc650d9ac772cf91da9e8e
|
||||
DIST mat2-0.13.4.tar.gz 11782937 BLAKE2B cab400479bbf312979e11f00bccf02e0e330455651dcdef239507c511b4101cb8b39af5f9dfdc1df9f1bcedc3dda3276c7cf598491c0ff0fc1f365f540fdb7a6 SHA512 75c08c9c52a82f9983e799c2aeef0da8324d1c92ac32fb748a68063ec7b28569692082aceacf7161d24db0e8a988357c423b6e17ca5c0f934309c9791c41ab18
|
||||
DIST mat2-0.13.4.tar.gz.asc 833 BLAKE2B 5e108396ca5d52c88e714b3f66f2e36fd900089be0820facdfed02ba44f879a02e4f510d9f28c53ac2d1a01e678f69062a72a6aca2508ceb844620d06ea4cd78 SHA512 380c7ef948aea2af1b0e4c56b69848f365db0967678dbf8881d1a33fd8050523c11b7648a676636ee68190cb640a37e41b60aa6f9f604e7cf1b6f0044fc54c98
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=(python3_{10..11})
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 optfeature verify-sig
|
||||
|
||||
DESCRIPTION="Metadata Anonymisation Toolkit: handy tool to trash your metadata"
|
||||
HOMEPAGE="https://0xacab.org/jvoisin/mat2"
|
||||
SIG_UPLOAD_HASH="672c73a1b8b0e79cdf7187900f3cc8ca"
|
||||
SRC_URI="
|
||||
https://0xacab.org/jvoisin/${PN}/-/archive/${PV}/${P}.tar.gz
|
||||
verify-sig? ( https://0xacab.org/jvoisin/${PN}/uploads/${SIG_UPLOAD_HASH}/${P}.tar.gz.asc )
|
||||
"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-text/poppler[introspection,cairo]
|
||||
dev-libs/glib:2
|
||||
dev-python/pycairo:0[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
|
||||
gnome-base/librsvg[introspection]
|
||||
media-libs/mutagen:0[${PYTHON_USEDEP}]
|
||||
x11-libs/gdk-pixbuf:2[introspection,jpeg,tiff]
|
||||
"
|
||||
BDEPEND="
|
||||
verify-sig? ( >sec-keys/openpgp-keys-jvoisin-20200714 )
|
||||
test? (
|
||||
media-libs/exiftool:*
|
||||
media-video/ffmpeg[mp3,vorbis]
|
||||
)
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/jvoisin.asc
|
||||
|
||||
DOCS=( doc {CHANGELOG,CONTRIBUTING,INSTALL,README}.md )
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm pyproject.toml || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "misc file format support" media-libs/exiftool
|
||||
optfeature "sandboxing" sys-apps/bubblewrap
|
||||
optfeature "video support" media-video/ffmpeg
|
||||
}
|
||||
@@ -1,20 +1,17 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=(python3_{10,11})
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit git-r3 python-single-r1
|
||||
|
||||
DESCRIPTION="Pokemon unicode sprites for your terminal!"
|
||||
|
||||
HOMEPAGE="https://gitlab.com/phoneybadger/pokemon-colorscripts"
|
||||
|
||||
EGIT_REPO_URI="https://gitlab.com/phoneybadger/pokemon-colorscripts.git"
|
||||
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST material-color-utilities-0.1.5.tar.gz 25702 BLAKE2B cf444831fec962caae3a1871b8331dcdd055f186754631185140842e49e1dc5526c5aedc021d28cd5e192e6f593774abce34e4a2853049e9ded2cf3ca9b79e3f SHA512 f3987da2723f9bc0a383d544868bd48b79c815c1ef3b601cf7daf711ae66ba2e20c38d272fff34b8fef724d202cdb71431d885d0fc86cf6b459a8735cd0751a4
|
||||
DIST material-color-utilities-python-0.1.5.tar.gz 25702 BLAKE2B cf444831fec962caae3a1871b8331dcdd055f186754631185140842e49e1dc5526c5aedc021d28cd5e192e6f593774abce34e4a2853049e9ded2cf3ca9b79e3f SHA512 f3987da2723f9bc0a383d544868bd48b79c815c1ef3b601cf7daf711ae66ba2e20c38d272fff34b8fef724d202cdb71431d885d0fc86cf6b459a8735cd0751a4
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=(python3_{10..11})
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
inherit distutils-r1
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYPI_PN="${PN}-python"
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
MY_PN="${PN}-python"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
@@ -19,7 +22,6 @@ if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/avanishsubbiah/material-color-utilities-python.git"
|
||||
else
|
||||
SRC_URI="https://files.pythonhosted.org/packages/source/m/material-color-utilities-python/material-color-utilities-python-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=(python3_{10..11})
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="${PN}-python"
|
||||
@@ -19,7 +20,6 @@ if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/avanishsubbiah/material-color-utilities-python.git"
|
||||
else
|
||||
SRC_URI="https://files.pythonhosted.org/packages/source/m/material-color-utilities-python/material-color-utilities-python-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
38
dev-python/oscrypto/files/openssl-3.0.10-fix.patch
Normal file
38
dev-python/oscrypto/files/openssl-3.0.10-fix.patch
Normal file
@@ -0,0 +1,38 @@
|
||||
From ebbc944485b278192b60080ea1f495e287efb4f8 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Journois <BibMartin@users.noreply.github.com>
|
||||
Date: Thu, 17 Aug 2023 13:09:31 +0200
|
||||
Subject: [PATCH] MJ: Fix #75 bug with openssl 3.0.10 (#76)
|
||||
|
||||
* MJ: Fix #75 bug with openssl 3.0.10
|
||||
* MJ: Add fix suggested by @vcunat on _libcrypto_ctypes regex
|
||||
---
|
||||
oscrypto/_openssl/_libcrypto_cffi.py | 2 +-
|
||||
oscrypto/_openssl/_libcrypto_ctypes.py | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/oscrypto/_openssl/_libcrypto_cffi.py b/oscrypto/_openssl/_libcrypto_cffi.py
|
||||
index 8aed03e..14eb576 100644
|
||||
--- a/oscrypto/_openssl/_libcrypto_cffi.py
|
||||
+++ b/oscrypto/_openssl/_libcrypto_cffi.py
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
is_libressl = 'LibreSSL' in version_string
|
||||
|
||||
-version_match = re.search('\\b(\\d\\.\\d\\.\\d[a-z]*)\\b', version_string)
|
||||
+version_match = re.search('\\b(\\d\\.\\d\\.\\d+[a-z]*)\\b', version_string)
|
||||
if not version_match:
|
||||
version_match = re.search('(?<=LibreSSL )(\\d\\.\\d(\\.\\d)?)\\b', version_string)
|
||||
if not version_match:
|
||||
diff --git a/oscrypto/_openssl/_libcrypto_ctypes.py b/oscrypto/_openssl/_libcrypto_ctypes.py
|
||||
index e33ebbc..9cb294a 100644
|
||||
--- a/oscrypto/_openssl/_libcrypto_ctypes.py
|
||||
+++ b/oscrypto/_openssl/_libcrypto_ctypes.py
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
is_libressl = 'LibreSSL' in version_string
|
||||
|
||||
-version_match = re.search('\\b(\\d\\.\\d\\.\\d[a-z]*)\\b', version_string)
|
||||
+version_match = re.search('\\b(\\d\\.\\d\\.\\d+[a-z]*)\\b', version_string)
|
||||
if not version_match:
|
||||
version_match = re.search('(?<=LibreSSL )(\\d\\.\\d(\\.\\d)?)\\b', version_string)
|
||||
if not version_match:
|
||||
902
dev-python/oscrypto/files/py3.12.patch
Normal file
902
dev-python/oscrypto/files/py3.12.patch
Normal file
@@ -0,0 +1,902 @@
|
||||
From 3be536e4a61ac5fbd403ee80cdb54cb666f34679 Mon Sep 17 00:00:00 2001
|
||||
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
|
||||
Date: Thu, 17 Aug 2023 09:05:29 +0200
|
||||
Subject: [PATCH 01/13] use `importlib` instead of deprecated `imp` module
|
||||
|
||||
This fixes tests with python 3.12 where the `imp` module was
|
||||
[removed](https://docs.python.org/3.12/whatsnew/3.12.html#removed).
|
||||
|
||||
This should fix issue #74.
|
||||
---
|
||||
tests/__init__.py | 5 ++---
|
||||
1 file changed, 2 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/tests/__init__.py b/tests/__init__.py
|
||||
index 4c65360..90bede4 100644
|
||||
--- a/tests/__init__.py
|
||||
+++ b/tests/__init__.py
|
||||
@@ -1,7 +1,7 @@
|
||||
# coding: utf-8
|
||||
from __future__ import unicode_literals, division, absolute_import, print_function
|
||||
|
||||
-import imp
|
||||
+import importlib
|
||||
import os
|
||||
import unittest
|
||||
|
||||
@@ -94,8 +94,7 @@ def _import_from(mod, path, mod_dir=None):
|
||||
return None
|
||||
|
||||
try:
|
||||
- mod_info = imp.find_module(mod_dir, [path])
|
||||
- return imp.load_module(mod, *mod_info)
|
||||
+ return importlib.import_module(mod)
|
||||
except ImportError:
|
||||
return None
|
||||
|
||||
|
||||
From 199f07eefb9c0d1d5ad8093c012fbdae1fefa633 Mon Sep 17 00:00:00 2001
|
||||
From: wbond <will@wbond.net>
|
||||
Date: Thu, 17 Aug 2023 07:14:40 -0400
|
||||
Subject: [PATCH 02/13] Fix compatibility with Python 2.6
|
||||
|
||||
---
|
||||
tests/__init__.py | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/__init__.py b/tests/__init__.py
|
||||
index 90bede4..3ca9334 100644
|
||||
--- a/tests/__init__.py
|
||||
+++ b/tests/__init__.py
|
||||
@@ -1,10 +1,15 @@
|
||||
# coding: utf-8
|
||||
from __future__ import unicode_literals, division, absolute_import, print_function
|
||||
|
||||
-import importlib
|
||||
import os
|
||||
+import sys
|
||||
import unittest
|
||||
|
||||
+if sys.version_info < (3,):
|
||||
+ import imp as importlib
|
||||
+else:
|
||||
+ import importlib
|
||||
+
|
||||
|
||||
__version__ = '1.3.0'
|
||||
__version_info__ = (1, 3, 0)
|
||||
|
||||
From 19de26bdad3154dc30c6661b652c459438fa9be2 Mon Sep 17 00:00:00 2001
|
||||
From: wbond <will@wbond.net>
|
||||
Date: Thu, 17 Aug 2023 07:25:49 -0400
|
||||
Subject: [PATCH 03/13] Fix both imp and importlib implementations
|
||||
|
||||
---
|
||||
tests/__init__.py | 9 +++++++--
|
||||
1 file changed, 7 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/__init__.py b/tests/__init__.py
|
||||
index 3ca9334..7aab84d 100644
|
||||
--- a/tests/__init__.py
|
||||
+++ b/tests/__init__.py
|
||||
@@ -6,7 +6,7 @@
|
||||
import unittest
|
||||
|
||||
if sys.version_info < (3,):
|
||||
- import imp as importlib
|
||||
+ import imp
|
||||
else:
|
||||
import importlib
|
||||
|
||||
@@ -99,7 +99,12 @@ def _import_from(mod, path, mod_dir=None):
|
||||
return None
|
||||
|
||||
try:
|
||||
- return importlib.import_module(mod)
|
||||
+ if sys.version_info < (3,):
|
||||
+ mod_info = imp.find_module(mod_dir, [path])
|
||||
+ return imp.load_module(mod, *mod_info)
|
||||
+ else:
|
||||
+ mod_info = importlib.machinery.PathFinder().find_spec(mod_dir, [path])
|
||||
+ return importlib.import_module(mod, *mod_info)
|
||||
except ImportError:
|
||||
return None
|
||||
|
||||
|
||||
From 6973b915069babf665bc223979cd86b2dc262da4 Mon Sep 17 00:00:00 2001
|
||||
From: wbond <will@wbond.net>
|
||||
Date: Thu, 17 Aug 2023 07:34:37 -0400
|
||||
Subject: [PATCH 04/13] More importlib fixes
|
||||
|
||||
---
|
||||
tests/__init__.py | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/__init__.py b/tests/__init__.py
|
||||
index 7aab84d..957c083 100644
|
||||
--- a/tests/__init__.py
|
||||
+++ b/tests/__init__.py
|
||||
@@ -103,8 +103,10 @@ def _import_from(mod, path, mod_dir=None):
|
||||
mod_info = imp.find_module(mod_dir, [path])
|
||||
return imp.load_module(mod, *mod_info)
|
||||
else:
|
||||
- mod_info = importlib.machinery.PathFinder().find_spec(mod_dir, [path])
|
||||
- return importlib.import_module(mod, *mod_info)
|
||||
+ spec = importlib.machinery.PathFinder().find_spec(mod_dir, [path])
|
||||
+ module = importlib.util.module_from_spec(spec)
|
||||
+ sys.modules[mod] = module
|
||||
+ spec.loader.exec_module(module)
|
||||
except ImportError:
|
||||
return None
|
||||
|
||||
|
||||
From 8843c89acae8435a7ba731b42750e42caef87a70 Mon Sep 17 00:00:00 2001
|
||||
From: wbond <will@wbond.net>
|
||||
Date: Thu, 17 Aug 2023 07:35:40 -0400
|
||||
Subject: [PATCH 05/13] Python 3.3 has a different importlib implementation
|
||||
|
||||
---
|
||||
tests/__init__.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/__init__.py b/tests/__init__.py
|
||||
index 957c083..8339b5d 100644
|
||||
--- a/tests/__init__.py
|
||||
+++ b/tests/__init__.py
|
||||
@@ -5,7 +5,7 @@
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
-if sys.version_info < (3,):
|
||||
+if sys.version_info < (3, 5):
|
||||
import imp
|
||||
else:
|
||||
import importlib
|
||||
@@ -99,7 +99,7 @@ def _import_from(mod, path, mod_dir=None):
|
||||
return None
|
||||
|
||||
try:
|
||||
- if sys.version_info < (3,):
|
||||
+ if sys.version_info < (3, 5):
|
||||
mod_info = imp.find_module(mod_dir, [path])
|
||||
return imp.load_module(mod, *mod_info)
|
||||
else:
|
||||
|
||||
From 53fa3ca263ad6bc04e4a8a56f180b82bdc88aa03 Mon Sep 17 00:00:00 2001
|
||||
From: wbond <will@wbond.net>
|
||||
Date: Thu, 17 Aug 2023 08:22:21 -0400
|
||||
Subject: [PATCH 06/13] Attempt a different importlib implementation
|
||||
|
||||
---
|
||||
tests/__init__.py | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/__init__.py b/tests/__init__.py
|
||||
index 8339b5d..0eecf2f 100644
|
||||
--- a/tests/__init__.py
|
||||
+++ b/tests/__init__.py
|
||||
@@ -103,7 +103,12 @@ def _import_from(mod, path, mod_dir=None):
|
||||
mod_info = imp.find_module(mod_dir, [path])
|
||||
return imp.load_module(mod, *mod_info)
|
||||
else:
|
||||
- spec = importlib.machinery.PathFinder().find_spec(mod_dir, [path])
|
||||
+ loader_details = (
|
||||
+ importlib.machinery.SourceFileLoader,
|
||||
+ importlib.machinery.SOURCE_SUFFIXES
|
||||
+ )
|
||||
+ finder = importlib.machinery.FileFinder(path, loader_details)
|
||||
+ spec = finder.find_spec(mod_dir)
|
||||
module = importlib.util.module_from_spec(spec)
|
||||
sys.modules[mod] = module
|
||||
spec.loader.exec_module(module)
|
||||
|
||||
From b013e440061c88dfe0301309b695c7b47bcc1e72 Mon Sep 17 00:00:00 2001
|
||||
From: wbond <will@wbond.net>
|
||||
Date: Thu, 17 Aug 2023 15:52:30 -0400
|
||||
Subject: [PATCH 07/13] Hopefully some fully working Python 3.12-compatible
|
||||
import backflips
|
||||
|
||||
---
|
||||
dev/_import.py | 35 ++++++++++++++++++++++++++++++++---
|
||||
tests/__init__.py | 4 ++++
|
||||
2 files changed, 36 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/dev/_import.py b/dev/_import.py
|
||||
index d64c028..016c576 100644
|
||||
--- a/dev/_import.py
|
||||
+++ b/dev/_import.py
|
||||
@@ -1,12 +1,19 @@
|
||||
# coding: utf-8
|
||||
from __future__ import unicode_literals, division, absolute_import, print_function
|
||||
|
||||
-import imp
|
||||
import sys
|
||||
import os
|
||||
|
||||
from . import build_root, package_name, package_root
|
||||
|
||||
+if sys.version_info < (3, 5):
|
||||
+ import imp
|
||||
+else:
|
||||
+ import importlib
|
||||
+ import importlib.machinery
|
||||
+ import importlib.util
|
||||
+
|
||||
+
|
||||
if sys.version_info < (3,):
|
||||
getcwd = os.getcwdu
|
||||
else:
|
||||
@@ -34,6 +41,14 @@ def _import_from(mod, path, mod_dir=None, allow_error=False):
|
||||
None if not loaded, otherwise the module
|
||||
"""
|
||||
|
||||
+ if mod in sys.modules:
|
||||
+ return sys.modules[mod]
|
||||
+
|
||||
+ if mod_dir is None:
|
||||
+ full_mod = mod
|
||||
+ else:
|
||||
+ full_mod = mod_dir
|
||||
+
|
||||
if mod_dir is None:
|
||||
mod_dir = mod.replace('.', os.sep)
|
||||
|
||||
@@ -49,8 +64,22 @@ def _import_from(mod, path, mod_dir=None, allow_error=False):
|
||||
path = os.path.join(path, append)
|
||||
|
||||
try:
|
||||
- mod_info = imp.find_module(mod_dir, [path])
|
||||
- return imp.load_module(mod, *mod_info)
|
||||
+ if sys.version_info < (3, 5):
|
||||
+ mod_info = imp.find_module(mod_dir, [path])
|
||||
+ return imp.load_module(mod, *mod_info)
|
||||
+
|
||||
+ else:
|
||||
+ loader_details = (
|
||||
+ importlib.machinery.SourceFileLoader,
|
||||
+ importlib.machinery.SOURCE_SUFFIXES
|
||||
+ )
|
||||
+ finder = importlib.machinery.FileFinder(path, loader_details)
|
||||
+ spec = finder.find_spec(full_mod)
|
||||
+ module = importlib.util.module_from_spec(spec)
|
||||
+ sys.modules[mod] = module
|
||||
+ spec.loader.exec_module(module)
|
||||
+ return module
|
||||
+
|
||||
except ImportError:
|
||||
if allow_error:
|
||||
raise
|
||||
diff --git a/tests/__init__.py b/tests/__init__.py
|
||||
index 0eecf2f..9759ae3 100644
|
||||
--- a/tests/__init__.py
|
||||
+++ b/tests/__init__.py
|
||||
@@ -89,6 +89,9 @@ def _import_from(mod, path, mod_dir=None):
|
||||
None if not loaded, otherwise the module
|
||||
"""
|
||||
|
||||
+ if mod in sys.modules:
|
||||
+ return sys.modules[mod]
|
||||
+
|
||||
if mod_dir is None:
|
||||
mod_dir = mod
|
||||
|
||||
@@ -112,6 +115,7 @@ def _import_from(mod, path, mod_dir=None):
|
||||
module = importlib.util.module_from_spec(spec)
|
||||
sys.modules[mod] = module
|
||||
spec.loader.exec_module(module)
|
||||
+ return module
|
||||
except ImportError:
|
||||
return None
|
||||
|
||||
|
||||
From 8ec71631b5adf6f6ab34c7cc3fe8e229a2bdcbd7 Mon Sep 17 00:00:00 2001
|
||||
From: Dominik Mierzejewski <dominik@greysector.net>
|
||||
Date: Fri, 18 Aug 2023 11:18:06 +0200
|
||||
Subject: [PATCH 08/13] Use importlib with python 3.5+
|
||||
|
||||
This fixes `python run.py ci` under python 3.12.
|
||||
---
|
||||
dev/coverage.py | 21 ++++++++++++++++++---
|
||||
1 file changed, 18 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/dev/coverage.py b/dev/coverage.py
|
||||
index bb99a4f..6e669fe 100644
|
||||
--- a/dev/coverage.py
|
||||
+++ b/dev/coverage.py
|
||||
@@ -4,7 +4,6 @@
|
||||
import cgi
|
||||
import codecs
|
||||
import coverage
|
||||
-import imp
|
||||
import json
|
||||
import os
|
||||
import unittest
|
||||
@@ -33,6 +32,11 @@
|
||||
else:
|
||||
Pattern = re.Pattern
|
||||
|
||||
+if sys.version_info < (3, 5):
|
||||
+ import imp
|
||||
+else:
|
||||
+ import importlib
|
||||
+
|
||||
|
||||
def run(ci=False):
|
||||
"""
|
||||
@@ -103,8 +107,19 @@ def _load_package_tests(name):
|
||||
if not os.path.exists(package_dir):
|
||||
return []
|
||||
|
||||
- tests_module_info = imp.find_module('tests', [package_dir])
|
||||
- tests_module = imp.load_module('%s.tests' % name, *tests_module_info)
|
||||
+ if sys.version_info < (3, 5):
|
||||
+ tests_module_info = imp.find_module('tests', [package_dir])
|
||||
+ tests_module = imp.load_module('%s.tests' % name, *tests_module_info)
|
||||
+ else:
|
||||
+ loader_details = (
|
||||
+ importlib.machinery.SourceFileLoader,
|
||||
+ importlib.machinery.SOURCE_SUFFIXES
|
||||
+ )
|
||||
+ finder = importlib.machinery.FileFinder(package_dir, loader_details)
|
||||
+ spec = finder.find_spec('tests')
|
||||
+ test_module = importlib.util.module_from_spec(spec)
|
||||
+ sys.modules['%s.tests' % name] = test_module
|
||||
+ spec.loader.exec_module(test_module)
|
||||
return tests_module.test_classes()
|
||||
|
||||
|
||||
|
||||
From 23d848a500413847a63df740af543e0fdaba5558 Mon Sep 17 00:00:00 2001
|
||||
From: wbond <will@wbond.net>
|
||||
Date: Tue, 22 Aug 2023 06:56:36 -0400
|
||||
Subject: [PATCH 09/13] Reuse _import_from in coverage task, fixing module name
|
||||
|
||||
---
|
||||
dev/coverage.py | 21 ++-------------------
|
||||
1 file changed, 2 insertions(+), 19 deletions(-)
|
||||
|
||||
diff --git a/dev/coverage.py b/dev/coverage.py
|
||||
index 6e669fe..00684d0 100644
|
||||
--- a/dev/coverage.py
|
||||
+++ b/dev/coverage.py
|
||||
@@ -16,6 +16,7 @@
|
||||
from fnmatch import fnmatch
|
||||
|
||||
from . import package_name, package_root, other_packages
|
||||
+from ._import import _import_from
|
||||
|
||||
if sys.version_info < (3,):
|
||||
str_cls = unicode # noqa
|
||||
@@ -32,11 +33,6 @@
|
||||
else:
|
||||
Pattern = re.Pattern
|
||||
|
||||
-if sys.version_info < (3, 5):
|
||||
- import imp
|
||||
-else:
|
||||
- import importlib
|
||||
-
|
||||
|
||||
def run(ci=False):
|
||||
"""
|
||||
@@ -107,20 +103,7 @@ def _load_package_tests(name):
|
||||
if not os.path.exists(package_dir):
|
||||
return []
|
||||
|
||||
- if sys.version_info < (3, 5):
|
||||
- tests_module_info = imp.find_module('tests', [package_dir])
|
||||
- tests_module = imp.load_module('%s.tests' % name, *tests_module_info)
|
||||
- else:
|
||||
- loader_details = (
|
||||
- importlib.machinery.SourceFileLoader,
|
||||
- importlib.machinery.SOURCE_SUFFIXES
|
||||
- )
|
||||
- finder = importlib.machinery.FileFinder(package_dir, loader_details)
|
||||
- spec = finder.find_spec('tests')
|
||||
- test_module = importlib.util.module_from_spec(spec)
|
||||
- sys.modules['%s.tests' % name] = test_module
|
||||
- spec.loader.exec_module(test_module)
|
||||
- return tests_module.test_classes()
|
||||
+ return _import_from('%s.tests' % name, package_dir, 'tests').test_classes()
|
||||
|
||||
|
||||
def _env_info():
|
||||
|
||||
From 9941d3b96e8aa08622d00954d89005dcf6e94b94 Mon Sep 17 00:00:00 2001
|
||||
From: wbond <will@wbond.net>
|
||||
Date: Tue, 22 Aug 2023 07:03:26 -0400
|
||||
Subject: [PATCH 10/13] Factor out remaining usage of imp module
|
||||
|
||||
---
|
||||
dev/build.py | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/dev/build.py b/dev/build.py
|
||||
index 4899594..f429fee 100644
|
||||
--- a/dev/build.py
|
||||
+++ b/dev/build.py
|
||||
@@ -1,7 +1,6 @@
|
||||
# coding: utf-8
|
||||
from __future__ import unicode_literals, division, absolute_import, print_function
|
||||
|
||||
-import imp
|
||||
import os
|
||||
import tarfile
|
||||
import zipfile
|
||||
@@ -9,6 +8,7 @@
|
||||
import setuptools.sandbox
|
||||
|
||||
from . import package_root, package_name, has_tests_package
|
||||
+from ._import import _import_from
|
||||
|
||||
|
||||
def _list_zip(filename):
|
||||
@@ -45,8 +45,8 @@ def run():
|
||||
|
||||
# Trying to call setuptools.sandbox.run_setup(setup, ['--version'])
|
||||
# resulted in a segfault, so we do this instead
|
||||
- module_info = imp.find_module('version', [os.path.join(package_root, package_name)])
|
||||
- version_mod = imp.load_module('%s.version' % package_name, *module_info)
|
||||
+ package_dir = os.path.join(package_root, package_name)
|
||||
+ version_mod = _import_from('%s.version' % package_name, package_dir, 'version')
|
||||
|
||||
pkg_name_info = (package_name, version_mod.__version__)
|
||||
print('Building %s-%s' % pkg_name_info)
|
||||
|
||||
From 799aa0d2f4a954d3fc120ab382c8dd4322758654 Mon Sep 17 00:00:00 2001
|
||||
From: wbond <will@wbond.net>
|
||||
Date: Tue, 22 Aug 2023 16:29:39 -0400
|
||||
Subject: [PATCH 11/13] Rewrite importlib import mechanism
|
||||
|
||||
---
|
||||
dev/_import.py | 69 ++++++++++++++++++++++++++++++++---------
|
||||
tests/__init__.py | 79 ++++++++++++++++++++++++++++++++++++++++-------
|
||||
2 files changed, 122 insertions(+), 26 deletions(-)
|
||||
|
||||
diff --git a/dev/_import.py b/dev/_import.py
|
||||
index 016c576..20720e7 100644
|
||||
--- a/dev/_import.py
|
||||
+++ b/dev/_import.py
|
||||
@@ -10,7 +10,7 @@
|
||||
import imp
|
||||
else:
|
||||
import importlib
|
||||
- import importlib.machinery
|
||||
+ import importlib.abc
|
||||
import importlib.util
|
||||
|
||||
|
||||
@@ -20,6 +20,48 @@
|
||||
getcwd = os.getcwd
|
||||
|
||||
|
||||
+class ModCryptoMetaFinder(importlib.abc.MetaPathFinder):
|
||||
+ def setup(self):
|
||||
+ self.modules = {}
|
||||
+ sys.meta_path.insert(0, self)
|
||||
+
|
||||
+ def add_module(self, package_name, package_path):
|
||||
+ if package_name not in self.modules:
|
||||
+ self.modules[package_name] = package_path
|
||||
+
|
||||
+ def find_spec(self, fullname, path, target=None):
|
||||
+ name_parts = fullname.split('.')
|
||||
+ if name_parts[0] not in self.modules:
|
||||
+ return None
|
||||
+
|
||||
+ package = name_parts[0]
|
||||
+ package_path = self.modules[package]
|
||||
+
|
||||
+ fullpath = os.path.join(package_path, *name_parts[1:])
|
||||
+
|
||||
+ if os.path.isdir(fullpath):
|
||||
+ filename = os.path.join(fullpath, "__init__.py")
|
||||
+ submodule_locations = [fullpath]
|
||||
+ else:
|
||||
+ filename = fullpath + ".py"
|
||||
+ submodule_locations = None
|
||||
+
|
||||
+ if not os.path.exists(filename):
|
||||
+ return None
|
||||
+
|
||||
+ return importlib.util.spec_from_file_location(
|
||||
+ fullname,
|
||||
+ filename,
|
||||
+ loader=None,
|
||||
+ submodule_search_locations=submodule_locations
|
||||
+ )
|
||||
+
|
||||
+
|
||||
+if sys.version_info >= (3, 5):
|
||||
+ CUSTOM_FINDER = ModCryptoMetaFinder()
|
||||
+ CUSTOM_FINDER.setup()
|
||||
+
|
||||
+
|
||||
def _import_from(mod, path, mod_dir=None, allow_error=False):
|
||||
"""
|
||||
Imports a module from a specific path
|
||||
@@ -47,7 +89,7 @@ def _import_from(mod, path, mod_dir=None, allow_error=False):
|
||||
if mod_dir is None:
|
||||
full_mod = mod
|
||||
else:
|
||||
- full_mod = mod_dir
|
||||
+ full_mod = mod_dir.replace(os.sep, '.')
|
||||
|
||||
if mod_dir is None:
|
||||
mod_dir = mod.replace('.', os.sep)
|
||||
@@ -55,8 +97,11 @@ def _import_from(mod, path, mod_dir=None, allow_error=False):
|
||||
if not os.path.exists(path):
|
||||
return None
|
||||
|
||||
- if not os.path.exists(os.path.join(path, mod_dir)) \
|
||||
- and not os.path.exists(os.path.join(path, mod_dir + '.py')):
|
||||
+ source_path = os.path.join(path, mod_dir, '__init__.py')
|
||||
+ if not os.path.exists(source_path):
|
||||
+ source_path = os.path.join(path, mod_dir + '.py')
|
||||
+
|
||||
+ if not os.path.exists(source_path):
|
||||
return None
|
||||
|
||||
if os.sep in mod_dir:
|
||||
@@ -69,16 +114,12 @@ def _import_from(mod, path, mod_dir=None, allow_error=False):
|
||||
return imp.load_module(mod, *mod_info)
|
||||
|
||||
else:
|
||||
- loader_details = (
|
||||
- importlib.machinery.SourceFileLoader,
|
||||
- importlib.machinery.SOURCE_SUFFIXES
|
||||
- )
|
||||
- finder = importlib.machinery.FileFinder(path, loader_details)
|
||||
- spec = finder.find_spec(full_mod)
|
||||
- module = importlib.util.module_from_spec(spec)
|
||||
- sys.modules[mod] = module
|
||||
- spec.loader.exec_module(module)
|
||||
- return module
|
||||
+ package = mod.split('.', 1)[0]
|
||||
+ package_dir = full_mod.split('.', 1)[0]
|
||||
+ package_path = os.path.join(path, package_dir)
|
||||
+ CUSTOM_FINDER.add_module(package, package_path)
|
||||
+
|
||||
+ return importlib.import_module(mod)
|
||||
|
||||
except ImportError:
|
||||
if allow_error:
|
||||
diff --git a/tests/__init__.py b/tests/__init__.py
|
||||
index 9759ae3..2e24046 100644
|
||||
--- a/tests/__init__.py
|
||||
+++ b/tests/__init__.py
|
||||
@@ -9,6 +9,8 @@
|
||||
import imp
|
||||
else:
|
||||
import importlib
|
||||
+ import importlib.abc
|
||||
+ import importlib.util
|
||||
|
||||
|
||||
__version__ = '1.3.0'
|
||||
@@ -71,6 +73,48 @@ def local_oscrypto():
|
||||
return (_asn1crypto_module, _oscrypto_module)
|
||||
|
||||
|
||||
+class ModCryptoMetaFinder(importlib.abc.MetaPathFinder):
|
||||
+ def setup(self):
|
||||
+ self.modules = {}
|
||||
+ sys.meta_path.insert(0, self)
|
||||
+
|
||||
+ def add_module(self, package_name, package_path):
|
||||
+ if package_name not in self.modules:
|
||||
+ self.modules[package_name] = package_path
|
||||
+
|
||||
+ def find_spec(self, fullname, path, target=None):
|
||||
+ name_parts = fullname.split('.')
|
||||
+ if name_parts[0] not in self.modules:
|
||||
+ return None
|
||||
+
|
||||
+ package = name_parts[0]
|
||||
+ package_path = self.modules[package]
|
||||
+
|
||||
+ fullpath = os.path.join(package_path, *name_parts[1:])
|
||||
+
|
||||
+ if os.path.isdir(fullpath):
|
||||
+ filename = os.path.join(fullpath, "__init__.py")
|
||||
+ submodule_locations = [fullpath]
|
||||
+ else:
|
||||
+ filename = fullpath + ".py"
|
||||
+ submodule_locations = None
|
||||
+
|
||||
+ if not os.path.exists(filename):
|
||||
+ return None
|
||||
+
|
||||
+ return importlib.util.spec_from_file_location(
|
||||
+ fullname,
|
||||
+ filename,
|
||||
+ loader=None,
|
||||
+ submodule_search_locations=submodule_locations
|
||||
+ )
|
||||
+
|
||||
+
|
||||
+if sys.version_info >= (3, 5):
|
||||
+ CUSTOM_FINDER = ModCryptoMetaFinder()
|
||||
+ CUSTOM_FINDER.setup()
|
||||
+
|
||||
+
|
||||
def _import_from(mod, path, mod_dir=None):
|
||||
"""
|
||||
Imports a module from a specific path
|
||||
@@ -93,29 +137,40 @@ def _import_from(mod, path, mod_dir=None):
|
||||
return sys.modules[mod]
|
||||
|
||||
if mod_dir is None:
|
||||
- mod_dir = mod
|
||||
+ full_mod = mod
|
||||
+ else:
|
||||
+ full_mod = mod_dir.replace(os.sep, '.')
|
||||
+
|
||||
+ if mod_dir is None:
|
||||
+ mod_dir = mod.replace('.', os.sep)
|
||||
|
||||
if not os.path.exists(path):
|
||||
return None
|
||||
|
||||
- if not os.path.exists(os.path.join(path, mod_dir)):
|
||||
+ source_path = os.path.join(path, mod_dir, '__init__.py')
|
||||
+ if not os.path.exists(source_path):
|
||||
+ source_path = os.path.join(path, mod_dir + '.py')
|
||||
+
|
||||
+ if not os.path.exists(source_path):
|
||||
return None
|
||||
|
||||
+ if os.sep in mod_dir:
|
||||
+ append, mod_dir = mod_dir.rsplit(os.sep, 1)
|
||||
+ path = os.path.join(path, append)
|
||||
+
|
||||
try:
|
||||
if sys.version_info < (3, 5):
|
||||
mod_info = imp.find_module(mod_dir, [path])
|
||||
return imp.load_module(mod, *mod_info)
|
||||
+
|
||||
else:
|
||||
- loader_details = (
|
||||
- importlib.machinery.SourceFileLoader,
|
||||
- importlib.machinery.SOURCE_SUFFIXES
|
||||
- )
|
||||
- finder = importlib.machinery.FileFinder(path, loader_details)
|
||||
- spec = finder.find_spec(mod_dir)
|
||||
- module = importlib.util.module_from_spec(spec)
|
||||
- sys.modules[mod] = module
|
||||
- spec.loader.exec_module(module)
|
||||
- return module
|
||||
+ package = mod.split('.', 1)[0]
|
||||
+ package_dir = full_mod.split('.', 1)[0]
|
||||
+ package_path = os.path.join(path, package_dir)
|
||||
+ CUSTOM_FINDER.add_module(package, package_path)
|
||||
+
|
||||
+ return importlib.import_module(mod)
|
||||
+
|
||||
except ImportError:
|
||||
return None
|
||||
|
||||
|
||||
From 8a588fa0223f08f817e702f7f2cc4ef81017af26 Mon Sep 17 00:00:00 2001
|
||||
From: wbond <will@wbond.net>
|
||||
Date: Tue, 22 Aug 2023 16:35:17 -0400
|
||||
Subject: [PATCH 12/13] Fix custom importlib code for Python < 3.5
|
||||
|
||||
---
|
||||
dev/_import.py | 73 +++++++++++++++++++++++------------------------
|
||||
tests/__init__.py | 58 ++++++++++++++++++-------------------
|
||||
2 files changed, 65 insertions(+), 66 deletions(-)
|
||||
|
||||
diff --git a/dev/_import.py b/dev/_import.py
|
||||
index 20720e7..2d016db 100644
|
||||
--- a/dev/_import.py
|
||||
+++ b/dev/_import.py
|
||||
@@ -19,45 +19,44 @@
|
||||
else:
|
||||
getcwd = os.getcwd
|
||||
|
||||
-
|
||||
-class ModCryptoMetaFinder(importlib.abc.MetaPathFinder):
|
||||
- def setup(self):
|
||||
- self.modules = {}
|
||||
- sys.meta_path.insert(0, self)
|
||||
-
|
||||
- def add_module(self, package_name, package_path):
|
||||
- if package_name not in self.modules:
|
||||
- self.modules[package_name] = package_path
|
||||
-
|
||||
- def find_spec(self, fullname, path, target=None):
|
||||
- name_parts = fullname.split('.')
|
||||
- if name_parts[0] not in self.modules:
|
||||
- return None
|
||||
-
|
||||
- package = name_parts[0]
|
||||
- package_path = self.modules[package]
|
||||
-
|
||||
- fullpath = os.path.join(package_path, *name_parts[1:])
|
||||
-
|
||||
- if os.path.isdir(fullpath):
|
||||
- filename = os.path.join(fullpath, "__init__.py")
|
||||
- submodule_locations = [fullpath]
|
||||
- else:
|
||||
- filename = fullpath + ".py"
|
||||
- submodule_locations = None
|
||||
-
|
||||
- if not os.path.exists(filename):
|
||||
- return None
|
||||
-
|
||||
- return importlib.util.spec_from_file_location(
|
||||
- fullname,
|
||||
- filename,
|
||||
- loader=None,
|
||||
- submodule_search_locations=submodule_locations
|
||||
- )
|
||||
+if sys.version_info >= (3, 5):
|
||||
+ class ModCryptoMetaFinder(importlib.abc.MetaPathFinder):
|
||||
+ def setup(self):
|
||||
+ self.modules = {}
|
||||
+ sys.meta_path.insert(0, self)
|
||||
+
|
||||
+ def add_module(self, package_name, package_path):
|
||||
+ if package_name not in self.modules:
|
||||
+ self.modules[package_name] = package_path
|
||||
+
|
||||
+ def find_spec(self, fullname, path, target=None):
|
||||
+ name_parts = fullname.split('.')
|
||||
+ if name_parts[0] not in self.modules:
|
||||
+ return None
|
||||
+
|
||||
+ package = name_parts[0]
|
||||
+ package_path = self.modules[package]
|
||||
+
|
||||
+ fullpath = os.path.join(package_path, *name_parts[1:])
|
||||
+
|
||||
+ if os.path.isdir(fullpath):
|
||||
+ filename = os.path.join(fullpath, "__init__.py")
|
||||
+ submodule_locations = [fullpath]
|
||||
+ else:
|
||||
+ filename = fullpath + ".py"
|
||||
+ submodule_locations = None
|
||||
+
|
||||
+ if not os.path.exists(filename):
|
||||
+ return None
|
||||
+
|
||||
+ return importlib.util.spec_from_file_location(
|
||||
+ fullname,
|
||||
+ filename,
|
||||
+ loader=None,
|
||||
+ submodule_search_locations=submodule_locations
|
||||
+ )
|
||||
|
||||
|
||||
-if sys.version_info >= (3, 5):
|
||||
CUSTOM_FINDER = ModCryptoMetaFinder()
|
||||
CUSTOM_FINDER.setup()
|
||||
|
||||
diff --git a/tests/__init__.py b/tests/__init__.py
|
||||
index 2e24046..e1e92e6 100644
|
||||
--- a/tests/__init__.py
|
||||
+++ b/tests/__init__.py
|
||||
@@ -73,44 +73,44 @@ def local_oscrypto():
|
||||
return (_asn1crypto_module, _oscrypto_module)
|
||||
|
||||
|
||||
-class ModCryptoMetaFinder(importlib.abc.MetaPathFinder):
|
||||
- def setup(self):
|
||||
- self.modules = {}
|
||||
- sys.meta_path.insert(0, self)
|
||||
+if sys.version_info >= (3, 5):
|
||||
+ class ModCryptoMetaFinder(importlib.abc.MetaPathFinder):
|
||||
+ def setup(self):
|
||||
+ self.modules = {}
|
||||
+ sys.meta_path.insert(0, self)
|
||||
|
||||
- def add_module(self, package_name, package_path):
|
||||
- if package_name not in self.modules:
|
||||
- self.modules[package_name] = package_path
|
||||
+ def add_module(self, package_name, package_path):
|
||||
+ if package_name not in self.modules:
|
||||
+ self.modules[package_name] = package_path
|
||||
|
||||
- def find_spec(self, fullname, path, target=None):
|
||||
- name_parts = fullname.split('.')
|
||||
- if name_parts[0] not in self.modules:
|
||||
- return None
|
||||
+ def find_spec(self, fullname, path, target=None):
|
||||
+ name_parts = fullname.split('.')
|
||||
+ if name_parts[0] not in self.modules:
|
||||
+ return None
|
||||
|
||||
- package = name_parts[0]
|
||||
- package_path = self.modules[package]
|
||||
+ package = name_parts[0]
|
||||
+ package_path = self.modules[package]
|
||||
|
||||
- fullpath = os.path.join(package_path, *name_parts[1:])
|
||||
+ fullpath = os.path.join(package_path, *name_parts[1:])
|
||||
|
||||
- if os.path.isdir(fullpath):
|
||||
- filename = os.path.join(fullpath, "__init__.py")
|
||||
- submodule_locations = [fullpath]
|
||||
- else:
|
||||
- filename = fullpath + ".py"
|
||||
- submodule_locations = None
|
||||
+ if os.path.isdir(fullpath):
|
||||
+ filename = os.path.join(fullpath, "__init__.py")
|
||||
+ submodule_locations = [fullpath]
|
||||
+ else:
|
||||
+ filename = fullpath + ".py"
|
||||
+ submodule_locations = None
|
||||
|
||||
- if not os.path.exists(filename):
|
||||
- return None
|
||||
+ if not os.path.exists(filename):
|
||||
+ return None
|
||||
|
||||
- return importlib.util.spec_from_file_location(
|
||||
- fullname,
|
||||
- filename,
|
||||
- loader=None,
|
||||
- submodule_search_locations=submodule_locations
|
||||
- )
|
||||
+ return importlib.util.spec_from_file_location(
|
||||
+ fullname,
|
||||
+ filename,
|
||||
+ loader=None,
|
||||
+ submodule_search_locations=submodule_locations
|
||||
+ )
|
||||
|
||||
|
||||
-if sys.version_info >= (3, 5):
|
||||
CUSTOM_FINDER = ModCryptoMetaFinder()
|
||||
CUSTOM_FINDER.setup()
|
||||
|
||||
|
||||
From d9f8e2ff88e722e3af6bf592c097298505a40381 Mon Sep 17 00:00:00 2001
|
||||
From: wbond <will@wbond.net>
|
||||
Date: Tue, 22 Aug 2023 16:45:45 -0400
|
||||
Subject: [PATCH 13/13] Fix test loading
|
||||
|
||||
---
|
||||
dev/_import.py | 1 -
|
||||
dev/coverage.py | 2 +-
|
||||
tests/__init__.py | 1 -
|
||||
3 files changed, 1 insertion(+), 3 deletions(-)
|
||||
|
||||
diff --git a/dev/_import.py b/dev/_import.py
|
||||
index 2d016db..c0a1983 100644
|
||||
--- a/dev/_import.py
|
||||
+++ b/dev/_import.py
|
||||
@@ -56,7 +56,6 @@ def find_spec(self, fullname, path, target=None):
|
||||
submodule_search_locations=submodule_locations
|
||||
)
|
||||
|
||||
-
|
||||
CUSTOM_FINDER = ModCryptoMetaFinder()
|
||||
CUSTOM_FINDER.setup()
|
||||
|
||||
diff --git a/dev/coverage.py b/dev/coverage.py
|
||||
index 00684d0..98f140b 100644
|
||||
--- a/dev/coverage.py
|
||||
+++ b/dev/coverage.py
|
||||
@@ -103,7 +103,7 @@ def _load_package_tests(name):
|
||||
if not os.path.exists(package_dir):
|
||||
return []
|
||||
|
||||
- return _import_from('%s.tests' % name, package_dir, 'tests').test_classes()
|
||||
+ return _import_from('%s_tests' % name, package_dir, 'tests').test_classes()
|
||||
|
||||
|
||||
def _env_info():
|
||||
diff --git a/tests/__init__.py b/tests/__init__.py
|
||||
index e1e92e6..3ae721d 100644
|
||||
--- a/tests/__init__.py
|
||||
+++ b/tests/__init__.py
|
||||
@@ -110,7 +110,6 @@ def find_spec(self, fullname, path, target=None):
|
||||
submodule_search_locations=submodule_locations
|
||||
)
|
||||
|
||||
-
|
||||
CUSTOM_FINDER = ModCryptoMetaFinder()
|
||||
CUSTOM_FINDER.setup()
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit edo distutils-r1 optfeature
|
||||
|
||||
@@ -30,6 +30,11 @@ BDEPEND="
|
||||
|
||||
DOCS=( docs {changelog,readme}.md )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/openssl-3.0.10-fix.patch
|
||||
"${FILESDIR}"/py3.12.patch
|
||||
)
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_test() {
|
||||
@@ -1,2 +1 @@
|
||||
DIST pem-21.2.0.gh.tar.gz 35899 BLAKE2B b24affc1228d61b61660615c252fbac36abc3e42d9b54a026fd63c68b3ba470c3208ce12d2d8b188bb4e951f2ad55cd4cf441ffdbc49b681e9f0616ed5290123 SHA512 7e6f6d46bd1c8ab5c84b0edee182fbec7ae3c37e2005854ff1bc6f43cb47490a1f3bb0ac97cbc9e8c0ff830d4f22fcddd52f68206452a16ba862354a75491b18
|
||||
DIST pem-23.1.0.tar.gz 43796 BLAKE2B 903b6bbad0a73266467d876eba2a6a32993fd57f75630149bb00c8eac9f51a0fa7b1edcff9c09d48167f971c1da51f688ae0bda9494c3d3e3acf11262983858d SHA512 e742dba55df69736ed5896370da980b25961682a9fd38b6940490cb82332813fc1d7a931fe651716fa31caf6080e6fb047d0ef62d3e61d7e3e1288a00b70051e
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easy PEM file parsing in Python"
|
||||
HOMEPAGE="https://pem.readthedocs.io/"
|
||||
SRC_URI="https://github.com/hynek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/coverage-5.0.2[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..11} )
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10,11} )
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit autotools prefix python-any-r1 xdg
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit autotools prefix python-any-r1 xdg
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit cmake python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Client for PlayStation 4 and PlayStation 5 Remote Play"
|
||||
@@ -33,6 +33,7 @@ RDEPEND="
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtmultimedia:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
media-libs/libsdl2
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit cmake python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Client for PlayStation 4 and PlayStation 5 Remote Play"
|
||||
@@ -33,6 +33,7 @@ RDEPEND="
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtmultimedia:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
media-libs/libsdl2
|
||||
|
||||
16
gui-apps/gradience/files/appstream-test-ignore.patch
Normal file
16
gui-apps/gradience/files/appstream-test-ignore.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
diff --git a/data/meson.build b/data/meson.build
|
||||
index fdebf9be..985ed36e 100644
|
||||
--- a/data/meson.build
|
||||
+++ b/data/meson.build
|
||||
@@ -50,11 +50,6 @@ appstream_file = i18n.merge_file(
|
||||
)
|
||||
|
||||
appstream_util = find_program('appstream-util', required: false)
|
||||
-if appstream_util.found()
|
||||
- test('Validate appstream file', appstream_util,
|
||||
- args: ['validate', appstream_file.full_path()]
|
||||
- )
|
||||
-endif
|
||||
|
||||
configure_file(
|
||||
input: '@0@.gschema.xml.in'.format(PROJECT_RDNN_NAME),
|
||||
@@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit meson xdg python-single-r1
|
||||
|
||||
@@ -31,17 +31,24 @@ DEPEND="
|
||||
x11-themes/hicolor-icon-theme
|
||||
>=gui-libs/gtk-4.5.0:4
|
||||
>=gui-libs/libadwaita-1.2:1=
|
||||
>=dev-python/pygobject-3.42.2:3
|
||||
>=dev-python/anyascii-0.3
|
||||
dev-python/material-color-utilities
|
||||
dev-python/svglib
|
||||
dev-python/yapsy
|
||||
dev-python/cssutils
|
||||
dev-python/jinja
|
||||
dev-python/aiohttp
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/pygobject-3.42.2:3[${PYTHON_USEDEP}]
|
||||
>=dev-python/anyascii-0.3[${PYTHON_USEDEP}]
|
||||
dev-python/material-color-utilities[${PYTHON_USEDEP}]
|
||||
dev-python/svglib[${PYTHON_USEDEP}]
|
||||
dev-python/yapsy[${PYTHON_USEDEP}]
|
||||
dev-python/cssutils[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/appstream-test-ignore.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
xdg_environment_reset
|
||||
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 desktop xdg
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@ HOMEPAGE="https://github.com/Mange/rtl8192eu-linux-driver"
|
||||
SRC_URI="https://github.com/Mange/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${COMMIT}"
|
||||
|
||||
SLOT=0
|
||||
LICENSE="GPL-2"
|
||||
SLOT=0
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
CONFIG_CHECK="~!RTL8XXXU"
|
||||
|
||||
@@ -12,8 +12,8 @@ HOMEPAGE="https://github.com/tomaspinho/rtl8821ce"
|
||||
SRC_URI="https://github.com/tomaspinho/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${COMMIT}"
|
||||
|
||||
SLOT=0
|
||||
LICENSE="GPL-2"
|
||||
SLOT=0
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
CONFIG_CHECK="~!RTW88_8821CE"
|
||||
|
||||
@@ -12,8 +12,8 @@ HOMEPAGE="https://github.com/morrownr/8821cu-20210916"
|
||||
SRC_URI="https://github.com/morrownr/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${COMMIT}"
|
||||
|
||||
SLOT=0
|
||||
LICENSE="GPL-2"
|
||||
SLOT=0
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
src_compile() {
|
||||
|
||||
@@ -57,6 +57,8 @@ HOMEPAGE="https://gitlab.gnome.org/World/Phosh/squeekboard"
|
||||
SRC_URI="https://gitlab.gnome.org/World/Phosh/squeekboard/-/archive/v${PV}/squeekboard-v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" $(cargo_crate_uris ${CRATES})"
|
||||
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
@@ -78,8 +80,6 @@ BDEPEND="
|
||||
virtual/rust
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
QA_FLAGS_IGNORED="/usr/bin/squeekboard-test-layout"
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -9,13 +9,13 @@ DESCRIPTION="A visualization platform for molecular interaction networks"
|
||||
HOMEPAGE="http://www.cytoscape.org/"
|
||||
SRC_URI="https://github.com/cytoscape/cytoscape/releases/download/${PV}/cytoscape-unix-${PV}.tar.gz"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RDEPEND=">=virtual/jre-11-r2"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
MY_PN="cytoscape"
|
||||
MYW="${WORKDIR}/${MY_PN}-unix-${PV}"
|
||||
|
||||
@@ -11,6 +11,8 @@ DESCRIPTION="Editor of multiple sequence alignments."
|
||||
HOMEPAGE="https://www.jalview.org/"
|
||||
SRC_URI="https://www.jalview.org/getdown/release/jalview-all-${PV}-j1.8.jar"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
@@ -19,8 +21,6 @@ DEPEND="app-arch/unzip"
|
||||
|
||||
RDEPEND="virtual/jre:1.8"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp -v "${DISTDIR}/${A}" . || die
|
||||
unzip -u ${A} images/jalview_logo-48.png || die
|
||||
|
||||
@@ -11,6 +11,8 @@ DESCRIPTION="Editor of multiple sequence alignments."
|
||||
HOMEPAGE="https://www.jalview.org/"
|
||||
SRC_URI="https://www.jalview.org/getdown/release/jalview-all-${PV}-j1.8.jar"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
@@ -19,8 +21,6 @@ DEPEND="app-arch/unzip"
|
||||
|
||||
RDEPEND="virtual/jre:1.8"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp -v "${DISTDIR}/${A}" . || die
|
||||
unzip -u ${A} images/jalview_logo-48.png || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/aorai"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
eva? ( ~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/aorai"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/aorai"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
eva? ( ~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/aorai"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/aorai"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
eva? ( ~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/aorai"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ DEPEND="${RDEPEND}"
|
||||
# but is not needed for compilation (and would introduce a mutual dependency)
|
||||
PDEPEND="~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ DEPEND="${RDEPEND}"
|
||||
# but is not needed for compilation (and would introduce a mutual dependency)
|
||||
PDEPEND="~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/dive"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-server-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/dive"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/dive"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-server-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/dive"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/dive"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-server-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/dive"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/e-acsl"
|
||||
|
||||
LICENSE="BSD LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-rtegen-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/e-acsl"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/e-acsl"
|
||||
|
||||
LICENSE="BSD LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-rtegen-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/e-acsl"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/e-acsl"
|
||||
|
||||
LICENSE="BSD LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-rtegen-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/e-acsl"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -26,8 +28,6 @@ DEPEND="${RDEPEND}"
|
||||
# But it is not needed for compilation, and would introduce a mutual dependency
|
||||
PDEPEND="~sci-mathematics/frama-c-scope-${PV}:=[ocamlopt?]"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -26,8 +28,6 @@ DEPEND="${RDEPEND}"
|
||||
# But it is not needed for compilation, and would introduce a mutual dependency
|
||||
PDEPEND="~sci-mathematics/frama-c-scope-${PV}:=[ocamlopt?]"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-server-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-postdominators-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-postdominators-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-postdominators-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -23,8 +25,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-slicing-${PV}:=[gtk=,ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -23,8 +25,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-slicing-${PV}:=[gtk=,ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -23,8 +25,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-slicing-${PV}:=[gtk=,ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-from-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-from-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-from-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/instantiate"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/instantiate"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/instantiate"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/instantiate"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/instantiate"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/instantiate"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/loop_analysis"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/loop_analysis"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/loop_analysis"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/loop_analysis"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/loop_analysis"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/loop_analysis"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -21,8 +23,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-server-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/nonterm"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/nonterm"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/nonterm"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/nonterm"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/nonterm"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/nonterm"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/obfuscator"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/obfuscator"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/obfuscator"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/obfuscator"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/obfuscator"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/obfuscator"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[gtk=,ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-from-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-from-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-from-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -20,8 +22,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-eva-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/print_api"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/print_api"
|
||||
|
||||
src_compile() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/print_api"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/print_api"
|
||||
|
||||
src_compile() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/print_api"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/print_api"
|
||||
|
||||
src_compile() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/qed"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/qed"
|
||||
|
||||
src_compile() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/qed"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/qed"
|
||||
|
||||
src_compile() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/qed"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/qed"
|
||||
|
||||
src_compile() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -21,8 +23,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]
|
||||
~sci-mathematics/frama-c-inout-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/report"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/report"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/report"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/report"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/report"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/report"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -21,8 +23,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-inout-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -21,8 +23,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-inout-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -21,8 +23,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk=,ocamlopt?]
|
||||
~sci-mathematics/frama-c-inout-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.in configure.ac || die
|
||||
sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/security_slicing"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk,ocamlopt?]
|
||||
~sci-mathematics/frama-c-slicing-${PV}:=[gtk,ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/security_slicing"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Chromium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/security_slicing"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk,ocamlopt?]
|
||||
~sci-mathematics/frama-c-slicing-${PV}:=[gtk,ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/security_slicing"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Manganese"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/security_slicing"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,8 +24,6 @@ RDEPEND="~sci-mathematics/frama-c-${PV}:=[gtk,ocamlopt?]
|
||||
~sci-mathematics/frama-c-slicing-${PV}:=[gtk,ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/security_slicing"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://frama-c.com"
|
||||
NAME="Vanadium"
|
||||
SRC_URI="https://frama-c.com/download/frama-c-${PV}-${NAME}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/server"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="strip"
|
||||
RDEPEND="~sci-mathematics/frama-c-${PV}:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/frama-c-${PV}-${NAME}/src/plugins/server"
|
||||
|
||||
src_prepare() {
|
||||
export FRAMAC_SHARE="${ESYSROOT}/usr/share/frama-c"
|
||||
export FRAMAC_LIBDIR="${EPREFIX}/usr/$(get_libdir)/frama-c"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user