dev-libs/libsass: bump to 3.5.5
authorVirgil Dupras <vdupras@gentoo.org>
Sat, 30 Mar 2019 00:09:24 +0000 (20:09 -0400)
committerVirgil Dupras <vdupras@gentoo.org>
Sat, 30 Mar 2019 00:09:24 +0000 (20:09 -0400)
Also, take over maintainership

Closes: https://bugs.gentoo.org/678048
Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

dev-libs/libsass/Manifest
dev-libs/libsass/libsass-3.5.5.ebuild [new file with mode: 0644]
dev-libs/libsass/libsass-9999.ebuild
dev-libs/libsass/metadata.xml

index 600fd707d521eb1ee7c55553e9566482ba65258d..96abbd0bb8596961b10296a293392969cb32e644 100644 (file)
@@ -1,2 +1,3 @@
 DIST libsass-3.4.7.tar.gz 319824 BLAKE2B ca3e7091816474e318fb1eaefa01e5e361a66715b6267500a93f80dfc8b34bdc595e6ddc4b1872e4399093468d4ac06a9760685d8941d92f18e1834df7715b04 SHA512 5d743d4345b11e9e5315aa858637d3388d2b464150a46bc8a712e1e5d1b3df9c1e6b4dcac26f91827f1c38db24a5a084d04c0962a428f2994f42ad66a25b35a8
 DIST libsass-3.5.2.tar.gz 326773 BLAKE2B 65d2dd82872ef76a45597104cc2a531786c0cd33f8e61172b0c973c8262fbddced3b988e143f27b3b7cac2f9d17c481cf58201bfb432aa2656763319ac072b51 SHA512 a06f0047358eeacf5fff9ab44e833ac285e4a971829610b56ae7ed00128b4bee9fe33630c299e61337cf975caf0bc3067242c3af4db1f8aaf3898d3e63920f67
+DIST libsass-3.5.5.tar.gz 327298 BLAKE2B 4127722343394bca4ed054987eed6113788e10dc4d03a869778c10b56135406c1fcd72dc101bfe405c96267b628735e8ee74d3812ab392f097dc941b78bef882 SHA512 dcb73a5080c00023b60a19ea037ba5af481253a7b47492bd7114bf45ab78ed931c7b207fa8f12ed200a39760553d72ae92dbe4eb80b826b59a6201fb34008fe5
diff --git a/dev-libs/libsass/libsass-3.5.5.ebuild b/dev-libs/libsass/libsass-3.5.5.ebuild
new file mode 100644 (file)
index 0000000..7bb47a9
--- /dev/null
@@ -0,0 +1,54 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools multilib-minimal
+
+if [[ ${PV} = *9999 ]]; then
+       EGIT_REPO_URI="https://github.com/sass/libsass.git"
+       inherit git-r3
+       KEYWORDS=
+else
+       SRC_URI="https://github.com/sass/libsass/archive/${PV}.tar.gz -> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux"
+fi
+
+DESCRIPTION="A C/C++ implementation of a Sass CSS compiler"
+HOMEPAGE="https://github.com/sass/libsass"
+LICENSE="MIT"
+SLOT="0/1" # libsass soname
+IUSE="static-libs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+DOCS=( Readme.md SECURITY.md )
+
+src_prepare() {
+       default
+
+       if [[ ${PV} != *9999 ]]; then
+               [[ -f VERSION ]] || echo "${PV}" > VERSION
+       fi
+       eautoreconf
+
+       # only sane way to deal with various version-related scripts, env variables etc.
+       multilib_copy_sources
+}
+
+multilib_src_configure() {
+       econf \
+               $(use_enable static-libs static) \
+               --enable-shared
+}
+
+multilib_src_install() {
+       emake DESTDIR="${D}" install
+       find "${D}" -name '*.la' -delete || die
+}
+
+multilib_src_install_all() {
+       einstalldocs
+       dodoc -r "${S}/docs"
+}
index 6c86860c5d050954f9e7bebfb36b4f4f0db5403f..7bb47a9109365feab2762cb3245de2f17946a845 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit autotools eutils ltprune multilib-minimal
+inherit autotools multilib-minimal
 
 if [[ ${PV} = *9999 ]]; then
        EGIT_REPO_URI="https://github.com/sass/libsass.git"
@@ -11,7 +11,7 @@ if [[ ${PV} = *9999 ]]; then
        KEYWORDS=
 else
        SRC_URI="https://github.com/sass/libsass/archive/${PV}.tar.gz -> ${P}.tar.gz"
-       KEYWORDS="~amd64 ~x86 ~amd64-linux"
+       KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux"
 fi
 
 DESCRIPTION="A C/C++ implementation of a Sass CSS compiler"
@@ -45,7 +45,7 @@ multilib_src_configure() {
 
 multilib_src_install() {
        emake DESTDIR="${D}" install
-       prune_libtool_files
+       find "${D}" -name '*.la' -delete || die
 }
 
 multilib_src_install_all() {
index 9704a17386206d06735471a9c7dfc7d9b8badd3b..58b843a9d6a9e887584eacab32cf5d8f83f3d60e 100644 (file)
@@ -1,14 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<!-- maintainer-needed -->
-<longdescription lang="en">
-       LibSass is a C++ port of the original Ruby Sass CSS compiler with a C
-       API. It is coded with portability and efficiency in mind. You can
-       expect LibSass to be a lot faster than Ruby Sass and on par or faster
-       than the best alternative CSS compilers around.
-</longdescription>
-<upstream>
-       <remote-id type="github">sass/libsass</remote-id>
-</upstream>
+       <maintainer type="person">
+               <email>vdupras@gentoo.org</email>
+               <name>Virgil Dupras</name>
+       </maintainer>
+       <longdescription lang="en">
+               LibSass is a C++ port of the original Ruby Sass CSS compiler with a C
+               API. It is coded with portability and efficiency in mind. You can
+               expect LibSass to be a lot faster than Ruby Sass and on par or faster
+               than the best alternative CSS compilers around.
+       </longdescription>
+       <upstream>
+               <remote-id type="github">sass/libsass</remote-id>
+       </upstream>
 </pkgmetadata>