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/pep | |
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/pep')
-rw-r--r-- | app-text/pep/Manifest | 1 | ||||
-rw-r--r-- | app-text/pep/files/pep-2.8-gentoo.patch | 25 | ||||
-rw-r--r-- | app-text/pep/files/pep-2.8-include.patch | 10 | ||||
-rw-r--r-- | app-text/pep/metadata.xml | 7 | ||||
-rw-r--r-- | app-text/pep/pep-2.8-r1.ebuild | 50 |
5 files changed, 93 insertions, 0 deletions
diff --git a/app-text/pep/Manifest b/app-text/pep/Manifest new file mode 100644 index 000000000000..ea5643705b79 --- /dev/null +++ b/app-text/pep/Manifest @@ -0,0 +1 @@ +DIST pep28.zip 83969 SHA256 108fe13e0038284c7939414687c7efee7af73f73c387048ac574e6196d295af4 SHA512 c987b8f23409475e1882e06a87366a1692a7d859af907b4154715a4caf4475d6c266162ede019b29d65400fe72e115948d26e9c9396d628ea5f35ca472548ec8 WHIRLPOOL 46343ea72b1d5797a217d7e3b8066e4f594460ec2b2409a1fc4099e444d5329e2cd3e6bf867576a45197809fce17512f4ae86bc320720b1d89c0818a04ab43d1 diff --git a/app-text/pep/files/pep-2.8-gentoo.patch b/app-text/pep/files/pep-2.8-gentoo.patch new file mode 100644 index 000000000000..8d5c13624d65 --- /dev/null +++ b/app-text/pep/files/pep-2.8-gentoo.patch @@ -0,0 +1,25 @@ +--- a/Makefile 1995-08-11 02:00:00.000000000 +0200 ++++ b/Makefile 2010-08-26 23:54:34.000000000 +0200 +@@ -66,7 +66,7 @@ + + # Unix + CC = gcc +-LFLAGS = -o pep ++LFLAGS = -o pep $(LDFLAGS) + SRC = src + XXX = c + OBJ = o +@@ -78,10 +78,10 @@ + UNZIP = unzip + + # directories, etc. +-BINDIR = /local/bin +-LIBDIR = /local/share/lib/pep ++BINDIR = /usr/bin ++LIBDIR = /usr/share/pep + MANEXT = 1 +-MANDIR = /local/man/man$(MANEXT) ++MANDIR = /usr/share/man/man$(MANEXT) + TODAY = 19950811 + CLOCK = 0200 + VER = 28 diff --git a/app-text/pep/files/pep-2.8-include.patch b/app-text/pep/files/pep-2.8-include.patch new file mode 100644 index 000000000000..d70c8dfe35cf --- /dev/null +++ b/app-text/pep/files/pep-2.8-include.patch @@ -0,0 +1,10 @@ +--- a/main.c 1995-08-11 02:00:00.000000000 +0200 ++++ b/main.c 2010-08-26 23:57:03.000000000 +0200 +@@ -91,6 +91,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <unistd.h> + #include <string.h> + #include <ctype.h> + #include "pep.h" diff --git a/app-text/pep/metadata.xml b/app-text/pep/metadata.xml new file mode 100644 index 000000000000..91f4e72fb544 --- /dev/null +++ b/app-text/pep/metadata.xml @@ -0,0 +1,7 @@ +<?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/pep/pep-2.8-r1.ebuild b/app-text/pep/pep-2.8-r1.ebuild new file mode 100644 index 000000000000..0c0efde5005b --- /dev/null +++ b/app-text/pep/pep-2.8-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="General purpose filter and file cleaning program" +HOMEPAGE="http://hannemyr.com/enjoy/pep.html" +SRC_URI="http://hannemyr.com/enjoy/${PN}${PV//./}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ppc x86 ~x86-linux ~ppc-macos" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="" + +S=${WORKDIR} + +src_prepare() { + # pep does not come with autconf so here's a patch to configure + # Makefile with the correct path + epatch \ + "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-include.patch + # Darwin lacks stricmp and DIRCHAR + if [[ ${CHOST} == *-darwin* ]] ; then + sed -i -e '/^OBJS/s/^\(.*\)$/\1 bdmg.o/' Makefile + append-flags "-Dunix" -DSTRICMP + fi +} + +src_compile() { + # make man page too + make Doc/pep.1 || die "make man page failed" + emake CC="$(tc-getCC)" || die "emake failed" +} + +src_install() { + dobin pep || die "dobin failed" + doman Doc/pep.1 || die "doman failed" + + insinto /usr/share/pep + doins Filters/* || die "doins failed" + + dodoc aareadme.txt file_id.diz +} |