1 |
commit: 15b23be3f27dbc4b9c525ddfa52f23b8f209498f |
2 |
Author: Oz N Tiram <oz.tiram <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Dec 25 14:39:56 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 26 00:33:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15b23be3 |
7 |
|
8 |
dev-lang/janet: drop 1.16.1 |
9 |
|
10 |
Signed-off-by: Oz N Tiram <oz.tiram <AT> gmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/23507 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-lang/janet/Manifest | 1 - |
15 |
dev-lang/janet/janet-1.16.1.ebuild | 64 -------------------------------------- |
16 |
2 files changed, 65 deletions(-) |
17 |
|
18 |
diff --git a/dev-lang/janet/Manifest b/dev-lang/janet/Manifest |
19 |
index 9455bbcef90f..9ff51eab62ec 100644 |
20 |
--- a/dev-lang/janet/Manifest |
21 |
+++ b/dev-lang/janet/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
-DIST janet-1.16.1.tar.gz 493490 BLAKE2B 7542644a647d9d2ddd73d8e284f749cdad1900b8df2797c99a2f176c93eca412427b7f571493cfe62f64dd9c90bd12d8506b0f4b6b485ab2d3633e989e735cd9 SHA512 f4be0703676acad8896e41b46d79c4f6d99990c487028f1fd1abd681f756db119a06a5d6a0653b9301afcd62f45d6f1bb7876b9613c0ea28d7199e310a52895d |
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 |
|
27 |
diff --git a/dev-lang/janet/janet-1.16.1.ebuild b/dev-lang/janet/janet-1.16.1.ebuild |
28 |
deleted file mode 100644 |
29 |
index 16f31087d1a9..000000000000 |
30 |
--- a/dev-lang/janet/janet-1.16.1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,64 +0,0 @@ |
33 |
-# Copyright 2021 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-inherit flag-o-matic |
39 |
- |
40 |
-DESCRIPTION="A dynamic Lisp dialect and bytecode vm" |
41 |
-HOMEPAGE="https://janet-lang.org https://github.com/janet-lang/janet/" |
42 |
-SRC_URI="https://github.com/janet-lang/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="MIT" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~amd64 ~x86" |
47 |
-IUSE="static-libs" |
48 |
- |
49 |
-MY_RELEASE="${PV::-2}" |
50 |
- |
51 |
-PATCHES="${FILESDIR}/janet-1.16.1-make.patch" |
52 |
- |
53 |
-src_configure() { |
54 |
- append-ldflags -Wl,-soname,libjanet.so.1.${MY_RELEASE} |
55 |
- append-cflags -fPIC |
56 |
-} |
57 |
- |
58 |
-src_compile() { |
59 |
- # janet_build is the git hash of the commit related to the |
60 |
- # current release - it defines a constant which is then shown |
61 |
- # when starting janet |
62 |
- local janet_build='\"'${PV}'\"' |
63 |
- emake LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" JANET_BUILD="${janet_build}" |
64 |
- emake LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" build/janet.pc JANET_BUILD="${janet_build}" |
65 |
- emake LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" docs JANET_BUILD="${janet_build}" |
66 |
- emake LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" build/jpm JANET_BUILD="${janet_build}" |
67 |
-} |
68 |
- |
69 |
-src_install() { |
70 |
- dobin "build/janet" |
71 |
- dobin "jpm" |
72 |
- insinto "usr/include/janet" |
73 |
- doheader "src/include/janet.h" |
74 |
- doheader "src/conf/janetconf.h" |
75 |
- |
76 |
- dolib.so "build/libjanet.so" |
77 |
- dosym libjanet.so /usr/$(get_libdir)/libjanet.so.${MY_RELEASE} |
78 |
- dosym libjanet.so.${MY_RELEASE} /usr/$(get_libdir)/libjanet.so.${PV} |
79 |
- |
80 |
- if use static-libs; then |
81 |
- dolib.a "build/libjanet.a" |
82 |
- fi |
83 |
- doman "janet.1" |
84 |
- doman "jpm.1" |
85 |
- |
86 |
- insinto /usr/$(get_libdir)/pkgconfig/ |
87 |
- doins "build/janet.pc" |
88 |
- dodoc -r examples |
89 |
- dodoc "build/doc.html" |
90 |
- # required for jpm |
91 |
- keepdir /usr/$(get_libdir)/janet/.cache |
92 |
-} |
93 |
- |
94 |
-pkg_postinst() { |
95 |
- elog "Enable use flag \"static-libs\" for building stand-alone executables with jpm" |
96 |
-} |