diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/queequeg | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/queequeg')
-rw-r--r-- | app-text/queequeg/Manifest | 3 | ||||
-rw-r--r-- | app-text/queequeg/metadata.xml | 14 | ||||
-rw-r--r-- | app-text/queequeg/queequeg-0.91-r2.ebuild | 51 |
3 files changed, 68 insertions, 0 deletions
diff --git a/app-text/queequeg/Manifest b/app-text/queequeg/Manifest new file mode 100644 index 000000000000..890ace178d77 --- /dev/null +++ b/app-text/queequeg/Manifest @@ -0,0 +1,3 @@ +DIST queequeg-0.91.tar.gz 69449 BLAKE2B bd9db4bc6be37e8ee327fa5f6072cc4b2bc4b48fbfae194ef2466ebc26478c3ab3aadef212a69bf816ebdcd020c57af2b953eb9ef6a4c6d5be6516255c51666c SHA512 e5366577e587fd3f286c917135cd043ef599ef6ee673757f3538668f749ce6a57c2a257f31f1e9d38724cb6ee4680b4401800c23f84ae27deac75392ab6c5e34 +EBUILD queequeg-0.91-r2.ebuild 1002 BLAKE2B 25c2e40a01c1f60461c9f26fc16faa6354b64f254f68d9363af1e33d18604c1deb4e6d9fa40c44a3ccdf00f52051f49e8502957797307a25e9c560c7d5604fc8 SHA512 dd8b83be480c467dc5a49cff67898d3787afc0aa738f661009e9a6fbaedc0bbc53c1b7dfb71e3fe7ce36660746417c8805a5f6b320755f6881b909d204719494 +MISC metadata.xml 390 BLAKE2B 7f62f2991408f9fd4b9e860311f1e2d50f4007d8870da3464683150077eaa371ecb192720ab088464f3829f6df65985e6e9bd742672708cef8f55e060abab17c SHA512 5a750294043ee99964070d290dd178659f8587c5fc9e13d73f78c9a73bd880b55ebe48eeabb66181cb24595a566c5767c8cd01f7f6874d279156b746f306e1a6 diff --git a/app-text/queequeg/metadata.xml b/app-text/queequeg/metadata.xml new file mode 100644 index 000000000000..e7804710f371 --- /dev/null +++ b/app-text/queequeg/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>hattya@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">queequeg</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-text/queequeg/queequeg-0.91-r2.ebuild b/app-text/queequeg/queequeg-0.91-r2.ebuild new file mode 100644 index 000000000000..bd13a71a2779 --- /dev/null +++ b/app-text/queequeg/queequeg-0.91-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +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="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + app-dicts/wordnet" +RDEPEND="${DEPEND}" + +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} + + python_fix_shebang qq +} + +src_install() { + local prefix=/usr/lib/queequeg + + python_moduleinto "${prefix}" + python_domodule *.py + insinto "${prefix}" + [[ -f "dict.txt" ]] && doins dict.txt || doins dict.cdb + + exeinto "${prefix}" + doexe qq + dodir /usr/bin + dosym ../lib/queequeg/qq /usr/bin/qq + + dodoc README TODO + dodoc htdocs/* +} |