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/queequeg | |
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/queequeg')
-rw-r--r-- | app-text/queequeg/Manifest | 1 | ||||
-rw-r--r-- | app-text/queequeg/metadata.xml | 11 | ||||
-rw-r--r-- | app-text/queequeg/queequeg-0.91.ebuild | 62 |
3 files changed, 74 insertions, 0 deletions
diff --git a/app-text/queequeg/Manifest b/app-text/queequeg/Manifest new file mode 100644 index 000000000000..fa32e16027df --- /dev/null +++ b/app-text/queequeg/Manifest @@ -0,0 +1 @@ +DIST queequeg-0.91.tar.gz 69449 SHA256 44e2f2bb8b68d08b7ee95ece24cefeeea8ec6ff9150851922015b73fc8908136 SHA512 e5366577e587fd3f286c917135cd043ef599ef6ee673757f3538668f749ce6a57c2a257f31f1e9d38724cb6ee4680b4401800c23f84ae27deac75392ab6c5e34 WHIRLPOOL 82eef90391ac6933b03e10fef46d5c5500b9dcd9cffccb4e9412ba6c13ee2cb43a2cf9916bf0b32a487f315fe78aec9b3613a678abc7681e9f842fc24f4f7027 diff --git a/app-text/queequeg/metadata.xml b/app-text/queequeg/metadata.xml new file mode 100644 index 000000000000..db1b3ad443af --- /dev/null +++ b/app-text/queequeg/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cjk</herd> + <maintainer> + <email>hattya@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">queequeg</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-text/queequeg/queequeg-0.91.ebuild b/app-text/queequeg/queequeg-0.91.ebuild new file mode 100644 index 000000000000..b89272f9f412 --- /dev/null +++ b/app-text/queequeg/queequeg-0.91.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" +PYTHON_DEPEND="2" + +inherit python + +DESCRIPTION="A checker for English grammar, for people who are not native English" +HOMEPAGE="http://queequeg.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="app-dicts/wordnet" +RDEPEND="${DEPEND}" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + python_convert_shebangs -r ${PYTHON_ABI} . +} + +src_compile() { + local dictdir=/usr/dict + + if has_version ">=app-dicts/wordnet-2.0"; then + dictdir=/usr/share/wordnet/dict + fi + + emake dict WORDNETDICT=${dictdir} || die +} + +src_install() { + local prefix=$(python_get_sitedir)/${PN} + + insinto ${prefix} + doins *.py + [[ -f "dict.txt" ]] && doins dict.txt || doins dict.cdb + + exeinto ${prefix} + doexe qq + dosym ${prefix}/qq /usr/bin/qq + + dodoc README TODO + dohtml htdocs/* +} + +pkg_postinst() { + python_mod_optimize queequeg +} + +pkg_postrm() { + python_mod_cleanup queequeg +} |