parent
cfbdd1a52d
commit
bc57c5ed35
@ -0,0 +1,24 @@
|
|||||||
|
From 81bd3d089a19f1e23383e2da7376740152540f7f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Rex Dieter <rdieter@math.unl.edu>
|
||||||
|
Date: Mon, 6 Jul 2015 09:59:56 -0500
|
||||||
|
Subject: omit unused reference to QWebView header
|
||||||
|
|
||||||
|
no cmake checks for QtWebKit either
|
||||||
|
---
|
||||||
|
simon/src/simonview.cpp | 1 -
|
||||||
|
1 file changed, 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/simon/src/simonview.cpp b/simon/src/simonview.cpp
|
||||||
|
index 69673bc..7a1873d 100644
|
||||||
|
--- a/simon/src/simonview.cpp
|
||||||
|
+++ b/simon/src/simonview.cpp
|
||||||
|
@@ -60,7 +60,6 @@
|
||||||
|
#include <KDE/KComboBox>
|
||||||
|
#include <QDesktopServices>
|
||||||
|
#include <QTimeLine>
|
||||||
|
-#include <QWebView>
|
||||||
|
|
||||||
|
#include <KMessageBox>
|
||||||
|
#include <KApplication>
|
||||||
|
--
|
||||||
|
cgit v0.11.2
|
@ -1 +1,2 @@
|
|||||||
DIST dbskkd-cdb-2.00.tar.gz 9296 SHA256 0e434e72153dde3131aeeeafbb40eba0054d0d37cab47b1561e4cf6dda6da8bb SHA512 3582728d2a1917c00437b273208fa150a5a32dcd462752c6751ddbd574ca7f1476b2aca0d2613471a800bd17f80e2c4b60846f9056ae621996f8f5a5592fa22a WHIRLPOOL 028849c4ab2d74338b6fcaed02f3c7b1ecea6315274499233e8097e4dab0bfd6d97a693657a1db8408d4e87933f804e253fa5a2e55a96ec47ba98bc45014e603
|
DIST dbskkd-cdb-2.00.tar.gz 9296 SHA256 0e434e72153dde3131aeeeafbb40eba0054d0d37cab47b1561e4cf6dda6da8bb SHA512 3582728d2a1917c00437b273208fa150a5a32dcd462752c6751ddbd574ca7f1476b2aca0d2613471a800bd17f80e2c4b60846f9056ae621996f8f5a5592fa22a WHIRLPOOL 028849c4ab2d74338b6fcaed02f3c7b1ecea6315274499233e8097e4dab0bfd6d97a693657a1db8408d4e87933f804e253fa5a2e55a96ec47ba98bc45014e603
|
||||||
|
DIST dbskkd-cdb-3.00.tar.gz 9380 SHA256 e92ef7162c2c50a441dd864dbf21510d746174b9f1f484bfbbdca1b31c055286 SHA512 a3fe5a0f2e96828d22a75e4daf36eecaa8d903efe8c8a5f6972178f52dc01cac5df5f3e1d8a2cf684d6b78a9c10c207b655a296ceb456dec9f0e502142de094b WHIRLPOOL 67b143c9fc13182f12fdbaa8f73ac743bc0c82f6393648acea2a80081bb4f8cf5625bbe5f083e44bfacb95e8445f8e559a03a3991cd44de7d7f5d863e710499a
|
||||||
|
@ -1,43 +1,63 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI="2"
|
EAPI="6"
|
||||||
inherit eutils multilib toolchain-funcs user
|
|
||||||
|
|
||||||
DESCRIPTION="Yet another Dictionary server for the SKK Japanese-input software"
|
inherit flag-o-matic toolchain-funcs user
|
||||||
HOMEPAGE="https://dbskkd-cdb.googlecode.com/"
|
|
||||||
SRC_URI="https://dbskkd-cdb.googlecode.com/files/${P}.tar.gz"
|
DESCRIPTION="SKK dictionary server based on cdb"
|
||||||
|
HOMEPAGE="https://github.com/jj1bdx/dbskkd-cdb"
|
||||||
|
SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="BSD-2"
|
LICENSE="BSD-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="amd64 ppc x86"
|
KEYWORDS="amd64 ppc x86"
|
||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
DEPEND="|| ( dev-db/cdb dev-db/tinycdb )"
|
DEPEND="|| (
|
||||||
RDEPEND=">=app-i18n/skk-jisyo-200705[cdb]
|
dev-db/tinycdb
|
||||||
|
dev-db/cdb
|
||||||
|
)"
|
||||||
|
RDEPEND="app-i18n/skk-jisyo[cdb]
|
||||||
sys-apps/xinetd"
|
sys-apps/xinetd"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-gentoo.patch
|
||||||
|
)
|
||||||
|
DOCS="CHANGES README* *.txt"
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
enewuser dbskkd -1 -1 -1
|
enewuser dbskkd -1 -1 -1
|
||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
epatch "${FILESDIR}/${P}-gentoo.patch"
|
default
|
||||||
sed -i -e "/^CDBLIB/s:lib:$(get_libdir):" Makefile || die
|
|
||||||
if has_version dev-db/cdb ; then
|
local cdblib=()
|
||||||
sed -i -e "/^CDBLIB/s:$: /usr/$(get_libdir)/byte.a /usr/$(get_libdir)/unix.a:" Makefile || die
|
if has_version dev-db/cdb; then
|
||||||
|
append-cflags -I"${EPREFIX}"/usr/include/cdb
|
||||||
|
local a
|
||||||
|
for a in cdb.a alloc.a buffer.a byte.a unix.a; do
|
||||||
|
cdblib+=( "${EPREFIX}"/usr/$(get_libdir)/${a} )
|
||||||
|
done
|
||||||
|
else
|
||||||
|
cdblib+=( -lcdb )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sed -i "/^CDBLIB/s|=.*$|= ${cdblib[*]}|" Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
emake CC="$(tc-getCC)" || die
|
emake \
|
||||||
|
CC="$(tc-getCC)" \
|
||||||
|
COMPAT="-DJISYO_FILE=\\\"${EPREFIX}/usr/share/skk/SKK-JISYO.L.cdb\\\""
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
emake DESTDIR="${D}" install || die
|
exeinto /usr/libexec
|
||||||
|
doexe ${PN}
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
insinto /etc/xinetd.d
|
insinto /etc/xinetd.d
|
||||||
newins "${FILESDIR}/${PN}.xinetd" ${PN} || die
|
newins "${FILESDIR}"/${PN}.xinetd ${PN}
|
||||||
|
|
||||||
dodoc CHANGES README* *.txt
|
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,63 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit flag-o-matic toolchain-funcs user
|
||||||
|
|
||||||
|
DESCRIPTION="SKK dictionary server based on cdb"
|
||||||
|
HOMEPAGE="https://github.com/jj1bdx/dbskkd-cdb"
|
||||||
|
SRC_URI="https://github.com/jj1bdx/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="|| (
|
||||||
|
dev-db/tinycdb
|
||||||
|
dev-db/cdb
|
||||||
|
)"
|
||||||
|
RDEPEND="app-i18n/skk-jisyo[cdb]
|
||||||
|
sys-apps/xinetd"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-gentoo.patch
|
||||||
|
)
|
||||||
|
DOCS="*.md"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewuser dbskkd -1 -1 -1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
local cdblib=()
|
||||||
|
if has_version dev-db/cdb; then
|
||||||
|
append-cflags -I"${EPREFIX}"/usr/include/cdb
|
||||||
|
local a
|
||||||
|
for a in cdb.a alloc.a buffer.a byte.a unix.a; do
|
||||||
|
cdblib+=( "${EPREFIX}"/usr/$(get_libdir)/${a} )
|
||||||
|
done
|
||||||
|
else
|
||||||
|
cdblib+=( -lcdb )
|
||||||
|
fi
|
||||||
|
|
||||||
|
sed -i "/^CDBLIB/s|=.*$|= ${cdblib[*]}|" Makefile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake \
|
||||||
|
CC="$(tc-getCC)" \
|
||||||
|
COMPAT="-DJISYO_FILE=\\\"${EPREFIX}/usr/share/skk/SKK-JISYO.L.cdb\\\""
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
exeinto /usr/libexec
|
||||||
|
doexe ${PN}
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
insinto /etc/xinetd.d
|
||||||
|
newins "${FILESDIR}"/${PN}.xinetd ${PN}
|
||||||
|
}
|
@ -1,54 +0,0 @@
|
|||||||
diff -Naur dbskkd-cdb-2.00.orig/Makefile dbskkd-cdb-2.00/Makefile
|
|
||||||
--- dbskkd-cdb-2.00.orig/Makefile 2009-02-06 11:56:47.000000000 +0900
|
|
||||||
+++ dbskkd-cdb-2.00/Makefile 2009-02-13 15:39:03.000000000 +0900
|
|
||||||
@@ -1,12 +1,14 @@
|
|
||||||
# dbskkd-cdb Makefile
|
|
||||||
|
|
||||||
-CC = cc -Wall -O2 -g -I/usr/local/include
|
|
||||||
+CC = cc
|
|
||||||
+CFLAGS += -Wall -g -I/usr/include -I/usr/include/cdb
|
|
||||||
COMPAT =
|
|
||||||
-CDBLIB = /usr/local/lib/libcdb.a
|
|
||||||
-INSTALLDIR = /usr/local/libexec
|
|
||||||
+CDBLIB = /usr/lib/libcdb.a
|
|
||||||
+INSTALLDIR = /usr/libexec
|
|
||||||
+DESTDIR =
|
|
||||||
|
|
||||||
.c.o:
|
|
||||||
- $(CC) $(COMPAT) $(PRIVATE) -c $*.c
|
|
||||||
+ $(CC) $(CFLAGS) $(COMPAT) $(PRIVATE) -c $*.c
|
|
||||||
|
|
||||||
all: dbskkd-cdb
|
|
||||||
|
|
||||||
@@ -14,15 +17,16 @@
|
|
||||||
/bin/rm -f dbskkd-cdb *.o
|
|
||||||
|
|
||||||
dbskkd-cdb: dbskkd-cdb.o
|
|
||||||
- $(CC) $(COMPAT) $(PRIVATE) -o dbskkd-cdb \
|
|
||||||
+ $(CC) $(LDFLAGS) $(COMPAT) $(PRIVATE) -o dbskkd-cdb \
|
|
||||||
dbskkd-cdb.o ${CDBLIB}
|
|
||||||
|
|
||||||
dbskkd-cdb.o: dbskkd-cdb.c
|
|
||||||
- $(CC) $(COMPAT) $(PRIVATE) -c dbskkd-cdb.c
|
|
||||||
+ $(CC) $(CFLAGS) $(COMPAT) $(PRIVATE) -c dbskkd-cdb.c
|
|
||||||
|
|
||||||
error.o: error.c error.h
|
|
||||||
|
|
||||||
install: dbskkd-cdb
|
|
||||||
- cp dbskkd-cdb $(INSTALLDIR); chmod 755 $(INSTALLDIR)/dbskkd-cdb
|
|
||||||
+ mkdir -p $(DESTDIR)$(INSTALLDIR)
|
|
||||||
+ cp dbskkd-cdb $(DESTDIR)$(INSTALLDIR); chmod 755 $(DESTDIR)$(INSTALLDIR)/dbskkd-cdb
|
|
||||||
|
|
||||||
# end of makefile
|
|
||||||
diff -Naur dbskkd-cdb-2.00.orig/dbskkd-cdb.c dbskkd-cdb-2.00/dbskkd-cdb.c
|
|
||||||
--- dbskkd-cdb-2.00.orig/dbskkd-cdb.c 2009-02-06 11:56:47.000000000 +0900
|
|
||||||
+++ dbskkd-cdb-2.00/dbskkd-cdb.c 2009-02-13 15:25:25.000000000 +0900
|
|
||||||
@@ -27,7 +27,7 @@
|
|
||||||
* spelling changed from JISHO to JISYO
|
|
||||||
*/
|
|
||||||
#ifndef JISYO_FILE
|
|
||||||
-#define JISYO_FILE "/usr/local/share/skk/SKK-JISYO.L.cdb"
|
|
||||||
+#define JISYO_FILE "/usr/share/skk/SKK-JISYO.L.cdb"
|
|
||||||
#endif /* JISYO_FILE */
|
|
||||||
|
|
||||||
#define BUFSIZE (1024) /* max size of a request */
|
|
@ -0,0 +1,24 @@
|
|||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
INSTALLDIR = /usr/local/libexec
|
||||||
|
|
||||||
|
.c.o:
|
||||||
|
- $(CC) $(COMPAT) $(PRIVATE) -c $*.c
|
||||||
|
+ $(CC) $(CFLAGS) $(COMPAT) $(PRIVATE) -c $*.c
|
||||||
|
|
||||||
|
all: dbskkd-cdb
|
||||||
|
|
||||||
|
@@ -14,11 +14,10 @@
|
||||||
|
/bin/rm -f dbskkd-cdb *.o
|
||||||
|
|
||||||
|
dbskkd-cdb: dbskkd-cdb.o
|
||||||
|
- $(CC) $(COMPAT) $(PRIVATE) -o dbskkd-cdb \
|
||||||
|
+ $(CC) $(LDFLAGS) $(COMPAT) $(PRIVATE) -o dbskkd-cdb \
|
||||||
|
dbskkd-cdb.o ${CDBLIB}
|
||||||
|
|
||||||
|
dbskkd-cdb.o: dbskkd-cdb.c
|
||||||
|
- $(CC) $(COMPAT) $(PRIVATE) -c dbskkd-cdb.c
|
||||||
|
|
||||||
|
error.o: error.c error.h
|
||||||
|
|
@ -1,11 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="project">
|
<maintainer type="project">
|
||||||
<email>cjk@gentoo.org</email>
|
<email>cjk@gentoo.org</email>
|
||||||
<name>Cjk</name>
|
<name>Cjk</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="google-code">dbskkd-cdb</remote-id>
|
<remote-id type="github">jj1bdx/dbskkd-cdb</remote-id>
|
||||||
</upstream>
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,2 +1 @@
|
|||||||
DIST libhangul-0.0.12.tar.gz 2879381 SHA256 97b5ffbb9df2ddeb7ba5890824555236ed3db8bf7b78456ca7fe538bc63027c8 SHA512 5d7b84e5872fb89f7ad5f8c1a813aa6e650929eca821cf0e2b0ad831dac541f1108dd1290aa17b6dc738c40088f75ee1d1fb969f6c11ad09222c817ce50b8ade WHIRLPOOL 5727e578557e70647d2da08163dc9701a19e167cbe52ccde97f6721add6ee7d7843165f07d9a6a8049c77b15e7610e1e659d6428d7f71680354d99ae7a7a10cb
|
|
||||||
DIST libhangul-0.1.0.tar.gz 2899845 SHA256 5905aa5c557d8d46e190fec1afdd75babf3bc086ef286b42007572703658295a SHA512 cf84850bf7a41e743457300513c5efdf7b3e18d168f4fdc324aaa8e1be78743752fcb98385764f94c707777ab82cc9444e076808e61fdbd915c9c0d7ea93c534 WHIRLPOOL 898c355f587d2943dc9044ffb46a4e4215922a8e2a7c6c36853927e924efb7e47f88ad46741fbb70a1d68547872f2a3db77926cfe9c78ed6171095cd0a466f28
|
DIST libhangul-0.1.0.tar.gz 2899845 SHA256 5905aa5c557d8d46e190fec1afdd75babf3bc086ef286b42007572703658295a SHA512 cf84850bf7a41e743457300513c5efdf7b3e18d168f4fdc324aaa8e1be78743752fcb98385764f94c707777ab82cc9444e076808e61fdbd915c9c0d7ea93c534 WHIRLPOOL 898c355f587d2943dc9044ffb46a4e4215922a8e2a7c6c36853927e924efb7e47f88ad46741fbb70a1d68547872f2a3db77926cfe9c78ed6171095cd0a466f28
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="3"
|
|
||||||
|
|
||||||
DESCRIPTION="libhangul is a generalized and portable library for processing hangul"
|
|
||||||
HOMEPAGE="http://kldp.net/projects/hangul/"
|
|
||||||
SRC_URI="http://kldp.net/frs/download.php/5855/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc ~ppc64 x86"
|
|
||||||
IUSE="nls static-libs test"
|
|
||||||
|
|
||||||
RDEPEND="nls? ( virtual/libintl )"
|
|
||||||
DEPEND="nls? ( sys-devel/gettext )
|
|
||||||
virtual/pkgconfig
|
|
||||||
test? ( dev-libs/check )"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable static-libs static) || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "emake install failed"
|
|
||||||
|
|
||||||
dodoc AUTHORS ChangeLog NEWS README || die
|
|
||||||
}
|
|
@ -1,75 +0,0 @@
|
|||||||
# unannotation.awk: filter to remove annotations in dictionaries.
|
|
||||||
#
|
|
||||||
# Copyright (C) 2001, 2002 SKK Development Team <skk@ring.gr.jp>
|
|
||||||
#
|
|
||||||
# Maintainer: SKK Development Team <skk@ring.gr.jp>
|
|
||||||
# Version: $Id: unannotation.awk,v 1.3 2006/01/04 10:35:06 skk-cvs Exp $
|
|
||||||
# Last Modified: $Date: 2006/01/04 10:35:06 $
|
|
||||||
#
|
|
||||||
# This file is part of Daredevil SKK.
|
|
||||||
#
|
|
||||||
# Daredevil SKK is free software; you can redistribute it and/or
|
|
||||||
# modify it under the terms of the GNU General Public License as
|
|
||||||
# published by the Free Software Foundation; either version 2, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# Daredevil SKK is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
# General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with Daredevil SKK, see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation Inc., 51 Franklin St, Fifth Floor,
|
|
||||||
# Boston, MA 02110-1301, USA.
|
|
||||||
|
|
||||||
BEGIN{
|
|
||||||
print ";; -*- text -*-";
|
|
||||||
ctime = myctime(0);
|
|
||||||
this = ARGV[1];
|
|
||||||
if (match(this, /\.annotated$/) != 0){
|
|
||||||
this = substr(this, 1, RSTART - 1);
|
|
||||||
} else
|
|
||||||
this = this ".unannotated";
|
|
||||||
printf(";; %s was generated automatically by unannotation.awk at %s\n",
|
|
||||||
this, ctime);
|
|
||||||
#getline modeindicator
|
|
||||||
#if (match(modeindicator, /;; -*- text -*-/) != 0){
|
|
||||||
# print modeindicator;
|
|
||||||
#}
|
|
||||||
}
|
|
||||||
#$0 !~ /"^;; -\*- text -\*-\n"/{
|
|
||||||
{
|
|
||||||
if (match($0, /^;/) == 0) {
|
|
||||||
gsub(";[^/]*/", "/");
|
|
||||||
if (DEQUOTE && $0 ~ /\\073/) {
|
|
||||||
$0 = dequote($0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
print;
|
|
||||||
}
|
|
||||||
function myctime(ts, format) {
|
|
||||||
format = "%a %b %e %H:%M:%S %Y";
|
|
||||||
if (ts == 0)
|
|
||||||
ts = systime(); # use current time as default
|
|
||||||
return strftime(format, ts);
|
|
||||||
}
|
|
||||||
# convert '\073' to ';' and strip '(concat "...")'.
|
|
||||||
# example: 'smile /(concat "^_^\073\073")/:-)/' to 'smile /^_^;;/:-)/'
|
|
||||||
# @param s string to convert
|
|
||||||
# @return converted string
|
|
||||||
function dequote(s) {
|
|
||||||
ret = "";
|
|
||||||
n = split(s, a, "/");
|
|
||||||
for (i = 1; i < n; i++) {
|
|
||||||
if (a[i] ~ /^\(concat ".*\\073.*"\)$/) { # \073 = ';'
|
|
||||||
gsub(/\\073/, ";", a[i]);
|
|
||||||
if (a[i] !~ /\\/) { # no other quote
|
|
||||||
a[i] = gensub(/^\(concat "(.*)"\)$/, "\\1", "g", a[i]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
ret = ret a[i] "/";
|
|
||||||
}
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
# end of unannotation.awk.
|
|
@ -1,21 +0,0 @@
|
|||||||
http://bugs.gentoo.org/334653
|
|
||||||
|
|
||||||
--- protoMakefile
|
|
||||||
+++ protoMakefile
|
|
||||||
@@ -13,13 +13,13 @@
|
|
||||||
./jc -`./jc -c romkan-org.c`P romkan-org.c > romkan.c
|
|
||||||
|
|
||||||
jc: jc.o
|
|
||||||
- $(CC) $(CFLAGS) -o jc jc.o
|
|
||||||
+ $(CC) $(LDFLAGS) $(CFLAGS) -o jc jc.o
|
|
||||||
|
|
||||||
$(SKKFEP): $(OBJS) $(SKKOBJS)
|
|
||||||
- $(CC) $(CFLAGS) -o $(SKKFEP) $(OBJS) $(SKKOBJS) $(LIBS)
|
|
||||||
+ $(CC) $(LDFLAGS) $(CFLAGS) -o $(SKKFEP) $(OBJS) $(SKKOBJS) $(LIBS)
|
|
||||||
|
|
||||||
simpledic: $(SDICOBJS) $(SKKOBJS)
|
|
||||||
- $(CC) $(CFLAGS) -o simpledic $(SDICOBJS) $(SKKOBJS) $(LIBS)
|
|
||||||
+ $(CC) $(LDFLAGS) $(CFLAGS) -o simpledic $(SDICOBJS) $(SKKOBJS) $(LIBS)
|
|
||||||
|
|
||||||
clean:
|
|
||||||
-rm -rf $(OBJS) $(SKKOBJS) $(SDICOBJS) romkan.c
|
|
@ -1,131 +0,0 @@
|
|||||||
diff -Naur skkfep-0.87.orig/config.h skkfep-0.87/config.h
|
|
||||||
--- skkfep-0.87.orig/config.h 2003-09-03 08:50:18.000000000 +0900
|
|
||||||
+++ skkfep-0.87/config.h 2008-11-01 09:53:22.000000000 +0900
|
|
||||||
@@ -24,8 +24,8 @@
|
|
||||||
/* SKK server */
|
|
||||||
|
|
||||||
#define USER_DIC_NAME ".skk-jisyo"
|
|
||||||
-/* #define SYSTEM_DIC_NAME "/usr/local/emacs/etc/SKK-JISYO.L" */
|
|
||||||
+#define SYSTEM_DIC_NAME "/usr/share/skk/SKK-JISYO.L"
|
|
||||||
|
|
||||||
#define NATIVECODE euc /* EUC Kanji code */
|
|
||||||
|
|
||||||
-#define SKK_SERVER_HOST "ei5nazha" /* SKK server host */
|
|
||||||
+#define SKK_SERVER_HOST "localhost" /* SKK server host */
|
|
||||||
diff -Naur skkfep-0.87.orig/connserv.c skkfep-0.87/connserv.c
|
|
||||||
--- skkfep-0.87.orig/connserv.c 2003-09-03 08:49:30.000000000 +0900
|
|
||||||
+++ skkfep-0.87/connserv.c 2008-11-01 09:59:19.000000000 +0900
|
|
||||||
@@ -5,6 +5,7 @@
|
|
||||||
*/
|
|
||||||
#include "config.h"
|
|
||||||
#include <stdio.h>
|
|
||||||
+#include <string.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include "skklib.h"
|
|
||||||
|
|
||||||
diff -Naur skkfep-0.87.orig/connsh.c skkfep-0.87/connsh.c
|
|
||||||
--- skkfep-0.87.orig/connsh.c 2003-09-03 08:49:30.000000000 +0900
|
|
||||||
+++ skkfep-0.87/connsh.c 2008-11-01 10:03:01.000000000 +0900
|
|
||||||
@@ -1,5 +1,8 @@
|
|
||||||
#include "config.h"
|
|
||||||
#include <stdio.h>
|
|
||||||
+#include <stdlib.h>
|
|
||||||
+#include <string.h>
|
|
||||||
+#include <unistd.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/file.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
diff -Naur skkfep-0.87.orig/fep.c skkfep-0.87/fep.c
|
|
||||||
--- skkfep-0.87.orig/fep.c 2003-09-03 08:49:31.000000000 +0900
|
|
||||||
+++ skkfep-0.87/fep.c 2008-11-01 09:55:15.000000000 +0900
|
|
||||||
@@ -1,6 +1,7 @@
|
|
||||||
#include "config.h"
|
|
||||||
#include "fep.h"
|
|
||||||
#include <stdlib.h>
|
|
||||||
+#include <string.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/time.h>
|
|
||||||
#include "kanjicode.h"
|
|
||||||
diff -Naur skkfep-0.87.orig/jc.c skkfep-0.87/jc.c
|
|
||||||
--- skkfep-0.87.orig/jc.c 2003-09-03 08:49:31.000000000 +0900
|
|
||||||
+++ skkfep-0.87/jc.c 2008-11-01 09:54:57.000000000 +0900
|
|
||||||
@@ -33,6 +33,8 @@
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
+#include <stdlib.h>
|
|
||||||
+#include <string.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
diff -Naur skkfep-0.87.orig/kkconv.c skkfep-0.87/kkconv.c
|
|
||||||
--- skkfep-0.87.orig/kkconv.c 2003-09-03 08:49:31.000000000 +0900
|
|
||||||
+++ skkfep-0.87/kkconv.c 2008-11-01 09:58:26.000000000 +0900
|
|
||||||
@@ -1,6 +1,7 @@
|
|
||||||
#include "config.h"
|
|
||||||
#include "fep.h"
|
|
||||||
#include "functions.h"
|
|
||||||
+#include <string.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
#ifdef USE_SERVER
|
|
||||||
diff -Naur skkfep-0.87.orig/protoMakefile skkfep-0.87/protoMakefile
|
|
||||||
--- skkfep-0.87.orig/protoMakefile 2003-09-03 08:49:31.000000000 +0900
|
|
||||||
+++ skkfep-0.87/protoMakefile 2008-11-01 09:51:59.000000000 +0900
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
CFLAGS=$(SYSINCLUDE) $(SYSDEFINE) $(DEFINE) $(OPTIMIZE)
|
|
||||||
-LIBS =$(SYSLIBS) $(EXTRALIBS) -ltermcap
|
|
||||||
+LIBS =$(SYSLIBS) $(EXTRALIBS) -lncurses
|
|
||||||
|
|
||||||
OBJS=fep.o connsh.o readwrite.o terms.o stty.o keybind.o romkan.o etc.o\
|
|
||||||
kkconv.o keymap.o version.o
|
|
||||||
diff -Naur skkfep-0.87.orig/readwrite.c skkfep-0.87/readwrite.c
|
|
||||||
--- skkfep-0.87.orig/readwrite.c 2003-09-03 08:49:31.000000000 +0900
|
|
||||||
+++ skkfep-0.87/readwrite.c 2008-11-01 09:56:19.000000000 +0900
|
|
||||||
@@ -1,5 +1,6 @@
|
|
||||||
#include "config.h"
|
|
||||||
#include "fep.h"
|
|
||||||
+#include <string.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include "kanjicode.h"
|
|
||||||
#include "ctrlcode.h"
|
|
||||||
diff -Naur skkfep-0.87.orig/romkan-org.c skkfep-0.87/romkan-org.c
|
|
||||||
--- skkfep-0.87.orig/romkan-org.c 2003-09-03 08:49:32.000000000 +0900
|
|
||||||
+++ skkfep-0.87/romkan-org.c 2008-11-01 09:58:10.000000000 +0900
|
|
||||||
@@ -1,5 +1,6 @@
|
|
||||||
#include "config.h"
|
|
||||||
#include "fep.h"
|
|
||||||
+#include <string.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include "functions.h"
|
|
||||||
|
|
||||||
diff -Naur skkfep-0.87.orig/skklib.c skkfep-0.87/skklib.c
|
|
||||||
--- skkfep-0.87.orig/skklib.c 2003-09-03 08:49:32.000000000 +0900
|
|
||||||
+++ skkfep-0.87/skklib.c 2008-11-01 09:58:48.000000000 +0900
|
|
||||||
@@ -6,6 +6,7 @@
|
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include <stdio.h>
|
|
||||||
+#include <string.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include "skklib.h"
|
|
||||||
diff -Naur skkfep-0.87.orig/stty.c skkfep-0.87/stty.c
|
|
||||||
--- skkfep-0.87.orig/stty.c 2003-09-03 08:49:32.000000000 +0900
|
|
||||||
+++ skkfep-0.87/stty.c 2008-11-01 09:57:30.000000000 +0900
|
|
||||||
@@ -1,5 +1,6 @@
|
|
||||||
#include "config.h"
|
|
||||||
#include <stdio.h>
|
|
||||||
+#include <stdlib.h>
|
|
||||||
#include <signal.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include "fep.h"
|
|
||||||
diff -Naur skkfep-0.87.orig/terms.c skkfep-0.87/terms.c
|
|
||||||
--- skkfep-0.87.orig/terms.c 2003-09-03 08:49:32.000000000 +0900
|
|
||||||
+++ skkfep-0.87/terms.c 2008-11-01 09:56:59.000000000 +0900
|
|
||||||
@@ -1,4 +1,5 @@
|
|
||||||
#include "config.h"
|
|
||||||
+#include <string.h>
|
|
||||||
#include "fep.h"
|
|
||||||
|
|
||||||
/*#define SHOW_ESCSEQ /* show escape sequences for debugging */
|
|
@ -0,0 +1,29 @@
|
|||||||
|
--- a/kkconv.c
|
||||||
|
+++ b/kkconv.c
|
||||||
|
@@ -645,6 +645,7 @@
|
||||||
|
char c;
|
||||||
|
{
|
||||||
|
int l;
|
||||||
|
+ char *p;
|
||||||
|
DicList dlist;
|
||||||
|
|
||||||
|
kanjiSelectionEffect(0);
|
||||||
|
@@ -653,7 +654,17 @@
|
||||||
|
if (OkuriInput)
|
||||||
|
l += strlen(OkuriBuf);
|
||||||
|
csrLeft(l);
|
||||||
|
- writeShells(CurrentCand->candword);
|
||||||
|
+ p= strrchr(CurrentCand->candword,';');
|
||||||
|
+ if (p != NULL) {
|
||||||
|
+ erase(l);
|
||||||
|
+ csrLeft(l);
|
||||||
|
+ l -= strlen(p);
|
||||||
|
+ *p = '\0';
|
||||||
|
+ writeShells(CurrentCand->candword);
|
||||||
|
+ *p = ';';
|
||||||
|
+ } else {
|
||||||
|
+ writeShells(CurrentCand->candword);
|
||||||
|
+ }
|
||||||
|
if (OkuriInput) {
|
||||||
|
writeShells(OkuriBuf);
|
||||||
|
}
|
@ -0,0 +1,64 @@
|
|||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -2,16 +2,16 @@
|
||||||
|
# Makefile for skkfep
|
||||||
|
#
|
||||||
|
all: genMakefile
|
||||||
|
- make -f genMakefile all
|
||||||
|
+ $(MAKE) -f genMakefile all
|
||||||
|
|
||||||
|
skkfep: genMakefile
|
||||||
|
- make -f genMakefile skkfep
|
||||||
|
+ $(MAKE) -f genMakefile skkfep
|
||||||
|
|
||||||
|
simpledic: genMakefile
|
||||||
|
- make -f genMakefile simpledic
|
||||||
|
+ $(MAKE) -f genMakefile simpledic
|
||||||
|
|
||||||
|
clean: genMakefile
|
||||||
|
- make -f genMakefile clean
|
||||||
|
+ $(MAKE) -f genMakefile clean
|
||||||
|
rm -f genMakefile
|
||||||
|
|
||||||
|
genMakefile: protoMakefile config.h
|
||||||
|
--- a/config.h
|
||||||
|
+++ b/config.h
|
||||||
|
@@ -14,7 +14,7 @@
|
||||||
|
#define DEFAULT_KANAKEY "^j"
|
||||||
|
|
||||||
|
/* By Y. Kaneko */
|
||||||
|
-/*#define KUTOUTEN /* "."->maru, ","->ten */
|
||||||
|
+#define KUTOUTEN /* "."->maru, ","->ten */
|
||||||
|
|
||||||
|
#define KANJIBS /* do/don't shuft-out BS code in JIS mode */
|
||||||
|
#define KANJIBS_DEFAULT 0 /* 0 -> shift out / 1 -> don't shift out */
|
||||||
|
@@ -28,4 +28,4 @@
|
||||||
|
|
||||||
|
#define NATIVECODE euc /* EUC Kanji code */
|
||||||
|
|
||||||
|
-#define SKK_SERVER_HOST "ei5nazha" /* SKK server host */
|
||||||
|
+#define SKK_SERVER_HOST "localhost" /* SKK server host */
|
||||||
|
--- a/configs/linux.h
|
||||||
|
+++ b/configs/linux.h
|
||||||
|
@@ -10,3 +10,12 @@
|
||||||
|
#define NO_VFORK
|
||||||
|
|
||||||
|
#define HAVE_SETREUID
|
||||||
|
+#define HAVE_BSD_OPENPTY
|
||||||
|
+
|
||||||
|
+#include <stdlib.h>
|
||||||
|
+#include <string.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
+
|
||||||
|
+#if makefile_parameter
|
||||||
|
+SYSLIBS=-lutil
|
||||||
|
+#endif
|
||||||
|
--- a/protoMakefile
|
||||||
|
+++ b/protoMakefile
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
CFLAGS=$(SYSINCLUDE) $(SYSDEFINE) $(DEFINE) $(OPTIMIZE)
|
||||||
|
-LIBS =$(SYSLIBS) $(EXTRALIBS) -ltermcap
|
||||||
|
+LIBS =$(SYSLIBS) $(EXTRALIBS) $(LDFLAGS) -lncurses
|
||||||
|
|
||||||
|
OBJS=fep.o connsh.o readwrite.o terms.o stty.o keybind.o romkan.o etc.o\
|
||||||
|
kkconv.o keymap.o version.o
|
@ -0,0 +1,13 @@
|
|||||||
|
--- a/kkconv.c
|
||||||
|
+++ b/kkconv.c
|
||||||
|
@@ -660,7 +660,9 @@
|
||||||
|
flushOut(l);
|
||||||
|
#ifdef USE_SERVER
|
||||||
|
if (!CandFromServer) {
|
||||||
|
- selectCand(FirstCandEntry,CurrentCand);
|
||||||
|
+ if (FirstCandEntry != NULL) {
|
||||||
|
+ selectCand(FirstCandEntry,CurrentCand);
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
else if (NetLearnMode != LearnOff) {
|
||||||
|
if (CurrentCand->dicitem == NULL) {
|
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="project">
|
<maintainer type="project">
|
||||||
<email>cjk@gentoo.org</email>
|
<email>cjk@gentoo.org</email>
|
||||||
<name>Cjk</name>
|
<name>Cjk</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,37 +1,46 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=4
|
EAPI="6"
|
||||||
inherit eutils toolchain-funcs
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
DESCRIPTION="A SKK-like Japanese input method for console"
|
DESCRIPTION="A SKK-like Japanese input method for console"
|
||||||
HOMEPAGE="http://homepage2.nifty.com/aito/soft.html"
|
HOMEPAGE="http://aitoweb.world.coocan.jp/soft.html"
|
||||||
SRC_URI="http://homepage2.nifty.com/aito/skkfep/${P}.tar.gz"
|
SRC_URI="http://aitoweb.world.coocan.jp/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ppc x86"
|
KEYWORDS="~amd64 ppc x86"
|
||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
RDEPEND=">=sys-libs/ncurses-5.7-r7"
|
DEPEND="sys-apps/sed
|
||||||
DEPEND="${RDEPEND}
|
sys-libs/ncurses:=
|
||||||
>=sys-apps/sed-4
|
|
||||||
virtual/awk"
|
virtual/awk"
|
||||||
RDEPEND="${RDEPEND}
|
RDEPEND="sys-libs/ncurses:=
|
||||||
app-i18n/skk-jisyo"
|
app-i18n/skk-jisyo"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-gentoo.patch
|
||||||
|
"${FILESDIR}"/${PN}-system-dic.patch
|
||||||
|
"${FILESDIR}"/${PN}-annotation.patch
|
||||||
|
)
|
||||||
|
DOCS=( README HISTORY TODO )
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
epatch \
|
sed -i "/SYSTEM_DIC_NAME/a#define SYSTEM_DIC_NAME \"${EPREFIX}/usr/share/skk/SKK-JISYO.L\"" config.h
|
||||||
"${FILESDIR}"/${P}-gentoo.patch \
|
|
||||||
"${FILESDIR}"/${P}-LDFLAGS.patch
|
default
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
emake CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}"
|
emake \
|
||||||
|
CC="$(tc-getCC)" \
|
||||||
|
OPTIMIZE="${CFLAGS}"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dobin skkfep escmode
|
dobin skkfep escmode
|
||||||
doman skkfep.1
|
doman skkfep.1
|
||||||
dodoc README HISTORY TODO
|
einstalldocs
|
||||||
}
|
}
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
diff -Naur skkserv.orig/skkserv.h skkserv/skkserv.h
|
|
||||||
--- skkserv.orig/skkserv.h 2004-07-02 01:23:43.165659480 +0900
|
|
||||||
+++ skkserv/skkserv.h 2004-07-02 01:24:19.123640760 +0900
|
|
||||||
@@ -44,6 +44,7 @@
|
|
||||||
#endif
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <netinet/in.h>
|
|
||||||
+#include <arpa/inet.h>
|
|
||||||
#include <netdb.h>
|
|
||||||
#include <signal.h>
|
|
||||||
#include <errno.h>
|
|
@ -0,0 +1,19 @@
|
|||||||
|
--- a/skkserv/skkserv.h
|
||||||
|
+++ b/skkserv/skkserv.h
|
||||||
|
@@ -37,6 +37,8 @@
|
||||||
|
/* Necessary for SunOS 3.x and maybe other old systems */
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
+#include <stdlib.h>
|
||||||
|
+#include <string.h>
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#ifdef HAVE_SYS_IOCTL_H
|
||||||
|
@@ -44,6 +46,7 @@
|
||||||
|
#endif
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
|
+#include <arpa/inet.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
#include <signal.h>
|
||||||
|
#include <errno.h>
|
@ -1,5 +1,5 @@
|
|||||||
--- skkserv.c.orig Tue Jan 21 04:16:36 1997
|
--- a/skkserv/skkserv.c
|
||||||
+++ skkserv.c Thu Mar 25 19:45:50 1999
|
+++ b/skkserv/skkserv.c
|
||||||
@@ -723,7 +723,11 @@
|
@@ -723,7 +723,11 @@
|
||||||
fprintf(errout, "%s:cannot get hostname, or too long hostname\n", pgmnm);
|
fprintf(errout, "%s:cannot get hostname, or too long hostname\n", pgmnm);
|
||||||
exit(1);
|
exit(1);
|
@ -0,0 +1,13 @@
|
|||||||
|
--- a/skkserv/skkserv.c
|
||||||
|
+++ a/skkserv/skkserv.c
|
||||||
|
@@ -382,6 +382,10 @@
|
||||||
|
code = KANA_END;
|
||||||
|
|
||||||
|
while ((c = fgetc(jisho)) != EOF) {
|
||||||
|
+ if (c == '>') {
|
||||||
|
+ fgets(buf, BUFSIZE, jisho);
|
||||||
|
+ continue;
|
||||||
|
+ }
|
||||||
|
target = ((c & 0xff)<< 8) | (fgetc(jisho) & 0xff);
|
||||||
|
if (target == STRMARK) {
|
||||||
|
fgets(buf, BUFSIZE, jisho);
|
@ -1,15 +1,19 @@
|
|||||||
#!/sbin/openrc-run
|
#!/sbin/openrc-run
|
||||||
# Copyright 1999-2004 Gentoo Foundation
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
start() {
|
extra_started_commands="reload"
|
||||||
ebegin "Starting skkserv"
|
|
||||||
start-stop-daemon --start --quiet --exec /usr/sbin/skkserv
|
description_reload="Reload the SKK-JISYO.L"
|
||||||
eend $?
|
|
||||||
|
command="/usr/sbin/${SVCNAME}"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
reload() {
|
||||||
ebegin "Stopping skkserv"
|
ebegin "Reloading ${SVCNAME}"
|
||||||
start-stop-daemon --stop --quiet --exec /usr/sbin/skkserv
|
start-stop-daemon --signal INT --name "${command}"
|
||||||
eend $?
|
eend ${?}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="project">
|
<maintainer type="project">
|
||||||
<email>cjk@gentoo.org</email>
|
<email>cjk@gentoo.org</email>
|
||||||
<name>Cjk</name>
|
<name>Cjk</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1 +1,2 @@
|
|||||||
DIST skktools-1.3.3_p20150901.tar.gz 483005 SHA256 24f26e76ba6321b43de69353ad2d33b59d5ecee724764e99c6383d9d4f9c9acf SHA512 dbb15068239158c31a706da2fd5afcb8514d088854bdd4f0d05bb8b9e10947cbdce584ff3698571d601e3b357a1ba11b4608f0457615062016862ac89fb91b83 WHIRLPOOL 81cd503de4d05bbab096628e357e0ced4a87cf4df87d7a0f380a8dbe0850fbd7f65d2f1bf249a6b5bf19fb6b1605d0796b6a9408c0fcd7b5ad700d069f396895
|
DIST skktools-1.3.3_p20150901.tar.gz 483005 SHA256 24f26e76ba6321b43de69353ad2d33b59d5ecee724764e99c6383d9d4f9c9acf SHA512 dbb15068239158c31a706da2fd5afcb8514d088854bdd4f0d05bb8b9e10947cbdce584ff3698571d601e3b357a1ba11b4608f0457615062016862ac89fb91b83 WHIRLPOOL 81cd503de4d05bbab096628e357e0ced4a87cf4df87d7a0f380a8dbe0850fbd7f65d2f1bf249a6b5bf19fb6b1605d0796b6a9408c0fcd7b5ad700d069f396895
|
||||||
|
DIST skktools-1.3.3_p20170305.tar.gz 483715 SHA256 dce0b4fde568d7594adce54b58616b60b8a4da9cc0b585033652a8da46c414b4 SHA512 f6e9041fecf8c28a84c3996ca120371528c034eeca3695cb224b4cf225e8dab9e69969d7fb955112cd1e9c1e80c2ba8e2aef4f0eb81f55374dd626402482c235 WHIRLPOOL cf8fcf324c3c15916b902a05686f00e3edbc86dc9fb4307a2874c232f60b1e67073fd67106d0d092e51b65cf570d702ae81c4aed6515909c0179b8ba08308131
|
||||||
|
@ -0,0 +1,67 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit elisp-common vcs-snapshot
|
||||||
|
|
||||||
|
EGIT_COMMIT="e14d98e734d2fdff611385c7df65826e94d929db"
|
||||||
|
|
||||||
|
DESCRIPTION="SKK utilities to manage dictionaries"
|
||||||
|
HOMEPAGE="http://openlab.jp/skk/"
|
||||||
|
SRC_URI="https://github.com/skk-dev/skktools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86"
|
||||||
|
IUSE="emacs"
|
||||||
|
|
||||||
|
RDEPEND="dev-libs/glib:2
|
||||||
|
sys-libs/gdbm
|
||||||
|
emacs? ( virtual/emacs )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=( ChangeLog README.md )
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf --with-gdbm
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if use emacs; then
|
||||||
|
elisp-compile *.el
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
dodoc READMEs/*
|
||||||
|
|
||||||
|
local d
|
||||||
|
for d in convert2skk filters; do
|
||||||
|
newdoc ${d}/README.md README.${d}
|
||||||
|
rm -f ${d}/README.md
|
||||||
|
done
|
||||||
|
|
||||||
|
insinto /usr/share/${PN}
|
||||||
|
doins *.awk *.scm
|
||||||
|
rm -rf convert2skk/obsolete
|
||||||
|
doins -r convert2skk filters
|
||||||
|
|
||||||
|
if use emacs; then
|
||||||
|
elisp-install ${PN} *.el{,c}
|
||||||
|
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
@ -1,2 +1 @@
|
|||||||
DIST media-player-info-21.tar.gz 103224 SHA256 eae5a41d27715c9280128ff770a491dae2e73e2ebeef41630b069ad0d4795127 SHA512 d281984cd746984a4b618478d9fdc3249ad4f84c38d4c6486cbf9f50d44d1ca089d8950989e34157139560b97b0093befb34a7dc465121af37dc3cbf26f04bb5 WHIRLPOOL 18b32b6dabafbdc3697af7285b373bd87bd7f3f087d7344170e99428374d57e25efbaafdc703d4b587dd2addc29701afbf352282fe2f10ffb7b8fbe5589edf5a
|
|
||||||
DIST media-player-info-22.tar.gz 104833 SHA256 7ee7d7712834860533c46b16947238ef5b5d72f394fa7fb52783a15fba7b2336 SHA512 7686aadb559b5a2cd2b969b9aadcf4c2b35037702e6fef4db66c6b8c0860d400c9f46a3b46150b9ce573d4f1fca53a5302fa7c1cdf888942a6489613c4d3c071 WHIRLPOOL 65994db840df66a9fa1b819fae743f3c14e50591b36fe2d56a6a92346746cb0db1b5f2822944b0e2caa35a198fcf56fbd2af4aee62cc85053e4b3134f41eb977
|
DIST media-player-info-22.tar.gz 104833 SHA256 7ee7d7712834860533c46b16947238ef5b5d72f394fa7fb52783a15fba7b2336 SHA512 7686aadb559b5a2cd2b969b9aadcf4c2b35037702e6fef4db66c6b8c0860d400c9f46a3b46150b9ce573d4f1fca53a5302fa7c1cdf888942a6489613c4d3c071 WHIRLPOOL 65994db840df66a9fa1b819fae743f3c14e50591b36fe2d56a6a92346746cb0db1b5f2822944b0e2caa35a198fcf56fbd2af4aee62cc85053e4b3134f41eb977
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
From 952a7e728356681f019f3a5076169daa24b946b9 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Martin Pitt <martinpitt@gnome.org>
|
|
||||||
Date: Mon, 30 Sep 2013 12:07:49 +0000
|
|
||||||
Subject: Terminate udev rules with an empty line
|
|
||||||
|
|
||||||
Apparently newer udev versions now complain about the lack of it. Reported by
|
|
||||||
Frederic Crozat.
|
|
||||||
---
|
|
||||||
diff --git a/tools/mpi2udev.py b/tools/mpi2udev.py
|
|
||||||
index d33055b..33fdfa2 100755
|
|
||||||
--- a/tools/mpi2udev.py
|
|
||||||
+++ b/tools/mpi2udev.py
|
|
||||||
@@ -126,4 +126,4 @@ for f in sys.argv[2:]:
|
|
||||||
parse_mpi(f, hwdb)
|
|
||||||
|
|
||||||
# udev rules footer
|
|
||||||
-os.write(sys.stdout.fileno(), b'\nLABEL="media_player_end"')
|
|
||||||
+os.write(sys.stdout.fileno(), b'\nLABEL="media_player_end"\n')
|
|
||||||
--
|
|
||||||
cgit v0.9.0.2-2-gbebe
|
|
@ -1,42 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_4 )
|
|
||||||
|
|
||||||
inherit eutils python-any-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A repository of data files describing media player capabilities"
|
|
||||||
HOMEPAGE="https://cgit.freedesktop.org/media-player-info/"
|
|
||||||
SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sh ~sparc x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
# https://cgit.freedesktop.org/media-player-info/commit/?id=d83dd01a0a1df6198ee08954da1c033b88a1004b
|
|
||||||
RDEPEND=">=virtual/udev-208"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
DOCS="AUTHORS NEWS README"
|
|
||||||
|
|
||||||
# This ebuild does not install any binaries
|
|
||||||
RESTRICT="binchecks strip"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${P}-udev.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# Run for /lib/udev/hwdb.d/20-usb-media-players.hwdb
|
|
||||||
udevadm hwdb --update --root="${ROOT%/}"
|
|
||||||
# https://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda
|
|
||||||
if [[ ${ROOT} != "" ]] && [[ ${ROOT} != "/" ]]; then
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
udevadm control --reload
|
|
||||||
}
|
|
@ -0,0 +1,338 @@
|
|||||||
|
From 239c1bdefee7ce82d9ea6b26931e8b64a5b3d322 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kent Fredric <kentfredric@gmail.com>
|
||||||
|
Date: Sun, 25 Jun 2017 19:16:42 +1200
|
||||||
|
Subject: [PATCH] Fix for '.' removal from @INC in Perl 5.26
|
||||||
|
|
||||||
|
---
|
||||||
|
Makefile.PL | 1 +
|
||||||
|
t/01basics.t | 2 +-
|
||||||
|
t/01nocap_api.t | 2 +-
|
||||||
|
t/01records.t | 2 +-
|
||||||
|
t/01searches.t | 2 +-
|
||||||
|
t/02distinct_values.t | 2 +-
|
||||||
|
t/02null_order.t | 2 +-
|
||||||
|
t/02order_outer.t | 2 +-
|
||||||
|
t/02records_cachable.t | 2 +-
|
||||||
|
t/02records_datetime.t | 2 +-
|
||||||
|
t/02records_dt_interval.t | 2 +-
|
||||||
|
t/02records_integers.t | 2 +-
|
||||||
|
t/02records_object.t | 2 +-
|
||||||
|
t/02searches_function.t | 2 +-
|
||||||
|
t/02searches_joins.t | 2 +-
|
||||||
|
t/03compatibility.t | 2 +-
|
||||||
|
t/03cud_from_select.t | 2 +-
|
||||||
|
t/03rebless.t | 2 +-
|
||||||
|
t/03transactions.t | 2 +-
|
||||||
|
t/03versions.t | 2 +-
|
||||||
|
t/10schema.t | 4 ++--
|
||||||
|
t/11schema_records.t | 2 +-
|
||||||
|
t/20set_edge_cases.t | 2 +-
|
||||||
|
23 files changed, 24 insertions(+), 23 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/Makefile.PL b/Makefile.PL
|
||||||
|
index 49ec3f0..837f26f 100755
|
||||||
|
--- a/Makefile.PL
|
||||||
|
+++ b/Makefile.PL
|
||||||
|
@@ -1,3 +1,4 @@
|
||||||
|
+use lib '.';
|
||||||
|
use inc::Module::Install;
|
||||||
|
|
||||||
|
name ('DBIx-SearchBuilder');
|
||||||
|
diff --git a/t/01basics.t b/t/01basics.t
|
||||||
|
index a46ede6..f0c18df 100644
|
||||||
|
--- a/t/01basics.t
|
||||||
|
+++ b/t/01basics.t
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
use strict;
|
||||||
|
|
||||||
|
use Test::More;
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 4;
|
||||||
|
diff --git a/t/01nocap_api.t b/t/01nocap_api.t
|
||||||
|
index 1ea417e..be45395 100644
|
||||||
|
--- a/t/01nocap_api.t
|
||||||
|
+++ b/t/01nocap_api.t
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
use strict;
|
||||||
|
|
||||||
|
use Test::More;
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
|
||||||
|
use vars qw(@SPEC_METHODS @MODULES);
|
||||||
|
my @SPEC_METHODS = qw(AUTOLOAD DESTROY CLONE);
|
||||||
|
diff --git a/t/01records.t b/t/01records.t
|
||||||
|
index a1f1366..d701e94 100644
|
||||||
|
--- a/t/01records.t
|
||||||
|
+++ b/t/01records.t
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 66;
|
||||||
|
diff --git a/t/01searches.t b/t/01searches.t
|
||||||
|
index 83a2001..1276544 100644
|
||||||
|
--- a/t/01searches.t
|
||||||
|
+++ b/t/01searches.t
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 150;
|
||||||
|
diff --git a/t/02distinct_values.t b/t/02distinct_values.t
|
||||||
|
index f20328d..826db21 100644
|
||||||
|
--- a/t/02distinct_values.t
|
||||||
|
+++ b/t/02distinct_values.t
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 9;
|
||||||
|
diff --git a/t/02null_order.t b/t/02null_order.t
|
||||||
|
index 9feda47..fab111d 100644
|
||||||
|
--- a/t/02null_order.t
|
||||||
|
+++ b/t/02null_order.t
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 11;
|
||||||
|
diff --git a/t/02order_outer.t b/t/02order_outer.t
|
||||||
|
index 08a236b..14a39fe 100644
|
||||||
|
--- a/t/02order_outer.t
|
||||||
|
+++ b/t/02order_outer.t
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 98;
|
||||||
|
diff --git a/t/02records_cachable.t b/t/02records_cachable.t
|
||||||
|
index cdbb9da..9418990 100644
|
||||||
|
--- a/t/02records_cachable.t
|
||||||
|
+++ b/t/02records_cachable.t
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 16;
|
||||||
|
diff --git a/t/02records_datetime.t b/t/02records_datetime.t
|
||||||
|
index f1a0d7a..6882729 100644
|
||||||
|
--- a/t/02records_datetime.t
|
||||||
|
+++ b/t/02records_datetime.t
|
||||||
|
@@ -5,7 +5,7 @@ BEGIN { $ENV{'TZ'} = 'Europe/Moscow' };
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 38;
|
||||||
|
diff --git a/t/02records_dt_interval.t b/t/02records_dt_interval.t
|
||||||
|
index ef1ead3..283746f 100644
|
||||||
|
--- a/t/02records_dt_interval.t
|
||||||
|
+++ b/t/02records_dt_interval.t
|
||||||
|
@@ -5,7 +5,7 @@ BEGIN { $ENV{'TZ'} = 'Europe/Moscow' };
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 17;
|
||||||
|
diff --git a/t/02records_integers.t b/t/02records_integers.t
|
||||||
|
index d13e2ee..95b8504 100644
|
||||||
|
--- a/t/02records_integers.t
|
||||||
|
+++ b/t/02records_integers.t
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 37;
|
||||||
|
diff --git a/t/02records_object.t b/t/02records_object.t
|
||||||
|
index 18c724e..34576db 100644
|
||||||
|
--- a/t/02records_object.t
|
||||||
|
+++ b/t/02records_object.t
|
||||||
|
@@ -5,7 +5,7 @@ use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 11;
|
||||||
|
diff --git a/t/02searches_function.t b/t/02searches_function.t
|
||||||
|
index 2fd6e7e..c8682de 100644
|
||||||
|
--- a/t/02searches_function.t
|
||||||
|
+++ b/t/02searches_function.t
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
use strict;
|
||||||
|
use Test::More;
|
||||||
|
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 18;
|
||||||
|
diff --git a/t/02searches_joins.t b/t/02searches_joins.t
|
||||||
|
index 1661f2b..cbdc3c9 100644
|
||||||
|
--- a/t/02searches_joins.t
|
||||||
|
+++ b/t/02searches_joins.t
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
use strict;
|
||||||
|
use Test::More;
|
||||||
|
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 59;
|
||||||
|
diff --git a/t/03compatibility.t b/t/03compatibility.t
|
||||||
|
index 14eb382..3939503 100644
|
||||||
|
--- a/t/03compatibility.t
|
||||||
|
+++ b/t/03compatibility.t
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 2;
|
||||||
|
diff --git a/t/03cud_from_select.t b/t/03cud_from_select.t
|
||||||
|
index 7f5d21b..2f324b7 100644
|
||||||
|
--- a/t/03cud_from_select.t
|
||||||
|
+++ b/t/03cud_from_select.t
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
use strict;
|
||||||
|
use Test::More;
|
||||||
|
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 14;
|
||||||
|
diff --git a/t/03rebless.t b/t/03rebless.t
|
||||||
|
index 888bb94..467cf00 100644
|
||||||
|
--- a/t/03rebless.t
|
||||||
|
+++ b/t/03rebless.t
|
||||||
|
@@ -6,7 +6,7 @@ use warnings;
|
||||||
|
use Test::More;
|
||||||
|
use DBIx::SearchBuilder::Handle;
|
||||||
|
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 4;
|
||||||
|
diff --git a/t/03transactions.t b/t/03transactions.t
|
||||||
|
index e641c19..ef0f973 100644
|
||||||
|
--- a/t/03transactions.t
|
||||||
|
+++ b/t/03transactions.t
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 52;
|
||||||
|
diff --git a/t/03versions.t b/t/03versions.t
|
||||||
|
index 79bb2e9..4acba37 100644
|
||||||
|
--- a/t/03versions.t
|
||||||
|
+++ b/t/03versions.t
|
||||||
|
@@ -5,7 +5,7 @@ use warnings;
|
||||||
|
use Test::More;
|
||||||
|
use DBIx::SearchBuilder::Handle;
|
||||||
|
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 6;
|
||||||
|
diff --git a/t/10schema.t b/t/10schema.t
|
||||||
|
index 2ff5ab6..fcf1a7b 100644
|
||||||
|
--- a/t/10schema.t
|
||||||
|
+++ b/t/10schema.t
|
||||||
|
@@ -8,7 +8,7 @@ use constant TESTS_PER_DRIVER => 14;
|
||||||
|
our @AvailableDrivers;
|
||||||
|
|
||||||
|
BEGIN {
|
||||||
|
- require("t/utils.pl");
|
||||||
|
+ require("./t/utils.pl");
|
||||||
|
my $total = 3 + scalar(@AvailableDrivers) * TESTS_PER_DRIVER;
|
||||||
|
if( not eval { require DBIx::DBSchema } ) {
|
||||||
|
plan skip_all => "DBIx::DBSchema not installed";
|
||||||
|
@@ -22,7 +22,7 @@ BEGIN {
|
||||||
|
use_ok("DBIx::SearchBuilder::Handle");
|
||||||
|
}
|
||||||
|
|
||||||
|
-require_ok("t/testmodels.pl");
|
||||||
|
+require_ok("./t/testmodels.pl");
|
||||||
|
|
||||||
|
foreach my $d ( @AvailableDrivers ) {
|
||||||
|
SKIP: {
|
||||||
|
diff --git a/t/11schema_records.t b/t/11schema_records.t
|
||||||
|
index 4fc4dc4..a586cda 100644
|
||||||
|
--- a/t/11schema_records.t
|
||||||
|
+++ b/t/11schema_records.t
|
||||||
|
@@ -5,7 +5,7 @@ use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 63;
|
||||||
|
diff --git a/t/20set_edge_cases.t b/t/20set_edge_cases.t
|
||||||
|
index 943f76a..d22b1ee 100644
|
||||||
|
--- a/t/20set_edge_cases.t
|
||||||
|
+++ b/t/20set_edge_cases.t
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
use Test::More;
|
||||||
|
-BEGIN { require "t/utils.pl" }
|
||||||
|
+BEGIN { require "./t/utils.pl" }
|
||||||
|
our (@AvailableDrivers);
|
||||||
|
|
||||||
|
use constant TESTS_PER_DRIVER => 20;
|
||||||
|
--
|
||||||
|
2.13.1
|
||||||
|
|
@ -1,106 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
|
|
||||||
PYTHON_REQ_USE='sqlite?,threads(+)'
|
|
||||||
WEBAPP_NO_AUTO_INSTALL="yes"
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1 eutils versionator webapp
|
|
||||||
|
|
||||||
MY_PN="Django"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="High-level Python web framework"
|
|
||||||
HOMEPAGE="http://www.djangoproject.com/ https://pypi.python.org/pypi/Django"
|
|
||||||
SRC_URI="
|
|
||||||
https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz
|
|
||||||
mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
|
||||||
IUSE="doc sqlite test"
|
|
||||||
|
|
||||||
RDEPEND=""
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] )
|
|
||||||
test? (
|
|
||||||
$(python_gen_impl_dep sqlite)
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/numpy[$(python_gen_usedep 'python*')]
|
|
||||||
dev-python/pillow[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytz[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
WEBAPP_MANUAL_SLOT="yes"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-1.7.6-bashcomp.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
webapp_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# Prevent d'loading in the doc build
|
|
||||||
sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
use doc && emake -C docs html
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
# Tests have non-standard assumptions about PYTHONPATH,
|
|
||||||
# and don't work with ${BUILD_DIR}/lib.
|
|
||||||
PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \
|
|
||||||
|| die "Tests fail with ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp extras/django_bash_completion ${PN}-admin
|
|
||||||
bashcomp_alias ${PN}-admin django-admin.py
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
rm -fr docs/_build/html/_sources || die
|
|
||||||
local HTML_DOCS=( docs/_build/html/. )
|
|
||||||
fi
|
|
||||||
|
|
||||||
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
|
|
||||||
doins -r django/contrib/admin/static/admin/.
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
webapp_src_install
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "Additional Backend support can be enabled via"
|
|
||||||
optfeature "MySQL backend support in python 2.7 only" dev-python/mysql-python
|
|
||||||
optfeature "MySQL backend support in python 2.7 - 3.4" dev-python/mysqlclient
|
|
||||||
optfeature "PostgreSQL backend support" dev-python/psycopg:2
|
|
||||||
echo ""
|
|
||||||
elog "Other features can be enhanced by"
|
|
||||||
optfeature "GEO Django" sci-libs/gdal[geos]
|
|
||||||
optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached
|
|
||||||
optfeature "ImageField Support" dev-python/pillow
|
|
||||||
optfeature "Password encryption" dev-python/bcrypt
|
|
||||||
optfeature "High-level abstractions for Django forms" dev-python/django-formtools
|
|
||||||
echo ""
|
|
||||||
elog "A copy of the admin media is available to webapp-config for installation in a"
|
|
||||||
elog "webroot, as well as the traditional location in python's site-packages dir"
|
|
||||||
elog "for easy development."
|
|
||||||
webapp_pkg_postinst
|
|
||||||
}
|
|
@ -1,3 +1 @@
|
|||||||
DIST dotenv-2.1.1.tar.gz 14019 SHA256 c1fb9da9dd85b9e92026e49766de2ef13117b7adbcb9a21876ae478653da3d59 SHA512 6e9e6604d698ae3bcdf2c10bcbdd169b278477eafd532c4031f592db1daf4e000e57486a4e98d032718c555cf6032189947bae02737bf2a46819b8638a8dc8ab WHIRLPOOL ddbf38c95633040774ae31268bf7eecb1a5d5c31f3cec5edad1e5fecec621d39d2418dfe73082dd3501d90d6bf9349b7261a1e8fce26599dab1c1fe74813709e
|
|
||||||
DIST dotenv-2.2.0.tar.gz 15246 SHA256 1b6db209aea6a07ca7605d0abe2560e7d3d36a8a5df3ca6ec1961d176f12a062 SHA512 c681f017f85d3aaf4881519b7bc5616b1bf2dcfe5f42be1d4b279f0c61936c16378664103908c913d283bb0e58cd3128ea88451f0702337c5171a46133d497d6 WHIRLPOOL 006c970d4b25c9bad1c6eb99ed21fe3828ce9ec4afa34ec93011b1f999083b98849a7078d390ecd0c88d216cdd62ed9f5484e411cc2cea43fa2dcbfb3755ab56
|
|
||||||
DIST dotenv-2.2.1.tar.gz 15855 SHA256 cc816c6697d860063c4a4cd703d46dcea382eebbdad903ac52acd9947bbf30c0 SHA512 67e9cc5323d505f0b5a5a1278d0ce6c72a577fc096508b5a6de7b73f3c0fa2ca8144475783ab2b9ef04cf44d6e57ddb8e09f849c44729f7bb7c4bb7156baa443 WHIRLPOOL 7c16cf43ef8e97ce4d0106e68a15b38795965b09b322bf971cba31af0415aa76bcf18ce7ccf545d5378e83a653a9ca80a477dc298a32f712ea24e8048e8a4661
|
DIST dotenv-2.2.1.tar.gz 15855 SHA256 cc816c6697d860063c4a4cd703d46dcea382eebbdad903ac52acd9947bbf30c0 SHA512 67e9cc5323d505f0b5a5a1278d0ce6c72a577fc096508b5a6de7b73f3c0fa2ca8144475783ab2b9ef04cf44d6e57ddb8e09f849c44729f7bb7c4bb7156baa443 WHIRLPOOL 7c16cf43ef8e97ce4d0106e68a15b38795965b09b322bf971cba31af0415aa76bcf18ce7ccf545d5378e83a653a9ca80a477dc298a32f712ea24e8048e8a4661
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
USE_RUBY="ruby20 ruby21 ruby22"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="README.md Changelog.md"
|
|
||||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
|
||||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
|
||||||
|
|
||||||
inherit ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="Loads environment variables from .env into ENV"
|
|
||||||
HOMEPAGE="https://github.com/bkeepers/dotenv"
|
|
||||||
SRC_URI="https://github.com/bkeepers/dotenv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
LICENSE="MIT"
|
|
||||||
|
|
||||||
KEYWORDS="~amd64 ~arm ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
SLOT="2"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
ruby_add_bdepend "test? ( dev-ruby/spring dev-ruby/rails )"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
sed -i -e '/:guard/,/end/ s:^:#:' \
|
|
||||||
-e '5igem "rspec", "~> 3.0"' Gemfile || die
|
|
||||||
|
|
||||||
sed -i -e '/rubocop/ s:^:#:' dotenv.gemspec || die
|
|
||||||
}
|
|
||||||
|
|
||||||
each_ruby_prepare() {
|
|
||||||
sed -i -e "s:ruby -v:${RUBY} -v:g" spec/dotenv/parser_spec.rb || die
|
|
||||||
}
|
|
@ -1,35 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
USE_RUBY="ruby21 ruby22 ruby23"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="README.md Changelog.md"
|
|
||||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
|
||||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
|
||||||
|
|
||||||
inherit ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="Loads environment variables from .env into ENV"
|
|
||||||
HOMEPAGE="https://github.com/bkeepers/dotenv"
|
|
||||||
SRC_URI="https://github.com/bkeepers/dotenv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
LICENSE="MIT"
|
|
||||||
|
|
||||||
KEYWORDS="~amd64 ~arm ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
SLOT="2"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
ruby_add_bdepend "test? ( dev-ruby/spring dev-ruby/rails )"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
sed -i -e '/:guard/,/end/ s:^:#:' \
|
|
||||||
-e '5igem "rspec", "~> 3.0"' Gemfile || die
|
|
||||||
|
|
||||||
sed -i -e '/rubocop/ s:^:#:' -e 's/git ls-files/find/' dotenv.gemspec || die
|
|
||||||
}
|
|
||||||
|
|
||||||
each_ruby_prepare() {
|
|
||||||
sed -i -e "s:ruby -v:${RUBY} -v:g" spec/dotenv/parser_spec.rb || die
|
|
||||||
}
|
|
@ -1,7 +1,6 @@
|
|||||||
DIST rspec-core-2.14.8-git.tgz 195949 SHA256 757febdcc4465b62fb41572e1fb7e0deb86f903127cb2941ea65d2c1d4ac29db SHA512 2be487f0a820cb959771b0c2a725aa7a43cd80a76f85ed42f3341420cefa4ba6413b5dbd86e8fba9f5515afef3e895e0f1f2f8239d50f0b764f037d5f0791095 WHIRLPOOL 5b2422d7f1d087caf654ea04d81f269ae90be63eb73135d34691839c27e6dfa152aac425f64a860b3af50ef0bf513ac7f4a68c979c254083f187e57a96c20fe3
|
DIST rspec-core-2.14.8-git.tgz 195949 SHA256 757febdcc4465b62fb41572e1fb7e0deb86f903127cb2941ea65d2c1d4ac29db SHA512 2be487f0a820cb959771b0c2a725aa7a43cd80a76f85ed42f3341420cefa4ba6413b5dbd86e8fba9f5515afef3e895e0f1f2f8239d50f0b764f037d5f0791095 WHIRLPOOL 5b2422d7f1d087caf654ea04d81f269ae90be63eb73135d34691839c27e6dfa152aac425f64a860b3af50ef0bf513ac7f4a68c979c254083f187e57a96c20fe3
|
||||||
DIST rspec-core-2.99.2-git.tgz 212935 SHA256 75794e3f94f3323b1212b93e827d37d6ab2813dea2f5f927929b40e9ee170c43 SHA512 e13bc3384fd85c367481a8651c14be4a412cba5f58e12a8f4ab14b5d2768a7b92191b81e000e7dbf6a28275b41044d8b3eb70a04e4b30b5bf88db98cbec4cc44 WHIRLPOOL 5584be2da2310688155c4fe600a4a36f68434440ebc00b063e9fcdcb3188138831a210f482ac86a469984fcf9838d795511ea02433020ecc6bc1d6aacc8c72bd
|
DIST rspec-core-2.99.2-git.tgz 212935 SHA256 75794e3f94f3323b1212b93e827d37d6ab2813dea2f5f927929b40e9ee170c43 SHA512 e13bc3384fd85c367481a8651c14be4a412cba5f58e12a8f4ab14b5d2768a7b92191b81e000e7dbf6a28275b41044d8b3eb70a04e4b30b5bf88db98cbec4cc44 WHIRLPOOL 5584be2da2310688155c4fe600a4a36f68434440ebc00b063e9fcdcb3188138831a210f482ac86a469984fcf9838d795511ea02433020ecc6bc1d6aacc8c72bd
|
||||||
DIST rspec-core-3.3.2-git.tgz 332730 SHA256 aef9a2867a435aa7be57826c850e88e593232077dc42f12bfed89a92c7704d26 SHA512 6cadfa43d63df8d24105d88d6e8b22a495a30f04b289c71c8887ea3fead9ec8f071a6c734a140b1e4910f25094fd36c7c37b54a0724e734233ca584202f0cf32 WHIRLPOOL 1e385223ea8c9b32bfc6ecc93146ccad793441bae3426f6cb4acc07d7a1f2bc6e20be11597fcd27f3c6bb207482213e2eaf214835041df631d06b9bc524e5b70
|
DIST rspec-core-3.3.2-git.tgz 332730 SHA256 aef9a2867a435aa7be57826c850e88e593232077dc42f12bfed89a92c7704d26 SHA512 6cadfa43d63df8d24105d88d6e8b22a495a30f04b289c71c8887ea3fead9ec8f071a6c734a140b1e4910f25094fd36c7c37b54a0724e734233ca584202f0cf32 WHIRLPOOL 1e385223ea8c9b32bfc6ecc93146ccad793441bae3426f6cb4acc07d7a1f2bc6e20be11597fcd27f3c6bb207482213e2eaf214835041df631d06b9bc524e5b70
|
||||||
DIST rspec-core-3.4.4-git.tgz 355992 SHA256 a1f3cbf0748ac87a5b3b5bea2428121e1c6ab6a2133f466da81dfbb49bb22785 SHA512 f73eda7bab8622f7457286e4c2a19d8ee231f484743d9963cd4a020d149eaad19007e8d5d4eb049e4fe62ead4f7a84de55e63ac1ac26e2c7b6d599d14eaa17b7 WHIRLPOOL 1c25e860ce672da49e3d5d95b92ceef9d92fcb44095401926e166463ea8b21ac6cdcdc615cdec6b33bdb48e5ca7689febdfa41f18ae9254536e6b958d37eb780
|
|
||||||
DIST rspec-core-3.5.3-git.tgz 368960 SHA256 26a5788977ba1ce6889924e6e944d1a08becb059593f297b4f4dd58b600b037a SHA512 c8f983018e33bd111c75671d7208b38704dd0fddb22cca2b08a59a1e5ceb0939ed56ee4015df758f5d766fbe2390279c1d670f6fff4eef222f44621f48c581ef WHIRLPOOL 86afe335378b5e9e94ee53546d6e87c531bee71cc1ed5a79f1549d593f6912a6a07dfac2b783aaaaf808bba8405e6e1cbc5b20fc275ca80ce504bed1b4991fd2
|
DIST rspec-core-3.5.3-git.tgz 368960 SHA256 26a5788977ba1ce6889924e6e944d1a08becb059593f297b4f4dd58b600b037a SHA512 c8f983018e33bd111c75671d7208b38704dd0fddb22cca2b08a59a1e5ceb0939ed56ee4015df758f5d766fbe2390279c1d670f6fff4eef222f44621f48c581ef WHIRLPOOL 86afe335378b5e9e94ee53546d6e87c531bee71cc1ed5a79f1549d593f6912a6a07dfac2b783aaaaf808bba8405e6e1cbc5b20fc275ca80ce504bed1b4991fd2
|
||||||
DIST rspec-core-3.5.4-git.tgz 369170 SHA256 6e7f0cbccf13f774936b25100f743682bb4359040f926a7aa83dce9d7e80209e SHA512 c672381e9233b6f8c6e92ed70d084ff7a558edd6ca7d5a09a28fff1554975b952b6fab94483324b5bd6a62ff7aac576e7a216dbb3972749ef0210fe1cd05411d WHIRLPOOL 816b9dc1648afd11965457b147a5748ea50fd9cef8b5e266a83131b532642f5882bde9099e037ee9f5bea2fa2bc2bca1140494d33f252ea7819b033a4b8dda99
|
DIST rspec-core-3.5.4-git.tgz 369170 SHA256 6e7f0cbccf13f774936b25100f743682bb4359040f926a7aa83dce9d7e80209e SHA512 c672381e9233b6f8c6e92ed70d084ff7a558edd6ca7d5a09a28fff1554975b952b6fab94483324b5bd6a62ff7aac576e7a216dbb3972749ef0210fe1cd05411d WHIRLPOOL 816b9dc1648afd11965457b147a5748ea50fd9cef8b5e266a83131b532642f5882bde9099e037ee9f5bea2fa2bc2bca1140494d33f252ea7819b033a4b8dda99
|
||||||
DIST rspec-core-3.6.0-git.tgz 375590 SHA256 8994ff9ef23e11262d2c0cc7c54ffaa3ce73c3d2fd01fc0c089f46a31e7667fa SHA512 cecd3885652e18ba1ffed45e40d12c932ba0d880e96b2f1d264709f55dbda8d6b0c78c3bf4bb940d246b84261d1b80038618735f65302ff62646165b2e932be1 WHIRLPOOL 7923ccf7959f5fdc23f27ba0a4619b582a6a16ff20dc27eee82a17436ba9c278eaf996f4e851fac8c9a2802cda30ef1928ab5a4bc20269fe66ac4df540d6b827
|
DIST rspec-core-3.6.0-git.tgz 375590 SHA256 8994ff9ef23e11262d2c0cc7c54ffaa3ce73c3d2fd01fc0c089f46a31e7667fa SHA512 cecd3885652e18ba1ffed45e40d12c932ba0d880e96b2f1d264709f55dbda8d6b0c78c3bf4bb940d246b84261d1b80038618735f65302ff62646165b2e932be1 WHIRLPOOL 7923ccf7959f5fdc23f27ba0a4619b582a6a16ff20dc27eee82a17436ba9c278eaf996f4e851fac8c9a2802cda30ef1928ab5a4bc20269fe66ac4df540d6b827
|
||||||
|
@ -1,99 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_TASK_TEST="none"
|
|
||||||
RUBY_FAKEGEM_TASK_DOC="none"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
|
||||||
|
|
||||||
# Also install this custom path since internal paths depend on it.
|
|
||||||
RUBY_FAKEGEM_EXTRAINSTALL="exe"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_GEMSPEC="rspec-core.gemspec"
|
|
||||||
|
|
||||||
inherit ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
|
||||||
HOMEPAGE="https://github.com/rspec/rspec-core"
|
|
||||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="3"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="highlight"
|
|
||||||
|
|
||||||
SUBVERSION="$(get_version_component_range 1-2)"
|
|
||||||
|
|
||||||
ruby_add_rdepend "
|
|
||||||
=dev-ruby/rspec-support-${SUBVERSION}*
|
|
||||||
!!<dev-ruby/rspec-core-2.14.8-r4
|
|
||||||
highlight? ( >=dev-ruby/coderay-1.0.9 )
|
|
||||||
"
|
|
||||||
|
|
||||||
ruby_add_bdepend "test? (
|
|
||||||
>=dev-ruby/nokogiri-1.5.2
|
|
||||||
>=dev-ruby/coderay-1.0.9
|
|
||||||
dev-ruby/syntax
|
|
||||||
>=dev-ruby/thread_order-1.1.0
|
|
||||||
>=dev-ruby/rspec-expectations-3.3.0:3
|
|
||||||
>=dev-ruby/rspec-mocks-2.99.0:3
|
|
||||||
)"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
# Don't set up bundler: it doesn't understand our setup.
|
|
||||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
|
||||||
|
|
||||||
# Avoid dependency on cucumber since we can't run the features anyway.
|
|
||||||
sed -i -e '/[Cc]ucumber/ s:^:#:' Rakefile || die
|
|
||||||
|
|
||||||
# Duplicate exe also in bin. We can't change it since internal stuff
|
|
||||||
# also depends on this and fixing that is going to be fragile. This
|
|
||||||
# way we can at least install proper bin scripts.
|
|
||||||
cp -R exe bin || die
|
|
||||||
|
|
||||||
# Avoid unneeded dependency on git.
|
|
||||||
sed -i -e 's/git ls-files --/find/' rspec-core.gemspec || die
|
|
||||||
|
|
||||||
# Avoid aruba dependency so that we don't end up in dependency hell.
|
|
||||||
sed -i -e '/ArubaLoader/,/^end/ s:^:#:' -e '/Aruba/ s:^:#:' spec/spec_helper.rb || die
|
|
||||||
rm spec/integration/{failed_line_detection,filtering,order,persistence_failures}_spec.rb spec/support/aruba_support.rb || die
|
|
||||||
|
|
||||||
# Avoid a spec failing due to path issues
|
|
||||||
sed -i -e '/does not load files in the default path when run by ruby/,/end/ s:^:#:' \
|
|
||||||
spec/rspec/core/configuration_spec.rb || die
|
|
||||||
|
|
||||||
# Avoid specs for older coderay version which is no longer packaged
|
|
||||||
sed -i -e '/highlights the syntax of the provided lines/ s/do/,skip: true do/' \
|
|
||||||
-e '/dynamically adjusts to changing color config/ s/do/,skip: true do/' \
|
|
||||||
spec/rspec/core/source/syntax_highlighter_spec.rb
|
|
||||||
}
|
|
||||||
|
|
||||||
each_ruby_prepare() {
|
|
||||||
sed -i -e 's:ruby -e:'${RUBY}' -e:' spec/rspec/core_spec.rb || die
|
|
||||||
|
|
||||||
# case ${RUBY} in
|
|
||||||
# *ruby22)
|
|
||||||
# # The rubygems version bundled with ruby 2.2 causes warnings.
|
|
||||||
# sed -i -e '/a library that issues no warnings when loaded/,/^ end/ s:^:#:' spec/rspec/core_spec.rb || die
|
|
||||||
# ;;
|
|
||||||
# esac
|
|
||||||
}
|
|
||||||
|
|
||||||
all_ruby_compile() {
|
|
||||||
if use doc ; then
|
|
||||||
yardoc || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
each_ruby_test() {
|
|
||||||
PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -Ilib bin/rspec spec || die "Tests failed."
|
|
||||||
}
|
|
||||||
|
|
||||||
all_ruby_install() {
|
|
||||||
all_fakegem_install
|
|
||||||
|
|
||||||
ruby_fakegem_binwrapper rspec /usr/bin/rspec-3 'gem "rspec", "~>3.0"'
|
|
||||||
}
|
|
@ -1,6 +1,5 @@
|
|||||||
DIST rspec-expectations-2.14.5-git.tgz 93680 SHA256 ceba7a62ad87285f1ea01db4798efbbde4020b82a109cc260ec358061367e5b9 SHA512 237ed56cd185bc5d0d60ed14e20ded1840ef10711693c43ffaa20ec65cdd6b891aba3a6f1f38bb6962c31d51364758d1898e3bcba14a95c4abc73dff4dac1b65 WHIRLPOOL b9860d7bbd7e33143de655d3bcae6925a91ae5992f47b75ae9c61203c9cddcfb5a2ad0d8d3152a725ff4174359bdf56c5d8dbe24b4b1bb56e3aab292ddfc7a5d
|
DIST rspec-expectations-2.14.5-git.tgz 93680 SHA256 ceba7a62ad87285f1ea01db4798efbbde4020b82a109cc260ec358061367e5b9 SHA512 237ed56cd185bc5d0d60ed14e20ded1840ef10711693c43ffaa20ec65cdd6b891aba3a6f1f38bb6962c31d51364758d1898e3bcba14a95c4abc73dff4dac1b65 WHIRLPOOL b9860d7bbd7e33143de655d3bcae6925a91ae5992f47b75ae9c61203c9cddcfb5a2ad0d8d3152a725ff4174359bdf56c5d8dbe24b4b1bb56e3aab292ddfc7a5d
|
||||||
DIST rspec-expectations-2.99.2-git.tgz 106884 SHA256 4c1b38198d214ab2d4e297fdfbd89d3c3ae20c6b144882e53e935cfbc9878f68 SHA512 6042cafe225b2b16df458c7bf69e1694b637afcac6f6195e35a0be199432610457ccaa3e7e4bd114b27a7a6c3d530d94f4c0603c65f469cbadc55bd3f75b6f3a WHIRLPOOL 4a390f55bac3180a876bd59f58ce7c2ed87611b94c9610c950dc138ef14c8966e62d79aa4f63771c373760d0b9f4f51a9aaa6cbc4fc600573c6cb12ddc0e278d
|
DIST rspec-expectations-2.99.2-git.tgz 106884 SHA256 4c1b38198d214ab2d4e297fdfbd89d3c3ae20c6b144882e53e935cfbc9878f68 SHA512 6042cafe225b2b16df458c7bf69e1694b637afcac6f6195e35a0be199432610457ccaa3e7e4bd114b27a7a6c3d530d94f4c0603c65f469cbadc55bd3f75b6f3a WHIRLPOOL 4a390f55bac3180a876bd59f58ce7c2ed87611b94c9610c950dc138ef14c8966e62d79aa4f63771c373760d0b9f4f51a9aaa6cbc4fc600573c6cb12ddc0e278d
|
||||||
DIST rspec-expectations-3.3.1-git.tgz 171117 SHA256 a40feb73c5c54fd6464ca262af4be50ef9d5e4a785b5ae7862946da42837e112 SHA512 fe0e5fc4e00c8d51866bc9699bc25b1e702c765c5443abbebe2f016833c6f09f9f8f35d86520b59d51ad0a196551f68c39a5ec707658826af838ed274f4986ff WHIRLPOOL 5dc55d62ec1df5add711c07470d2d7020b875bf43a57788ceb84b05807ec9d3b2e395fde16f14c06d265e8c36b44e9a9c9da306c049a019289a1bc3d265e18e1
|
DIST rspec-expectations-3.3.1-git.tgz 171117 SHA256 a40feb73c5c54fd6464ca262af4be50ef9d5e4a785b5ae7862946da42837e112 SHA512 fe0e5fc4e00c8d51866bc9699bc25b1e702c765c5443abbebe2f016833c6f09f9f8f35d86520b59d51ad0a196551f68c39a5ec707658826af838ed274f4986ff WHIRLPOOL 5dc55d62ec1df5add711c07470d2d7020b875bf43a57788ceb84b05807ec9d3b2e395fde16f14c06d265e8c36b44e9a9c9da306c049a019289a1bc3d265e18e1
|
||||||
DIST rspec-expectations-3.4.0-git.tgz 181527 SHA256 4cfdedf39382d27335208fc1ce7efbf3babd3212e021ece5593e39feb3e51556 SHA512 688fcee04517e1354ce7d180c9e8c8e55614261af416b80dfc663293f9d66348fc2c17dc9b31aec7bc12fd9045d6507d9f11017bb5a757e41dbcaea18efa684f WHIRLPOOL 3d9a8f9b7515433b80dc70ba922813f0b2564bd0e1a0f1fe6dd370befef76a8453b1ce59b8fede435a99f8f604a24a56c158bd5c0be5bc3627c0b2181193ca16
|
|
||||||
DIST rspec-expectations-3.5.0-git.tgz 187600 SHA256 edbd7dec2b1e685b12e3a14c3ea4d8bb3c5d82fe0f69afeea9c9f4d10da03c1d SHA512 e6077549a028de0e34cdd50d93552ca3ee0f30bb550e9df20d391f287beb57070dcb3a5104627e7adb55689e7b102c91b7d3a3b944b8c4ff1235761140f2dce0 WHIRLPOOL d173b832c43e723b0a46caa72f45fa27f8c611567eca544ad6e30e661ca32edca063ba4cd621fb411c527f64371b9e1c04b58192b330878704de2a47b31dc451
|
DIST rspec-expectations-3.5.0-git.tgz 187600 SHA256 edbd7dec2b1e685b12e3a14c3ea4d8bb3c5d82fe0f69afeea9c9f4d10da03c1d SHA512 e6077549a028de0e34cdd50d93552ca3ee0f30bb550e9df20d391f287beb57070dcb3a5104627e7adb55689e7b102c91b7d3a3b944b8c4ff1235761140f2dce0 WHIRLPOOL d173b832c43e723b0a46caa72f45fa27f8c611567eca544ad6e30e661ca32edca063ba4cd621fb411c527f64371b9e1c04b58192b330878704de2a47b31dc451
|
||||||
DIST rspec-expectations-3.6.0-git.tgz 193897 SHA256 7f36c884b771b0cd80ded906469fb51e23990de50cd19c59b1cd57512f296f1e SHA512 5c784eff2c076623f471bcfff6e014420782c8d52ff54a68adc9b4d6b60a91726da36e3989535f4ab7f1fcc6b1e2a3c3a63ee330f8ea55f475711741762c0f07 WHIRLPOOL 3cf7b971d4a36ffb5015e823f7e25c3e566b1537d8f61adf371b167b04a80f90a486198bca0436cb9b42ce80bf638e4379583e4969771b509ea35239fc94f9e8
|
DIST rspec-expectations-3.6.0-git.tgz 193897 SHA256 7f36c884b771b0cd80ded906469fb51e23990de50cd19c59b1cd57512f296f1e SHA512 5c784eff2c076623f471bcfff6e014420782c8d52ff54a68adc9b4d6b60a91726da36e3989535f4ab7f1fcc6b1e2a3c3a63ee330f8ea55f475711741762c0f07 WHIRLPOOL 3cf7b971d4a36ffb5015e823f7e25c3e566b1537d8f61adf371b167b04a80f90a486198bca0436cb9b42ce80bf638e4379583e4969771b509ea35239fc94f9e8
|
||||||
|
@ -1,46 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_TASK_DOC=""
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
|
||||||
|
|
||||||
inherit ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
|
||||||
HOMEPAGE="https://github.com/rspec/rspec-expectations"
|
|
||||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="3"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
SUBVERSION="$(get_version_component_range 1-2)"
|
|
||||||
|
|
||||||
ruby_add_rdepend ">=dev-ruby/diff-lcs-1.2.0 <dev-ruby/diff-lcs-2
|
|
||||||
=dev-ruby/rspec-support-${SUBVERSION}*"
|
|
||||||
|
|
||||||
ruby_add_bdepend "test? (
|
|
||||||
>=dev-ruby/rspec-mocks-3.2.0:3
|
|
||||||
)"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
# Don't set up bundler: it doesn't understand our setup.
|
|
||||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
|
||||||
|
|
||||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
|
||||||
rm -f Gemfile || die
|
|
||||||
|
|
||||||
# fix up the gemspecs
|
|
||||||
sed -i \
|
|
||||||
-e '/git ls/d' \
|
|
||||||
-e '/add_development_dependency/d' \
|
|
||||||
"${RUBY_FAKEGEM_GEMSPEC}" || die
|
|
||||||
}
|
|
@ -1,7 +1,5 @@
|
|||||||
DIST rspec-mocks-2.14.6-git.tgz 94286 SHA256 2453766688b33a5cd743f4ebc3ffccd4277e3daca069828c7206bd0f12d5fee4 SHA512 a079c0b860c7ca4b4da366fa131617ddcb636918cd0c065ef3d8d585938228f442bb58ab5fcd2cd84b590bf6ab468d637fa7ab0181864a59c131f0a890e46702 WHIRLPOOL d29599bf4465c38433d7ddf70a12c43a523c289fd9857aadeb41610aef4980d8ea43cd1aef48d3d1d736e67a201bba131ea151a0ecb297e887fac51baf35655b
|
DIST rspec-mocks-2.14.6-git.tgz 94286 SHA256 2453766688b33a5cd743f4ebc3ffccd4277e3daca069828c7206bd0f12d5fee4 SHA512 a079c0b860c7ca4b4da366fa131617ddcb636918cd0c065ef3d8d585938228f442bb58ab5fcd2cd84b590bf6ab468d637fa7ab0181864a59c131f0a890e46702 WHIRLPOOL d29599bf4465c38433d7ddf70a12c43a523c289fd9857aadeb41610aef4980d8ea43cd1aef48d3d1d736e67a201bba131ea151a0ecb297e887fac51baf35655b
|
||||||
DIST rspec-mocks-2.99.2-git.tgz 101731 SHA256 fad961e30ef67e014625fb6b4bb62db0f6f101142a897b4cad31e60f8faf8c57 SHA512 dd3b9394d56de8d3089db7777cda1e1a5bbdc46486876a99a8a83b602b84ba0320913d8e8dabe5e0367645eb01b943607b93e67d87cc26e380c8db6e048e4e0d WHIRLPOOL 06e8c3dd38fa17fbd82c97fe1c19928450234c761185cf636556955df9a081f4685d002a8fe501690c5457c63014ce8a60c5aca32b7c4bc24eb368368e5e33c3
|
DIST rspec-mocks-2.99.2-git.tgz 101731 SHA256 fad961e30ef67e014625fb6b4bb62db0f6f101142a897b4cad31e60f8faf8c57 SHA512 dd3b9394d56de8d3089db7777cda1e1a5bbdc46486876a99a8a83b602b84ba0320913d8e8dabe5e0367645eb01b943607b93e67d87cc26e380c8db6e048e4e0d WHIRLPOOL 06e8c3dd38fa17fbd82c97fe1c19928450234c761185cf636556955df9a081f4685d002a8fe501690c5457c63014ce8a60c5aca32b7c4bc24eb368368e5e33c3
|
||||||
DIST rspec-mocks-3.3.2-git.tgz 174849 SHA256 faec1a03eecdda1217238df7989c80f4201cf7613580af3824b2fa3af2c45ec0 SHA512 b03dd81232650d851db51dd62a11c6f34df7e3d47db9ec96168259f7d4045d2497098de903b5ef6865c29a5f4835ee1865ff64a8177f9212e8f699175ec7fe90 WHIRLPOOL 33936705596662c74c31b74b1bc5ac57bb76290b4fda1375edb18b9491c7b1ced0dd545c21ae6b67174275235ff767ddc322b73da97685a0dc6eeff13b9c9b61
|
DIST rspec-mocks-3.3.2-git.tgz 174849 SHA256 faec1a03eecdda1217238df7989c80f4201cf7613580af3824b2fa3af2c45ec0 SHA512 b03dd81232650d851db51dd62a11c6f34df7e3d47db9ec96168259f7d4045d2497098de903b5ef6865c29a5f4835ee1865ff64a8177f9212e8f699175ec7fe90 WHIRLPOOL 33936705596662c74c31b74b1bc5ac57bb76290b4fda1375edb18b9491c7b1ced0dd545c21ae6b67174275235ff767ddc322b73da97685a0dc6eeff13b9c9b61
|
||||||
DIST rspec-mocks-3.4.0-git.tgz 182517 SHA256 87673a6c2a2c4c4054dcf2694c6deecc304fc8a1cb8684e3b55b21536ee1e593 SHA512 1d697c501a256031c1070706082d4dcd86c7441935f9427a9479a79da91fa432414ffdce0cf0b32178e2c2731f8947446780b1bd9f325bff61878425d5f86328 WHIRLPOOL 15dec1303e4d58d471e6833317d282ba1cf3e6a370b4f32297e8b6a97755402cf83517fb4ca36766934946fe70baf6a41cdc74d8999581d1c6a7fa5ab99ed5e9
|
|
||||||
DIST rspec-mocks-3.4.1-git.tgz 182922 SHA256 0d749c3c9a229b2c9811986ae9676b6fd644b950eebac73155e7202bb275c72d SHA512 1e5b0bad9ef95f2479cf5fe5488076fd42c3fbcd2d35278b9da6d45106819e0bde29564a3962f8214565c944cb2b44475660d3f53fd64b11916aa85f7af94fdd WHIRLPOOL 0cbfffc2c79056da2134fa1217d535c8ba52362181f7bcd638ff876c64b1c70a32e049e81714a260daca21481c6c30dbaf024620eacdc660a1930974869c1f93
|
|
||||||
DIST rspec-mocks-3.5.0-git.tgz 186806 SHA256 19340072723eb9b632fdc3e2636540d617d585d5ae1a0b67c7c07e93cc5a84e2 SHA512 b7dcb4ce0eac894d6652be45fea981cb7ade47a739ad926a87aa41d8a34fa9deffc45f5718d1634f03fbedaba82a77005466fa83155dc433fed6a19f8a897c4d WHIRLPOOL 6dd479a9efcfa149a4342f36f28a6350d16a222b78f1141996c3a38f77f7c7995bacd1cd67b4ebd97c46bf57a8a6eb684fba92ca2a12df4d9c14ea9eb99af2f2
|
DIST rspec-mocks-3.5.0-git.tgz 186806 SHA256 19340072723eb9b632fdc3e2636540d617d585d5ae1a0b67c7c07e93cc5a84e2 SHA512 b7dcb4ce0eac894d6652be45fea981cb7ade47a739ad926a87aa41d8a34fa9deffc45f5718d1634f03fbedaba82a77005466fa83155dc433fed6a19f8a897c4d WHIRLPOOL 6dd479a9efcfa149a4342f36f28a6350d16a222b78f1141996c3a38f77f7c7995bacd1cd67b4ebd97c46bf57a8a6eb684fba92ca2a12df4d9c14ea9eb99af2f2
|
||||||
DIST rspec-mocks-3.6.0-git.tgz 189000 SHA256 fdbb61f579d442eff8c7096143a701bcd834b7ce96a959fab663db6be2f262f7 SHA512 42cc4870fde8eba0a6da7df4ab07e4d59c6447bb8f52e0172e7f231d47304c20c6e2edfceee698d5d344bb78384acbe3df4bb67de784cc24a63fae02ed1d4a7b WHIRLPOOL 9939c4ced45b85c5d270079345851143466affa1a40458edf3dff6427861f03198fce6b55ef27ddd452338ad2411a45c88dd9fc1fe59a2dd5494da11e288976f
|
DIST rspec-mocks-3.6.0-git.tgz 189000 SHA256 fdbb61f579d442eff8c7096143a701bcd834b7ce96a959fab663db6be2f262f7 SHA512 42cc4870fde8eba0a6da7df4ab07e4d59c6447bb8f52e0172e7f231d47304c20c6e2edfceee698d5d344bb78384acbe3df4bb67de784cc24a63fae02ed1d4a7b WHIRLPOOL 9939c4ced45b85c5d270079345851143466affa1a40458edf3dff6427861f03198fce6b55ef27ddd452338ad2411a45c88dd9fc1fe59a2dd5494da11e288976f
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
USE_RUBY="ruby20 ruby21 ruby22"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
|
||||||
|
|
||||||
inherit ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
|
||||||
HOMEPAGE="https://github.com/rspec/rspec-mocks"
|
|
||||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="3"
|
|
||||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
SUBVERSION="$(get_version_component_range 1-2)"
|
|
||||||
|
|
||||||
ruby_add_rdepend "=dev-ruby/rspec-support-${SUBVERSION}*"
|
|
||||||
|
|
||||||
ruby_add_bdepend "
|
|
||||||
test? (
|
|
||||||
>=dev-ruby/rspec-core-3.3.0:3
|
|
||||||
>=dev-ruby/rspec-expectations-2.99.0:3
|
|
||||||
)"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
# Don't set up bundler: it doesn't understand our setup.
|
|
||||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
|
||||||
|
|
||||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
|
||||||
rm Gemfile || die
|
|
||||||
|
|
||||||
# Remove .rspec options to avoid dependency on newer rspec when
|
|
||||||
# bootstrapping.
|
|
||||||
rm .rspec || die
|
|
||||||
|
|
||||||
sed -i -e '1irequire "spec_helper"' spec/rspec/mocks/any_instance_spec.rb || die
|
|
||||||
}
|
|
@ -1,45 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
|
||||||
|
|
||||||
inherit ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
|
||||||
HOMEPAGE="https://github.com/rspec/rspec-mocks"
|
|
||||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="3"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
SUBVERSION="$(get_version_component_range 1-2)"
|
|
||||||
|
|
||||||
ruby_add_rdepend "=dev-ruby/rspec-support-${SUBVERSION}*"
|
|
||||||
|
|
||||||
ruby_add_bdepend "
|
|
||||||
test? (
|
|
||||||
>=dev-ruby/rspec-core-3.3.0:3
|
|
||||||
>=dev-ruby/rspec-expectations-2.99.0:3
|
|
||||||
)"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
# Don't set up bundler: it doesn't understand our setup.
|
|
||||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
|
||||||
|
|
||||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
|
||||||
rm Gemfile || die
|
|
||||||
|
|
||||||
# Remove .rspec options to avoid dependency on newer rspec when
|
|
||||||
# bootstrapping.
|
|
||||||
rm .rspec || die
|
|
||||||
|
|
||||||
sed -i -e '1irequire "spec_helper"' spec/rspec/mocks/any_instance_spec.rb || die
|
|
||||||
}
|
|
@ -1,6 +1,5 @@
|
|||||||
DIST rspec-rails-2.14.2.tar.gz 75049 SHA256 c5ec91e3c360033a7ef640d0a08b4f9167032b5d6d5cdee020f4df949f916a24 SHA512 2dcc568c578f3201dbdc6a757c84d0e689c3f221fe7cbd57849524680e40150c972436a2c6fcc1220e99c9d2e6c97c62bb6d4c5c59e9d6890a67caceb94ed5cd WHIRLPOOL d721b1dbec6cf4d35560868981087f5f7950353bb281d277fd17d012d71302986c5645b3d0c28bf61d270a2b90596d324ad072184eb195b642718f33f83ede4e
|
DIST rspec-rails-2.14.2.tar.gz 75049 SHA256 c5ec91e3c360033a7ef640d0a08b4f9167032b5d6d5cdee020f4df949f916a24 SHA512 2dcc568c578f3201dbdc6a757c84d0e689c3f221fe7cbd57849524680e40150c972436a2c6fcc1220e99c9d2e6c97c62bb6d4c5c59e9d6890a67caceb94ed5cd WHIRLPOOL d721b1dbec6cf4d35560868981087f5f7950353bb281d277fd17d012d71302986c5645b3d0c28bf61d270a2b90596d324ad072184eb195b642718f33f83ede4e
|
||||||
DIST rspec-rails-2.99.0.tar.gz 78448 SHA256 81ff54e638432c2b734ebefd5398f646960bcc72b92e381393d2420fc9525882 SHA512 0453450cf5a5435dc4f870ae7a37a299c6b17a4df04de730c14ca3d070808c9a9a70a6f485a1d0c6f4f8ddf3def6e4710ae5842e9e8f0b59c10b2177299670f4 WHIRLPOOL 0a5774bab31786cca0a3146641306cce38d2a809bc94a9728cc2c479be761b66246cb54bdf9185c478519434d95f7808f9d8f7f9ddecac1ffc01251cf9dcd5a6
|
DIST rspec-rails-2.99.0.tar.gz 78448 SHA256 81ff54e638432c2b734ebefd5398f646960bcc72b92e381393d2420fc9525882 SHA512 0453450cf5a5435dc4f870ae7a37a299c6b17a4df04de730c14ca3d070808c9a9a70a6f485a1d0c6f4f8ddf3def6e4710ae5842e9e8f0b59c10b2177299670f4 WHIRLPOOL 0a5774bab31786cca0a3146641306cce38d2a809bc94a9728cc2c479be761b66246cb54bdf9185c478519434d95f7808f9d8f7f9ddecac1ffc01251cf9dcd5a6
|
||||||
DIST rspec-rails-3.3.3.tar.gz 102963 SHA256 b0edc645a25c929deb39a7334894922cdf67cf7cb895bb728751d0d3a459fac9 SHA512 72c8a027d3ac7c8487c4dec23c91c7014456e6d8ed10f80f72e71c90e7bde0a3c005dd6b57985b1f3e32b32cb6d4610f651f8aa4b81156536a667a266e816603 WHIRLPOOL 78b00968fe75cd632b94bd4b2f244dc6ac50e708b9023baf882bba6ef76b827b681f55dd88be0220988c49d308b9bde4e3344456980db0d9a5654e39f65edd93
|
DIST rspec-rails-3.3.3.tar.gz 102963 SHA256 b0edc645a25c929deb39a7334894922cdf67cf7cb895bb728751d0d3a459fac9 SHA512 72c8a027d3ac7c8487c4dec23c91c7014456e6d8ed10f80f72e71c90e7bde0a3c005dd6b57985b1f3e32b32cb6d4610f651f8aa4b81156536a667a266e816603 WHIRLPOOL 78b00968fe75cd632b94bd4b2f244dc6ac50e708b9023baf882bba6ef76b827b681f55dd88be0220988c49d308b9bde4e3344456980db0d9a5654e39f65edd93
|
||||||
DIST rspec-rails-3.4.2.tar.gz 114252 SHA256 ff54962e135baad173aa987ba08ea4d35b2479cc32beaa2d348e2dfb95bffc85 SHA512 922a666ac674d6e91083caf5b5526556add9ffc8783f3f5af8a7d60afb2353b99730e367d522b91bf487fcbe9282fbf51648487c9d0bed005882dc57d7fb57bc WHIRLPOOL 7004dec656c42d2c0ad1a930c4df04955acb0b936c75699f902cd42acb1e42fc9cab7340acf8da834b769d5740431d2ad6e83ea1b61d60939d7d523bb6462977
|
|
||||||
DIST rspec-rails-3.5.2.tar.gz 123642 SHA256 14acd233d4b8341231e04abc72c3f16a364fe3bf57efe59a9f40ca49a08535b0 SHA512 4f7f03c740d7215591f9ac4fc9fb77f8d747b6446a831580518db2974b07806eab8ed29ade78afbdd981236f3c64b0d933f04be7cccf72c5e57fb85795dc7df4 WHIRLPOOL 88135186904d1b52e91a6967fd272faca4920d2af2c293955cdf76d6b0ef27127369fe189729447757f5ab0dabc5fd285c73816fae5ff4f5503db9b0e4513167
|
DIST rspec-rails-3.5.2.tar.gz 123642 SHA256 14acd233d4b8341231e04abc72c3f16a364fe3bf57efe59a9f40ca49a08535b0 SHA512 4f7f03c740d7215591f9ac4fc9fb77f8d747b6446a831580518db2974b07806eab8ed29ade78afbdd981236f3c64b0d933f04be7cccf72c5e57fb85795dc7df4 WHIRLPOOL 88135186904d1b52e91a6967fd272faca4920d2af2c293955cdf76d6b0ef27127369fe189729447757f5ab0dabc5fd285c73816fae5ff4f5503db9b0e4513167
|
||||||
DIST rspec-rails-3.6.0.tar.gz 127171 SHA256 3c47e0c209584d2001fa6035af7ca75aea5c6d16343a71adf4a821690246a696 SHA512 f093c96d2d0c5b75ca055bfd1e7dfb990a66288a84293c6b3bd4622dfad52716b4b60553eb83878fb566c2e4d8b25b91da2071727ef54e6dd8aa11babeb80f81 WHIRLPOOL 4fd84be57be22090ae41a3e5c19d068ba1cbbf627b66ec97cd3774921dd3c4ff550337abd6955a9183841bd9b55270dfef4c928909288cd3c4aa72650fce7992
|
DIST rspec-rails-3.6.0.tar.gz 127171 SHA256 3c47e0c209584d2001fa6035af7ca75aea5c6d16343a71adf4a821690246a696 SHA512 f093c96d2d0c5b75ca055bfd1e7dfb990a66288a84293c6b3bd4622dfad52716b4b60553eb83878fb566c2e4d8b25b91da2071727ef54e6dd8aa11babeb80f81 WHIRLPOOL 4fd84be57be22090ae41a3e5c19d068ba1cbbf627b66ec97cd3774921dd3c4ff550337abd6955a9183841bd9b55270dfef4c928909288cd3c4aa72650fce7992
|
||||||
|
@ -1,55 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
USE_RUBY="ruby20 ruby21"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_TASK_DOC=""
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
|
||||||
|
|
||||||
inherit ruby-fakegem versionator
|
|
||||||
|
|
||||||
DESCRIPTION="RSpec's official Ruby on Rails plugin"
|
|
||||||
HOMEPAGE="http://rspec.info/"
|
|
||||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="3"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
SUBVERSION="$(get_version_component_range 1-2)"
|
|
||||||
|
|
||||||
ruby_add_rdepend ">=dev-ruby/activesupport-3.0:* <dev-ruby/activesupport-4.3:*
|
|
||||||
>=dev-ruby/actionpack-3.0:* <dev-ruby/actionpack-4.3:*
|
|
||||||
>=dev-ruby/railties-3.0:* <dev-ruby/railties-4.3:*
|
|
||||||
=dev-ruby/rspec-${SUBVERSION}*"
|
|
||||||
|
|
||||||
# Depend on the package being already installed for tests, because
|
|
||||||
# requiring ammeter will load it, and we need a consistent set of rspec
|
|
||||||
# and rspec-rails for that to work.
|
|
||||||
ruby_add_bdepend "test? (
|
|
||||||
=dev-ruby/mocha-0.10*
|
|
||||||
>=dev-ruby/capybara-2.0.0
|
|
||||||
>=dev-ruby/ammeter-1.1.2
|
|
||||||
~dev-ruby/rspec-rails-${PV}
|
|
||||||
)"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
# Remove .rspec options to avoid dependency on newer rspec when
|
|
||||||
# bootstrapping.
|
|
||||||
rm -f .rspec || die
|
|
||||||
|
|
||||||
# Avoid bundler-specific specs.
|
|
||||||
rm -f spec/sanity_check_spec.rb || die
|
|
||||||
|
|
||||||
# Avoid broken controller generator specs for now.
|
|
||||||
rm -fr spec/generators/rspec || die
|
|
||||||
|
|
||||||
# Avoid loading rspec/rails explicitly since ammeter/init will also
|
|
||||||
# do this and loading it twice causes an error
|
|
||||||
sed -i -e '/rspec\/rails/ s:^:#:' spec/spec_helper.rb || die
|
|
||||||
}
|
|
@ -1,5 +1,3 @@
|
|||||||
DIST rspec-support-3.3.0-git.tgz 45380 SHA256 cea58331f616e407c4ee25bb0b74bad26dbdc793fd341010d37749dea15e30a2 SHA512 88f0fdbc7609093c8f14bff220a03d0788847315e5ac73c025cd181d84a3ac120c294aca8ffff9a0c11c9f11e35019dc337f9e43fc2c33cabe4856d87e36fa1e WHIRLPOOL 6f355bb1dc71bbb7804fd3d4a4227042bbe0d166ef336e4121730abce52e1596b25b94ae38e72a6284ca2eac6d0eb6146a02f54d08792b1ff5a6320d40524a2a
|
DIST rspec-support-3.3.0-git.tgz 45380 SHA256 cea58331f616e407c4ee25bb0b74bad26dbdc793fd341010d37749dea15e30a2 SHA512 88f0fdbc7609093c8f14bff220a03d0788847315e5ac73c025cd181d84a3ac120c294aca8ffff9a0c11c9f11e35019dc337f9e43fc2c33cabe4856d87e36fa1e WHIRLPOOL 6f355bb1dc71bbb7804fd3d4a4227042bbe0d166ef336e4121730abce52e1596b25b94ae38e72a6284ca2eac6d0eb6146a02f54d08792b1ff5a6320d40524a2a
|
||||||
DIST rspec-support-3.4.0-git.tgz 55405 SHA256 07826d61234ab87ff935c74ce15b5b96a2cc5ad0c66e6aea2ebe906f986081c0 SHA512 a309e86b57c6c0e89c39f9bccf01479a1ef42b51017d4e012de4a223a3d6d7f348362c4b5da3bdaafaf53564761b1c8d4e3d19e1a058923116b40f086a6eb9b7 WHIRLPOOL 62a5c1be1b4fb1ca39965826c1a3ab10af74c6b10c89a37677dc737d10baf9d99c9f73742145ee42f6b06206aabe43710a83014feff8df3d27e70458ed660707
|
|
||||||
DIST rspec-support-3.4.1-git.tgz 55558 SHA256 e5e641ee3e42d8e7bd33927d8b5388f8a4a85f9c3204fbbe29675a8f6fa14116 SHA512 7318d8701d4e38dc9be5b2633c8acbe7d329f9b713da90b8307570b952ede435d2e0f0dcf42e6692491df8a54b81dc8908250739d3916cf11068d37d7b906b40 WHIRLPOOL 4ad29f8e1ff586cf3fe92b74813a17c62e3cc5556a1f66298c6d97f5f8803bddd762289b9fcf3f14efef6142dab010ed5208579a493d41d09d1a947c706659cb
|
|
||||||
DIST rspec-support-3.5.0-git.tgz 59824 SHA256 856a052e7fd6d3a368c543580528495e660bb1ce403333001ba4be48e39a518f SHA512 246d86c131dae12d6ca9040dba800ea5e378cfce083b1840492cc2c968e4d17fe67617332aa77d46817356113f81d8d9584698e4fe9e4873291d18ebe04eacbc WHIRLPOOL ed288c0681b14670e6bbb43c5672d7240c408e98be2927b32d38eb330b5b941d2169c4d3c30b1a0c7f715554f4f67d5399451da466a4a15f4c90c9ce208313b1
|
DIST rspec-support-3.5.0-git.tgz 59824 SHA256 856a052e7fd6d3a368c543580528495e660bb1ce403333001ba4be48e39a518f SHA512 246d86c131dae12d6ca9040dba800ea5e378cfce083b1840492cc2c968e4d17fe67617332aa77d46817356113f81d8d9584698e4fe9e4873291d18ebe04eacbc WHIRLPOOL ed288c0681b14670e6bbb43c5672d7240c408e98be2927b32d38eb330b5b941d2169c4d3c30b1a0c7f715554f4f67d5399451da466a4a15f4c90c9ce208313b1
|
||||||
DIST rspec-support-3.6.0-git.tgz 64987 SHA256 cd02fc3b5fc5cf668ead3192a7bd8301b197c9344433b819c5e1c5fc6ffcd0fd SHA512 550e23ad2da53b445fa5e496eab243ad8c00db69949e50fe9e6c391b77166bbdc94261aae3a2b49c7f2f598abefe40ea4e93940cb493017fcdcc501675c8476e WHIRLPOOL 08ee95290280af2ac1bf811e8016888e9e8157210b7e330cece5e6f543200d14215925701e480684a0f2277687dfe8ceb6b5a4b432fe9f5051aa6272913a2001
|
DIST rspec-support-3.6.0-git.tgz 64987 SHA256 cd02fc3b5fc5cf668ead3192a7bd8301b197c9344433b819c5e1c5fc6ffcd0fd SHA512 550e23ad2da53b445fa5e496eab243ad8c00db69949e50fe9e6c391b77166bbdc94261aae3a2b49c7f2f598abefe40ea4e93940cb493017fcdcc501675c8476e WHIRLPOOL 08ee95290280af2ac1bf811e8016888e9e8157210b7e330cece5e6f543200d14215925701e480684a0f2277687dfe8ceb6b5a4b432fe9f5051aa6272913a2001
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
USE_RUBY="ruby20 ruby21 ruby22"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
|
||||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
|
||||||
|
|
||||||
inherit ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
|
||||||
HOMEPAGE="https://github.com/rspec/rspec-support"
|
|
||||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="3"
|
|
||||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
ruby_add_bdepend "test? ( >=dev-ruby/rspec-3.4.0:3 )"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
|
|
||||||
|
|
||||||
# Remove spec that, by following symlinks, tries to scan pretty much
|
|
||||||
# the whole filesystem.
|
|
||||||
rm spec/rspec/support/caller_filter_spec.rb || die
|
|
||||||
|
|
||||||
# Avoid a spec requiring a specific locale
|
|
||||||
sed -i -e '/copes with encoded strings/ s/RSpec::Support::OS.windows?/true/' spec/rspec/support/differ_spec.rb || die
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
|
||||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
|
||||||
|
|
||||||
inherit ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
|
||||||
HOMEPAGE="https://github.com/rspec/rspec-support"
|
|
||||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="3"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
ruby_add_bdepend "test? ( >=dev-ruby/rspec-3.4.0:3 )"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
|
|
||||||
|
|
||||||
# Remove spec that, by following symlinks, tries to scan pretty much
|
|
||||||
# the whole filesystem.
|
|
||||||
rm spec/rspec/support/caller_filter_spec.rb || die
|
|
||||||
|
|
||||||
# Avoid a spec requiring a specific locale
|
|
||||||
sed -i -e '/copes with encoded strings/ s/RSpec::Support::OS.windows?/true/' spec/rspec/support/differ_spec.rb || die
|
|
||||||
}
|
|
@ -1,27 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_TASK_TEST=""
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_TASK_DOC=""
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
|
||||||
|
|
||||||
inherit ruby-fakegem versionator
|
|
||||||
|
|
||||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
|
||||||
HOMEPAGE="https://github.com/rspec/rspec"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="3"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
SUBVERSION="$(get_version_component_range 1-2)"
|
|
||||||
|
|
||||||
ruby_add_rdepend "
|
|
||||||
=dev-ruby/rspec-core-${SUBVERSION}*
|
|
||||||
=dev-ruby/rspec-expectations-${SUBVERSION}*
|
|
||||||
=dev-ruby/rspec-mocks-${SUBVERSION}*"
|
|
@ -1 +1,2 @@
|
|||||||
|
DIST opengl-0.10.0.gem 565248 SHA256 e3bc0fa92dafe5ece8858259ccc47f156edab3b6671786a75873ae1d05355a89 SHA512 8d85d7f8a25e429b18245a10c186d07a85fdc8dc4e158b0001cde2b6e4bacfe4b09552a3b3fba5e14439d2fdbe000ad23bba89563f58f612f79958283b588dde WHIRLPOOL 53c3ed2ca848e7a10a2089e40a2875aa800cad69143a3a5356805d08a1787b4f8fa8b1a6fb765c71fe1f4bb236531286aecd22b8545abab1cf4981676941bad5
|
||||||
DIST opengl-0.9.2.gem 444416 SHA256 cf421841af7c8beb9768aaf755124e17a09f726ea7c91af0f8cd92941036f2cb SHA512 0a7fe8d064e90df5b0507d667d30c3158671861c944086660470f23950606bb821e431735067dfbb2f9b97ebf68041b4937d4330907c4aa3daeb21d5b7e61c37 WHIRLPOOL 7d014cbfa7c0b3eaa206ad9a3c29e78f1cb03f170a10aa5a537fc8504176e794144591131b2ff0db029907b2ba9204b6a47c59ce733d6f2a4c7c8667a08743f4
|
DIST opengl-0.9.2.gem 444416 SHA256 cf421841af7c8beb9768aaf755124e17a09f726ea7c91af0f8cd92941036f2cb SHA512 0a7fe8d064e90df5b0507d667d30c3158671861c944086660470f23950606bb821e431735067dfbb2f9b97ebf68041b4937d4330907c4aa3daeb21d5b7e61c37 WHIRLPOOL 7d014cbfa7c0b3eaa206ad9a3c29e78f1cb03f170a10aa5a537fc8504176e794144591131b2ff0db029907b2ba9204b6a47c59ce733d6f2a4c7c8667a08743f4
|
||||||
|
@ -0,0 +1,49 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
USE_RUBY="ruby21 ruby22 ruby23 ruby24"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||||
|
|
||||||
|
# Two tests fails but the README already indicates that this may not
|
||||||
|
# work. Additionally these tests require access to video devices such as
|
||||||
|
# /dev/nvidiactl.
|
||||||
|
RUBY_FAKEGEM_TASK_TEST=""
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_NAME="opengl"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc"
|
||||||
|
|
||||||
|
inherit multilib ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="OpenGL / GLUT bindings for ruby"
|
||||||
|
HOMEPAGE="https://github.com/larskanis/opengl"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||||
|
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND+=" virtual/opengl
|
||||||
|
media-libs/freeglut"
|
||||||
|
RDEPEND+=" virtual/opengl
|
||||||
|
media-libs/freeglut"
|
||||||
|
|
||||||
|
each_ruby_configure() {
|
||||||
|
${RUBY} -Cext/opengl extconf.rb || die
|
||||||
|
}
|
||||||
|
|
||||||
|
each_ruby_compile() {
|
||||||
|
emake -C ext/opengl V=1
|
||||||
|
|
||||||
|
cp ext/*/*$(get_modname) lib/opengl/ || die
|
||||||
|
}
|
||||||
|
|
||||||
|
all_ruby_install() {
|
||||||
|
all_fakegem_install
|
||||||
|
|
||||||
|
insinto /usr/share/doc/${PF}/examples
|
||||||
|
doins -r examples/*
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
USE_RUBY="ruby21 ruby22 ruby23 ruby24"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="README.md doc-install/text/*.md"
|
||||||
|
|
||||||
|
inherit ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="An xUnit family unit testing framework for Ruby"
|
||||||
|
HOMEPAGE="https://rubygems.org/gems/test-unit"
|
||||||
|
|
||||||
|
LICENSE="|| ( Ruby GPL-2 ) PSF-2"
|
||||||
|
SLOT="2"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="doc test"
|
||||||
|
|
||||||
|
ruby_add_rdepend "dev-ruby/power_assert"
|
||||||
|
|
||||||
|
all_ruby_prepare() {
|
||||||
|
mv doc doc-install || die "moving doc directory out of the way failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
each_ruby_test() {
|
||||||
|
${RUBY} test/run-test.rb || die "testsuite failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
all_ruby_install() {
|
||||||
|
all_fakegem_install
|
||||||
|
|
||||||
|
newbin "${FILESDIR}"/testrb-3 testrb-2
|
||||||
|
}
|
@ -1,4 +1,2 @@
|
|||||||
DIST timers-4.0.1.gem 14848 SHA256 f45ca1b8ce6b26e29226c2144c512801a9019c3e781054d878c205cb0fd8500d SHA512 4fb0b70d845885bd1863831795b4094a5e282797641cbe95045ed013a5b5caa404da6ed60a148e3c313988c5acdf0042b0021dd476585f5032099895aaef283d WHIRLPOOL 6c33918e5b685dbee889657bf202b71575ece24797b8c629ac27433905e0505c72fe1f15fc75975d35a4e5ddc75e18a2b0aa0626132c5dec8f91daed23bad6db
|
|
||||||
DIST timers-4.1.0.gem 15360 SHA256 4c7a57998202d1e911dd3200e4834bb0c7efd87905670aa24ac22a4813b73e44 SHA512 8cff4c7d211f7f2f13017d6362d29fa91b771d4e1b7e4743c05799aea5002ee926a1563985849e762e7ce2c3b77cc8937999e9cd0e7bb4c528a90751f0f9e173 WHIRLPOOL 41a6e441568e2bbc923a730c2b3ef46dd2b895d346d7b9df9d2c68115540e3dfae8510d0b0ebda93f886217eaf22af4ad00c26667c69d248fa9ca8068edc96d7
|
|
||||||
DIST timers-4.1.1.gem 15360 SHA256 8ccb9a3918a57e0aca8fb52516b4d89b86c553f3df002d4be32bcd4ce2356ce9 SHA512 7652612737b1d20135eae02f02bfefa57c8a6cb6923ec69af32810d6f0fb9e924d727efa66b0832424bc35b6d7099a968eee77dfd2db3803959f517e1ca7f683 WHIRLPOOL 701d31cd868d2ba38432f0164b911e68c4cc0481597c07ea8181c1438f92aae277c885f6105bb7fb53876c5bbef2ea2ddb909d398dffabdb338a6c030a0289eb
|
DIST timers-4.1.1.gem 15360 SHA256 8ccb9a3918a57e0aca8fb52516b4d89b86c553f3df002d4be32bcd4ce2356ce9 SHA512 7652612737b1d20135eae02f02bfefa57c8a6cb6923ec69af32810d6f0fb9e924d727efa66b0832424bc35b6d7099a968eee77dfd2db3803959f517e1ca7f683 WHIRLPOOL 701d31cd868d2ba38432f0164b911e68c4cc0481597c07ea8181c1438f92aae277c885f6105bb7fb53876c5bbef2ea2ddb909d398dffabdb338a6c030a0289eb
|
||||||
DIST timers-4.1.2.gem 15360 SHA256 a7a7148409d5d6a7c04624277f4cc99f7748b40be394afcc4187ada73c2a5d71 SHA512 8c43f6ab09b918fc047056de20e85371929cd6841d7e26dedf54d565585eba040e23cef83c8747eb0ec43df8c9d9cf5915b5ea0ac6f6d551a0b086de3a9f3499 WHIRLPOOL b41d0e36be3c76f7201fce5f77df802e933dc3784a03f9639c558c93dfa302c4a1651df02820ade68de2b7ccf0cc61d904f4a417ae4afa8595ca46ce173cf389
|
DIST timers-4.1.2.gem 15360 SHA256 a7a7148409d5d6a7c04624277f4cc99f7748b40be394afcc4187ada73c2a5d71 SHA512 8c43f6ab09b918fc047056de20e85371929cd6841d7e26dedf54d565585eba040e23cef83c8747eb0ec43df8c9d9cf5915b5ea0ac6f6d551a0b086de3a9f3499 WHIRLPOOL b41d0e36be3c76f7201fce5f77df802e933dc3784a03f9639c558c93dfa302c4a1651df02820ade68de2b7ccf0cc61d904f4a417ae4afa8595ca46ce173cf389
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
|
||||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
|
|
||||||
|
|
||||||
inherit ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="Pure Ruby one-shot and periodic timers"
|
|
||||||
HOMEPAGE="https://github.com/tarcieri/timers"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="4"
|
|
||||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
ruby_add_rdepend "dev-ruby/hitimes"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
rm Gemfile || die
|
|
||||||
sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
|
|
||||||
sed -i -e '/coveralls/ s:^:#:' spec/spec_helper.rb || die
|
|
||||||
sed -i -e '/Coveralls/ s:^:#:' spec/spec_helper.rb || die
|
|
||||||
|
|
||||||
# Remove performance spec due to dependencies and being to dependent
|
|
||||||
# on machine specifics.
|
|
||||||
rm spec/performance_spec.rb
|
|
||||||
|
|
||||||
# Remove rspec3 configuration so we can still run with rspec2.
|
|
||||||
sed -e '/expose/ s:^:#:' -i spec/spec_helper.rb || die
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
USE_RUBY="ruby20 ruby21 ruby22"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
|
||||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
|
|
||||||
|
|
||||||
inherit ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="Pure Ruby one-shot and periodic timers"
|
|
||||||
HOMEPAGE="https://github.com/tarcieri/timers"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="4"
|
|
||||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
ruby_add_rdepend "dev-ruby/hitimes"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
rm Gemfile || die
|
|
||||||
sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
|
|
||||||
sed -i -e '/coveralls/ s:^:#:' spec/spec_helper.rb || die
|
|
||||||
sed -i -e '/Coveralls/ s:^:#:' spec/spec_helper.rb || die
|
|
||||||
|
|
||||||
# Remove performance spec due to dependencies and being to dependent
|
|
||||||
# on machine specifics.
|
|
||||||
rm spec/performance_spec.rb
|
|
||||||
|
|
||||||
# Remove rspec3 configuration so we can still run with rspec2.
|
|
||||||
sed -e '/expose/ s:^:#:' -i spec/spec_helper.rb || die
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue