Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/mujs/
Date: Mon, 03 May 2021 20:20:54
Message-Id: 1620073219.59f172d720f5a80d76d7210b6c324e22aa7030b2.sam@gentoo
1 commit: 59f172d720f5a80d76d7210b6c324e22aa7030b2
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 3 20:20:19 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon May 3 20:20:19 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59f172d7
7
8 dev-lang/mujs: drop 1.1.1-r2
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-lang/mujs/Manifest | 1 -
13 dev-lang/mujs/mujs-1.1.1-r2.ebuild | 72 --------------------------------------
14 2 files changed, 73 deletions(-)
15
16 diff --git a/dev-lang/mujs/Manifest b/dev-lang/mujs/Manifest
17 index 8c1f1f75c17..dc69aaa09bd 100644
18 --- a/dev-lang/mujs/Manifest
19 +++ b/dev-lang/mujs/Manifest
20 @@ -1,3 +1,2 @@
21 DIST mujs-1.1.0.tar.gz 123450 BLAKE2B e7bc05d35566ff26346e713645e0f417a9acd1a73b5fb5c7f0c35bf940765fba1ab04199f4ed1dd6ce0e3bb2bf1547703335a1c125353da24de72f2b1adfb243 SHA512 10b61453f8483e3e67c95a742aa7868e255816b2ce25c84d8e24c5c737bad1f23ade67531c5c5bb914804be446da33c0cbe8e95a6d5889250dd8520ce56f23a0
22 -DIST mujs-1.1.1.tar.xz 95448 BLAKE2B df19d045a16603b94fae6e8f996af32ab5986983a191041bf82cde67c876b34e9574b2c5ea75be8dba36da6692761608ce56117c7cf98833795eadec37ee546e SHA512 8978cb120458b982cd8fa2242ca648c1bb19a837f3b41a88226f95c6d48796b92f221d95b4c2cb73c4a4257ee33045640aee8c3c849cf0725a686fa452f2cc84
23 DIST mujs-1.1.2.tar.xz 98340 BLAKE2B bbb290786c26fd604082eb123adc78a3b7d9387dafabf70df23bae97d016a3ad16a434fb1ab3a33da85c575cf813491d0a09d956ff351bd7c8d38cac675ec114 SHA512 66641855e6fe732541fb80a99fda4418545183965c6a6ffb4a05101084fd1cc073aca1e51115f37fffb56bc5518cec21a1586d0745c55aec08deb47736e33392
24
25 diff --git a/dev-lang/mujs/mujs-1.1.1-r2.ebuild b/dev-lang/mujs/mujs-1.1.1-r2.ebuild
26 deleted file mode 100644
27 index bc0c2a8caca..00000000000
28 --- a/dev-lang/mujs/mujs-1.1.1-r2.ebuild
29 +++ /dev/null
30 @@ -1,72 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit flag-o-matic multilib toolchain-funcs
37 -
38 -DESCRIPTION="An embeddable JavaScript interpreter in C"
39 -HOMEPAGE="https://mujs.com/ https://github.com/ccxvii/mujs"
40 -SRC_URI="https://mujs.com/downloads/${P}.tar.xz"
41 -#SRC_URI=" https://github.com/ccxvii/mujs/archive/${PV}.tar.xz -> ${P}.tar.xz"
42 -
43 -LICENSE="ISC"
44 -# subslot matches SONAME
45 -SLOT="0/${PV}"
46 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos"
47 -
48 -RDEPEND="sys-libs/readline:0="
49 -DEPEND="${RDEPEND}"
50 -
51 -PATCHES=(
52 - "${FILESDIR}"/${PN}-1.1.1-flags.patch
53 -)
54 -
55 -src_prepare() {
56 - default
57 -
58 - tc-export AR CC
59 -
60 - append-cflags -fPIC
61 -
62 - # library's ABI (and API) changes in ~each release:
63 - # diff 'usr/includemujs.h' across releases to validate
64 - if [[ ${CHOST} == *-darwin* ]] ; then
65 - append-cflags -Wl,-install_name,"${EPREFIX}"/usr/$(get_libdir)/lib${PN}.${PV}.dylib
66 - else
67 - append-cflags -Wl,-soname=lib${PN}.so.${PV}
68 - fi
69 -}
70 -
71 -src_compile() {
72 - # We need to use ${PV} for the pkgconfig file
73 - # #784461
74 - emake \
75 - VERSION=${PV} \
76 - XCFLAGS="${CFLAGS}" \
77 - XCPPFLAGS="${CPPFLAGS}" \
78 - prefix=/usr \
79 - shell shared
80 -}
81 -
82 -src_install() {
83 - local myemakeargs=(
84 - DESTDIR="${ED}"
85 - VERSION=${PV}
86 - libdir="/usr/$(get_libdir)"
87 - prefix=/usr
88 - )
89 -
90 - emake "${myemakeargs[@]}" install-shared
91 -
92 - # TODO: Tidy up this logic, improve readability
93 - if [[ ${CHOST} == *-darwin* ]] ; then
94 - mv -v "${ED}"/usr/$(get_libdir)/lib${PN}.so "${ED}"/usr/$(get_libdir)/lib${PN}.${PV}.dylib || die
95 - dosym lib${PN}.${PV}.dylib /usr/$(get_libdir)/lib${PN}.dylib
96 - dosym lib${PN}.${PV}.dylib /usr/$(get_libdir)/lib${PN}.${PV:0:1}.dylib
97 - else
98 - mv -v "${ED}"/usr/$(get_libdir)/lib${PN}.so{,.${PV}} || die
99 - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so
100 - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV:0:1}
101 - fi
102 -}