Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/janet/
Date: Sat, 02 Jul 2022 17:43:36
Message-Id: 1656783314.956897e4dabd24e973c0976669b4f321f88e7071.juippis@gentoo
1 commit: 956897e4dabd24e973c0976669b4f321f88e7071
2 Author: Oz N Tiram <oz.tiram <AT> gmail <DOT> com>
3 AuthorDate: Thu Jun 9 04:48:34 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 2 17:35:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=956897e4
7
8 dev-lang/janet: drop old
9
10 Signed-off-by: Oz N Tiram <oz.tiram <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/25821
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 dev-lang/janet/Manifest | 2 --
15 dev-lang/janet/janet-1.17.2.ebuild | 73 --------------------------------------
16 dev-lang/janet/janet-1.19.2.ebuild | 73 --------------------------------------
17 3 files changed, 148 deletions(-)
18
19 diff --git a/dev-lang/janet/Manifest b/dev-lang/janet/Manifest
20 index a151f86a40c4..cf1bd1402fdb 100644
21 --- a/dev-lang/janet/Manifest
22 +++ b/dev-lang/janet/Manifest
23 @@ -1,3 +1 @@
24 -DIST janet-1.17.2.tar.gz 488524 BLAKE2B 33e801eb10b46d44a36b95bd29ea318ab3daa88654f47e12303344d2362a2ecc0d0f2ab9371d9539e0787df08664f503ee268b7acf967bd74a929992bc3ea2be SHA512 608ae20992d90cd93a364239c967fef8fdd1c631f1777211d916c6dc16cac5f007f52565bdf24cc0f8af1f521a0977a7245a3c137fc3b61583c2900e26fee81c
25 -DIST janet-1.19.2.tar.gz 486633 BLAKE2B 420b98218cf6a592ab385f5d9432d9e8ae98fe0a4b9c294aa2783e3ee810d256ef1ccf17c3986d7e490e4fcc046cb9a25b2d0f09ada223c19104e49d703d5d33 SHA512 4181f15ad61bfba46ce87acd148166bd0ab3c5dd5fb608d8d8722b912ecfa435baa7d881d4a8163aabb1b06bca2983b108dfb7256efa854c12c136e4f24c1ef2
26 DIST janet-1.22.0.tar.gz 494011 BLAKE2B 2193cf0d87421adb122e86347d47ef1a9d3141d7dedf4ba88ed3d0e97c1b22a8216e1e42a6431266c6fbb4dcee665db63839e90ec9e5530491c64a94b8b11b04 SHA512 c1e90dafa833618e0999a1a53005241b768dee66bf7e6d4cc60b7c7ce87fccba955ca2faafd4eacda320801667acbfc56087f423a4ad6abe7e97d1f08e136107
27
28 diff --git a/dev-lang/janet/janet-1.17.2.ebuild b/dev-lang/janet/janet-1.17.2.ebuild
29 deleted file mode 100644
30 index 540be0ac1f9c..000000000000
31 --- a/dev-lang/janet/janet-1.17.2.ebuild
32 +++ /dev/null
33 @@ -1,73 +0,0 @@
34 -# Copyright 2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit flag-o-matic toolchain-funcs
40 -
41 -DESCRIPTION="A dynamic Lisp dialect and bytecode vm"
42 -HOMEPAGE="https://janet-lang.org https://github.com/janet-lang/janet/"
43 -SRC_URI="https://github.com/janet-lang/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="MIT"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE="static-libs"
49 -
50 -MY_RELEASE="${PV::-2}"
51 -
52 -src_configure() {
53 - tc-export CC
54 -
55 - append-ldflags -Wl,-soname,libjanet.so.1.${MY_RELEASE}
56 - append-cflags -fPIC
57 -}
58 -
59 -src_compile() {
60 - # janet_build is the git hash of the commit related to the
61 - # current release - it defines a constant which is then shown
62 - # when starting janet
63 - local janet_build='\"'${PV}'\"'
64 -
65 - local target
66 - for target in '' build/janet.pc docs ; do
67 - einfo "Building: ${target:-main}"
68 - emake \
69 - LIBDIR="/usr/$(get_libdir)" \
70 - PREFIX="/usr" \
71 - JANET_BUILD="${janet_build}" \
72 - CFLAGS="${CFLAGS}" \
73 - LDFLAGS="${LDFLAGS}" \
74 - ${target}
75 - done
76 -}
77 -
78 -src_install() {
79 - dobin build/janet
80 -
81 - insinto /usr/include/janet
82 - doheader src/include/janet.h
83 - doheader src/conf/janetconf.h
84 -
85 - dolib.so build/libjanet.so
86 - dosym libjanet.so /usr/$(get_libdir)/libjanet.so.${MY_RELEASE}
87 - dosym libjanet.so.${MY_RELEASE} /usr/$(get_libdir)/libjanet.so.${PV}
88 -
89 - if use static-libs; then
90 - dolib.a build/libjanet.a
91 - fi
92 -
93 - doman janet.1
94 -
95 - insinto /usr/$(get_libdir)/pkgconfig/
96 - doins build/janet.pc
97 -
98 - dodoc -r examples
99 - dodoc build/doc.html
100 -}
101 -
102 -pkg_postinst() {
103 - elog "Note: jpm has been extracted to its own repository upstream."
104 - elog "Follow the upstream instructions on how to install it."
105 - elog "Enable use flag \"static-libs\" for building stand-alone executables with jpm"
106 -}
107
108 diff --git a/dev-lang/janet/janet-1.19.2.ebuild b/dev-lang/janet/janet-1.19.2.ebuild
109 deleted file mode 100644
110 index 540be0ac1f9c..000000000000
111 --- a/dev-lang/janet/janet-1.19.2.ebuild
112 +++ /dev/null
113 @@ -1,73 +0,0 @@
114 -# Copyright 2021 Gentoo Authors
115 -# Distributed under the terms of the GNU General Public License v2
116 -
117 -EAPI=7
118 -
119 -inherit flag-o-matic toolchain-funcs
120 -
121 -DESCRIPTION="A dynamic Lisp dialect and bytecode vm"
122 -HOMEPAGE="https://janet-lang.org https://github.com/janet-lang/janet/"
123 -SRC_URI="https://github.com/janet-lang/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
124 -
125 -LICENSE="MIT"
126 -SLOT="0"
127 -KEYWORDS="~amd64 ~x86"
128 -IUSE="static-libs"
129 -
130 -MY_RELEASE="${PV::-2}"
131 -
132 -src_configure() {
133 - tc-export CC
134 -
135 - append-ldflags -Wl,-soname,libjanet.so.1.${MY_RELEASE}
136 - append-cflags -fPIC
137 -}
138 -
139 -src_compile() {
140 - # janet_build is the git hash of the commit related to the
141 - # current release - it defines a constant which is then shown
142 - # when starting janet
143 - local janet_build='\"'${PV}'\"'
144 -
145 - local target
146 - for target in '' build/janet.pc docs ; do
147 - einfo "Building: ${target:-main}"
148 - emake \
149 - LIBDIR="/usr/$(get_libdir)" \
150 - PREFIX="/usr" \
151 - JANET_BUILD="${janet_build}" \
152 - CFLAGS="${CFLAGS}" \
153 - LDFLAGS="${LDFLAGS}" \
154 - ${target}
155 - done
156 -}
157 -
158 -src_install() {
159 - dobin build/janet
160 -
161 - insinto /usr/include/janet
162 - doheader src/include/janet.h
163 - doheader src/conf/janetconf.h
164 -
165 - dolib.so build/libjanet.so
166 - dosym libjanet.so /usr/$(get_libdir)/libjanet.so.${MY_RELEASE}
167 - dosym libjanet.so.${MY_RELEASE} /usr/$(get_libdir)/libjanet.so.${PV}
168 -
169 - if use static-libs; then
170 - dolib.a build/libjanet.a
171 - fi
172 -
173 - doman janet.1
174 -
175 - insinto /usr/$(get_libdir)/pkgconfig/
176 - doins build/janet.pc
177 -
178 - dodoc -r examples
179 - dodoc build/doc.html
180 -}
181 -
182 -pkg_postinst() {
183 - elog "Note: jpm has been extracted to its own repository upstream."
184 - elog "Follow the upstream instructions on how to install it."
185 - elog "Enable use flag \"static-libs\" for building stand-alone executables with jpm"
186 -}