diff options
author | Akinori Hattori <hattya@gentoo.org> | 2007-09-17 14:36:57 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2007-09-17 14:36:57 +0000 |
commit | e133225d8fff7a8a91fff50b5218e750d6041a8d (patch) | |
tree | c23030e5ede742be3e4c2132d0c340c2ae80a081 /app-i18n | |
parent | Trying to avoid repoman/cvs mangling patches. (diff) | |
download | gentoo-2-e133225d8fff7a8a91fff50b5218e750d6041a8d.tar.gz gentoo-2-e133225d8fff7a8a91fff50b5218e750d6041a8d.tar.bz2 gentoo-2-e133225d8fff7a8a91fff50b5218e750d6041a8d.zip |
cleaned out old ebuilds.
(Portage version: 2.1.3.9)
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/nkf/ChangeLog | 6 | ||||
-rw-r--r-- | app-i18n/nkf/files/digest-nkf-2.0.4 | 3 | ||||
-rw-r--r-- | app-i18n/nkf/files/digest-nkf-2.0.5-r1 | 3 | ||||
-rw-r--r-- | app-i18n/nkf/files/digest-nkf-2.0.7_beta1 | 3 | ||||
-rw-r--r-- | app-i18n/nkf/files/nkf-python.patch | 220 | ||||
-rw-r--r-- | app-i18n/nkf/nkf-2.0.4.ebuild | 44 | ||||
-rw-r--r-- | app-i18n/nkf/nkf-2.0.5-r1.ebuild | 55 | ||||
-rw-r--r-- | app-i18n/nkf/nkf-2.0.7_beta1.ebuild | 62 |
8 files changed, 5 insertions, 391 deletions
diff --git a/app-i18n/nkf/ChangeLog b/app-i18n/nkf/ChangeLog index bd7e4e976503..43e231cf1bfe 100644 --- a/app-i18n/nkf/ChangeLog +++ b/app-i18n/nkf/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-i18n/nkf # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/ChangeLog,v 1.42 2007/08/13 20:05:06 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/ChangeLog,v 1.43 2007/09/17 14:36:57 hattya Exp $ + + 17 Sep 2007; Akinori Hattori <hattya@gentoo.org> -files/nkf-python.patch, + -nkf-2.0.4.ebuild, -nkf-2.0.5-r1.ebuild, -nkf-2.0.7_beta1.ebuild: + cleaned out old ebuilds. 13 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org> nkf-2.0.7.ebuild: ppc. stable diff --git a/app-i18n/nkf/files/digest-nkf-2.0.4 b/app-i18n/nkf/files/digest-nkf-2.0.4 deleted file mode 100644 index ceaf8ef8a4ad..000000000000 --- a/app-i18n/nkf/files/digest-nkf-2.0.4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 e1e0624a81dbc8a6f4516307704f5f8a nkf204.tar.gz 107085 -RMD160 a5a83c0957d8d7cf59691ac0df6b170c91d11bb5 nkf204.tar.gz 107085 -SHA256 b90c758d58f022116dedd2c50e4f9736fdc0da82a6b13622be35094dfa629a35 nkf204.tar.gz 107085 diff --git a/app-i18n/nkf/files/digest-nkf-2.0.5-r1 b/app-i18n/nkf/files/digest-nkf-2.0.5-r1 deleted file mode 100644 index b71baf0a1794..000000000000 --- a/app-i18n/nkf/files/digest-nkf-2.0.5-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 e34d936b20aaf581da5759fbaf0438f3 nkf205.tar.gz 149809 -RMD160 55d48e281f6491c299897c3f22c3f0a2b2a13b16 nkf205.tar.gz 149809 -SHA256 6065063f89a921f30e71af7e0717577277c6ceb4fe4353aca4990547cc723cd4 nkf205.tar.gz 149809 diff --git a/app-i18n/nkf/files/digest-nkf-2.0.7_beta1 b/app-i18n/nkf/files/digest-nkf-2.0.7_beta1 deleted file mode 100644 index d779e89978be..000000000000 --- a/app-i18n/nkf/files/digest-nkf-2.0.7_beta1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 327afbb73fb3e7ff2eba1a0034d79e08 nkf207b1.tar.gz 146155 -RMD160 8bf4e0cee2136204e53ac588e48c5b36d0f51325 nkf207b1.tar.gz 146155 -SHA256 abdf1d78c0fbe3e8a47cb3bcbd8911517450122a4d0d8692efd2c9ec92dee950 nkf207b1.tar.gz 146155 diff --git a/app-i18n/nkf/files/nkf-python.patch b/app-i18n/nkf/files/nkf-python.patch deleted file mode 100644 index 37e7f05f8243..000000000000 --- a/app-i18n/nkf/files/nkf-python.patch +++ /dev/null @@ -1,220 +0,0 @@ -diff -Naur nkf205/NKF.python/NKF_python.c nkf205-py/NKF.python/NKF_python.c ---- nkf205/NKF.python/NKF_python.c Thu Jan 1 09:00:00 1970 -+++ nkf205-py/NKF.python/NKF_python.c Thu Apr 14 23:16:11 2005 -@@ -0,0 +1,185 @@ -+/** Python Interface to NKF -+*************************************************************************** -+** Copyright (c) 2005 Matsumoto, Tadashi <ma2@city.plala.jp> -+** All Rights Reserved. -+** -+** Everyone is permitted to do anything on this program -+** including copying, modifying, improving, -+** as long as you don't try to pretend that you wrote it. -+** i.e., the above copyright notice has to appear in all copies. -+** Binary distribution requires original version messages. -+** You don't have to ask before copying, redistribution or publishing. -+** THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE. -+***************************************************************************/ -+ -+#include "Python.h" -+#include <setjmp.h> -+ -+#define PYNKF_OPTSLEN 100 -+ -+#undef getc -+#undef ungetc -+#define getc(f) pynkf_getc(f) -+#define ungetc(c,f) pynkf_ungetc(c,f) -+ -+#undef putchar -+#undef TRUE -+#undef FALSE -+#define putchar(c) pynkf_putchar(c) -+ -+static char *PYNKF_ARGV[PYNKF_OPTSLEN/2 + 3]; -+static long pynkf_ibufsize, pynkf_obufsize; -+static unsigned char *pynkf_inbuf, *pynkf_outbuf; -+static int pynkf_icount,pynkf_ocount; -+static unsigned char *pynkf_iptr, *pynkf_optr; -+static jmp_buf env; -+ -+static int -+pynkf_getc(FILE *f) -+{unsigned char c; -+ if (pynkf_icount >= pynkf_ibufsize) return EOF; -+ c = *pynkf_iptr++; -+ pynkf_icount++; -+ return (int)c; -+} -+ -+static int -+pynkf_ungetc(int c, FILE *f) -+{ -+ if (pynkf_icount--){ -+ *(--pynkf_iptr) = c; -+ return c; -+ }else{ return EOF; } -+} -+ -+static void -+pynkf_putchar(int c) -+{ -+ size_t size; -+ unsigned char *p; -+ -+ if (pynkf_ocount--){ -+ *pynkf_optr++ = c; -+ }else{ -+ size = pynkf_obufsize + pynkf_obufsize; -+ p = (unsigned char *)PyMem_Realloc(pynkf_outbuf, size + 1); -+ if (pynkf_outbuf == NULL){ longjmp(env, 1); } -+ pynkf_outbuf = p; -+ pynkf_optr = pynkf_outbuf + pynkf_obufsize; -+ pynkf_ocount = pynkf_obufsize; -+ pynkf_obufsize = size; -+ *pynkf_optr++ = c; -+ pynkf_ocount--; -+ } -+} -+ -+#define PERL_XS 1 -+#include "../utf8tbl.c" -+#include "../nkf.c" -+ -+static void -+pynkf_parseopts(char *opts, int *argcp, char **argv) -+{ -+ register char *p; -+ register int argc, flg; -+ p = opts; -+ argc = 1; -+ flg = 1; -+ *argv++ = "nkf"; -+ while(*p){ -+ if (*p == ' '){ *p = '\0'; flg = 1; p++; continue; } -+ if (*p != ' ' && flg){*argv++ = p; argc++; flg = 0; } -+ p++; -+ } -+ *argcp = argc; -+} -+ -+static PyObject * -+pynkf_convert(unsigned char* str, long strlen, char* opts, int optslen) -+{ -+ unsigned char *cp; -+ int argc; -+ char **argv; -+ register char **p; -+ PyObject * res; -+ -+ if (optslen > PYNKF_OPTSLEN) { -+ PyErr_SetString(PyExc_ValueError, "Too many options."); -+ return NULL; -+ } -+ pynkf_ibufsize = strlen + 1; -+ pynkf_obufsize = pynkf_ibufsize * 1.5 + 256; -+ pynkf_outbuf = (unsigned char *)PyMem_Malloc(pynkf_obufsize); -+ if (pynkf_outbuf == NULL){ -+ PyErr_NoMemory(); -+ return NULL; -+ } -+ pynkf_outbuf[0] = '\0'; -+ pynkf_ocount = pynkf_obufsize; -+ pynkf_optr = pynkf_outbuf; -+ pynkf_icount = 0; -+ pynkf_inbuf = str; -+ pynkf_iptr = pynkf_inbuf; -+ argv = PYNKF_ARGV; -+ -+ pynkf_parseopts(opts, &argc, argv); -+ -+ if (setjmp(env) == 0){ -+ -+ reinit(); -+ -+ p = argv; -+ for (argc--,p++; (argc > 0) && **p == '-'; argc--, p++) { -+ cp = *p; -+ options(cp); -+ } -+ -+ if(x0201_f == WISH_TRUE) -+ x0201_f = ((!iso2022jp_f)? TRUE : NO_X0201); -+ -+ kanji_convert(NULL); -+ -+ }else{ -+ PyMem_Free(pynkf_outbuf); -+ PyErr_NoMemory(); -+ return NULL; -+ } -+ -+ *pynkf_optr = 0; -+ res = PyString_FromString(pynkf_outbuf); -+ PyMem_Free(pynkf_outbuf); -+ return res; -+} -+ -+#ifndef EXTERN_NKF -+static -+#endif -+PyObject *pynkf_nkf(PyObject *self, PyObject *args) -+{ -+ unsigned char *str; -+ long strlen; -+ char *opts; -+ int optslen; -+ PyObject* res; -+ -+ if (!PyArg_ParseTuple(args, "s#s#", &opts, &optslen, &str, &strlen)) { -+ return NULL; -+ } -+ res = pynkf_convert(str, strlen, opts, optslen); -+ return res; -+} -+ -+#ifndef EXTERN_NKF -+static PyMethodDef -+nkfmethods[] = { -+ {"nkf", pynkf_nkf, METH_VARARGS}, -+ {NULL, NULL} -+}; -+ -+/* Module initialization function */ -+void -+initnkf(void) -+{ -+ Py_InitModule("nkf", nkfmethods); -+} -+#endif -diff -Naur nkf205/NKF.python/README nkf205-py/NKF.python/README ---- nkf205/NKF.python/README Thu Jan 1 09:00:00 1970 -+++ nkf205-py/NKF.python/README Thu Apr 14 23:16:11 2005 -@@ -0,0 +1,12 @@ -+Python Interface to NKF -+ -+1. How to Install -+ -+ # python setup.py install -+ -+2. Usage -+ -+ from nkf import nkf -+ output = nkf(flag, input) -+ -+Matsumoto, Tadashi ma2@city.plala.jp -diff -Naur nkf205/NKF.python/setup.py nkf205-py/NKF.python/setup.py ---- nkf205/NKF.python/setup.py Thu Jan 1 09:00:00 1970 -+++ nkf205-py/NKF.python/setup.py Thu Apr 14 23:16:11 2005 -@@ -0,0 +1,11 @@ -+#!/usr/bin/env python -+ -+from distutils.core import setup, Extension -+ -+setup (name = "nkf", -+ version="1.0", -+ description="Python Interface to NKF", -+ author="Matsumoto Tadashi", -+ author_email="ma2@city.plala.jp", -+ ext_modules = [ -+ Extension("nkf", ["NKF_python.c"])]) diff --git a/app-i18n/nkf/nkf-2.0.4.ebuild b/app-i18n/nkf/nkf-2.0.4.ebuild deleted file mode 100644 index 6e8d7839ebf5..000000000000 --- a/app-i18n/nkf/nkf-2.0.4.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.0.4.ebuild,v 1.14 2005/11/28 12:08:04 mcummings Exp $ - -inherit toolchain-funcs perl-app - -MY_P="${PN}${PV//./}" -DESCRIPTION="Network Kanji code conversion Filter with UTF-8/16 support" -HOMEPAGE="http://sourceforge.jp/projects/nkf/" -SRC_URI="http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/${MY_P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="x86 ppc sparc alpha amd64 ppc64 ia64" -IUSE="perl cjk" - -DEPEND="virtual/libc" - -S=${WORKDIR}/${MY_P} - -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" nkf || die - if use perl; then - cd ${S}/NKF.mod - perl-module_src_compile - perl-module_src_test - fi -} - -src_install() { - dobin nkf || die - doman nkf.1 - if use cjk; then - dodir /usr/share/man/ja/man1 - insinto /usr/share/man/ja/man1 - ./nkf -e nkf.1j > nkf.1 - doins nkf.1 - fi - dodoc INSTALL* nkf.doc - if use perl; then - cd ${S}/NKF.mod - perl-module_src_install - fi -} diff --git a/app-i18n/nkf/nkf-2.0.5-r1.ebuild b/app-i18n/nkf/nkf-2.0.5-r1.ebuild deleted file mode 100644 index cb191b4f0e65..000000000000 --- a/app-i18n/nkf/nkf-2.0.5-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.0.5-r1.ebuild,v 1.10 2005/11/28 12:08:04 mcummings Exp $ - -inherit toolchain-funcs eutils perl-app distutils - -MY_P="${PN}${PV//./}" -DESCRIPTION="Network Kanji code conversion Filter with UTF-8/16 support" -HOMEPAGE="http://sourceforge.jp/projects/nkf/" -SRC_URI="http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/${MY_P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sh sparc x86" -IUSE="perl cjk python" - -DEPEND="virtual/libc" - -S=${WORKDIR}/${MY_P} - -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" nkf || die - if use perl; then - cd ${S}/NKF.mod - perl-module_src_compile - perl-module_src_test - fi - if use python; then - cd ${WORKDIR} - epatch ${FILESDIR}/nkf-python.patch - cd ${S}/NKF.python - distutils_src_compile - src_test - fi -} - -src_install() { - dobin nkf || die - doman nkf.1 - if use cjk; then - dodir /usr/share/man/ja/man1 - insinto /usr/share/man/ja/man1 - ./nkf -e nkf.1j > nkf.1 - doins nkf.1 - fi - dodoc INSTALL* nkf.doc - if use perl; then - cd ${S}/NKF.mod - perl-module_src_install - fi - if use python; then - cd ${S}/NKF.python - distutils_src_install - fi -} diff --git a/app-i18n/nkf/nkf-2.0.7_beta1.ebuild b/app-i18n/nkf/nkf-2.0.7_beta1.ebuild deleted file mode 100644 index 32eaf0b19540..000000000000 --- a/app-i18n/nkf/nkf-2.0.7_beta1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.0.7_beta1.ebuild,v 1.2 2006/12/20 23:24:23 flameeyes Exp $ - -inherit toolchain-funcs eutils perl-app distutils - -MY_PV="${PV//./}" -MY_P="nkf${MY_PV/_beta/b}" -DESCRIPTION="Network Kanji code conversion Filter with UTF-8/16 support" -HOMEPAGE="http://sourceforge.jp/projects/nkf/" -SRC_URI="mirror://sourceforge.jp/nkf/20055/${MY_P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" -IUSE="perl linguas_ja" -#IUSE="${IUSE} python" - -DEPEND="" - -S="${WORKDIR}/${MY_P%%b*}" - -src_unpack() { - unpack ${A} - - sed -i -e '/-o nkf/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' \ - "${S}/Makefile" -} - -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" nkf || die - if use perl; then - cd "${S}/NKF.mod" - perl-module_src_compile - perl-module_src_test - fi - #if use python; then - # cd ${WORKDIR} - # epatch ${FILESDIR}/nkf-python.patch - # cd ${S}/NKF.python - # distutils_src_compile - # src_test - #fi -} - -src_install() { - dobin nkf || die - doman nkf.1 - if use linguas_ja; then - ./nkf -e nkf.1j > nkf.1 - doman -i18n=ja nkf.1 - fi - dodoc INSTALL* nkf.doc - if use perl; then - cd "${S}/NKF.mod" - perl-module_src_install - fi - #if use python; then - # cd ${S}/NKF.python - # distutils_src_install - #fi -} |