Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libsass/
Date: Fri, 09 Sep 2022 07:59:42
Message-Id: 1662710338.b70522335c001076efc45b3fa5382e5e579ae7fa.soap@gentoo
1 commit: b70522335c001076efc45b3fa5382e5e579ae7fa
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 9 07:58:58 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 9 07:58:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7052233
7
8 dev-libs/libsass: drop multilib, static-libs
9
10 No multilib or static-libs reverse dependencies.
11
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 ...ibsass-3.6.5.ebuild => libsass-3.6.5-r1.ebuild} | 24 +++++++------------
16 dev-libs/libsass/libsass-9999.ebuild | 28 +++++++++-------------
17 2 files changed, 20 insertions(+), 32 deletions(-)
18
19 diff --git a/dev-libs/libsass/libsass-3.6.5.ebuild b/dev-libs/libsass/libsass-3.6.5-r1.ebuild
20 similarity index 65%
21 rename from dev-libs/libsass/libsass-3.6.5.ebuild
22 rename to dev-libs/libsass/libsass-3.6.5-r1.ebuild
23 index c1a6d0479eb3..80400548f196 100644
24 --- a/dev-libs/libsass/libsass-3.6.5.ebuild
25 +++ b/dev-libs/libsass/libsass-3.6.5-r1.ebuild
26 @@ -1,9 +1,9 @@
27 # Copyright 1999-2022 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 -EAPI=7
31 +EAPI=8
32
33 -inherit autotools multilib-minimal
34 +inherit autotools
35
36 if [[ ${PV} = *9999 ]]; then
37 EGIT_REPO_URI="https://github.com/sass/libsass.git"
38 @@ -17,7 +17,6 @@ DESCRIPTION="A C/C++ implementation of a Sass CSS compiler"
39 HOMEPAGE="https://github.com/sass/libsass"
40 LICENSE="MIT"
41 SLOT="0/1" # libsass soname
42 -IUSE="static-libs"
43
44 DOCS=( Readme.md SECURITY.md )
45
46 @@ -27,27 +26,22 @@ src_prepare() {
47 if [[ ${PV} != *9999 ]]; then
48 [[ -f VERSION ]] || echo "${PV}" > VERSION
49 fi
50 - eautoreconf
51
52 - # only sane way to deal with various version-related scripts, env variables etc.
53 - multilib_copy_sources
54 + eautoreconf
55 }
56
57 -multilib_src_configure() {
58 +src_configure() {
59 local myeconfargs=(
60 - $(use_enable static-libs static)
61 --enable-shared
62 )
63
64 econf "${myeconfargs[@]}"
65 }
66
67 -multilib_src_install() {
68 - emake DESTDIR="${D}" install
69 - find "${D}" -name '*.la' -delete || die
70 -}
71 +src_install() {
72 + default
73 +
74 + dodoc -r docs
75
76 -multilib_src_install_all() {
77 - einstalldocs
78 - dodoc -r "${S}/docs"
79 + find "${ED}" -name '*.la' -delete || die
80 }
81
82 diff --git a/dev-libs/libsass/libsass-9999.ebuild b/dev-libs/libsass/libsass-9999.ebuild
83 index 04fbd70077d4..80400548f196 100644
84 --- a/dev-libs/libsass/libsass-9999.ebuild
85 +++ b/dev-libs/libsass/libsass-9999.ebuild
86 @@ -1,23 +1,22 @@
87 -# Copyright 1999-2021 Gentoo Authors
88 +# Copyright 1999-2022 Gentoo Authors
89 # Distributed under the terms of the GNU General Public License v2
90
91 -EAPI=7
92 +EAPI=8
93
94 -inherit autotools multilib-minimal
95 +inherit autotools
96
97 if [[ ${PV} = *9999 ]]; then
98 EGIT_REPO_URI="https://github.com/sass/libsass.git"
99 inherit git-r3
100 else
101 SRC_URI="https://github.com/sass/libsass/archive/${PV}.tar.gz -> ${P}.tar.gz"
102 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux"
103 + KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv x86 ~amd64-linux"
104 fi
105
106 DESCRIPTION="A C/C++ implementation of a Sass CSS compiler"
107 HOMEPAGE="https://github.com/sass/libsass"
108 LICENSE="MIT"
109 SLOT="0/1" # libsass soname
110 -IUSE="static-libs"
111
112 DOCS=( Readme.md SECURITY.md )
113
114 @@ -27,27 +26,22 @@ src_prepare() {
115 if [[ ${PV} != *9999 ]]; then
116 [[ -f VERSION ]] || echo "${PV}" > VERSION
117 fi
118 - eautoreconf
119
120 - # only sane way to deal with various version-related scripts, env variables etc.
121 - multilib_copy_sources
122 + eautoreconf
123 }
124
125 -multilib_src_configure() {
126 +src_configure() {
127 local myeconfargs=(
128 - $(use_enable static-libs static)
129 --enable-shared
130 )
131
132 econf "${myeconfargs[@]}"
133 }
134
135 -multilib_src_install() {
136 - emake DESTDIR="${D}" install
137 - find "${D}" -name '*.la' -delete || die
138 -}
139 +src_install() {
140 + default
141 +
142 + dodoc -r docs
143
144 -multilib_src_install_all() {
145 - einstalldocs
146 - dodoc -r "${S}/docs"
147 + find "${ED}" -name '*.la' -delete || die
148 }