parent
49dbf2411a
commit
92ec8cb4ee
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST pgadmin3-1.22.1.tar.gz 14667770 BLAKE2B 3222b1a13ebe42e08b1e2aa9a5d893725eb9a352fadb6bec2a06cd05d77a9cafe82d7defca5542a2428924ff0d3705f2233005b03b462006f2b776fd170b7cef SHA512 f190e82317e10b75cb0ebd7cc0c878c4be9c392e33aba44a1356446e4cac92735834a32b1d65999ffc3e36ed130d4cfcc1c25ad5faa3c745e884fccd797331e0
|
||||
DIST pgadmin3-1.22.2.tar.gz 14788481 BLAKE2B fd38ae523bfc554138f56a99ee5fe0aaf2446d3b77416552861d4c3d3d939e553ee160264720af3095f91d270b6c719e078ec29b998c2f4a13739ed34c4c0312 SHA512 dcfc72cc2e33dbf1c9d1ce287f9d1d46eb047c99a165372cb74ef1716098f90f2ce2a8d0cd21b511a1ac8c0569dc7b3c0593208a74641f5a8f29dc9c04e40bbd
|
||||
|
@ -1,16 +0,0 @@
|
||||
diff -Naruw a/pkg/pgadmin3.desktop b/pkg/pgadmin3.desktop
|
||||
--- a/pkg/pgadmin3.desktop 2013-02-22 12:21:19.000000000 -0500
|
||||
+++ b/pkg/pgadmin3.desktop 2015-02-04 15:36:34.845312953 -0500
|
||||
@@ -2,9 +2,9 @@
|
||||
Encoding=UTF-8
|
||||
Name=pgAdmin III
|
||||
Exec=/usr/bin/pgadmin3
|
||||
-Icon=/usr/share/pgadmin3/pgAdmin3.png
|
||||
+Icon=/usr/share/pixmaps/pgadmin3.png
|
||||
Type=Application
|
||||
-Categories=Application;Development;
|
||||
-MimeType=text/html
|
||||
+Categories=Development;
|
||||
+MimeType=text/html;
|
||||
DocPath=/usr/share/pgadmin3/docs/en_US/index.html
|
||||
Comment=PostgreSQL Tools
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils multilib versionator wxwidgets
|
||||
|
||||
DESCRIPTION="wxWidgets GUI for PostgreSQL"
|
||||
HOMEPAGE="http://www.pgadmin.org/"
|
||||
SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
|
||||
SLOT="0"
|
||||
IUSE="debug +databasedesigner"
|
||||
|
||||
DEPEND="
|
||||
x11-libs/wxGTK:3.0=[X]
|
||||
>=dev-db/postgresql-8.4.0:=
|
||||
>=dev-libs/libxml2-2.6.18
|
||||
>=dev-libs/libxslt-1.1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
local pgslot=$(postgresql-config show)
|
||||
|
||||
if [[ ${pgslot//.} < 84 ]] ; then
|
||||
eerror "PostgreSQL slot must be set to 8.4 or higher."
|
||||
eerror " postgresql-config set 8.4"
|
||||
die "PostgreSQL slot is not set to 8.4 or higher."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/pgadmin3-desktop.patch"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
setup-wxwidgets
|
||||
|
||||
econf --with-wx-version=${WX_GTK_VER} \
|
||||
$(use_enable debug) \
|
||||
$(use_enable databasedesigner)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png
|
||||
|
||||
domenu "${S}/pkg/pgadmin3.desktop"
|
||||
|
||||
# Fixing world-writable files
|
||||
fperms -R go-w /usr/share
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils wxwidgets
|
||||
|
||||
DESCRIPTION="wxWidgets GUI for PostgreSQL"
|
||||
HOMEPAGE="https://www.pgadmin.org/"
|
||||
SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
SLOT="0"
|
||||
IUSE="debug +databasedesigner"
|
||||
|
||||
DEPEND="
|
||||
>=dev-db/postgresql-8.4.0:=
|
||||
>=dev-libs/libxml2-2.6.18
|
||||
>=dev-libs/libxslt-1.1
|
||||
x11-libs/wxGTK:3.0=[X]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-desktop-r1.patch" )
|
||||
|
||||
src_configure() {
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
setup-wxwidgets
|
||||
|
||||
econf --with-wx-version=${WX_GTK_VER} \
|
||||
$(use_enable debug) \
|
||||
$(use_enable databasedesigner)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png
|
||||
|
||||
domenu "${S}/pkg/pgadmin3.desktop"
|
||||
|
||||
# Fixing world-writable files
|
||||
fperms -R go-w /usr/share
|
||||
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST hyperscan-4.4.1.tar.gz 1515106 BLAKE2B 7bb3dc6ede1132818c373647515ca84db3fcd8a8e4b73a97813562832b6086ae179830803492d9701bff6f6766ccdf87557171c3a408a5a420db3fdf09b68256 SHA512 5e3463061110f81ad145dccf566f8308eed7bfd6711af59461b59903dd77b20963df3dd0f0ec8fc925837e76b658352b420b1ce210c4c91a4cb128a4d5f83056
|
||||
DIST hyperscan-4.5.2.tar.gz 1521484 BLAKE2B e299a80d252ca8cf840dc9d922713b3a4b692d5596ca2cc2297467e3258da9b6b3190a2b3f4e0865dc44e4ab343205b83b8f694ced091e948d82c0466cba76c7 SHA512 13bb6c11c8366f168f2ba1eaf5d67560a68668d699604a7884f7a3e7f54ad2dcdd41d562dc35d029b2ad715d562252eb6ef57e97be319e2aa9bdcd3437d8d926
|
||||
DIST hyperscan-4.6.0.tar.gz 1557704 BLAKE2B 978b6b3aa83962602df9d3cd5eaf433d15875694fbb34868f594fb930260d57e52f2ac6183ca588096de42ac54a4a68c420b4e7fb2a2c4c50e1e078254e6785e SHA512 17bddc0f8085615df633f5d050e21a448bda781512990a1efe59286002114322372d59d165a113dfe5548f77102576208e1c667454ab40e46c0a96208a4fdd57
|
||||
DIST hyperscan-4.7.0.tar.gz 1738159 BLAKE2B 88bcfab979b0eb6177404e65cc1124d6fc9f4615346823fd6d5156794134e344d0141be41aeb4d850620947f53471cc8b78ed4833efaa7c075ec3c88d8670ee7 SHA512 ec32cecc98165ab590cefe37c31aa9cbad813aedd6bec72760574a8ece2a8aefecc229b1d76a2e90c54a51302d1db70620278dbb96d47091ebf846e9f8c4ff08
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="High-performance regular expression matching library"
|
||||
SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
HOMEPAGE="https://01.org/hyperscan"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cpu_flags_x86_ssse3 static-libs"
|
||||
|
||||
DEPEND="dev-util/ragel
|
||||
=dev-lang/python-2*
|
||||
dev-libs/boost
|
||||
net-libs/libpcap"
|
||||
|
||||
REQUIRED_USE="cpu_flags_x86_ssse3"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=$(usex static-libs OFF ON)
|
||||
-DBUILD_STATIC_AND_SHARED=$(usex static-libs ON OFF)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="High-performance regular expression matching library"
|
||||
SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
HOMEPAGE="https://01.org/hyperscan"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cpu_flags_x86_ssse3"
|
||||
|
||||
REQUIRED_USE="cpu_flags_x86_ssse3"
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
@ -1,2 +1,2 @@
|
||||
DIST pcre-8.40.tar.bz2 1560119 BLAKE2B 121d2c9f8c403a663fe27a68030faf09a06dec5e6a25ae8d62e06887850e219e87c71a14f6ded084fa25b719067acb71c89c66c81f6f09f55dcc51feaf41e737 SHA512 b4c27eafbdf33bd7a1384655b1936f4be3bc6745c072347eb26e988896c52664bd85ac42444da1be78b6e20f45b6c7e5921f5f20f5b0741b5bd3d9844e5bd4e2
|
||||
DIST pcre-8.41.tar.bz2 1561874 BLAKE2B 2a97a859237994137190da00c30ba7c15e8631b82b7f200858cf722f1fdd0405d36c24bb716eb099d8107f2f829a85fd7d3497f36cdac51769636989331e7a79 SHA512 cc9cdbeb98c010fe4f093a019bebfb91965dae4c6a48f8e49c38ec8df7d9da7f0d32c12fc58f22c51f1c2f010e72b65bcbf8bbf180060e93edf464fa9a7c3551
|
||||
DIST pcre-8.42.tar.bz2 1570171 BLAKE2B f68bac3cf8ff5a81ccba31fd4d8926e05143a25a756e7daba9793467cec9cd8a4766f394f958ffca088b472463a43a31ea77014f2d4505082c1f366a18f30c7a SHA512 b47b923108f6ee0c31409b79d0888314271b482a22590e164d02f21d2112fba22dd0342c24f9ba0f5fcc5b8c65550bad08c476e30a2fc79b34ecf4601ed82f3d
|
||||
|
@ -1,68 +0,0 @@
|
||||
https://bugs.gentoo.org/609592
|
||||
https://bugs.exim.org/show_bug.cgi?id=2035
|
||||
|
||||
From 7ddfbe9d0b9f43402f8043e940172a318cc407c6 Mon Sep 17 00:00:00 2001
|
||||
From: Zoltan Herczeg <hzmester@freemail.hu>
|
||||
Date: Tue, 14 Feb 2017 08:48:18 +0000
|
||||
Subject: [PATCH] Fix a missing else in the JIT compiler reported by
|
||||
'idaifish'.
|
||||
|
||||
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1680 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
||||
---
|
||||
ChangeLog | 2 ++
|
||||
pcre_jit_compile.c | 2 +-
|
||||
testdata/testinput12 | 2 ++
|
||||
testdata/testoutput12 | 2 ++
|
||||
4 files changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/ChangeLog b/ChangeLog
|
||||
index 373ee8422ef5..d813935539bd 100644
|
||||
--- a/ChangeLog
|
||||
+++ b/ChangeLog
|
||||
@@ -15,6 +15,8 @@ mode with --only-matching matched several lines, it restarted scanning at the
|
||||
next line instead of moving on to the end of the matched string, which can be
|
||||
several lines after the start.
|
||||
|
||||
+3. Fix a missing else in the JIT compiler reported by 'idaifish'.
|
||||
+
|
||||
|
||||
Version 8.40 11-January-2017
|
||||
----------------------------
|
||||
diff --git a/pcre_jit_compile.c b/pcre_jit_compile.c
|
||||
index c301f05d5e3f..6ef8e48ff5e8 100644
|
||||
--- a/pcre_jit_compile.c
|
||||
+++ b/pcre_jit_compile.c
|
||||
@@ -8110,7 +8110,7 @@ if (opcode == OP_COND || opcode == OP_SCOND)
|
||||
|
||||
if (*matchingpath == OP_FAIL)
|
||||
stacksize = 0;
|
||||
- if (*matchingpath == OP_RREF)
|
||||
+ else if (*matchingpath == OP_RREF)
|
||||
{
|
||||
stacksize = GET2(matchingpath, 1);
|
||||
if (common->currententry == NULL)
|
||||
diff --git a/testdata/testinput12 b/testdata/testinput12
|
||||
index 944be6943f5e..89ed4564bcd4 100644
|
||||
--- a/testdata/testinput12
|
||||
+++ b/testdata/testinput12
|
||||
@@ -104,4 +104,6 @@ and a couple of things that are different with JIT. --/
|
||||
/(.|.)*?bx/
|
||||
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabax
|
||||
|
||||
+/((?(?!))x)(?'name')(?1)/S++
|
||||
+
|
||||
/-- End of testinput12 --/
|
||||
diff --git a/testdata/testoutput12 b/testdata/testoutput12
|
||||
index 87911086f498..7632c4e58013 100644
|
||||
--- a/testdata/testoutput12
|
||||
+++ b/testdata/testoutput12
|
||||
@@ -201,4 +201,6 @@ No match, mark = m (JIT)
|
||||
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabax
|
||||
Error -8 (match limit exceeded)
|
||||
|
||||
+/((?(?!))x)(?'name')(?1)/S++
|
||||
+
|
||||
/-- End of testinput12 --/
|
||||
--
|
||||
2.12.0
|
||||
|
@ -1,69 +0,0 @@
|
||||
From 5be027b624bc866702808abadfe5f99360414086 Mon Sep 17 00:00:00 2001
|
||||
From: Philip Hazel <ph10@cam.ac.uk>
|
||||
Date: Fri, 10 Feb 2017 17:47:34 +0000
|
||||
Subject: [PATCH] Correct fix for pcre2grep multiline with --only-matching.
|
||||
|
||||
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1678 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
||||
---
|
||||
ChangeLog | 5 +++++
|
||||
configure.ac | 6 +++---
|
||||
pcregrep.c | 20 +++++++++++++++-----
|
||||
3 files changed, 23 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/ChangeLog b/ChangeLog
|
||||
index ab4e053e601e..373ee8422ef5 100644
|
||||
--- a/ChangeLog
|
||||
+++ b/ChangeLog
|
||||
@@ -10,6 +10,11 @@ Version 8.41
|
||||
1. Fixed typo in CMakeLists.txt (wrong number of arguments for
|
||||
PCRE_STATIC_RUNTIME (affects MSVC only).
|
||||
|
||||
+2. Issue 1 for 8.40 below was not correctly fixed. If pcregrep in multiline
|
||||
+mode with --only-matching matched several lines, it restarted scanning at the
|
||||
+next line instead of moving on to the end of the matched string, which can be
|
||||
+several lines after the start.
|
||||
+
|
||||
|
||||
Version 8.40 11-January-2017
|
||||
----------------------------
|
||||
diff --git a/pcregrep.c b/pcregrep.c
|
||||
index fd2a67622baa..2070c057e4a0 100644
|
||||
--- a/pcregrep.c
|
||||
+++ b/pcregrep.c
|
||||
@@ -1804,11 +1804,6 @@ while (ptr < endptr)
|
||||
if (line_buffered) fflush(stdout);
|
||||
rc = 0; /* Had some success */
|
||||
|
||||
- /* If the current match ended past the end of the line (only possible
|
||||
- in multiline mode), we are done with this line. */
|
||||
-
|
||||
- if ((unsigned int)offsets[1] > linelength) goto END_ONE_MATCH;
|
||||
-
|
||||
startoffset = offsets[1]; /* Restart after the match */
|
||||
if (startoffset <= oldstartoffset)
|
||||
{
|
||||
@@ -1818,6 +1813,21 @@ while (ptr < endptr)
|
||||
if (utf8)
|
||||
while ((matchptr[startoffset] & 0xc0) == 0x80) startoffset++;
|
||||
}
|
||||
+
|
||||
+ /* If the current match ended past the end of the line (only possible
|
||||
+ in multiline mode), we must move on to the line in which it did end
|
||||
+ before searching for more matches. */
|
||||
+
|
||||
+ while (startoffset > (int)linelength)
|
||||
+ {
|
||||
+ matchptr = ptr += linelength + endlinelength;
|
||||
+ filepos += (int)(linelength + endlinelength);
|
||||
+ linenumber++;
|
||||
+ startoffset -= (int)(linelength + endlinelength);
|
||||
+ t = end_of_line(ptr, endptr, &endlinelength);
|
||||
+ linelength = t - ptr - endlinelength;
|
||||
+ }
|
||||
+
|
||||
goto ONLY_MATCHING_RESTART;
|
||||
}
|
||||
}
|
||||
--
|
||||
2.12.0
|
||||
|
@ -1,25 +0,0 @@
|
||||
From 8b0fdf16e57ce9a653a0a03c39f6cc061e8122e8 Mon Sep 17 00:00:00 2001
|
||||
From: Philip Hazel <ph10@cam.ac.uk>
|
||||
Date: Sun, 12 Feb 2017 13:28:11 +0000
|
||||
Subject: [PATCH] Fix bug in most recent fix for multiline pcre2grep.
|
||||
|
||||
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1679 2f5784b3-3f2a-0410-8824-cb99058d5e15
|
||||
---
|
||||
pcregrep.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/pcregrep.c b/pcregrep.c
|
||||
index 2070c057e4a0..3cd70eeb4261 100644
|
||||
--- a/pcregrep.c
|
||||
+++ b/pcregrep.c
|
||||
@@ -1826,6 +1826,7 @@ while (ptr < endptr)
|
||||
startoffset -= (int)(linelength + endlinelength);
|
||||
t = end_of_line(ptr, endptr, &endlinelength);
|
||||
linelength = t - ptr - endlinelength;
|
||||
+ length = (size_t)(endptr - ptr);
|
||||
}
|
||||
|
||||
goto ONLY_MATCHING_RESTART;
|
||||
--
|
||||
2.12.0
|
||||
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils multilib libtool flag-o-matic toolchain-funcs multilib-minimal
|
||||
|
||||
DESCRIPTION="Perl-compatible regular expression library"
|
||||
HOMEPAGE="http://www.pcre.org/"
|
||||
MY_P="pcre-${PV/_rc/-RC}"
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
# Only the final releases are available here.
|
||||
SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
|
||||
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2"
|
||||
else
|
||||
SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="3"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="bzip2 +cxx +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib"
|
||||
REQUIRED_USE="readline? ( !libedit )
|
||||
libedit? ( !readline )"
|
||||
|
||||
RDEPEND="bzip2? ( app-arch/bzip2 )
|
||||
zlib? ( sys-libs/zlib )
|
||||
libedit? ( dev-libs/libedit )
|
||||
readline? ( sys-libs/readline:0= )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${RDEPEND}
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20131008-r2
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/pcre-config
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-pcregrep-multiline-{1,2}.patch
|
||||
"${FILESDIR}"/${P}-jit-else.patch #609592
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${PATCHES[@]}"
|
||||
sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \
|
||||
$(multilib_native_use_enable bzip2 pcregrep-libbz2) \
|
||||
$(use_enable cxx cpp) \
|
||||
$(use_enable jit) $(use_enable jit pcregrep-jit) \
|
||||
$(use_enable pcre16) \
|
||||
$(use_enable pcre32) \
|
||||
$(multilib_native_use_enable libedit pcretest-libedit) \
|
||||
$(multilib_native_use_enable readline pcretest-libreadline) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable unicode utf) $(use_enable unicode unicode-properties) \
|
||||
$(multilib_native_use_enable zlib pcregrep-libz) \
|
||||
--enable-pcre8 \
|
||||
--enable-shared \
|
||||
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=")
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
$(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \
|
||||
install
|
||||
gen_usr_ldscript -a pcre
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /$(get_libdir)/libpcre.so.0
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify /$(get_libdir)/libpcre.so.0
|
||||
}
|
Binary file not shown.
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=BMC
|
||||
DIST_VERSION=1.5
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Automate interaction with bugzilla"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-perl/WWW-Mechanize-1.300.0
|
||||
>=dev-perl/Params-Validate-0.880.0
|
||||
>=dev-perl/Crypt-SSLeay-0.570.0
|
||||
>=dev-perl/Class-MethodMaker-1.80.0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
perl-module_src_prepare
|
||||
mkdir "${S}"/lib || die "Can't mkdir lib"
|
||||
cp -r "${S}"/{WWW,lib} || die "Can't copy WWW"
|
||||
}
|
||||
|
||||
# Network tests are broken
|
||||
DIST_TEST="skip"
|
||||
src_test() {
|
||||
local MODULES=(
|
||||
"WWW::Bugzilla ${DIST_VERSION}"
|
||||
"WWW::Bugzilla::Search 0.1"
|
||||
)
|
||||
local failed=()
|
||||
for dep in "${MODULES[@]}"; do
|
||||
ebegin "Compile testing ${dep}"
|
||||
perl -Mblib="${S}" -M"${dep} ()" -e1
|
||||
eend $? || failed+=( "$dep" )
|
||||
done
|
||||
if [[ ${failed[@]} ]]; then
|
||||
echo
|
||||
eerror "One or more modules failed compile:";
|
||||
for dep in "${failed[@]}"; do
|
||||
eerror " ${dep}"
|
||||
done
|
||||
die "Failing due to module compilation errors";
|
||||
fi
|
||||
perl-module_src_test
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=SZBALINT
|
||||
DIST_VERSION=4.17
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl extension interface for libcurl"
|
||||
|
||||
LICENSE="|| ( MPL-1.0 MPL-1.1 MIT )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-misc/curl"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4.150.0-curl-7.50.2.patch
|
||||
"${FILESDIR}"/${PN}-4.17-dotinc.patch
|
||||
"${FILESDIR}"/${PN}-4.17-networktests.patch
|
||||
)
|
||||
PERL_RM_FILES=("t/meta.t" "t/pod-coverage.t" "t/pod.t")
|
@ -0,0 +1,26 @@
|
||||
From 326705b559b7e488314a776d171aef40e687e91b Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentnl@gentoo.org>
|
||||
Date: Fri, 16 Jun 2017 13:42:13 +1200
|
||||
Subject: Fix for '.' in @INC removal on Perl 5.26+
|
||||
|
||||
Bug: https://rt.cpan.org/Ticket/Display.html?id=122110
|
||||
---
|
||||
Makefile.PL | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index fc1a55a..b455410 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -1,7 +1,7 @@
|
||||
# Makefile.PL for Perl module WWW::Curl
|
||||
# Check out the README file for more information.
|
||||
|
||||
-use inc::Module::Install;
|
||||
+use lib q[.]; use inc::Module::Install;
|
||||
|
||||
name 'WWW-Curl';
|
||||
abstract 'Perl extension interface for libcurl';
|
||||
--
|
||||
2.16.2
|
||||
|
@ -0,0 +1,190 @@
|
||||
From 7102fd54eb385920ddf41c59e1196fc221ad9ea2 Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentnl@gentoo.org>
|
||||
Date: Wed, 21 Mar 2018 21:08:45 +1300
|
||||
Subject: Disable network tests w/ NO_NETWORK_TESTING set.
|
||||
|
||||
Gentoo users can opt-in to these tests by doing:
|
||||
|
||||
DIST_TEST_OVERRIDE="do network"
|
||||
|
||||
Or Similar
|
||||
---
|
||||
t/01basic.t | 6 ++++++
|
||||
t/02callbacks.t | 7 +++++++
|
||||
t/04abort-test.t | 7 +++++++
|
||||
t/05progress.t | 7 +++++++
|
||||
t/08ssl.t | 7 +++++++
|
||||
t/09times.t | 7 +++++++
|
||||
t/14duphandle.t | 7 ++++++-
|
||||
t/15duphandle-callback.t | 7 ++++++-
|
||||
t/18twinhandles.t | 7 ++++++-
|
||||
t/21write-to-scalar.t | 6 ++++++
|
||||
10 files changed, 65 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/t/01basic.t b/t/01basic.t
|
||||
index 93e12b1..77ca444 100644
|
||||
--- a/t/01basic.t
|
||||
+++ b/t/01basic.t
|
||||
@@ -1,5 +1,11 @@
|
||||
#!perl
|
||||
|
||||
+BEGIN {
|
||||
+ if ( $ENV{NO_NETWORK_TESTING} ) {
|
||||
+ print "1..0 # SKIP NO_NETWORK_TESTING set";
|
||||
+ exit 0;
|
||||
+ }
|
||||
+}
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More tests => 19;
|
||||
diff --git a/t/02callbacks.t b/t/02callbacks.t
|
||||
index 76aff4f..344b4c5 100644
|
||||
--- a/t/02callbacks.t
|
||||
+++ b/t/02callbacks.t
|
||||
@@ -1,5 +1,12 @@
|
||||
#!perl
|
||||
|
||||
+BEGIN {
|
||||
+ if ( $ENV{NO_NETWORK_TESTING} ) {
|
||||
+ print "1..0 # SKIP NO_NETWORK_TESTING set";
|
||||
+ exit 0;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More tests => 7;
|
||||
diff --git a/t/04abort-test.t b/t/04abort-test.t
|
||||
index c653c49..dcba4fd 100644
|
||||
--- a/t/04abort-test.t
|
||||
+++ b/t/04abort-test.t
|
||||
@@ -1,5 +1,12 @@
|
||||
#!perl
|
||||
|
||||
+BEGIN {
|
||||
+ if ( $ENV{NO_NETWORK_TESTING} ) {
|
||||
+ print "1..0 # SKIP NO_NETWORK_TESTING set";
|
||||
+ exit 0;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More tests => 8;
|
||||
diff --git a/t/05progress.t b/t/05progress.t
|
||||
index 52129ea..25a08fa 100644
|
||||
--- a/t/05progress.t
|
||||
+++ b/t/05progress.t
|
||||
@@ -1,5 +1,12 @@
|
||||
#!perl
|
||||
|
||||
+BEGIN {
|
||||
+ if ( $ENV{NO_NETWORK_TESTING} ) {
|
||||
+ print "1..0 # SKIP NO_NETWORK_TESTING set";
|
||||
+ exit 0;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More tests => 16;
|
||||
diff --git a/t/08ssl.t b/t/08ssl.t
|
||||
index 7374e06..d332d37 100644
|
||||
--- a/t/08ssl.t
|
||||
+++ b/t/08ssl.t
|
||||
@@ -1,5 +1,12 @@
|
||||
#!perl
|
||||
|
||||
+BEGIN {
|
||||
+ if ( $ENV{NO_NETWORK_TESTING} ) {
|
||||
+ print "1..0 # SKIP NO_NETWORK_TESTING set";
|
||||
+ exit 0;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More;
|
||||
diff --git a/t/09times.t b/t/09times.t
|
||||
index 6b3c43a..49bf76a 100644
|
||||
--- a/t/09times.t
|
||||
+++ b/t/09times.t
|
||||
@@ -1,5 +1,12 @@
|
||||
#!perl
|
||||
|
||||
+BEGIN {
|
||||
+ if ( $ENV{NO_NETWORK_TESTING} ) {
|
||||
+ print "1..0 # SKIP NO_NETWORK_TESTING set";
|
||||
+ exit 0;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More tests => 19;
|
||||
diff --git a/t/14duphandle.t b/t/14duphandle.t
|
||||
index f56ac57..f4211d0 100644
|
||||
--- a/t/14duphandle.t
|
||||
+++ b/t/14duphandle.t
|
||||
@@ -1,5 +1,10 @@
|
||||
#!perl
|
||||
-
|
||||
+BEGIN {
|
||||
+ if ( $ENV{NO_NETWORK_TESTING} ) {
|
||||
+ print "1..0 # SKIP NO_NETWORK_TESTING set";
|
||||
+ exit 0;
|
||||
+ }
|
||||
+}
|
||||
use strict;
|
||||
use warnings;
|
||||
use lib 'inc';
|
||||
diff --git a/t/15duphandle-callback.t b/t/15duphandle-callback.t
|
||||
index 3c5ecd0..ee67b8a 100644
|
||||
--- a/t/15duphandle-callback.t
|
||||
+++ b/t/15duphandle-callback.t
|
||||
@@ -1,5 +1,10 @@
|
||||
#!perl
|
||||
-
|
||||
+BEGIN {
|
||||
+ if ( $ENV{NO_NETWORK_TESTING} ) {
|
||||
+ print "1..0 # SKIP NO_NETWORK_TESTING set";
|
||||
+ exit 0;
|
||||
+ }
|
||||
+}
|
||||
use strict;
|
||||
use warnings;
|
||||
use lib 'inc';
|
||||
diff --git a/t/18twinhandles.t b/t/18twinhandles.t
|
||||
index 5b0b86b..a6acdb7 100644
|
||||
--- a/t/18twinhandles.t
|
||||
+++ b/t/18twinhandles.t
|
||||
@@ -1,5 +1,10 @@
|
||||
#!perl
|
||||
-
|
||||
+BEGIN {
|
||||
+ if ( $ENV{NO_NETWORK_TESTING} ) {
|
||||
+ print "1..0 # SKIP NO_NETWORK_TESTING set";
|
||||
+ exit 0;
|
||||
+ }
|
||||
+}
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More tests => 12;
|
||||
diff --git a/t/21write-to-scalar.t b/t/21write-to-scalar.t
|
||||
index 85d916e..6b691b5 100644
|
||||
--- a/t/21write-to-scalar.t
|
||||
+++ b/t/21write-to-scalar.t
|
||||
@@ -1,4 +1,10 @@
|
||||
#!perl
|
||||
+BEGIN {
|
||||
+ if ( $ENV{NO_NETWORK_TESTING} ) {
|
||||
+ print "1..0 # SKIP NO_NETWORK_TESTING set";
|
||||
+ exit 0;
|
||||
+ }
|
||||
+}
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More 'no_plan';
|
||||
--
|
||||
2.16.2
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=GAAS
|
||||
DIST_VERSION=6.02
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Parse /robots.txt file"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND="
|
||||
!<dev-perl/libwww-perl-6
|
||||
>=dev-perl/URI-1.10
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,3 +1,4 @@
|
||||
DIST WebService-MusicBrainz-0.93.tar.gz 23378 BLAKE2B 4cd83874bd918acc8788a6fceeb7f96e391b3f8467ee7a1140395248e815017c94d05cd7081623114d9fee2b28671acc1356fc2a618408956266a079eb6baf5c SHA512 52b61dc10dd406aafec3eaac01aa7cebd240176bc3ef10fd00be543b146ac23ef8f90ec6c1bab37ea5440292cf3fd9f599bc0df92a09d749f3df4f7c546ac2c8
|
||||
DIST WebService-MusicBrainz-0.94.tar.gz 29800 BLAKE2B 87fc1a7a24a05d45faaca9f382bc057a553ad3f68967463670d67b6b8d826ded33fa3175a708c36b231374c4afd0b10e93877605d374fe4f4ee2da248ca6bc47 SHA512 4c73aa4e1407bb17567e0ad618771ffae47aa87925ef516640af6bb16e4dde2657a5c16bfa2dea2379b67812a2eee253d0642e4b2d73d43929d031f5917e51f0
|
||||
DIST WebService-MusicBrainz-1.0.2.tar.gz 9547 BLAKE2B 58d33745a1207eb5417fcc2cc91c66517dca1e8cf3e9ed9afccbd5dc785a200ee9c4d60e9bdd02694fff99612a8d0771aa4c0c0aef520f60eef4dc739ef0c7ef SHA512 fc5f2744ad52d01e671c6dfcf011c334762f3655d200e47ab8aa48752755a74530f854870961243e2ccea727b287df549fbebe579c6ca5bb70d94edf5c508ce6
|
||||
DIST WebService-MusicBrainz-1.0.4.tar.gz 9937 BLAKE2B f57dc8edf4649bd1ee69d105cb6a1e885f695065f319e2537e1aa24a44560d19b2a947b98c2ad4fde0a965b93b3b3a9a562e6f6f6139d5694599e246735556d0 SHA512 91442fe4696a4f9ac1434cc9dc8d3a16d2e3a8ccd3434f5e4ac642ffba0d56db6583175283c0a1a75365cdc65dbb4516bfa6182be568de16767fba3676f2368b
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=BFAIST
|
||||
DIST_VERSION=1.0.4
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Web service API to MusicBrainz database"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
PATCHES=( "${FILESDIR}/1.0.2-no-network-testing.patch" )
|
||||
RDEPEND="
|
||||
>=dev-perl/Mojolicious-7.130.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-perl/Module-Build-0.420.0
|
||||
"
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=JRENNIE
|
||||
DIST_VERSION=1.49
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Direct perl interface to WordNet database"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-dicts/wordnet"
|
||||
RDEPEND="${DEPEND}"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.49-paths.patch"
|
||||
"${FILESDIR}/${PN}-1.49-test-counts.patch"
|
||||
"${FILESDIR}/${PN}-1.49-harness.patch"
|
||||
)
|
@ -0,0 +1,31 @@
|
||||
From a29056d2dca8cfb27750e391a95dd2f612a02a87 Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentnl@gentoo.org>
|
||||
Date: Wed, 21 Mar 2018 22:28:11 +1300
|
||||
Subject: Reorganize into proper test structure to make harness work
|
||||
|
||||
---
|
||||
MANIFEST | 2 +-
|
||||
test.pl => t/wnqd.t | 0
|
||||
2 files changed, 1 insertion(+), 1 deletion(-)
|
||||
rename test.pl => t/wnqd.t (100%)
|
||||
|
||||
diff --git a/MANIFEST b/MANIFEST
|
||||
index 6b05bf0..3c8aeaa 100644
|
||||
--- a/MANIFEST
|
||||
+++ b/MANIFEST
|
||||
@@ -1,7 +1,7 @@
|
||||
ChangeLog
|
||||
Makefile.PL
|
||||
README
|
||||
-test.pl
|
||||
+t/wnqd.t
|
||||
QueryData.pm
|
||||
MANIFEST
|
||||
META.yml Module meta-data (added by MakeMaker)
|
||||
diff --git a/test.pl b/t/wnqd.t
|
||||
similarity index 100%
|
||||
rename from test.pl
|
||||
rename to t/wnqd.t
|
||||
--
|
||||
2.16.2
|
||||
|
@ -0,0 +1,48 @@
|
||||
From 4efc840a9f8041c3d08de8e06d5b5386fca94e4a Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentnl@gentoo.org>
|
||||
Date: Wed, 21 Mar 2018 22:15:30 +1300
|
||||
Subject: Use system wordnet path instead of usr/local
|
||||
|
||||
---
|
||||
Makefile.PL | 2 +-
|
||||
QueryData.pm | 4 ++--
|
||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index d192f6d..1932c8f 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -5,7 +5,7 @@ use ExtUtils::MakeMaker;
|
||||
# $wnHomePC). These need to be synchronized. I need to import those
|
||||
# variables from QueryData.pm.
|
||||
|
||||
-die "*** Please set the WNHOME environment variable to the location of your\n*** WordNet installation. QueryData.pm will not work otherwise.\n*** Alternatively, you can make the installation in the default\n*** location, C:\\Program Files\\WordNet\\3.0 on Windows, or /usr/local/WordNet-3.0 on unix.\n" unless exists $ENV{WNHOME} or exists $ENV{WNSEARCHDIR} or -d "C:\\Program Files\\WordNet\\3.0" or -d "/usr/local/WordNet-3.0";
|
||||
+die "*** Please set the WNHOME environment variable to the location of your\n*** WordNet installation. QueryData.pm will not work otherwise.\n*** Alternatively, you can make the installation in the default\n*** location, C:\\Program Files\\WordNet\\3.0 on Windows, or /usr/share/wordnet on unix.\n" unless exists $ENV{WNHOME} or exists $ENV{WNSEARCHDIR} or -d "C:\\Program Files\\WordNet\\3.0" or -d "/usr/share/wordnet";
|
||||
|
||||
WriteMakefile(
|
||||
'dist' => { 'COMPRESS' => 'gzip', 'SUFFIX' => '.gz', },
|
||||
diff --git a/QueryData.pm b/QueryData.pm
|
||||
index ee27ee6..fc6168a 100644
|
||||
--- a/QueryData.pm
|
||||
+++ b/QueryData.pm
|
||||
@@ -201,7 +201,7 @@ my @excFile = ("", "noun.exc", "verb.exc", "adj.exc", "adv.exc");
|
||||
my @indexFile = ("", "index.noun", "index.verb", "index.adj", "index.adv");
|
||||
my @dataFile = ("", "data.noun", "data.verb", "data.adj", "data.adv");
|
||||
|
||||
-my $wnHomeUnix = defined($ENV{"WNHOME"}) ? $ENV{"WNHOME"} : "/usr/local/WordNet-3.0";
|
||||
+my $wnHomeUnix = defined($ENV{"WNHOME"}) ? $ENV{"WNHOME"} : "/usr/share/wordnet";
|
||||
my $wnHomePC = defined($ENV{"WNHOME"}) ? $ENV{"WNHOME"} : "C:\\Program Files\\WordNet\\3.0";
|
||||
my $wnPrefixUnix = defined($ENV{"WNSEARCHDIR"}) ? $ENV{"WNSEARCHDIR"} : "$wnHomeUnix/dict";
|
||||
my $wnPrefixPC = defined($ENV{"WNSEARCHDIR"}) ? $ENV{"WNSEARCHDIR"} : "$wnHomePC\\dict";
|
||||
@@ -1113,7 +1113,7 @@ QueryData knows about two environment variables, WNHOME and
|
||||
WNSEARCHDIR. If WNSEARCHDIR is set, QueryData looks for WordNet data
|
||||
files there. Otherwise, QueryData looks for WordNet data files in
|
||||
WNHOME/dict (WNHOME\dict on a PC). If WNHOME is not set, it defaults
|
||||
-to "/usr/local/WordNet-3.0" on Unix and "C:\Program Files\WordNet\3.0"
|
||||
+to "/usr/share/wordnet" on Unix and "C:\Program Files\WordNet\3.0"
|
||||
on a PC. Normally, all you have to do is to set the WNHOME variable
|
||||
to the location where you unpacked your WordNet distribution. The
|
||||
database files are normally unpacked to the "dict" subdirectory.
|
||||
--
|
||||
2.16.2
|
||||
|
@ -0,0 +1,43 @@
|
||||
From fe7f10589ee4da4a834e1f6355bb203de644920e Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentnl@gentoo.org>
|
||||
Date: Wed, 21 Mar 2018 22:24:09 +1300
|
||||
Subject: Remove tests dependent on specific counts of dictionary terms
|
||||
|
||||
This was never going to be portable against newer wordnet data releases
|
||||
---
|
||||
test.pl | 10 +++-------
|
||||
1 file changed, 3 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/test.pl b/test.pl
|
||||
index 537aa7b..386c66c 100644
|
||||
--- a/test.pl
|
||||
+++ b/test.pl
|
||||
@@ -5,7 +5,8 @@
|
||||
# $Id: test.pl,v 1.40 2007/05/07 01:08:31 jrennie Exp $
|
||||
|
||||
my $i = 1;
|
||||
-BEGIN {
|
||||
+BEGIN {
|
||||
+ print "1..103\n";
|
||||
$| = 1;
|
||||
}
|
||||
END { print "not ok 1\n" unless $loaded; }
|
||||
@@ -162,14 +163,9 @@ $foo[1] == 2
|
||||
? print "ok ", $i++, "\n" : print "not ok ", $i++, "\n";
|
||||
($wn->querySense('acropetal#a#1', 'dmnc'))[0] eq 'botany#n#2'
|
||||
? print "ok ", $i++, "\n" : print "not ok ", $i++, "\n";
|
||||
-scalar $wn->offset("0#n#1") == 13742358
|
||||
- ? print "ok ", $i++, "\n" : print "not ok ", $i++, "\n";
|
||||
|
||||
-scalar $wn->listAllWords("noun") == 117798
|
||||
- ? print "ok ", $i++, "\n" : print "not ok ", $i++, "\n";
|
||||
-$wn->offset("child#n#1") == 9917593
|
||||
- ? print "ok ", $i++, "\n" : print "not ok ", $i++, "\n";
|
||||
my ($foo) = $wn->querySense ("cat#n#1", "glos");
|
||||
($foo eq "feline mammal usually having thick soft fur and no ability to roar: domestic cats; wildcats ") ? print "ok ", $i++, "\n" : print "not ok ", $i++, "\n";
|
||||
|
||||
}
|
||||
+print "0..$i\n";
|
||||
--
|
||||
2.16.2
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
WX_GTK_VER="3.0"
|
||||
DIST_AUTHOR=MDOOTSON
|
||||
DIST_VERSION=0.32
|
||||
inherit wxwidgets perl-module virtualx
|
||||
|
||||
DESCRIPTION="access IO of external processes via events"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/wxGTK:${WX_GTK_VER}
|
||||
>=dev-perl/Wx-0.97.01"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
setup-wxwidgets
|
||||
perl-module_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx perl-module_src_test
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST cssselect-0.9.1.tar.gz 32952 BLAKE2B 7f7a78e8085036bed72c2a1a0e4a97cd1988e8d6981ae830f15d5fc03f5fdd43f0caa7b94d2923181f9dc926a6a11e970b3f091178640124286aa680fa023aaf SHA512 c4cd2c8d6fbfa99b836554685dd59e1e794e1fab06fcf4419a226b0608a05d58be5af54e507003f2a233a22f03d59d3d63c0bf19b3314f15c95ab3ce5f4db6cc
|
||||
DIST cssselect-1.0.1.tar.gz 21849 BLAKE2B cfe3637746329db224a44b680cda044238fa831ed0d05cf3484be6181de13bf8660330362626ddc03c7284a80e7c4a814bba293dfdca07a529d9c0c7163c95d2 SHA512 060c4b8d427a935b851b4b20d10ef89b9d6f685692b7144afc8f848e318abaa182ed60538355ea3f25050e358f24904fa0d9c01fe77e3d2428e2ef2a825e2928
|
||||
DIST cssselect-1.0.3.tar.gz 34027 BLAKE2B fff15a50d26ce83a0480020e54d00a027a7f21ca2c4c45d5552c6b4c19f7be21c390650c4befa61b7ae2b63946de88945deb488ebd6c7f7fc470950dab233671 SHA512 08feb3a515cc75089657a508cd1a80c6aaa97d710f27e99f9e749a1519adc13c5540134c6a4e0d7f548b022b8bd23dcbe360530d2329c5da36e43aca1f9627d1
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="parses CSS3 Selectors and translates them to XPath 1.0"
|
||||
HOMEPAGE="https://cssselect.readthedocs.io/en/latest/
|
||||
https://pypi.python.org/pypi/cssselect
|
||||
https://github.com/scrapy/cssselect"
|
||||
SRC_URI="https://github.com/scrapy/cssselect/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-fbsd"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/lxml[${PYTHON_USEDEP}] )"
|
||||
|
||||
RDEPEND=""
|
||||
|
||||
python_prepare_all() {
|
||||
# prevent non essential d'load of files in doc build
|
||||
sed -e 's:intersphinx_:#&:' -i docs/conf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc ; then
|
||||
esetup.py build_sphinx
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST lxml-3.8.0.tar.gz 3795205 BLAKE2B 39f3edc7efe48bd569b636de89cfcd8f7e4e88e025fd5c21164e35edf110546112844a4ddb6cb1842649fb165de3b3880b0fdb7a23522a891b35390adf64c95b SHA512 08f6f352e22ed2bc199a5f34a1c6b5f7b41ec282dc0026c9f16a06466c27e39e8eb18608ba4493636170eeac4b0194f7050445e1cc9bd0a4628573c404593088
|
||||
DIST lxml-4.1.1.tar.gz 2380804 BLAKE2B 4d3c4ef0472c7af7bb4185142a8274b596dd55a908d41f5295d0a78031a7efb3aef8893ca739f8db0675e44d4b0c346746a2758d31a54825c06a153203599ab9 SHA512 9542e5206f9b2f9e072c52ef8e6cf44d1aaae8ae3e7ca7e820c1fac12e716503308ccb3cebc52155b4c93799f3ebca247781fc491524d004378bd26f5cddb9d1
|
||||
DIST lxml-4.2.0.tar.gz 4282112 BLAKE2B 5dd68d984097253fac4c35d59e7b687fa1bc0699946accb66687b94e0b3d807c7c555795486828307ccbadd87aa989b6bba2d2fc71cec27e8b8e52f2762c5548 SHA512 89c7dd5d36e8816008b22b25bb02275a008fcfe26f6fdeff139ac8394bd773035bf423b9d7c4233f19985e5a8c12f936b71096c55e28957e97da0810d88de8d3
|
||||
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
|
||||
|
||||
inherit distutils-r1 eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
|
||||
HOMEPAGE="http://lxml.de/ https://pypi.python.org/pypi/lxml/ https://github.com/lxml/lxml"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD ElementTree GPL-2 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples +threads test"
|
||||
|
||||
# Note: lib{xml2,xslt} are used as C libraries, not Python modules.
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.9.5
|
||||
>=dev-libs/libxslt-1.1.28"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/cssselect[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.5.0-cross-compile.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# avoid replacing PYTHONPATH in tests.
|
||||
sed -i '/sys\.path/d' test.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
fi
|
||||
tc-export PKG_CONFIG
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die
|
||||
cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die
|
||||
ln -s "${S}"/doc "${BUILD_DIR}"/ || die
|
||||
|
||||
"${EPYTHON}" test.py -vv --all-levels -p || die "Test ${test} fails with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
local DOCS=( README.rst *.txt doc/*.txt )
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
if use examples; then
|
||||
dodoc -r samples
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup
|
||||
optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST python-recaptcha-2.0.0.tar.gz 5556 BLAKE2B b752915eb95343d7cbce483f49ce9d93ecf837c85a1615e414e14226c54dc60ede3187bd127e09769106a7eb06156ab2b73b0a3839743c29b6aba6e6c4d96951 SHA512 3a60062f36833888a110d5979ca7a7f46cef927bfcf427aba72d2f6a99a9c401b20bea997ff8fb2b8435876bed3880371a84568b95da1341940d275cba8ff178
|
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>hanno@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">redhat-infosec/python-recaptcha</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A plugin for reCAPTCHA and reCAPTCHA Mailhide"
|
||||
HOMEPAGE="https://github.com/redhat-infosec/python-recaptcha"
|
||||
SRC_URI="https://github.com/redhat-infosec/python-recaptcha/releases/download/v${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
!dev-python/recaptcha-client"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
# otherwise we have an empty recaptcha dir/namespace
|
||||
touch "${D}$(python_get_sitedir)"/recaptcha/__init__.py
|
||||
}
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue