From 23e290ba497ca00747a2807d3c47e1497e803777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 14 Mar 2019 13:45:52 +0100 Subject: [PATCH] app-doc/eclass-manpages: Add 20190314 snapshot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- app-doc/eclass-manpages/Manifest | 1 + .../eclass-manpages-20190314.ebuild | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 app-doc/eclass-manpages/eclass-manpages-20190314.ebuild diff --git a/app-doc/eclass-manpages/Manifest b/app-doc/eclass-manpages/Manifest index 693ca819202dc..7ae526d32278e 100644 --- a/app-doc/eclass-manpages/Manifest +++ b/app-doc/eclass-manpages/Manifest @@ -1 +1,2 @@ DIST eclass-manpages-20180812.tar.xz 419912 BLAKE2B 35659ac43e43e71c600fb4955267c9d57ed36f29e0607150a8e8c061b158b6135a4b91f4e4c05fa178a03aa3068726ac13cd54e4cd135fbe152c8bebf81659bb SHA512 6d01070c6113e5d5f4102d466abaa03ae824350285ca71a5a4f84d859f6c473e8e92d3f5387b76c4bb5dc8bcedcc6b36a63e074d70725c87233dea4fa6a6d0c6 +DIST eclass-manpages-20190314.tar.xz 419576 BLAKE2B baad0d5f9c67b7e4b9646e69e90583a8238590a02bb6bcc200b08f17f56b2ae50a56080526d3398623949ffc91857d944a1035d6b44fba07b17024c2c224b802 SHA512 22f4b32654f459afa8e5057f02c92628cc529f236e48a69f9b346e7bdcf60d12a4cdd71debf96e8d4b3e69b0e497feb9143b385a11d835b43d13c32fa1751d51 diff --git a/app-doc/eclass-manpages/eclass-manpages-20190314.ebuild b/app-doc/eclass-manpages/eclass-manpages-20190314.ebuild new file mode 100644 index 0000000000000..d0c5185c96f02 --- /dev/null +++ b/app-doc/eclass-manpages/eclass-manpages-20190314.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="Collection of Gentoo eclass manpages" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +# Keep the keywords stabled. No need to change to ~arch. +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris" + +DEPEND="app-arch/xz-utils" + +# How to create a snapshot and upload it to your dev-space: +# +# mkdir eclass-manpages-$(date +%Y%m%d) +# cp "$(portageq get_repo_path / gentoo)"/eclass/*.eclass eclass-manpages-$(date +%Y%m%d)/ +# tar -cf eclass-manpages-$(date +%Y%m%d).tar eclass-manpages-$(date +%Y%m%d) +# xz -e eclass-manpages-$(date +%Y%m%d).tar +# scp eclass-manpages-$(date +%Y%m%d).tar.xz dev.gentoo.org:public_html/dist/ +# +# Then copy the ebuild and update your name in SRC_URI ;-). + +src_compile() { + env ECLASSDIR="${S}" bash "${FILESDIR}"/eclass-to-manpage.sh || die +} + +src_install() { + doman *.5 +}