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 438731382C5 for ; Tue, 6 Feb 2018 09:57:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B5CAE09E0; Tue, 6 Feb 2018 09:57:09 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 1A811E09E0 for ; Tue, 6 Feb 2018 09:57:07 +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 CE677335C3C for ; Tue, 6 Feb 2018 09:57:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B03F1CE for ; Tue, 6 Feb 2018 09:57:04 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1517910975.5a1bcdacef86ba2ae53ae6fb4b6d500b215c6925.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/scdoc/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/scdoc/Manifest app-text/scdoc/metadata.xml app-text/scdoc/scdoc-1.2.3.ebuild X-VCS-Directories: app-text/scdoc/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 5a1bcdacef86ba2ae53ae6fb4b6d500b215c6925 X-VCS-Branch: master Date: Tue, 6 Feb 2018 09:57:04 +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: a803f8ec-6709-415c-b6c7-990c1709dceb X-Archives-Hash: cccc486b9b3ee1a138e9f6b737ad20dd commit: 5a1bcdacef86ba2ae53ae6fb4b6d500b215c6925 Author: Mykyta Holubakha gmail com> AuthorDate: Fri Jan 26 00:33:52 2018 +0000 Commit: David Seifert gentoo org> CommitDate: Tue Feb 6 09:56:15 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a1bcdac app-text/scdoc: New package initial version 1.2.3 Closes: https://github.com/gentoo/gentoo/pull/6961 app-text/scdoc/Manifest | 1 + app-text/scdoc/metadata.xml | 15 +++++++++++++++ app-text/scdoc/scdoc-1.2.3.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/app-text/scdoc/Manifest b/app-text/scdoc/Manifest new file mode 100644 index 00000000000..23793d69d4d --- /dev/null +++ b/app-text/scdoc/Manifest @@ -0,0 +1 @@ +DIST scdoc-1.2.3.tar.xz 6920 BLAKE2B 7cafe512016dc7dcfa56216cac3f3fd99ef05dfefb67ce8dba9726c8d60b49829f444f66c62c4ee9a0d2464749510ba60ac0b72996c656e3d66aef80e5ef0546 SHA512 1d5170d2a73ebccdb83ffffbec5ec431aab54b02eea5b062d0210c98636d059dc1fa57bfc1573a0e510cc8849759f6bb6462e3f5a78f22273a10bf47f2e0a2c6 diff --git a/app-text/scdoc/metadata.xml b/app-text/scdoc/metadata.xml new file mode 100644 index 00000000000..442a873c810 --- /dev/null +++ b/app-text/scdoc/metadata.xml @@ -0,0 +1,15 @@ + + + + + hilobakho@gmail.com + Mykyta Holubakha + + + proxy-maint@gentoo.org + Proxy Maintainers + + + swaywm/sway + + diff --git a/app-text/scdoc/scdoc-1.2.3.ebuild b/app-text/scdoc/scdoc-1.2.3.ebuild new file mode 100644 index 00000000000..fb88bae39fe --- /dev/null +++ b/app-text/scdoc/scdoc-1.2.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Standalone tool for generating man pages with a simple syntax" +HOMEPAGE="https://git.sr.ht/~sircmpwn/scdoc" +SRC_URI="https://git.sr.ht/~sircmpwn/scdoc/snapshot/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_prepare() { + default + + sed -i 's/-Werror//' Makefile || die 'Failed to remove -Werror' + sed -i 's/CFLAGS=/CFLAGS+=/' Makefile || die 'Failed to patch makefile' +} + +src_compile() { + MY_HS="./scdoc" + if tc-is-cross-compiler; then + tc-export_build_env + MY_HS="./hostscdoc" + MAKEOPTS+=" HOST_SCDOC=./hostscdoc" + emake scdoc OUTDIR="${S}/.build.host" CC=$(tc-getBUILD_CC) \ + CFLAGS="${BUILD_CFLAGS}" LDFLAGS="${BUILD_LDFLAGS}" + mv scdoc hostscdoc || die 'Failed to rename host scdoc' + fi + emake LDFLAGS="${LDFLAGS}" HOST_SCDOC="${MY_HS}" +} + +src_install() { + emake DESTDIR="${D}" HOST_SCDOC="${MY_HS}" install +}