From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B447C1396D9 for ; Tue, 7 Nov 2017 08:37:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18C9EE0C63; Tue, 7 Nov 2017 08:37:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DD573E0C63 for ; Tue, 7 Nov 2017 08:37:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4557033BE2E for ; Tue, 7 Nov 2017 08:37:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0731897D8 for ; Tue, 7 Nov 2017 08:37:41 +0000 (UTC) From: "Alexandre Rostovtsev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexandre Rostovtsev" Message-ID: <1510043661.fceed9619b8cc78518e2bc62d2d6f63bea581773.tetromino@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libsass/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libsass/Manifest dev-libs/libsass/libsass-3.4.5.ebuild dev-libs/libsass/libsass-9999.ebuild dev-libs/libsass/metadata.xml X-VCS-Directories: dev-libs/libsass/ X-VCS-Committer: tetromino X-VCS-Committer-Name: Alexandre Rostovtsev X-VCS-Revision: fceed9619b8cc78518e2bc62d2d6f63bea581773 X-VCS-Branch: master Date: Tue, 7 Nov 2017 08:37:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8d857ce3-7fd3-4921-91c4-b66ab24d09b8 X-Archives-Hash: ecab0f1aa96274bbfaf98ac16ed3561a commit: fceed9619b8cc78518e2bc62d2d6f63bea581773 Author: Alexandre Rostovtsev gentoo org> AuthorDate: Tue Nov 7 08:25:25 2017 +0000 Commit: Alexandre Rostovtsev gentoo org> CommitDate: Tue Nov 7 08:34:21 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fceed961 dev-libs/libsass: new package Package-Manager: Portage-2.3.13, Repoman-2.3.4 dev-libs/libsass/Manifest | 1 + dev-libs/libsass/libsass-3.4.5.ebuild | 54 +++++++++++++++++++++++++++++++++++ dev-libs/libsass/libsass-9999.ebuild | 54 +++++++++++++++++++++++++++++++++++ dev-libs/libsass/metadata.xml | 17 +++++++++++ 4 files changed, 126 insertions(+) diff --git a/dev-libs/libsass/Manifest b/dev-libs/libsass/Manifest new file mode 100644 index 00000000000..1642f26ea63 --- /dev/null +++ b/dev-libs/libsass/Manifest @@ -0,0 +1 @@ +DIST libsass-3.4.5.tar.gz 318689 SHA256 fd0cb47479b4eae03154f23e17ab846aa81ba168c9aa5fa493b8fa42d10842c8 SHA512 5e3f56d44d100067d68e338fa97209a78d80c3536d64fdf48d83ec5351f944dbbe50e1050ffc8189b3ae86fd86d7b121229a3866f6e0287abc55af3770ed2bb6 WHIRLPOOL 852c61f4b7f3999a1d9de9e0075a4358e2323054797acbd2dd396b3486fcb655350897c1c65b55a5ec02f24dd62c771648b756911cbbcf48e519775b6afbf736 diff --git a/dev-libs/libsass/libsass-3.4.5.ebuild b/dev-libs/libsass/libsass-3.4.5.ebuild new file mode 100644 index 00000000000..a220ac3e1e1 --- /dev/null +++ b/dev-libs/libsass/libsass-3.4.5.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils ltprune 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 ~x86 ~amd64-linux" +fi + +DESCRIPTION="A C/C++ implementation of a Sass CSS compiler" +HOMEPAGE="https://github.com/sass/libsass" +LICENSE="MIT" +SLOT="0/0" # 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 + prune_libtool_files +} + +multilib_src_install_all() { + einstalldocs + dodoc -r "${S}/docs" +} diff --git a/dev-libs/libsass/libsass-9999.ebuild b/dev-libs/libsass/libsass-9999.ebuild new file mode 100644 index 00000000000..6c86860c5d0 --- /dev/null +++ b/dev-libs/libsass/libsass-9999.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils ltprune 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 ~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 + prune_libtool_files +} + +multilib_src_install_all() { + einstalldocs + dodoc -r "${S}/docs" +} diff --git a/dev-libs/libsass/metadata.xml b/dev-libs/libsass/metadata.xml new file mode 100644 index 00000000000..0208c3a7a59 --- /dev/null +++ b/dev-libs/libsass/metadata.xml @@ -0,0 +1,17 @@ + + + + + tetromino@gentoo.org + Alexandre Rostovtsev + + + LibSass is a C++ port of the original Ruby Sass CSS compiler with a C + API. It is coded LibSass 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. + + + sass/libsass + +