1 |
commit: aa8dc210b6d409e17c8bc62d61da77723dd7ddc6 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Fri May 1 15:50:14 2020 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 2 11:54:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa8dc210 |
7 |
|
8 |
dev-libs/libsass: version bump 3.6.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
13 |
|
14 |
dev-libs/libsass/Manifest | 1 + |
15 |
dev-libs/libsass/libsass-3.6.4.ebuild | 54 +++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 55 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/libsass/Manifest b/dev-libs/libsass/Manifest |
19 |
index 031f5585191..0ec444c8161 100644 |
20 |
--- a/dev-libs/libsass/Manifest |
21 |
+++ b/dev-libs/libsass/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST libsass-3.6.1.tar.gz 333609 BLAKE2B ea6cb0285a6d741614bb900ff0f3b74660c74ec9ed071abf2d980bfe3f55b02fa2873d3860e5b767ca82b5f202f3d2aef28b73357bf8d2b3117c925b4dc78791 SHA512 e9a3a30851e26145d049c4b20951c663a9d48c781a732acd3cc2cdb30df3449e445b57211f666b58afa137431fbdb149add48ff8a0dec92bd8abb514c90adebb |
24 |
DIST libsass-3.6.3.tar.gz 331301 BLAKE2B 9e25994d19bd93fb53be32f69cafa40204d5892bd676fd7e9a3fcfe4cb6e84d21e9c53043b4766b602f811617f4eeb8bc5719dd7977657ccefff088d418c4e5c SHA512 e290f2045784ba1cf84e87e5bd33129b5452fec1d25da657b084b3561ec76df195a75595248a493dbd85c6a1215ed600332477945922309c021d9e416ebb29ee |
25 |
+DIST libsass-3.6.4.tar.gz 338519 BLAKE2B 9d312e36e1ac40dcce3aa29728e66643de28da7f2244c8fc987c9a1de7fa0fa72fd5bbd4b5a218c9b53652bd0de469141dbf1b4ddecb7f98405965df946cf333 SHA512 1f79553be31949d45adf440dcbcf4b828a7e4f71c6f63f288f99451fccc490ebf0c68c58d91deabede37962e35a8cf9af8b0d60d89349fd0adea1ac061c8c2c8 |
26 |
|
27 |
diff --git a/dev-libs/libsass/libsass-3.6.4.ebuild b/dev-libs/libsass/libsass-3.6.4.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..70fec398bd2 |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/libsass/libsass-3.6.4.ebuild |
32 |
@@ -0,0 +1,54 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit autotools multilib-minimal |
39 |
+ |
40 |
+if [[ ${PV} = *9999 ]]; then |
41 |
+ EGIT_REPO_URI="https://github.com/sass/libsass.git" |
42 |
+ inherit git-r3 |
43 |
+ KEYWORDS= |
44 |
+else |
45 |
+ SRC_URI="https://github.com/sass/libsass/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux" |
47 |
+fi |
48 |
+ |
49 |
+DESCRIPTION="A C/C++ implementation of a Sass CSS compiler" |
50 |
+HOMEPAGE="https://github.com/sass/libsass" |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0/1" # libsass soname |
53 |
+IUSE="static-libs" |
54 |
+ |
55 |
+DOCS=( Readme.md SECURITY.md ) |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ default |
59 |
+ |
60 |
+ if [[ ${PV} != *9999 ]]; then |
61 |
+ [[ -f VERSION ]] || echo "${PV}" > VERSION |
62 |
+ fi |
63 |
+ eautoreconf |
64 |
+ |
65 |
+ # only sane way to deal with various version-related scripts, env variables etc. |
66 |
+ multilib_copy_sources |
67 |
+} |
68 |
+ |
69 |
+multilib_src_configure() { |
70 |
+ local myeconfargs=( |
71 |
+ $(use_enable static-libs static) |
72 |
+ --enable-shared |
73 |
+ ) |
74 |
+ |
75 |
+ econf "${myeconfargs[@]}" |
76 |
+} |
77 |
+ |
78 |
+multilib_src_install() { |
79 |
+ emake DESTDIR="${D}" install |
80 |
+ find "${D}" -name '*.la' -delete || die |
81 |
+} |
82 |
+ |
83 |
+multilib_src_install_all() { |
84 |
+ einstalldocs |
85 |
+ dodoc -r "${S}/docs" |
86 |
+} |