diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-text/xmlformat | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-text/xmlformat')
-rw-r--r-- | app-text/xmlformat/Manifest | 1 | ||||
-rw-r--r-- | app-text/xmlformat/metadata.xml | 5 | ||||
-rw-r--r-- | app-text/xmlformat/xmlformat-1.04.ebuild | 48 |
3 files changed, 54 insertions, 0 deletions
diff --git a/app-text/xmlformat/Manifest b/app-text/xmlformat/Manifest new file mode 100644 index 000000000000..93e637344c19 --- /dev/null +++ b/app-text/xmlformat/Manifest @@ -0,0 +1 @@ +DIST xmlformat-1.04.tar.gz 156498 SHA256 71a70397e44760d67645007ad85fea99736f4b6f8679067a3b5f010589fd8fef SHA512 e45471accf0c04e016d3a9a5bbc2f984a9a76e1d5406a80300bf9da9d04bd78b67716055271923669462b70a1713b94a1e1937318115dfd9eb9d258b69a3c14d WHIRLPOOL 0d509c8248ccfd17306f6a75017e2e8199b95d4b2c2dcd2fd622615e041aaac7ae914bc8e911d2a29c6b2aefe3d922698d490dfc89201b7cc76f73380ebcf5fd diff --git a/app-text/xmlformat/metadata.xml b/app-text/xmlformat/metadata.xml new file mode 100644 index 000000000000..4538a68724a6 --- /dev/null +++ b/app-text/xmlformat/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/app-text/xmlformat/xmlformat-1.04.ebuild b/app-text/xmlformat/xmlformat-1.04.ebuild new file mode 100644 index 000000000000..d520298690b6 --- /dev/null +++ b/app-text/xmlformat/xmlformat-1.04.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Reformat XML documents to your custom style" +SRC_URI="http://www.kitebird.com/software/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.kitebird.com/software/xmlformat/" + +SLOT="0" +LICENSE="xmlformat" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +DEPEND="ruby? ( || ( dev-lang/ruby:1.9 dev-lang/ruby:2.0 ) ) + !ruby? ( dev-lang/perl )" +RDEPEND=${DEPEND} +IUSE="ruby doc" + +src_install() { + dobin xmlformat.pl + + if use ruby + then + dobin xmlformat.rb + dosym xmlformat.rb /usr/bin/xmlformat + else + dosym xmlformat.pl /usr/bin/xmlformat + fi + + dodoc BUGS ChangeLog README TODO + + if use doc + then + # APIs + insinto /usr/share/doc/${PF} + doins -r docs/* + fi +} + +src_test() { + if use ruby + then + ./runtest all || die "runtest for ruby failed." + else + ./runtest -p all || die "runtest for perl failed." + fi +} |