commit: 12319cb9aac7f03cb05e746958369d2e1a073b1c Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Mar 29 20:11:57 2017 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Mar 29 20:11:57 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12319cb9
app-doc/pms: Restore 20120920 edition. Restore previously removed 20120920 edition from git history, because later editions reference it. Package-Manager: Portage-2.3.5, Repoman-2.3.2 app-doc/pms/Manifest | 2 ++ app-doc/pms/pms-5_p20120920.ebuild | 47 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/app-doc/pms/Manifest b/app-doc/pms/Manifest index af1fc0db0e1..b6acd497191 100644 --- a/app-doc/pms/Manifest +++ b/app-doc/pms/Manifest @@ -1,2 +1,4 @@ +DIST pms-5-prebuilt.tar.xz 540244 SHA256 c93ce6902db323ab7ec613ad90a6dca2beda2dd2cebcc3e8ace83c1faeb6a1c7 SHA512 64baadd65f1751783032065832d2a18242967f1853d9b6ce0565a5477c021cfad3c06d9c3cfeb83ca9a64bbb052ec67c174bfd27036945ff762fe4bbf8c28451 WHIRLPOOL 9369c7604fdf0aadb7666f1fc08f041b064896d6359dd76779dc3af842fef14d81aed07301ec52eac11462664d16faed0e3fd50a0b96702822c59538917f5f78 +DIST pms-5.tar.xz 50284 SHA256 a3b7702298adc4481584ed03f2d49e9fa7ea58638d8e8e9bf36fca832b2fbc87 SHA512 560bdda40d4d1628e97b65bb354c349e3ac52edd1e337427adb0db61e99b40d214459a5046f4b505edfabc3914e2d585ef0453b13057a25fe138b8a5ebd6292e WHIRLPOOL 373d333f1c060faacbfbd398ae3be3a0143c0ee618b093867313e4182bce7f15609445d2fc6b109f6f02fe597fe8f6cf687673029569e27fa7ed3411f4932013 DIST pms-6_p20151113-prebuilt.tar.xz 536876 SHA256 c9bd8e6cd5cc29031327202ebf645843a1055651b9719faab3e14ecb0c1dd246 SHA512 1ea7fe4ccd235921c75bfae267834005b50994cf76a43a0ae40e4d044179e375fd99fe4ddd7f03f9aeef3bb8cd7e3a02cf6f5cccb78a2daa3a3a02a428c60131 WHIRLPOOL 8297dbf280a66f1532ccd4632018efae5c7802f22c7024b4a0b7185641b4d97ac790303f86fd66fa91868c8f3071935d757568afd5e74cc36c80c22cf65f6fec DIST pms-6_p20151113.tar.xz 53784 SHA256 2099b3c698acd38d2188afff8bb0c19817d5b9f5d98c6d1e3c746df12111a75f SHA512 92af8c06c9b278a468de74c2686285b9b9a5d0234537aa9371ac99875ec15238edf41f8d86ee058ed8c471ecffa9f033993eb07921fe1bd034d838717f70b7ef WHIRLPOOL 1276df9dd735d3558e4605ba7cc4ef7997f53b1d5cc73debd24cef9192f588039975e3cdae3d6877d7a882441f0a47c8797d85670794efcdfc1f2bdbd70d7e0b diff --git a/app-doc/pms/pms-5_p20120920.ebuild b/app-doc/pms/pms-5_p20120920.ebuild new file mode 100644 index 00000000000..7e91d18f80a --- /dev/null +++ b/app-doc/pms/pms-5_p20120920.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_P="${PN}-${PV%%_*}" +DESCRIPTION="Gentoo Package Manager Specification" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Package_Manager_Specification" +SRC_URI="!binary? ( https://dev.gentoo.org/~ulm/distfiles/${MY_P}.tar.xz ) + binary? ( https://dev.gentoo.org/~ulm/distfiles/${MY_P}-prebuilt.tar.xz )" + +LICENSE="CC-BY-SA-3.0" +SLOT="${PV#*_p}" +KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="binary html" + +DEPEND="!binary? ( + dev-tex/leaflet + dev-texlive/texlive-bibtexextra + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra + dev-texlive/texlive-latexrecommended + || ( dev-texlive/texlive-mathscience dev-texlive/texlive-science ) + html? ( + app-text/recode + >=dev-tex/tex4ht-20090115_p0029 + ) + )" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + if ! use binary; then + emake + use html && emake html + fi +} + +src_install() { + dodoc pms.pdf eapi-cheatsheet.pdf + if use html; then + docinto html + dodoc *.html pms.css + dosym {..,/usr/share/doc/${PF}/html}/eapi-cheatsheet.pdf + fi +}