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 D1C86138334 for ; Sat, 30 Jun 2018 17:34:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0B69E092B; Sat, 30 Jun 2018 17:34:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 4B89FE0917 for ; Sat, 30 Jun 2018 17:34:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 ED81A335C9A for ; Sat, 30 Jun 2018 17:34:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CFF2A358 for ; Sat, 30 Jun 2018 17:34:45 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1530380070.0c35c78cf76a5875e5ac1f2855c39813cc1abfee.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libyaml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libyaml/Manifest dev-libs/libyaml/libyaml-0.2.1.ebuild X-VCS-Directories: dev-libs/libyaml/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 0c35c78cf76a5875e5ac1f2855c39813cc1abfee X-VCS-Branch: master Date: Sat, 30 Jun 2018 17:34:45 +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: d14e96bc-77c5-4a02-aadf-78111762c0f3 X-Archives-Hash: a9cb444c5b2eeaea00a492fe36d7cf17 commit: 0c35c78cf76a5875e5ac1f2855c39813cc1abfee Author: Tim Harder gentoo org> AuthorDate: Sat Jun 30 16:14:41 2018 +0000 Commit: Tim Harder gentoo org> CommitDate: Sat Jun 30 17:34:30 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c35c78c dev-libs/libyaml: version bump to 0.2.1 dev-libs/libyaml/Manifest | 1 + dev-libs/libyaml/libyaml-0.2.1.ebuild | 43 +++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-libs/libyaml/Manifest b/dev-libs/libyaml/Manifest index b63cfddc644..c82040768ab 100644 --- a/dev-libs/libyaml/Manifest +++ b/dev-libs/libyaml/Manifest @@ -1 +1,2 @@ +DIST libyaml-0.2.1.tar.gz 601443 BLAKE2B 4940d1f0a698a985502d6e1c4d3d064061462642829aecc75a820bebcb7b7e4ae5d62777162063650d24962c93da6449bca791811d0438222d897388ec07c2ea SHA512 f91297c37dbbf03aaff718947474381a4a6a4ee1a39171d7fc32c3710ce55321028f3485ea1fcd52b962da36ed021c0b7ec05718296dca636329a19aecc809b8 DIST yaml-0.1.7.tar.gz 527518 BLAKE2B 80bb082e22e7f8275924aaa4f8e95eefdc94e929690ddefdba61f50d57d01428990687d2c7bcc5b277888825b8bc0619c572594dae64ce00013adde685f9a8d9 SHA512 1ee5007dd10db137b5ee80f8117f07390ec04af98d087a5f5475dd2b38d87c699b79ab1676e6c7bfa263323fcdf8edd69fada2b0b7f9c57bef4e46cd65f1e975 diff --git a/dev-libs/libyaml/libyaml-0.2.1.ebuild b/dev-libs/libyaml/libyaml-0.2.1.ebuild new file mode 100644 index 00000000000..dc16d59c679 --- /dev/null +++ b/dev-libs/libyaml/libyaml-0.2.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit libtool + +DESCRIPTION="YAML 1.1 parser and emitter written in C" +HOMEPAGE="https://github.com/yaml/libyaml" +SRC_URI="https://github.com/yaml/${PN}/archive/dist-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc static-libs test" + +S=${WORKDIR}/${PN}-dist-${PV} + +src_prepare() { + default + + # conditionally remove tests + if ! use test; then + sed -i -e 's: tests::g' Makefile* || die + fi + + elibtoolize # for FreeMiNT +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + use doc && HTML_DOCS=( doc/html/. ) + default + + find "${D}" -name '*.la' -delete || die + + docinto examples + dodoc tests/example-*.c + docompress -x /usr/share/doc/${PF}/examples +}