Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-colorized/
Date: Fri, 26 Nov 2021 08:54:46
Message-Id: 1637916881.0360ae9d079b2ae15731bdb268f2c153517222ef.xgqt@gentoo
1 commit: 0360ae9d079b2ae15731bdb268f2c153517222ef
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 26 08:54:08 2021 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 26 08:54:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0360ae9d
7
8 dev-scheme/guile-colorized: new package; add version 0.1_p20191205 and live
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
12
13 dev-scheme/guile-colorized/Manifest | 1 +
14 .../guile-colorized-0.1_p20191205.ebuild | 39 ++++++++++++++++++++++
15 .../guile-colorized/guile-colorized-9999.ebuild | 39 ++++++++++++++++++++++
16 dev-scheme/guile-colorized/metadata.xml | 13 ++++++++
17 4 files changed, 92 insertions(+)
18
19 diff --git a/dev-scheme/guile-colorized/Manifest b/dev-scheme/guile-colorized/Manifest
20 new file mode 100644
21 index 000000000000..6f434c2fa894
22 --- /dev/null
23 +++ b/dev-scheme/guile-colorized/Manifest
24 @@ -0,0 +1 @@
25 +DIST guile-colorized-0.1_p20191205.tar.bz2 15496 BLAKE2B a85fc44c3b6b8433362197a4f1da216ea99793673ee4592e6ea32178d2952d0f43f5a4e79304185d0c67b6dee668bf52d53970df97954a37650cd8b7770e7abd SHA512 4cd9833c70debf0086ba69252e1fb8b9fc33707ec1f3bb6dfb144d5a35db6f38e3af585cbc889936c8ebb38dea0f8808f483bd51ed1722c9b9df857d31a7cec7
26
27 diff --git a/dev-scheme/guile-colorized/guile-colorized-0.1_p20191205.ebuild b/dev-scheme/guile-colorized/guile-colorized-0.1_p20191205.ebuild
28 new file mode 100644
29 index 000000000000..65a9e38bf9be
30 --- /dev/null
31 +++ b/dev-scheme/guile-colorized/guile-colorized-0.1_p20191205.ebuild
32 @@ -0,0 +1,39 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +DESCRIPTION="Colorized REPL for GNU Guile"
39 +HOMEPAGE="https://gitlab.com/NalaGinrut/guile-colorized/"
40 +
41 +if [[ "${PV}" == *9999* ]]; then
42 + inherit git-r3
43 + EGIT_REPO_URI="https://gitlab.com/NalaGinrut/${PN}.git"
44 +else
45 + # Latest release (before this commit from 2019) was in 2015
46 + COMMIT_SHA="1625a79f0e31849ebd537e2a58793fb45678c58f"
47 + SRC_URI="https://gitlab.com/NalaGinrut/${PN}/-/archive/${COMMIT_SHA}.tar.bz2 -> ${P}.tar.bz2"
48 + KEYWORDS="~amd64"
49 + S="${WORKDIR}/${PN}-${COMMIT_SHA}"
50 +fi
51 +
52 +LICENSE="GPL-3"
53 +SLOT="0"
54 +
55 +RDEPEND=">=dev-scheme/guile-2.0.9:="
56 +DEPEND="${DEPEND}"
57 +
58 +src_prepare() {
59 + default
60 +
61 + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
62 + find "${S}" -name "*.scm" -exec touch {} + || die
63 +}
64 +
65 +src_install() {
66 + einstalldocs
67 +
68 + local loadpath=$(guile -c '(display (string-append (car %load-path) "/ice-9"))')
69 + mkdir -p "${D}${loadpath}"
70 + emake TARGET="${D}${loadpath}" install
71 +}
72
73 diff --git a/dev-scheme/guile-colorized/guile-colorized-9999.ebuild b/dev-scheme/guile-colorized/guile-colorized-9999.ebuild
74 new file mode 100644
75 index 000000000000..65a9e38bf9be
76 --- /dev/null
77 +++ b/dev-scheme/guile-colorized/guile-colorized-9999.ebuild
78 @@ -0,0 +1,39 @@
79 +# Copyright 1999-2021 Gentoo Authors
80 +# Distributed under the terms of the GNU General Public License v2
81 +
82 +EAPI=8
83 +
84 +DESCRIPTION="Colorized REPL for GNU Guile"
85 +HOMEPAGE="https://gitlab.com/NalaGinrut/guile-colorized/"
86 +
87 +if [[ "${PV}" == *9999* ]]; then
88 + inherit git-r3
89 + EGIT_REPO_URI="https://gitlab.com/NalaGinrut/${PN}.git"
90 +else
91 + # Latest release (before this commit from 2019) was in 2015
92 + COMMIT_SHA="1625a79f0e31849ebd537e2a58793fb45678c58f"
93 + SRC_URI="https://gitlab.com/NalaGinrut/${PN}/-/archive/${COMMIT_SHA}.tar.bz2 -> ${P}.tar.bz2"
94 + KEYWORDS="~amd64"
95 + S="${WORKDIR}/${PN}-${COMMIT_SHA}"
96 +fi
97 +
98 +LICENSE="GPL-3"
99 +SLOT="0"
100 +
101 +RDEPEND=">=dev-scheme/guile-2.0.9:="
102 +DEPEND="${DEPEND}"
103 +
104 +src_prepare() {
105 + default
106 +
107 + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
108 + find "${S}" -name "*.scm" -exec touch {} + || die
109 +}
110 +
111 +src_install() {
112 + einstalldocs
113 +
114 + local loadpath=$(guile -c '(display (string-append (car %load-path) "/ice-9"))')
115 + mkdir -p "${D}${loadpath}"
116 + emake TARGET="${D}${loadpath}" install
117 +}
118
119 diff --git a/dev-scheme/guile-colorized/metadata.xml b/dev-scheme/guile-colorized/metadata.xml
120 new file mode 100644
121 index 000000000000..c1ef4deb0fd4
122 --- /dev/null
123 +++ b/dev-scheme/guile-colorized/metadata.xml
124 @@ -0,0 +1,13 @@
125 +<?xml version="1.0" encoding="UTF-8"?>
126 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
127 +
128 +<pkgmetadata>
129 + <maintainer type="project">
130 + <email>scheme@g.o</email>
131 + <name>Gentoo Scheme Project</name>
132 + </maintainer>
133 + <upstream>
134 + <bugs-to>https://gitlab.com/NalaGinrut/guile-colorized/-/issues</bugs-to>
135 + <remote-id type="gitlab">NalaGinrut/guile-colorized</remote-id>
136 + </upstream>
137 +</pkgmetadata>