mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
dev-util/FoBiS: new package
FoBiS.py, a Fortran Building System for poor men, is a KISS tool for automatic building modern Fortran projects, it being able to automatically resolve inter-modules dependancy hierarchy. Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
31
dev-util/FoBiS/FoBiS-3.0.2.ebuild
Normal file
31
dev-util/FoBiS/FoBiS-3.0.2.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="FoBiS.py, a Fortran Building System for poor men"
|
||||
HOMEPAGE="https://github.com/szaghi/FoBiS"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}.py/${PN}.py-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="graphviz"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
S="${WORKDIR}/${PN}.py-${PV}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/graphviz[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
|
||||
# removing "import future" and "from past.utils import old_div" from python scripts
|
||||
PATCHES=( "${FILESDIR}/FoBiS-3.0.1-remove-import-future_olddiv.patch" )
|
||||
1
dev-util/FoBiS/Manifest
Normal file
1
dev-util/FoBiS/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST FoBiS-3.0.2.tar.gz 49142 BLAKE2B 02242bed7aeaff9c92be986974136a501cbbd7d839b2e69a56cefe23cbd198e192f3d6834fa251c01ee3306c238c3a7211738a9223ae7a5a04ffe3bf7e806679 SHA512 103a96acf8665fd43c10a1a32c5290ddb47f071a620ecbbd7793d0b23dc4acec2c2351f24ce1fff6fa33829e27e011ae0e36de3880d370e92c578c81d53b1d8e
|
||||
@@ -0,0 +1,171 @@
|
||||
diff -Nur a/fobis/Builder.py b/fobis/Builder.py
|
||||
--- a/fobis/Builder.py 2019-12-06 15:58:52.000000000 +0300
|
||||
+++ b/fobis/Builder.py 2020-02-21 20:10:30.000000000 +0300
|
||||
@@ -22,8 +22,6 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with FoBiS.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
-from future import standard_library
|
||||
-standard_library.install_aliases()
|
||||
from builtins import str
|
||||
from builtins import range
|
||||
from builtins import *
|
||||
diff -Nur a/fobis/Cleaner.py b/fobis/Cleaner.py
|
||||
--- a/fobis/Cleaner.py 2019-12-06 15:58:52.000000000 +0300
|
||||
+++ b/fobis/Cleaner.py 2020-02-21 20:10:39.000000000 +0300
|
||||
@@ -22,8 +22,6 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with FoBiS.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
-from future import standard_library
|
||||
-standard_library.install_aliases()
|
||||
from builtins import *
|
||||
from builtins import object
|
||||
import os
|
||||
diff -Nur a/fobis/Colors.py b/fobis/Colors.py
|
||||
--- a/fobis/Colors.py 2019-12-06 15:58:52.000000000 +0300
|
||||
+++ b/fobis/Colors.py 2020-02-21 20:10:49.000000000 +0300
|
||||
@@ -24,8 +24,6 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
|
||||
-from future import standard_library
|
||||
-standard_library.install_aliases()
|
||||
from builtins import *
|
||||
from builtins import object
|
||||
class Colors(object):
|
||||
diff -Nur a/fobis/Compiler.py b/fobis/Compiler.py
|
||||
--- a/fobis/Compiler.py 2019-12-10 20:10:04.000000000 +0300
|
||||
+++ b/fobis/Compiler.py 2020-02-21 20:10:56.000000000 +0300
|
||||
@@ -29,8 +29,6 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with FoBiS.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
-from future import standard_library
|
||||
-standard_library.install_aliases()
|
||||
from builtins import str
|
||||
from builtins import *
|
||||
from builtins import object
|
||||
diff -Nur a/fobis/Dependency.py b/fobis/Dependency.py
|
||||
--- a/fobis/Dependency.py 2019-12-06 15:58:52.000000000 +0300
|
||||
+++ b/fobis/Dependency.py 2020-02-21 20:11:05.000000000 +0300
|
||||
@@ -23,8 +23,6 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with FoBiS.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
-from future import standard_library
|
||||
-standard_library.install_aliases()
|
||||
from builtins import str
|
||||
from builtins import *
|
||||
from builtins import object
|
||||
diff -Nur a/fobis/Doctest.py b/fobis/Doctest.py
|
||||
--- a/fobis/Doctest.py 2019-12-06 15:58:52.000000000 +0300
|
||||
+++ b/fobis/Doctest.py 2020-02-21 20:11:12.000000000 +0300
|
||||
@@ -24,8 +24,6 @@
|
||||
from __future__ import absolute_import
|
||||
from __future__ import division
|
||||
from __future__ import unicode_literals
|
||||
-from future import standard_library
|
||||
-standard_library.install_aliases()
|
||||
from builtins import str
|
||||
from builtins import *
|
||||
from builtins import object
|
||||
diff -Nur a/fobis/FoBiSConfig.py b/fobis/FoBiSConfig.py
|
||||
--- a/fobis/FoBiSConfig.py 2019-12-10 20:10:31.000000000 +0300
|
||||
+++ b/fobis/FoBiSConfig.py 2020-02-21 20:11:22.000000000 +0300
|
||||
@@ -28,8 +28,6 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with FoBiS.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
-from future import standard_library
|
||||
-standard_library.install_aliases()
|
||||
from builtins import str
|
||||
from builtins import *
|
||||
from builtins import object
|
||||
diff -Nur a/fobis/Fobos.py b/fobis/Fobos.py
|
||||
--- a/fobis/Fobos.py 2019-12-06 15:58:52.000000000 +0300
|
||||
+++ b/fobis/Fobos.py 2020-02-21 20:11:29.000000000 +0300
|
||||
@@ -29,8 +29,6 @@
|
||||
from __future__ import absolute_import
|
||||
from __future__ import division
|
||||
from __future__ import unicode_literals
|
||||
-from future import standard_library
|
||||
-standard_library.install_aliases()
|
||||
from builtins import str
|
||||
from builtins import *
|
||||
from builtins import object
|
||||
diff -Nur a/fobis/Gcov.py b/fobis/Gcov.py
|
||||
--- a/fobis/Gcov.py 2019-12-06 15:58:52.000000000 +0300
|
||||
+++ b/fobis/Gcov.py 2020-02-21 20:19:45.000000000 +0300
|
||||
@@ -23,12 +23,9 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with FoBiS.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
-from future import standard_library
|
||||
-standard_library.install_aliases()
|
||||
from builtins import str
|
||||
from builtins import *
|
||||
from builtins import object
|
||||
-from past.utils import old_div
|
||||
try:
|
||||
from pygooglechart import PieChart2D
|
||||
__graph__ = True
|
||||
diff -Nur a/fobis/ParsedFile.py b/fobis/ParsedFile.py
|
||||
--- a/fobis/ParsedFile.py 2019-12-06 15:58:52.000000000 +0300
|
||||
+++ b/fobis/ParsedFile.py 2020-02-21 20:11:53.000000000 +0300
|
||||
@@ -23,8 +23,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with FoBiS.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
-from future import standard_library
|
||||
-standard_library.install_aliases()
|
||||
from builtins import str
|
||||
from builtins import *
|
||||
from builtins import object
|
||||
diff -Nur a/fobis/__init__.py b/fobis/__init__.py
|
||||
--- a/fobis/__init__.py 2019-12-06 15:58:52.000000000 +0300
|
||||
+++ b/fobis/__init__.py 2020-02-21 20:12:01.000000000 +0300
|
||||
@@ -20,6 +20,4 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with FoBiS.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
-from future import standard_library
|
||||
-standard_library.install_aliases()
|
||||
from builtins import *
|
||||
\ No newline at end of file
|
||||
diff -Nur a/fobis/cli_parser.py b/fobis/cli_parser.py
|
||||
--- a/fobis/cli_parser.py 2019-12-06 15:58:52.000000000 +0300
|
||||
+++ b/fobis/cli_parser.py 2020-02-21 20:12:07.000000000 +0300
|
||||
@@ -21,8 +21,6 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with FoBiS.py. If not, see <http://www.gnu.org/licenses/>.
|
||||
-from future import standard_library
|
||||
-standard_library.install_aliases()
|
||||
from builtins import str
|
||||
from builtins import *
|
||||
import argparse
|
||||
diff -Nur a/fobis/fobis.py b/fobis/fobis.py
|
||||
--- a/fobis/fobis.py 2019-12-06 15:58:52.000000000 +0300
|
||||
+++ b/fobis/fobis.py 2020-02-21 20:12:13.000000000 +0300
|
||||
@@ -23,8 +23,6 @@
|
||||
from __future__ import absolute_import
|
||||
from __future__ import division
|
||||
from __future__ import unicode_literals
|
||||
-from future import standard_library
|
||||
-standard_library.install_aliases()
|
||||
from builtins import *
|
||||
try:
|
||||
import configparser as configparser
|
||||
diff -Nur a/fobis/utils.py b/fobis/utils.py
|
||||
--- a/fobis/utils.py 2019-12-06 15:58:52.000000000 +0300
|
||||
+++ b/fobis/utils.py 2020-02-21 20:12:18.000000000 +0300
|
||||
@@ -21,8 +21,6 @@
|
||||
from __future__ import absolute_import
|
||||
from __future__ import division
|
||||
from __future__ import unicode_literals
|
||||
-from future import standard_library
|
||||
-standard_library.install_aliases()
|
||||
from builtins import str
|
||||
from builtins import *
|
||||
import os
|
||||
20
dev-util/FoBiS/metadata.xml
Normal file
20
dev-util/FoBiS/metadata.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>torokhov-s-a@yandex.ru</email>
|
||||
<name>Sergey Torokhov</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
FoBiS.py, a Fortran Building System for poor men, is a KISS tool
|
||||
for automatic building modern Fortran projects, it being able
|
||||
to automatically resolve inter-modules dependency hierarchy.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="graphviz">Add support of generation of a dependencies graph</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="pypi">FoBiS.py</remote-id>
|
||||
<remote-id type="github">szaghi/FoBiS</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user