1 |
commit: 2a8ba528ff5e74e834fbe3350d7942554d89898d |
2 |
Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
3 |
AuthorDate: Wed Sep 15 22:22:02 2021 +0000 |
4 |
Commit: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
5 |
CommitDate: Wed Sep 15 22:22:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2a8ba528 |
7 |
|
8 |
dev-util/fypp: new package |
9 |
|
10 |
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> |
11 |
|
12 |
dev-util/fypp/Manifest | 1 + |
13 |
dev-util/fypp/fypp-3.1.ebuild | 23 +++++++++++++++++++++++ |
14 |
dev-util/fypp/metadata.xml | 17 +++++++++++++++++ |
15 |
3 files changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/fypp/Manifest b/dev-util/fypp/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..6d6d46fab |
20 |
--- /dev/null |
21 |
+++ b/dev-util/fypp/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST fypp-3.1.tar.gz 68237 BLAKE2B 504fe6c655da647b9d30554afe1c0c036f636991562001763180425a572e03b52ceaf0287e68f82ea534914cd61d176fb4bad7fba5562bb1597500d80ae8c919 SHA512 91638d957f6a4306f23406b6a235e8ee8258cf9065e9b8dc3e137bbe651a2e1397f557292f2b4d3628a57ef6ced67df150c25c0bf304944f7c1b2b5b85087bd5 |
24 |
|
25 |
diff --git a/dev-util/fypp/fypp-3.1.ebuild b/dev-util/fypp/fypp-3.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..33f161395 |
28 |
--- /dev/null |
29 |
+++ b/dev-util/fypp/fypp-3.1.ebuild |
30 |
@@ -0,0 +1,23 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{8..9} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Fypp - Python powered Fortran preprocessor" |
40 |
+HOMEPAGE="https://github.com/aradi/fypp" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="test" |
47 |
+ |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+python_test() { |
51 |
+ # pass python version as arg |
52 |
+ test/runtests.sh ${EPYTHON} || die |
53 |
+} |
54 |
|
55 |
diff --git a/dev-util/fypp/metadata.xml b/dev-util/fypp/metadata.xml |
56 |
new file mode 100644 |
57 |
index 000000000..415fd10dd |
58 |
--- /dev/null |
59 |
+++ b/dev-util/fypp/metadata.xml |
60 |
@@ -0,0 +1,17 @@ |
61 |
+<?xml version="1.0" encoding="UTF-8"?> |
62 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
63 |
+<pkgmetadata> |
64 |
+ <maintainer type="person"> |
65 |
+ <email>torokhov-s-a@××××××.ru</email> |
66 |
+ <name>Sergey Torokhov</name> |
67 |
+ </maintainer> |
68 |
+ <longdescription lang="en"> |
69 |
+ Fypp is a Python powered preprocessor. |
70 |
+ It can be used for any programming languages but its primary aim is to offer a Fortran preprocessor, |
71 |
+ which helps to extend Fortran with condititional compiling and template metaprogramming capabilities. |
72 |
+ </longdescription> |
73 |
+ <upstream> |
74 |
+ <remote-id type="pypi">fypp</remote-id> |
75 |
+ <remote-id type="github">aradi/fypp</remote-id> |
76 |
+</upstream> |
77 |
+</pkgmetadata> |