parent
0399e02e5c
commit
5063a1a796
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1 @@
|
||||
DIST ckb-0.2.9.tar.gz 664625 BLAKE2B 37dc9c75876ca46fb10241da7b223ca67e5b9c0a998386f0f82eba15a97045e269b1f8a75dea18297865826bff241c21b255a507fd26e73747ee2656a228c4ce SHA512 7910f089d7b01ceade5ae8282db931c9decb9296d4c9c5fc2419eb7fb4ba5a2c0f85721a3a6846ed24a72f61b18374baa7fd27e11329b5d2f65b21916e8b96e1
|
||||
DIST ckb-0.4.0.tar.gz 838586 BLAKE2B 42d786d1934cce6bb082ba4c9f7081401153fa2bd209f290659cfd42787ef69fad9ad86c35df973f1934a03699a1472aa2a1ceb8ef70f46316558e764e5cd88c SHA512 81058d1e31e7328dac1b3a83cb443b9d9f29593e872d189766c1dfe8b502965fd9ea7a962423e94d5053c99d8dd8c50bd98638c11631a2ca586fb9ade700284f
|
||||
DIST ckb-0.4.1.tar.gz 845316 BLAKE2B 03b6d09ab9297fea30ecff5485fcb33d7ad00335b25ce8bbd7727db1b794c7016a8f161562b5271e29fcefb332b50797d91ff8c09724b96b8929033763ad6624 SHA512 294a29146978c722fdfbb9c2581ed3fc492b2ffead0de8c434bfe90e6aff6e61748517c0f98ae0d8747e7a95684cf22badf778b35358dbaa8acbc18a25ade993
|
||||
DIST ckb-0.4.2.tar.gz 883681 BLAKE2B b3d921010b1caa8cb870770c6cf3ff0e9f6c65ea742325995e26351331e3063a16e8a391f593bfc8b16663cef0580e087d776796ea69776465122b08e00e9382 SHA512 4c80101e935a4d5137b0fd6aaf7d97889913af0bbb8e3097e035e2420043d6525094c1e3f7b5676e8c50328454251ff3260f6aa9b81ec583a2e8136333ee6af8
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop qmake-utils systemd
|
||||
|
||||
DESCRIPTION="Corsair K65/K70/K95 Driver"
|
||||
HOMEPAGE="https://github.com/ckb-next/ckb-next"
|
||||
SRC_URI="https://github.com/ckb-next/ckb-next/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/quazip-0.7.2[qt5(+)]
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
virtual/libudev:=
|
||||
x11-libs/libX11
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( README.md BUILD.md DAEMON.md )
|
||||
|
||||
S="${WORKDIR}/${PN}-next-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/-Werror=all//" src/ckb-daemon/ckb-daemon.pro || die
|
||||
sed -i -e "/quazip/d" -e "s/^.*QUAZIP_STATIC/LIBS += -lquazip5/" src/ckb/ckb.pro || die
|
||||
sed -i -e "s#/usr/lib#/usr/libexec#" src/ckb/animscript.cpp || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/ckb bin/ckb-daemon
|
||||
dodir /usr/bin/ckb-animations
|
||||
exeinto /usr/libexec/ckb-animations
|
||||
doexe bin/ckb-animations/*
|
||||
|
||||
newinitd "${FILESDIR}"/ckb.initd ckb-daemon
|
||||
domenu usr/ckb.desktop
|
||||
doicon usr/ckb.png
|
||||
systemd_dounit service/systemd/ckb-daemon.service
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop cmake-utils systemd
|
||||
|
||||
DESCRIPTION="Corsair K65/K70/K95 Driver"
|
||||
HOMEPAGE="https://github.com/ckb-next/ckb-next"
|
||||
SRC_URI="https://github.com/ckb-next/ckb-next/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/quazip-0.7.2[qt5(+)]
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
virtual/libudev:=
|
||||
x11-libs/libX11
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
PATCHES=( "${FILESDIR}/${P}-modprobe.patch" )
|
||||
S="${WORKDIR}/${PN}-next-${PV}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDISABLE_UPDATER=yes
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newinitd "${FILESDIR}"/ckb.initd ckb-daemon
|
||||
cmake-utils_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop cmake-utils systemd
|
||||
|
||||
DESCRIPTION="Corsair K65/K70/K95 Driver"
|
||||
HOMEPAGE="https://github.com/ckb-next/ckb-next"
|
||||
SRC_URI="https://github.com/ckb-next/ckb-next/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/quazip-0.7.2[qt5(+)]
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
virtual/libudev:=
|
||||
x11-libs/libX11
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
S="${WORKDIR}/${PN}-next-${PV}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDISABLE_UPDATER=yes
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newinitd "${FILESDIR}"/ckb.initd ckb-daemon
|
||||
cmake-utils_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
---
|
||||
src/daemon/input_linux.c | 21 ++++++++++++++-------
|
||||
src/gui/mainwindow.cpp | 14 ++++++++------
|
||||
2 files changed, 22 insertions(+), 13 deletions(-)
|
||||
|
||||
diff --git a/src/daemon/input_linux.c b/src/daemon/input_linux.c
|
||||
index 0391243e..8489f5b5 100644
|
||||
--- a/src/daemon/input_linux.c
|
||||
+++ b/src/daemon/input_linux.c
|
||||
@@ -55,13 +55,20 @@ int uinputopen(struct uinput_user_dev* indev, int mouse){
|
||||
///
|
||||
/// Some tips on using [uinput_user_dev in](http://thiemonge.org/getting-started-with-uinput)
|
||||
int os_inputopen(usbdevice* kb){
|
||||
- /// First check whether the uinput module is loaded by the kernel.
|
||||
- ///
|
||||
- // Load the uinput module (if it's not loaded already)
|
||||
- if(system("modprobe uinput") != 0) {
|
||||
- ckb_fatal("Failed to load uinput module\n");
|
||||
- return 1;
|
||||
+ /// Let's see if uinput is already available
|
||||
+ int fd = open("/dev/uinput", O_RDWR);
|
||||
+ if(fd < 0){
|
||||
+ fd = open("/dev/input/uinput", O_RDWR);
|
||||
+ }
|
||||
+
|
||||
+ // If not available, load the module
|
||||
+ if(fd < 0){
|
||||
+ if(system("modprobe uinput") != 0) {
|
||||
+ ckb_fatal("Failed to load uinput module\n");
|
||||
+ return 1;
|
||||
+ }
|
||||
}
|
||||
+ close(fd);
|
||||
|
||||
if(IS_SINGLE_EP(kb)) {
|
||||
kb->uinput_kb = 0;
|
||||
@@ -79,7 +86,7 @@ int os_inputopen(usbdevice* kb){
|
||||
indev.id.product = kb->product;
|
||||
indev.id.version = kb->fwversion;
|
||||
// Open keyboard
|
||||
- int fd = uinputopen(&indev, 0);
|
||||
+ fd = uinputopen(&indev, 0);
|
||||
kb->uinput_kb = fd;
|
||||
if(fd <= 0)
|
||||
return 0;
|
||||
diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp
|
||||
index 968764e7..1eb95bda 100644
|
||||
--- a/src/gui/mainwindow.cpp
|
||||
+++ b/src/gui/mainwindow.cpp
|
||||
@@ -282,14 +282,16 @@ void MainWindow::updateVersion(){
|
||||
if(kextstatOut.isEmpty())
|
||||
daemonWarning.append(tr("<br /><b>Warning:</b> System Extension by \"Fumihiko Takayama\" is not allowed in Security & Privacy. Please allow it and then unplug and replug your devices."));
|
||||
#elif defined(Q_OS_LINUX)
|
||||
- QProcess modprobe;
|
||||
- modprobe.start("modprobe", QStringList("uinput"));
|
||||
+ if(!(QFileInfo("/dev/uinput").exists() || QFileInfo("/dev/input/uinput").exists())){
|
||||
+ QProcess modprobe;
|
||||
+ modprobe.start("modprobe", QStringList("uinput"));
|
||||
|
||||
- if(!modprobe.waitForFinished())
|
||||
- qDebug() << "Modprobe error";
|
||||
+ if(!modprobe.waitForFinished())
|
||||
+ qDebug() << "Modprobe error";
|
||||
|
||||
- if(modprobe.exitCode())
|
||||
- daemonWarning.append(tr("<br /><b>Warning:</b> The uinput module could not be loaded. If this issue persists after rebooting, compile a kernel with CONFIG_INPUT_UINPUT=y."));
|
||||
+ if(modprobe.exitCode())
|
||||
+ daemonWarning.append(tr("<br /><b>Warning:</b> The uinput module could not be loaded. If this issue persists after rebooting, compile a kernel with CONFIG_INPUT_UINPUT=y."));
|
||||
+ }
|
||||
#endif
|
||||
settingsWidget->setStatus(tr("No devices connected") + daemonWarning);
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
From a9f41cd8b8f5b04c0c66c6d94f96a9725943831e Mon Sep 17 00:00:00 2001
|
||||
From: Erik Zeek <zeekec@gmail.com>
|
||||
Date: Tue, 12 May 2020 09:56:49 -0600
|
||||
Subject: [PATCH] Fix gcc-10/-fno-common error
|
||||
|
||||
gcc-10 now defaults to -fno-common and does not automatically add extern
|
||||
to variables declared in headers.
|
||||
|
||||
https://gcc.gnu.org/gcc-10/porting_to.html
|
||||
|
||||
Signed-off-by: Erik Zeek <zeekec@gmail.com>
|
||||
---
|
||||
src/daemon/devnode.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/daemon/devnode.h b/src/daemon/devnode.h
|
||||
index a0b3a931..349e778d 100644
|
||||
--- a/src/daemon/devnode.h
|
||||
+++ b/src/daemon/devnode.h
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "usb.h"
|
||||
|
||||
/// Device path base ("/dev/input/ckb" or "/var/run/ckb")
|
||||
-const char *const devpath;
|
||||
+extern const char *const devpath;
|
||||
|
||||
/// Group ID for the control nodes. -1 to give read/write access to everybody
|
||||
extern long gid;
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,2 @@
|
||||
DIST xchm-1.23.tar.gz 474274 BLAKE2B de73c04e68b876edefb1d45d9e982bcce6fd3afa06f8704d05fa5cae710d9724ed20ca50be9022570832da9954ba2af141a66e5b3ab02554441c84bac1d6ffed SHA512 c0df4362ff6db8136b20f62a76e7e93185375f6ef9eeeb1001e27ead9806d486332573ba8c3ca1863a70ce6b1d3bcc6d3af48d42add719312774dccfd7d18c90
|
||||
DIST xchm-1.29.tar.gz 972533 BLAKE2B e114047f4c3e19bb4d4c28a74997c76c54a2dc286f1f0691f105824be693e3b51c7618717b5b5b5f3604ab3f4fa89d703e071a36be0bd05529b6f44710b0bd20 SHA512 678cea2947d58e9b173379d6df809be603ca77431a3181ee45e3c1f4a4a55a6c10a395eecb5c25feb14ad361d044355ae313d537f0abc9278c6e5ab37a8768f6
|
||||
DIST xchm-1.30.tar.gz 981171 BLAKE2B 6b2077e9cf8fa849121cee3681bd390218de1ce83c9c49117a186ddef107b15ee8f491eb93ae41ba8a2ea07ede306883ef0f8f0c357142e9ca333bdea8ebc50a SHA512 896d94f4fa3b728e37985b1a2e918596e20bed0a43cf90711d27ebfdcbe49e4a0794c17e1f6cfefb6f272adcc7fb22464e2c25c15d0f0afcbe94b867899eb1a5
|
||||
DIST xchm-1.31.tar.gz 981450 BLAKE2B c0c1908332f4d76f2c4dcf64ed713ae500d1b2022dedb5cb0df294fcdd1ce87d5144ca7347d6bc70b43af29f047ee270ffe05f1ee8da2dae5a5e0586c342900a SHA512 b5e1e979948d202163265f99357b361bb78371a2cc7cdedcc2d2c78207466c3f8291f720c92405913c7c5b9f607d3951a8bb3be3ece3ba1f408ceeb79199e9b5
|
||||
|
@ -1,11 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>desktop-misc@gentoo.org</email>
|
||||
<name>Gentoo Desktop Miscellaneous Project</name>
|
||||
<maintainer type="person">
|
||||
<email>marecki@gentoo.org</email>
|
||||
<name>Marek Szuba</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">rzvncj/xCHM</remote-id>
|
||||
<remote-id type="sourceforge">xchm</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
WX_GTK_VER="3.0-gtk3"
|
||||
inherit autotools wxwidgets xdg-utils
|
||||
|
||||
DESCRIPTION="Utility for viewing Compiled HTML Help (CHM) files"
|
||||
HOMEPAGE="https://github.com/rzvncj/xCHM/"
|
||||
SRC_URI="https://github.com/rzvncj/xCHM/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/chmlib-0.36
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X]
|
||||
nls? ( virtual/libintl )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
setup-wxwidgets
|
||||
default
|
||||
eautoreconf # Still needed on the next release?
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS README ChangeLog
|
||||
|
||||
cp "${D}"/usr/share/pixmaps/xchm-32.xpm "${D}"/usr/share/pixmaps/xchm.xpm
|
||||
rm -f "${D}"/usr/share/pixmaps/xchm-*.xpm
|
||||
rm -f "${D}"/usr/share/pixmaps/xchmdoc*.xpm
|
||||
|
||||
domenu "${FILESDIR}"/xchm.desktop
|
||||
insinto /usr/share/mime/packages
|
||||
doins "${FILESDIR}"/xchm.xml
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
WX_GTK_VER="3.0-gtk3"
|
||||
inherit wxwidgets xdg-utils
|
||||
|
||||
DESCRIPTION="Utility for viewing Compiled HTML Help (CHM) files"
|
||||
HOMEPAGE="https://github.com/rzvncj/xCHM/"
|
||||
SRC_URI="https://github.com/rzvncj/xCHM/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/chmlib-0.36
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X]
|
||||
nls? ( virtual/libintl )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
setup-wxwidgets
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc AUTHORS README ChangeLog
|
||||
|
||||
domenu "${FILESDIR}"/xchm.desktop
|
||||
insinto /usr/share/mime/packages
|
||||
doins "${FILESDIR}"/xchm.xml
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="'top' for PostgreSQL"
|
||||
HOMEPAGE="https://pg_top.gitlab.io/"
|
||||
SRC_URI="https://pg_top.gitlab.io/source/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-db/postgresql:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( HISTORY.rst README.rst TODO Y2K )
|
||||
|
||||
src_prepare() {
|
||||
sed 's/set(CMAKE_C_FLAGS "-Wall")//' -i CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pgbadger-11.0.tar.gz 1661028 BLAKE2B d83be01017d69b83cf288b23fe5066d5c691b630ce748fe42b33514346183f7b8f18efceeefe0533e534c669e986c30388a6df5b620ea654ae89b3dc3c08d342 SHA512 167534d61cb28df6cb7eae7efe788d3f6bbad1c614468e905a9b678a76b3a2dfc0eb192b595ac4dc332cd694e820f1603b79d83bc934b7dfe3d226019f6a9c15
|
||||
DIST pgbadger-11.3.tar.gz 2297407 BLAKE2B 7e0814c570a3e5fbf79132c99e3134ee944c8239b956d4638a144c551a45b1903a27ee730f93e0dd040c3b8b8c3ec7d1b22228bf2390fa1585f8e4907cb9ae90 SHA512 0af40e68391d6cc783c5895eea01d266bdb22672bd9142e6029ec428f68ee13e0d0deaced4cb80ccd5b608bf04a72a9964c95d2cc9ad933c7412dbf888fc788a
|
||||
DIST pgbadger-11.4.tar.gz 2299574 BLAKE2B bb18cd73117ac58330cca2a5f3b525f962d7c0d30a0c28881ff977424dc1ee84f7754a1d4bae200739e60b51015ccad0552573b98d06a3e5932af0056c01ed9f SHA512 c945d6b6fd564640ef9f13fc0927acbed12c4329d05a44e12858a944b3df97677af8c92e62c4572b5e02279ee5d0ce84cf9e66d294f909b4cfcf311e86ba7557
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="pgBadger is a PostgreSQL log analyzer."
|
||||
HOMEPAGE="https://pgbadger.darold.net/"
|
||||
SRC_URI="https://github.com/darold/pgbadger/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
dev-perl/JSON-XS
|
||||
dev-perl/Text-CSV_XS
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_test() {
|
||||
prove || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST concurrencykit-0.6.0.tar.gz 217198 BLAKE2B 5ba85bd111c06e7be7af5679227350efe187836e5cb2afc19bff4a8f0fbcd97e9631fad64397b0426e8020a6a0f103a0fbe3bf8f83810eaa8a3a1b429a3e8383 SHA512 4c75f1194a6ad9d3e51a4bad4802cc522df70870135e6e2db1e303d0df89d57e5dc7a73e924de49fe9641b3dcdc81b1a74a26aa7297cd06b7acb5cbf46c402f0
|
||||
DIST concurrencykit-0.7.0.tar.gz 245574 BLAKE2B 14c386eb35c76297933d2935cdfc1cb0d21071d4fe1784eeb27595c2e75a8edc5add349df6795d03372b30711cda4deeb7957bdcfd7e62ba89b254fb41ba6a55 SHA512 509fe5bc1575a6fd646d30fbcd74204ba4683092f154dc1fb55ed6fc17e734e17759bacfc3f42344db4c243ca6b239f7d207cf2ebc609e2a37d7ddfd1bdcc3a1
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="ck"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A library with concurrency related algorithms and data structures in C"
|
||||
HOMEPAGE="http://concurrencykit.org"
|
||||
SRC_URI="http://concurrencykit.org/releases/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
# libck.so name collision #616762
|
||||
# these packages have nothing in common
|
||||
RDEPEND="!sys-cluster/charm"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -0,0 +1 @@
|
||||
DIST libmpack-1.0.5.tar.gz 32966 BLAKE2B 8ad01de11c740c3efc7b42046b89f7691dd32d228e126485bc49224e54789e7f12a611982c0fd9d2bbe8b06d1ce2df1ceea1b302e139e30d0a8c31f251129166 SHA512 6e30edafcacfb580b410bc6749ed7fe8f18b3be0cb98959339853e77bc3ec0cda6df08a0f1f22768cfc773458a2ea6bcef4f0421eea55cf56c58981d13711a04
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Simple implementation of msgpack in C"
|
||||
HOMEPAGE="https://github.com/libmpack/libmpack"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Make compiling verbose
|
||||
sed -e 's/@$(LIBTOOL)/$(LIBTOOL)/g' -i Makefile || die
|
||||
|
||||
# Respect users CFLAGS
|
||||
sed -e 's/-ggdb//g' -i Makefile || die
|
||||
sed -e 's/-O3//g' -i .config/release.mk || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myemakeargs=(
|
||||
"CC=$(tc-getCC)"
|
||||
"config=release"
|
||||
"LIBDIR=/usr/$(get_libdir)"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}" lib-bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myemakeargs=(
|
||||
"PREFIX=/usr"
|
||||
"DESTDIR=${ED}"
|
||||
"LIBDIR=/usr/$(get_libdir)"
|
||||
"XLDFLAGS=-shared"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}" install
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>conikost@gentoo.org</email>
|
||||
<name>Conrad Kostecki</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">libmpack/libmpack</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST busted-htest-1.0.0.tar.gz 4347 BLAKE2B f1d30a305cb9691588b18f67842b536d3de9430d22c51ec292202e5aca5784447cd525ae8b1f1da42a3d3792344419efbfe1d03fe29823b445a7c1ead0fe577f SHA512 001f494949c04445004e8b06fde62727cab85a320673748d18714b82d7b2b9aea43316f6119e669c569f31578b787f4e5ca5d19da3f33fe28df572aaa41c75bd
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LUA_COMPAT=( lua5-{1..3} luajit )
|
||||
|
||||
inherit lua
|
||||
|
||||
DESCRIPTION="Pretty output handler for Busted"
|
||||
HOMEPAGE="https://github.com/hishamhm/busted-htest"
|
||||
SRC_URI="https://github.com/hishamhm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lua/busted-2.0.0-r100[${LUA_USEDEP}]
|
||||
${LUA_DEPS}
|
||||
"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
lua_src_install() {
|
||||
insinto $(lua_get_lmod_dir)
|
||||
doins src/busted/outputHandlers/htest.lua
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
lua_foreach_impl lua_src_install
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Pretty output handler for Busted"
|
||||
HOMEPAGE="https://github.com/hishamhm/busted-htest"
|
||||
SRC_URI="https://github.com/hishamhm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="luajit"
|
||||
|
||||
RDEPEND="
|
||||
luajit? ( dev-lang/luajit:2 )
|
||||
!luajit? ( >=dev-lang/lua-5.1:0 )
|
||||
dev-lua/busted
|
||||
"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_install() {
|
||||
insinto $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))
|
||||
doins src/busted/outputHandlers/htest.lua
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>williamh@gentoo.org</email>
|
||||
<name>William Hubbs</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>conikost@gentoo.org</email>
|
||||
<name>Conrad Kostecki</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">hishamhm/busted-htest</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LUA_COMPAT=( lua5-{1..3} luajit )
|
||||
|
||||
inherit lua flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Parsing Expression Grammars for Lua"
|
||||
HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/"
|
||||
SRC_URI="http://www.inf.puc-rio.br/~roberto/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="debug test"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="${LUA_DEPS}"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
HTML_DOCS=( "lpeg.html" "lpeg-128.gif" "re.html" )
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-1.0.2-makefile.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
use debug && append-cflags -DLPEG_DEBUG
|
||||
}
|
||||
|
||||
lua_src_compile() {
|
||||
# Clean project to compile it for every lua slot
|
||||
emake clean
|
||||
|
||||
local myemakeargs=(
|
||||
CC="$(tc-getCC)"
|
||||
LUADIR="$(lua_get_include_dir)"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}"
|
||||
|
||||
# Copy module to match the choosen LUA implementation
|
||||
cp "lpeg.so" "lpeg-${ELUA}.so" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
lua_foreach_impl lua_src_compile
|
||||
}
|
||||
|
||||
lua_src_test() {
|
||||
LUA_CPATH="${S}/lpeg-${ELUA}.so" ${ELUA} test.lua || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
lua_foreach_impl lua_src_test
|
||||
}
|
||||
|
||||
lua_src_install() {
|
||||
# Use correct module for the choosen LUA implementation
|
||||
cp "lpeg-${ELUA}.so" "lpeg.so" || die
|
||||
|
||||
exeinto $(lua_get_cmod_dir)
|
||||
doexe lpeg.so
|
||||
|
||||
insinto $(lua_get_lmod_dir)
|
||||
doins re.lua
|
||||
}
|
||||
|
||||
src_install() {
|
||||
lua_foreach_impl lua_src_install
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST luarocks-3.3.1.tar.gz 241636 BLAKE2B fd34d7a233bbf1c5f224bd04886a7f1382d63ffc014c8b78ae7924fb799d66a32e048298deed103686771263885c85c9173c013d1bbb3bad6a48e9fd99fdaac0 SHA512 0a695ceb30ae575cbca52abd2aad9675e33a234c53c5d1e125442d874c21e0e3cf6157431f07085e4311f81833680366adfe5c626a66cb5880380b48899a116a
|
||||
DIST luarocks-3.4.0.tar.gz 244013 BLAKE2B 873c315ca3616179d20d665ceb09b8549c6f007d721581751bb4bb27d147547a52f5be1458541f9c0f936fcc3659c1d8eb253431ee0cf12530f3bef09aa838a3 SHA512 111ef93cbc4c0d79fdb26d9696b76e6b9e7fb1e30029db43feae9622cc6dd89991f1a62f87af0ca11f4043cb0d445ec73c5edf53e1af5f0d9bc4f756d4c18151
|
||||
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LUA_COMPAT=( lua5-{1..3} luajit )
|
||||
|
||||
inherit lua-single
|
||||
|
||||
DESCRIPTION="A package manager for the Lua programming language"
|
||||
HOMEPAGE="https://luarocks.org"
|
||||
SRC_URI="https://luarocks.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="libressl test"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="${LUA_DEPS}"
|
||||
|
||||
DEPEND="
|
||||
net-misc/curl
|
||||
libressl? ( dev-libs/libressl:0 )
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
$(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]')
|
||||
$(lua_gen_cond_dep 'dev-lua/busted-htest[${LUA_USEDEP}]')
|
||||
${RDEPEND}
|
||||
)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
"--prefix=${EPREFIX}/usr"
|
||||
"--rocks-tree=$(lua_get_lmod_dir)"
|
||||
"--with-lua-include=$(lua_get_include_dir)"
|
||||
"--with-lua-interpreter=${ELUA}"
|
||||
"--with-lua-lib=$(lua_get_cmod_dir)"
|
||||
)
|
||||
|
||||
# Since the configure script is handcrafted,
|
||||
# and yells at unknown options, do not use 'econf'.
|
||||
./configure "${myeconfargs[@]}" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
busted --lua=${ELUA} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
{ find "${D}" -type f -exec sed -i -e "s:${D}::g" {} \;; } || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local lua_abi_ver
|
||||
if use lua_single_target_luajit; then
|
||||
lua_abi_ver="5.1"
|
||||
else
|
||||
lua_abi_ver=${ELUA#lua}
|
||||
fi
|
||||
elog
|
||||
elog "To manage rocks for a Lua version other than the current ${CATEGORY}/${PN} default (${lua_abi_ver})"
|
||||
elog "you can use the command-line option --lua-version, e.g."
|
||||
elog
|
||||
elog " luarocks --lua-version 5.3 install luasocket"
|
||||
elog
|
||||
elog "(use 5.1 for luajit). Note that the relevant Lua version must already be present in the system."
|
||||
elog
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A package manager for the Lua programming language"
|
||||
HOMEPAGE="https://luarocks.org"
|
||||
SRC_URI="https://luarocks.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="luajit libressl test"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
luajit? ( dev-lang/luajit:2 )
|
||||
!luajit? ( >=dev-lang/lua-5.1:0 )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
net-misc/curl
|
||||
libressl? ( dev-libs/libressl:0 )
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-lua/busted
|
||||
dev-lua/busted-htest
|
||||
${RDEPEND}
|
||||
)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
"--prefix=${EPREFIX}/usr"
|
||||
"--rocks-tree=$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))"
|
||||
"--with-lua-include=$($(tc-getPKG_CONFIG) --variable $(usex luajit 'includedir' 'INSTALL_INC') $(usex luajit 'luajit' 'lua'))"
|
||||
"--with-lua-interpreter=$(usex luajit 'luajit' 'lua')"
|
||||
"--with-lua-lib=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))"
|
||||
)
|
||||
|
||||
# Since the configure script is handcrafted,
|
||||
# and yells at unknown options, do not use 'econf'.
|
||||
./configure "${myeconfargs[@]}" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
busted --lua=${ELUA} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
{ find "${D}" -type f -exec sed -i -e "s:${D}::g" {} \;; } || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST mpack-1.0.4.tar.gz 46382 BLAKE2B 5092830e1a970ad96686ede4d96833a210543418cb23f218ba774bfd724267344f9e44e367490bb33dae8023e1145202ea6e457be7753a426eae990df906547d SHA512 8e40a562faf8b62137dec0733cbb9006fa7054e5a47bdd128fb4dfd676fac4e4385a23c3d908a4ce2edd65d673db25916695fa74bc08c5316b0c80e571a7442c
|
||||
DIST mpack-1.0.8.tar.gz 15616 BLAKE2B 06593296d1d36459127bf35eaeb37c894a0c0c6ccff0969cd0a82bee1920a715801db26f0ba0bc54a56399d07efc262666ee4ce79878288a5c0221fd27febea1 SHA512 6d21cc6bbdee583a1d808742991459e4b1796f347b2f4eaa747b576f5bb1ca989123339120e43246bac859c20e6f46ac57116ce9f135157256fecbd8cf817f75
|
||||
|
@ -1,8 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person">
|
||||
<email>conikost@gentoo.org</email>
|
||||
<name>Conrad Kostecki</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">libmpack/libmpack</remote-id>
|
||||
<remote-id type="github">libmpack/libmpack-lua</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LUA_COMPAT=( lua5-{1..3} luajit )
|
||||
|
||||
inherit lua toolchain-funcs
|
||||
|
||||
DESCRIPTION="Lua bindings for libmpack"
|
||||
HOMEPAGE="https://github.com/libmpack/libmpack/"
|
||||
SRC_URI="https://github.com/libmpack/libmpack/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/libmpack-${PV}/binding/lua"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="${LUA_DEPS}"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-lua/busted[${LUA_USEDEP}]
|
||||
)"
|
||||
|
||||
lua_src_compile() {
|
||||
# Make sure we have got no leftovers from other implementations.
|
||||
# There is no 'clean' target in the makefile, though.
|
||||
rm -f ${PN}.so
|
||||
|
||||
# We set LUA_LIB to an empty string while building version 1.0.4 because
|
||||
# compiled Lua modules must not link against liblua. This has already been
|
||||
# fixed upstream.
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
USE_SYSTEM_LUA=yes \
|
||||
LUA_INCLUDE="$(lua_get_CFLAGS)" \
|
||||
LUA_LIB=""
|
||||
|
||||
# Tag the result with current implementation and move it out of the way.
|
||||
mv ${PN}.so ${PN}-${ELUA}.so || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
lua_foreach_impl lua_src_compile
|
||||
}
|
||||
|
||||
lua_src_test() {
|
||||
# "[ FAILED ] test.lua @ 279: mpack should not leak memory"
|
||||
# It doesn't seem upstream actually support LuaJIT so were this up to me
|
||||
# I would drop it from LUA_COMPAT, unfortunately there are packages in the
|
||||
# tree which currently expect it to be supported.
|
||||
if [[ ${ELUA} == "luajit" ]]; then
|
||||
ewarn "Not running tests under ${ELUA} because they are known to fail"
|
||||
return
|
||||
fi
|
||||
|
||||
# The test suite must be able to find the module under its original name.
|
||||
rm -f ${PN}.so
|
||||
ln -s ${PN}-${ELUA}.so ${PN}.so || die
|
||||
busted --lua="${ELUA}" -o gtest test.lua || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
lua_foreach_impl lua_src_test
|
||||
}
|
||||
|
||||
lua_src_install() {
|
||||
# This time we move the correct library file back in order not to risk
|
||||
# confusing make with symlinks.
|
||||
mv ${PN}-${ELUA}.so ${PN}.so || die
|
||||
|
||||
emake \
|
||||
DESTDIR="${ED}" \
|
||||
USE_SYSTEM_LUA=yes \
|
||||
LUA_CMOD_INSTALLDIR="$(lua_get_cmod_dir)" \
|
||||
install
|
||||
}
|
||||
|
||||
src_install() {
|
||||
lua_foreach_impl lua_src_install
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,98 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LUA_COMPAT=( lua5-{1..3} luajit )
|
||||
|
||||
inherit lua toolchain-funcs
|
||||
|
||||
MY_PN="lib${PN}-lua"
|
||||
|
||||
DESCRIPTION="Lua bindings for libmpack"
|
||||
HOMEPAGE="https://github.com/libmpack/libmpack/"
|
||||
SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libmpack
|
||||
${LUA_DEPS}
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-lua/busted[${LUA_USEDEP}]
|
||||
${RDEPEND}
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
lua_copy_sources
|
||||
}
|
||||
|
||||
lua_src_compile() {
|
||||
pushd "${BUILD_DIR}" || die
|
||||
|
||||
local myemakeargs=(
|
||||
"CC=$(tc-getCC)"
|
||||
"LUA_INCLUDE=$(lua_get_CFLAGS)"
|
||||
"LUA_LIB="
|
||||
"USE_SYSTEM_MPACK=yes"
|
||||
"USE_SYSTEM_LUA=yes"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}"
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
lua_foreach_impl lua_src_compile
|
||||
}
|
||||
|
||||
lua_src_test() {
|
||||
# "[ FAILED ] test.lua @ 279: mpack should not leak memory"
|
||||
# It doesn't seem upstream actually support LuaJIT so were this up to me
|
||||
# I would drop it from LUA_COMPAT, unfortunately there are packages in the
|
||||
# tree which currently expect it to be supported.
|
||||
if [[ ${ELUA} == "luajit" ]]; then
|
||||
ewarn "Not running tests under ${ELUA} because they are known to fail"
|
||||
return
|
||||
fi
|
||||
|
||||
busted --lua="${ELUA}" test.lua || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
lua_foreach_impl lua_src_test
|
||||
}
|
||||
|
||||
lua_src_install() {
|
||||
pushd "${BUILD_DIR}" || die
|
||||
|
||||
local myemakeargs=(
|
||||
"DESTDIR=${ED}"
|
||||
"LUA_CMOD_INSTALLDIR=$(lua_get_cmod_dir)"
|
||||
"USE_SYSTEM_MPACK=yes"
|
||||
"USE_SYSTEM_LUA=yes"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}" install
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
src_install() {
|
||||
lua_foreach_impl lua_src_install
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_PN="lib${PN}-lua"
|
||||
|
||||
DESCRIPTION="Lua bindings for libmpack"
|
||||
HOMEPAGE="https://github.com/libmpack/libmpack/"
|
||||
SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="luajit test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libmpack
|
||||
luajit? ( >=dev-lang/lua-5.1:= )
|
||||
!luajit? ( dev-lang/luajit:2= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-lua/busted
|
||||
${RDEPEND}
|
||||
)
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
local myemakeargs=(
|
||||
"CC=$(tc-getCC)"
|
||||
"LUA_INCLUDE=$($(tc-getPKG_CONFIG) --cflags $(usex luajit 'luajit' 'lua'))"
|
||||
"LUA_LIB=$($(tc-getPKG_CONFIG) --libs $(usex luajit 'luajit' 'lua'))"
|
||||
"USE_SYSTEM_MPACK=yes"
|
||||
"USE_SYSTEM_LUA=yes"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use luajit; then
|
||||
# "[ FAILED ] test.lua @ 279: mpack should not leak memory"
|
||||
# It doesn't seem upstream actually support LuaJIT so were this up to me
|
||||
# I would drop it from LUA_COMPAT, unfortunately there are packages in the
|
||||
# tree which currently expect it to be supported.
|
||||
ewarn "Not running tests under ${ELUA} because they are known to fail"
|
||||
return
|
||||
else
|
||||
busted --lua=lua test.lua || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myemakeargs=(
|
||||
"DESTDIR=${ED}"
|
||||
"LUA_CMOD_INSTALLDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))"
|
||||
"USE_SYSTEM_MPACK=yes"
|
||||
"USE_SYSTEM_LUA=yes"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}" install
|
||||
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1 SHA512 48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
|
||||
DIST llvmorg-11.0.0.tar.gz 122743665 BLAKE2B 3f95570240789fd68ddb747df817f5c6cdc9da40911bbe9ee3531c15ada9165e5002b1c2f778cf8735858485ea05a8754e3d3a5f4b15bdd6cb33d64a14692984 SHA512 b6d38871ccce0e086e27d35e42887618d68e57d8274735c59e3eabc42dee352412489296293f8d5169fe0044936345915ee7da61ebdc64ec10f7737f6ecd90f2
|
||||
DIST llvmorg-11.0.1-rc1.tar.gz 122777435 BLAKE2B 23b520d33cf4b641027ee52bb10c6171d60356c9167d5b94012929e6e547c526cda1a6177c295ed19592dfb83b020f63b2cef4cabc70ce9a2a8e098fe654a3cd SHA512 605c7bbff1610f335be8ea4f1204df797fed21185a54c77565f6ff2d00794d1967e9c5fab7c87633e242f2f999bdffb76da83f756d261c1ca476114599409ae1
|
||||
DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f SHA512 fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
|
||||
|
@ -0,0 +1,124 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
inherit cmake llvm llvm.org python-any-r1
|
||||
|
||||
DESCRIPTION="OCaml bindings for LLVM"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
# Keep in sync with sys-devel/llvm
|
||||
ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC VE )
|
||||
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430
|
||||
NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
|
||||
"${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" )
|
||||
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS=""
|
||||
IUSE="debug test ${ALL_LLVM_TARGETS[*]}"
|
||||
REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-4.00.0:0=
|
||||
dev-ml/ocaml-ctypes:=
|
||||
~sys-devel/llvm-${PV}:=[debug?]
|
||||
!sys-devel/llvm[ocaml(-)]"
|
||||
for x in "${ALL_LLVM_TARGETS[@]}"; do
|
||||
RDEPEND+="
|
||||
${x}? ( ~sys-devel/llvm-${PV}[${x}] )"
|
||||
done
|
||||
unset x
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-lang/perl
|
||||
dev-ml/findlib
|
||||
>=dev-util/cmake-3.16
|
||||
test? ( dev-ml/ounit )
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
LLVM_COMPONENTS=( llvm )
|
||||
llvm.org_set_globals
|
||||
|
||||
pkg_setup() {
|
||||
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local libdir=$(get_libdir)
|
||||
local mycmakeargs=(
|
||||
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
|
||||
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DLLVM_BUILD_LLVM_DYLIB=ON
|
||||
-DLLVM_LINK_LLVM_DYLIB=ON
|
||||
-DLLVM_OCAML_OUT_OF_TREE=ON
|
||||
|
||||
# cheap hack: LLVM combines both anyway, and the only difference
|
||||
# is that the former list is explicitly verified at cmake time
|
||||
-DLLVM_TARGETS_TO_BUILD=""
|
||||
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
|
||||
-DLLVM_BUILD_TESTS=$(usex test)
|
||||
|
||||
# disable various irrelevant deps and settings
|
||||
-DLLVM_ENABLE_FFI=OFF
|
||||
-DLLVM_ENABLE_TERMINFO=OFF
|
||||
-DHAVE_HISTEDIT_H=NO
|
||||
-DLLVM_ENABLE_ASSERTIONS=$(usex debug)
|
||||
-DLLVM_ENABLE_EH=ON
|
||||
-DLLVM_ENABLE_RTTI=ON
|
||||
|
||||
-DLLVM_HOST_TRIPLE="${CHOST}"
|
||||
|
||||
-DPython3_EXECUTABLE="${PYTHON}"
|
||||
|
||||
# disable go bindings
|
||||
-DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
|
||||
|
||||
# TODO: ocamldoc
|
||||
)
|
||||
|
||||
use test && mycmakeargs+=(
|
||||
-DLLVM_LIT_ARGS="$(get_lit_flags)"
|
||||
)
|
||||
|
||||
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
|
||||
# also: custom rules for OCaml do not work for CPPFLAGS
|
||||
use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
|
||||
cmake_src_configure
|
||||
|
||||
local llvm_libdir=$(llvm-config --libdir)
|
||||
# an ugly hack; TODO: figure out a way to pass -L to ocaml...
|
||||
cd "${BUILD_DIR}/${libdir}" || die
|
||||
ln -s "${llvm_libdir}"/*.so . || die
|
||||
|
||||
if use test; then
|
||||
local llvm_bindir=$(llvm-config --bindir)
|
||||
# Force using system-installed tools.
|
||||
sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
|
||||
"${BUILD_DIR}"/test/lit.site.cfg.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_build ocaml_all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# respect TMPDIR!
|
||||
local -x LIT_PRESERVES_TMP=1
|
||||
cmake_build check-llvm-bindings-ocaml
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" \
|
||||
cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
|
||||
|
||||
dodoc bindings/ocaml/README.txt
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST PHP_CodeCoverage-4.0.7.tar.gz 349906 BLAKE2B 2ba665efa2d20a5eb66c66375a095425057e883697dd1d3ba7214e56de29c96451516adb2843589e64732c994aac7289afa0e34a74d56ef9bc36f36e635eb944 SHA512 8418efa2585d05b3004ab50e7ba77513429d649f71fdb2479412424a0f40a698a962e1d87852db08fec8f92e569a9a5767dad66d5d64e072637dde33182e71e9
|
||||
DIST PHP_CodeCoverage-7.0.10.tar.gz 237217 BLAKE2B bd2dc397c15a85ca020abf3d9a1dfb5f438020b577cded7942110dd8affa2d703ed40bf01ae68f38c6ae9383ba59bc9f7706af99596bce0b40cef6d2a7e92fb2 SHA512 37cda2d3687f62b5546372507954eeedd4da1c03fa9cab147b578d035046763799ca1535310ba458403094714060fe8f1327bed6951440392fee3df551be73b1
|
||||
DIST PHP_CodeCoverage-7.0.12.tar.gz 237382 BLAKE2B 3051e7e473506a66d7b4720083274f3b3a64b9f480bb1a95682608220d19be60810a899d974ea3189270c0751f8af058f2503ed83c61d92180cbb41708b07536 SHA512 b105672dc50952c3c606010389fd6fb8ebfcbb78d99d72f9a21a1eef045314b0803fdb689bba1314671d0eeab0e5ed00bf416b09ca45d291688f4c59748c2ed1
|
||||
|
@ -0,0 +1,106 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="php-code-coverage"
|
||||
|
||||
USE_PHP="php7-2 php7-3 php7-4"
|
||||
|
||||
DESCRIPTION="Collection, processing, and rendering for PHP code coverage"
|
||||
HOMEPAGE="https://phpunit.de"
|
||||
SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CDEPEND="dev-php/fedora-autoloader
|
||||
>=dev-php/File_Iterator-2.0.2
|
||||
>=dev-php/Text_Template-1.2.1
|
||||
>=dev-php/PHP_TokenStream-3.1.1
|
||||
>=dev-php/sebastian-environment-4.2.2
|
||||
>=dev-php/sebastian-version-2.0.1
|
||||
>=dev-php/sebastian-code-unit-reverse-lookup-1.0.1
|
||||
>=dev-php/theseer-tokenizer-1.1.3
|
||||
>=dev-lang/php-7.2:*[xml(-),xmlwriter(-)]"
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload
|
||||
test? (
|
||||
${CDEPEND}
|
||||
dev-php/phpunit
|
||||
)"
|
||||
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab \
|
||||
--output src/autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir src \
|
||||
src || die
|
||||
|
||||
cat >> src/autoload.php <<EOF || die "failed to extend autoload.php"
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
'/usr/share/php/File/Iterator/autoload.php',
|
||||
'/usr/share/php/PHP/Token/autoload.php',
|
||||
'/usr/share/php/SebastianBergmann/Version/autoload.php',
|
||||
'/usr/share/php/SebastianBergmann/Environment/autoload.php',
|
||||
'/usr/share/php/SebastianBergmann/CodeUnitReverseLookup/autoload.php',
|
||||
'/usr/share/php/Text/Template/autoload.php',
|
||||
'/usr/share/php/TheSeer/Tokenizer/autoload.php',
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php/PHP/CodeCoverage
|
||||
doins -r src/*
|
||||
}
|
||||
|
||||
src_test() {
|
||||
mkdir vendor || die
|
||||
|
||||
phpab \
|
||||
--output vendor/autoload.php \
|
||||
--template fedora2 \
|
||||
--exclude 'tests/_files/Crash.php' \
|
||||
--exclude 'tests/_files/source*.php' \
|
||||
src \
|
||||
tests \
|
||||
|| die
|
||||
|
||||
cat >> vendor/autoload.php <<EOF || die "failed to extend autoload.php"
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
'/usr/share/php/File/Iterator/autoload.php',
|
||||
'/usr/share/php/PHP/Token/autoload.php',
|
||||
'/usr/share/php/SebastianBergmann/Version/autoload.php',
|
||||
'/usr/share/php/SebastianBergmann/Environment/autoload.php',
|
||||
'/usr/share/php/SebastianBergmann/CodeUnitReverseLookup/autoload.php',
|
||||
'/usr/share/php/Text/Template/autoload.php',
|
||||
'/usr/share/php/TheSeer/Tokenizer/autoload.php',
|
||||
]);
|
||||
EOF
|
||||
|
||||
local target
|
||||
for target in ${USE_PHP//-/.} ; do
|
||||
if [[ -x /usr/bin/${target} ]] ; then
|
||||
${target} /usr/bin/phpunit -c phpunit.xml --no-coverage --verbose || die "tests using ${target} failed"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "This library now loads via /usr/share/php/PHP/CodeCoverage/autoload.php"
|
||||
ewarn "Please update any scripts to require the autoloader"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST myclabs-deepcopy-1.10.2.tar.gz 9770 BLAKE2B 17be538ad4916a96098dce908d569fdc9e7bf792a754e6e199f98f1a05855de5f8888712b5500a34b01107655a100daa44b82a7f49a6fa09d23319801dbb1f73 SHA512 8cdb0c96991817bba573c147bace161412bccbb1479f67441be709dedd06355b387bd0c39e699fb7b0f89b50b4c99e94187c1145193a1324a7ca6fa9dd0e33de
|
||||
DIST myclabs-deepcopy-1.6.0.tar.gz 43612 BLAKE2B 18e3f532043cfbf700230a82772938082611922b9a04c7a99d63f79210e6c6f144521a29356977f4c44843cae6628e0a13fa0a46e0d34cb2e251f138ed60ab44 SHA512 a1d0ce8386172b963bca1e34e0e6d69268177f6aaf5309498780e4f9e43b9126916937e0b422644199b96f46212d0267af9b56993b9ffe295adb5f872c24584c
|
||||
DIST myclabs-deepcopy-1.6.1.tar.gz 43589 BLAKE2B e62ed5384bf9d4ad0286189772de8eeb9fed9962cf1d109b9e282c37ceadc885c6850fbed1695de35935b85fcc789a796485f44e97269a556d3498be8b691af4 SHA512 6cf13127401304ff92277c7c433353ecc20764fd5b8db0f8ae8d6767d8d9bc9c2f6b6ed3d68eeca5960357517038062c6f6b82831f433596d0a05cd0cea916d4
|
||||
DIST myclabs-deepcopy-1.9.4.tar.gz 44812 BLAKE2B bdc273f55b082ccd728ce786bb573dec5e96427f1692e3f502e2ee7eddd804e9a1589efe1323e3961d2c4e2b210f597c1ba80bbd8fcedeca77a7440df8925fb1 SHA512 879ecc6409ecb21a90e87b8368f64fce57e692f0e2916fc341d55744c2663163d6bac70562c0d8a1a1a51a409121f5e5905979dbb9fd2842cda7f21cda33e50a
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="DeepCopy"
|
||||
|
||||
DESCRIPTION="Create deep copies (clones) of your objects"
|
||||
HOMEPAGE="https://github.com/myclabs/DeepCopy"
|
||||
SRC_URI="https://github.com/myclabs/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="dev-php/fedora-autoloader
|
||||
>=dev-lang/php-7.1:*"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab \
|
||||
--output src/${MY_PN}/autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir src/${MY_PN} \
|
||||
src || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php/myclabs
|
||||
doins -r src/*
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST phpunit-5.7.15.tar.gz 205474 BLAKE2B 0220edd59fc3f191b7621f275d3e4ee8f8bf514f74533d99bfb925e11cc54a235fb292ffd1bb54f6bec1e038c06e35a0dc43c1227618590f99e7e85638a7de28 SHA512 6a836e1ad1656fd1d1c5a58ced3c1826b4decc01798b6a804b487c9b4e094ec32f6eb8a84058e268eade62a2fe19d7bd1e760b8b9433299d9fe9c09afdf2bdd3
|
||||
DIST phpunit-8.5.5.tar.gz 158108 BLAKE2B ecdc339aa501d6f56eb13a26dae290a60609a8804c4160e339ac6900df70647fa3bba1e4a2fa9fb01b0363d0afa57b3e05305d7d055ac8ec03519c503ac3791e SHA512 22209ec189af58e490c688fe7e72c3388dabb497daa4d8c73f7c84036e39b4ae36d89f72b65c67f46487c8bc96f0c0e6760a3d44a3107c5a27eef52f764dd738
|
||||
DIST phpunit-8.5.11.tar.gz 159302 BLAKE2B fdf156842b3607f4cbd26194efd7eb7cb204fb1d1d078c0c6bd3bb68e520e5d748767f8aab64b7c9bf313161e3d84e08d415fbf0408c26541ec1f70cfe7af8bd SHA512 3e9db4a1d6c5bea3546b24bd837479a0114a9200f96034aabc96933dfb42c1237b03f7118f19eeb1216e32f2034c1ec8c632d20ecacbe70d3660fbbfd167ac79
|
||||
|
@ -1,254 +0,0 @@
|
||||
<?php
|
||||
/* Autoloader for dev-php/phpunit and its dependencies */
|
||||
|
||||
$include_dir = '/usr/share/php';
|
||||
|
||||
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
|
||||
require_once "${include_dir}/Fedora/Autoloader/autoload.php";
|
||||
}
|
||||
|
||||
\Fedora\Autoloader\Autoload::addClassMap(
|
||||
[
|
||||
'phpunit\\exception' => '/Exception.php',
|
||||
'phpunit\\framework\\assert' => '/Framework/Assert.php',
|
||||
'phpunit\\framework\\assertionfailederror' => '/Framework/Exception/AssertionFailedError.php',
|
||||
'phpunit\\framework\\codecoverageexception' => '/Framework/Exception/CodeCoverageException.php',
|
||||
'phpunit\\framework\\constraint\\arrayhaskey' => '/Framework/Constraint/ArrayHasKey.php',
|
||||
'phpunit\\framework\\constraint\\arraysubset' => '/Framework/Constraint/ArraySubset.php',
|
||||
'phpunit\\framework\\constraint\\attribute' => '/Framework/Constraint/Attribute.php',
|
||||
'phpunit\\framework\\constraint\\callback' => '/Framework/Constraint/Callback.php',
|
||||
'phpunit\\framework\\constraint\\classhasattribute' => '/Framework/Constraint/ClassHasAttribute.php',
|
||||
'phpunit\\framework\\constraint\\classhasstaticattribute' => '/Framework/Constraint/ClassHasStaticAttribute.php',
|
||||
'phpunit\\framework\\constraint\\composite' => '/Framework/Constraint/Composite.php',
|
||||
'phpunit\\framework\\constraint\\constraint' => '/Framework/Constraint/Constraint.php',
|
||||
'phpunit\\framework\\constraint\\count' => '/Framework/Constraint/Count.php',
|
||||
'phpunit\\framework\\constraint\\directoryexists' => '/Framework/Constraint/DirectoryExists.php',
|
||||
'phpunit\\framework\\constraint\\exception' => '/Framework/Constraint/Exception.php',
|
||||
'phpunit\\framework\\constraint\\exceptioncode' => '/Framework/Constraint/ExceptionCode.php',
|
||||
'phpunit\\framework\\constraint\\exceptionmessage' => '/Framework/Constraint/ExceptionMessage.php',
|
||||
'phpunit\\framework\\constraint\\exceptionmessageregularexpression' => '/Framework/Constraint/ExceptionMessageRegularExpression.php',
|
||||
'phpunit\\framework\\constraint\\fileexists' => '/Framework/Constraint/FileExists.php',
|
||||
'phpunit\\framework\\constraint\\greaterthan' => '/Framework/Constraint/GreaterThan.php',
|
||||
'phpunit\\framework\\constraint\\isanything' => '/Framework/Constraint/IsAnything.php',
|
||||
'phpunit\\framework\\constraint\\isempty' => '/Framework/Constraint/IsEmpty.php',
|
||||
'phpunit\\framework\\constraint\\isequal' => '/Framework/Constraint/IsEqual.php',
|
||||
'phpunit\\framework\\constraint\\isfalse' => '/Framework/Constraint/IsFalse.php',
|
||||
'phpunit\\framework\\constraint\\isfinite' => '/Framework/Constraint/IsFinite.php',
|
||||
'phpunit\\framework\\constraint\\isidentical' => '/Framework/Constraint/IsIdentical.php',
|
||||
'phpunit\\framework\\constraint\\isinfinite' => '/Framework/Constraint/IsInfinite.php',
|
||||
'phpunit\\framework\\constraint\\isinstanceof' => '/Framework/Constraint/IsInstanceOf.php',
|
||||
'phpunit\\framework\\constraint\\isjson' => '/Framework/Constraint/IsJson.php',
|
||||
'phpunit\\framework\\constraint\\isnan' => '/Framework/Constraint/IsNan.php',
|
||||
'phpunit\\framework\\constraint\\isnull' => '/Framework/Constraint/IsNull.php',
|
||||
'phpunit\\framework\\constraint\\isreadable' => '/Framework/Constraint/IsReadable.php',
|
||||
'phpunit\\framework\\constraint\\istrue' => '/Framework/Constraint/IsTrue.php',
|
||||
'phpunit\\framework\\constraint\\istype' => '/Framework/Constraint/IsType.php',
|
||||
'phpunit\\framework\\constraint\\iswritable' => '/Framework/Constraint/IsWritable.php',
|
||||
'phpunit\\framework\\constraint\\jsonmatches' => '/Framework/Constraint/JsonMatches.php',
|
||||
'phpunit\\framework\\constraint\\jsonmatcheserrormessageprovider' => '/Framework/Constraint/JsonMatchesErrorMessageProvider.php',
|
||||
'phpunit\\framework\\constraint\\lessthan' => '/Framework/Constraint/LessThan.php',
|
||||
'phpunit\\framework\\constraint\\logicaland' => '/Framework/Constraint/LogicalAnd.php',
|
||||
'phpunit\\framework\\constraint\\logicalnot' => '/Framework/Constraint/LogicalNot.php',
|
||||
'phpunit\\framework\\constraint\\logicalor' => '/Framework/Constraint/LogicalOr.php',
|
||||
'phpunit\\framework\\constraint\\logicalxor' => '/Framework/Constraint/LogicalXor.php',
|
||||
'phpunit\\framework\\constraint\\objecthasattribute' => '/Framework/Constraint/ObjectHasAttribute.php',
|
||||
'phpunit\\framework\\constraint\\regularexpression' => '/Framework/Constraint/RegularExpression.php',
|
||||
'phpunit\\framework\\constraint\\samesize' => '/Framework/Constraint/SameSize.php',
|
||||
'phpunit\\framework\\constraint\\stringcontains' => '/Framework/Constraint/StringContains.php',
|
||||
'phpunit\\framework\\constraint\\stringendswith' => '/Framework/Constraint/StringEndsWith.php',
|
||||
'phpunit\\framework\\constraint\\stringmatchesformatdescription' => '/Framework/Constraint/StringMatchesFormatDescription.php',
|
||||
'phpunit\\framework\\constraint\\stringstartswith' => '/Framework/Constraint/StringStartsWith.php',
|
||||
'phpunit\\framework\\constraint\\traversablecontains' => '/Framework/Constraint/TraversableContains.php',
|
||||
'phpunit\\framework\\constraint\\traversablecontainsequal' => '/Framework/Constraint/TraversableContainsEqual.php',
|
||||
'phpunit\\framework\\constraint\\traversablecontainsidentical' => '/Framework/Constraint/TraversableContainsIdentical.php',
|
||||
'phpunit\\framework\\constraint\\traversablecontainsonly' => '/Framework/Constraint/TraversableContainsOnly.php',
|
||||
'phpunit\\framework\\coveredcodenotexecutedexception' => '/Framework/Exception/CoveredCodeNotExecutedException.php',
|
||||
'phpunit\\framework\\dataprovidertestsuite' => '/Framework/DataProviderTestSuite.php',
|
||||
'phpunit\\framework\\error\\deprecated' => '/Framework/Error/Deprecated.php',
|
||||
'phpunit\\framework\\error\\error' => '/Framework/Error/Error.php',
|
||||
'phpunit\\framework\\error\\notice' => '/Framework/Error/Notice.php',
|
||||
'phpunit\\framework\\error\\warning' => '/Framework/Error/Warning.php',
|
||||
'phpunit\\framework\\exception' => '/Framework/Exception/Exception.php',
|
||||
'phpunit\\framework\\exceptionwrapper' => '/Framework/ExceptionWrapper.php',
|
||||
'phpunit\\framework\\expectationfailedexception' => '/Framework/Exception/ExpectationFailedException.php',
|
||||
'phpunit\\framework\\incompletetest' => '/Framework/IncompleteTest.php',
|
||||
'phpunit\\framework\\incompletetestcase' => '/Framework/IncompleteTestCase.php',
|
||||
'phpunit\\framework\\incompletetesterror' => '/Framework/Exception/IncompleteTestError.php',
|
||||
'phpunit\\framework\\invalidargumentexception' => '/Framework/Exception/InvalidArgumentException.php',
|
||||
'phpunit\\framework\\invalidcoverstargetexception' => '/Framework/Exception/InvalidCoversTargetException.php',
|
||||
'phpunit\\framework\\invaliddataproviderexception' => '/Framework/Exception/InvalidDataProviderException.php',
|
||||
'phpunit\\framework\\invalidparametergroupexception' => '/Framework/InvalidParameterGroupException.php',
|
||||
'phpunit\\framework\\missingcoversannotationexception' => '/Framework/Exception/MissingCoversAnnotationException.php',
|
||||
'phpunit\\framework\\mockobject\\api' => '/Framework/MockObject/Api/Api.php',
|
||||
'phpunit\\framework\\mockobject\\badmethodcallexception' => '/Framework/MockObject/Exception/BadMethodCallException.php',
|
||||
'phpunit\\framework\\mockobject\\builder\\identity' => '/Framework/MockObject/Builder/Identity.php',
|
||||
'phpunit\\framework\\mockobject\\builder\\invocationmocker' => '/Framework/MockObject/Builder/InvocationMocker.php',
|
||||
'phpunit\\framework\\mockobject\\builder\\invocationstubber' => '/Framework/MockObject/Builder/InvocationStubber.php',
|
||||
'phpunit\\framework\\mockobject\\builder\\match' => '/Framework/MockObject/Builder/Match.php',
|
||||
'phpunit\\framework\\mockobject\\builder\\methodnamematch' => '/Framework/MockObject/Builder/MethodNameMatch.php',
|
||||
'phpunit\\framework\\mockobject\\builder\\parametersmatch' => '/Framework/MockObject/Builder/ParametersMatch.php',
|
||||
'phpunit\\framework\\mockobject\\builder\\stub' => '/Framework/MockObject/Builder/Stub.php',
|
||||
'phpunit\\framework\\mockobject\\configurablemethod' => '/Framework/MockObject/ConfigurableMethod.php',
|
||||
'phpunit\\framework\\mockobject\\configurablemethodsalreadyinitializedexception' => '/Framework/MockObject/Exception/ConfigurableMethodsAlreadyInitializedException.php',
|
||||
'phpunit\\framework\\mockobject\\exception' => '/Framework/MockObject/Exception/Exception.php',
|
||||
'phpunit\\framework\\mockobject\\generator' => '/Framework/MockObject/Generator.php',
|
||||
'phpunit\\framework\\mockobject\\incompatiblereturnvalueexception' => '/Framework/MockObject/Exception/IncompatibleReturnValueException.php',
|
||||
'phpunit\\framework\\mockobject\\invocation' => '/Framework/MockObject/Invocation.php',
|
||||
'phpunit\\framework\\mockobject\\invocationhandler' => '/Framework/MockObject/InvocationHandler.php',
|
||||
'phpunit\\framework\\mockobject\\matcher' => '/Framework/MockObject/Matcher.php',
|
||||
'phpunit\\framework\\mockobject\\method' => '/Framework/MockObject/Api/Method.php',
|
||||
'phpunit\\framework\\mockobject\\methodnameconstraint' => '/Framework/MockObject/MethodNameConstraint.php',
|
||||
'phpunit\\framework\\mockobject\\mockbuilder' => '/Framework/MockObject/MockBuilder.php',
|
||||
'phpunit\\framework\\mockobject\\mockclass' => '/Framework/MockObject/MockClass.php',
|
||||
'phpunit\\framework\\mockobject\\mockmethod' => '/Framework/MockObject/MockMethod.php',
|
||||
'phpunit\\framework\\mockobject\\mockmethodset' => '/Framework/MockObject/MockMethodSet.php',
|
||||
'phpunit\\framework\\mockobject\\mockobject' => '/Framework/MockObject/MockObject.php',
|
||||
'phpunit\\framework\\mockobject\\mocktrait' => '/Framework/MockObject/MockTrait.php',
|
||||
'phpunit\\framework\\mockobject\\mocktype' => '/Framework/MockObject/MockType.php',
|
||||
'phpunit\\framework\\mockobject\\mockedclonemethod' => '/Framework/MockObject/Api/MockedCloneMethod.php',
|
||||
'phpunit\\framework\\mockobject\\rule\\anyinvokedcount' => '/Framework/MockObject/Rule/AnyInvokedCount.php',
|
||||
'phpunit\\framework\\mockobject\\rule\\anyparameters' => '/Framework/MockObject/Rule/AnyParameters.php',
|
||||
'phpunit\\framework\\mockobject\\rule\\consecutiveparameters' => '/Framework/MockObject/Rule/ConsecutiveParameters.php',
|
||||
'phpunit\\framework\\mockobject\\rule\\invocationorder' => '/Framework/MockObject/Rule/InvocationOrder.php',
|
||||
'phpunit\\framework\\mockobject\\rule\\invokedatindex' => '/Framework/MockObject/Rule/InvokedAtIndex.php',
|
||||
'phpunit\\framework\\mockobject\\rule\\invokedatleastcount' => '/Framework/MockObject/Rule/InvokedAtLeastCount.php',
|
||||
'phpunit\\framework\\mockobject\\rule\\invokedatleastonce' => '/Framework/MockObject/Rule/InvokedAtLeastOnce.php',
|
||||
'phpunit\\framework\\mockobject\\rule\\invokedatmostcount' => '/Framework/MockObject/Rule/InvokedAtMostCount.php',
|
||||
'phpunit\\framework\\mockobject\\rule\\invokedcount' => '/Framework/MockObject/Rule/InvokedCount.php',
|
||||
'phpunit\\framework\\mockobject\\rule\\methodname' => '/Framework/MockObject/Rule/MethodName.php',
|
||||
'phpunit\\framework\\mockobject\\rule\\parameters' => '/Framework/MockObject/Rule/Parameters.php',
|
||||
'phpunit\\framework\\mockobject\\rule\\parametersrule' => '/Framework/MockObject/Rule/ParametersRule.php',
|
||||
'phpunit\\framework\\mockobject\\runtimedxception' => '/Framework/MockObject/Exception/RuntimeException.php',
|
||||
'phpunit\\framework\\mockobject\\stub' => '/Framework/MockObject/Stub.php',
|
||||
'phpunit\\framework\\mockobject\\stub\\consecutivecalls' => '/Framework/MockObject/Stub/ConsecutiveCalls.php',
|
||||
'phpunit\\framework\\mockobject\\stub\\exception' => '/Framework/MockObject/Stub/Exception.php',
|
||||
'phpunit\\framework\\mockobject\\stub\\returnargument' => '/Framework/MockObject/Stub/ReturnArgument.php',
|
||||
'phpunit\\framework\\mockobject\\stub\\returncallback' => '/Framework/MockObject/Stub/ReturnCallback.php',
|
||||
'phpunit\\framework\\mockobject\\stub\\returnreference' => '/Framework/MockObject/Stub/ReturnReference.php',
|
||||
'phpunit\\framework\\mockobject\\stub\\returnself' => '/Framework/MockObject/Stub/ReturnSelf.php',
|
||||
'phpunit\\framework\\mockobject\\stub\\returnstub' => '/Framework/MockObject/Stub/ReturnStub.php',
|
||||
'phpunit\\framework\\mockobject\\stub\\returnvaluemap' => '/Framework/MockObject/Stub/ReturnValueMap.php',
|
||||
'phpunit\\framework\\mockobject\\stub\\stub' => '/Framework/MockObject/Stub/Stub.php',
|
||||
'phpunit\\framework\\mockobject\\unmockedclonemethod' => '/Framework/MockObject/Api/UnmockedCloneMethod.php',
|
||||
'phpunit\\framework\\mockobject\\verifiable' => '/Framework/MockObject/Verifiable.php',
|
||||
'phpunit\\framework\\nochildtestsuiteexception' => '/Framework/Exception/NoChildTestSuiteException.php',
|
||||
'phpunit\\framework\\outputerror' => '/Framework/Exception/OutputError.php',
|
||||
'phpunit\\framework\\phptassertionfailederror' => '/Framework/Exception/PHPTAssertionFailedError.php',
|
||||
'phpunit\\framework\\riskytesterror' => '/Framework/Exception/RiskyTestError.php',
|
||||
'phpunit\\framework\\selfdescribing' => '/Framework/SelfDescribing.php',
|
||||
'phpunit\\framework\\skippedtest' => '/Framework/SkippedTest.php',
|
||||
'phpunit\\framework\\skippedtestcase' => '/Framework/SkippedTestCase.php',
|
||||
'phpunit\\framework\\skippedtesterror' => '/Framework/Exception/SkippedTestError.php',
|
||||
'phpunit\\framework\\skippedtestsuiteerror' => '/Framework/Exception/SkippedTestSuiteError.php',
|
||||
'phpunit\\framework\\syntheticerror' => '/Framework/Exception/SyntheticError.php',
|
||||
'phpunit\\framework\\syntheticskippederror' => '/Framework/Exception/SyntheticSkippedError.php',
|
||||
'phpunit\\framework\\test' => '/Framework/Test.php',
|
||||
'phpunit\\framework\\testbuilder' => '/Framework/TestBuilder.php',
|
||||
'phpunit\\framework\\testcase' => '/Framework/TestCase.php',
|
||||
'phpunit\\framework\\testfailure' => '/Framework/TestFailure.php',
|
||||
'phpunit\\framework\\testlistener' => '/Framework/TestListener.php',
|
||||
'phpunit\\framework\\testlistenerdefaultimplementation' => '/Framework/TestListenerDefaultImplementation.php',
|
||||
'phpunit\\framework\\testresult' => '/Framework/TestResult.php',
|
||||
'phpunit\\framework\\testsuite' => '/Framework/TestSuite.php',
|
||||
'phpunit\\framework\\testsuiteiterator' => '/Framework/TestSuiteIterator.php',
|
||||
'phpunit\\framework\\unintentionallycoveredcodeerror' => '/Framework/Exception/UnintentionallyCoveredCodeError.php',
|
||||
'phpunit\\framework\\warning' => '/Framework/Exception/Warning.php',
|
||||
'phpunit\\framework\\warningTestCase' => '/Framework/WarningTestCase.php',
|
||||
'phpunit\\runner\\afterincompletetesthook' => '/Runner/Hook/AfterIncompleteTestHook.php',
|
||||
'phpunit\\runner\\afterlasttesthook' => '/Runner/Hook/AfterLastTestHook.php',
|
||||
'phpunit\\runner\\afterriskytesthook' => '/Runner/Hook/AfterRiskyTestHook.php',
|
||||
'phpunit\\runner\\afterskippedtesthook' => '/Runner/Hook/AfterSkippedTestHook.php',
|
||||
'phpunit\\runner\\aftersuccessfultesthook' => '/Runner/Hook/AfterSuccessfulTestHook.php',
|
||||
'phpunit\\runner\\aftertesterrorhook' => '/Runner/Hook/AfterTestErrorHook.php',
|
||||
'phpunit\\runner\\aftertestfailurehook' => '/Runner/Hook/AfterTestFailureHook.php',
|
||||
'phpunit\\runner\\aftertesthook' => '/Runner/Hook/AfterTestHook.php',
|
||||
'phpunit\\runner\\aftertestwarninghook' => '/Runner/Hook/AfterTestWarningHook.php',
|
||||
'phpunit\\runner\\basetestrunner' => '/Runner/BaseTestRunner.php',
|
||||
'phpunit\\runner\\beforefirsttesthHook' => '/Runner/Hook/BeforeFirstTestHook.php',
|
||||
'phpunit\\runner\\beforetesthook' => '/Runner/Hook/BeforeTestHook.php',
|
||||
'phpunit\\runner\\defaulttestresultcache' => '/Runner/DefaultTestResultCache.php',
|
||||
'phpunit\\runner\\exception' => '/Runner/Exception.php',
|
||||
'phpunit\\runner\\filter\\excludegroupfilteriterator' => '/Runner/Filter/ExcludeGroupFilterIterator.php',
|
||||
'phpunit\\runner\\filter\\factory' => '/Runner/Filter/Factory.php',
|
||||
'phpunit\\runner\\filter\\groupfilteriterator' => '/Runner/Filter/GroupFilterIterator.php',
|
||||
'phpunit\\runner\\filter\\includegroupfilteriterator' => '/Runner/Filter/IncludeGroupFilterIterator.php',
|
||||
'phpunit\\runner\\filter\\namefilteriterator' => '/Runner/Filter/NameFilterIterator.php',
|
||||
'phpunit\\runner\\hook' => '/Runner/Hook/Hook.php',
|
||||
'phpunit\\runner\\nulltestresultcache' => '/Runner/NullTestResultCache.php',
|
||||
'phpunit\\runner\\phpttestcase' => '/Runner/PhptTestCase.php',
|
||||
'phpunit\\runner\\resultcacheextension' => '/Runner/ResultCacheExtension.php',
|
||||
'phpunit\\runner\\standardtestsuiteloader' => '/Runner/StandardTestSuiteLoader.php',
|
||||
'phpunit\\runner\\testhook' => '/Runner/Hook/TestHook.php',
|
||||
'phpunit\\runner\\testlisteneradapter' => '/Runner/Hook/TestListenerAdapter.php',
|
||||
'phpunit\\runner\\testresultcache' => '/Runner/TestResultCache.php',
|
||||
'phpunit\\runner\\testsuiteloader' => '/Runner/TestSuiteLoader.php',
|
||||
'phpunit\\runner\\testsuitesorter' => '/Runner/TestSuiteSorter.php',
|
||||
'phpunit\\runner\\version' => '/Runner/Version.php',
|
||||
'phpunit\\textui\\command' => '/TextUI/Command.php',
|
||||
'phpunit\\textui\\exception' => '/TextUI/Exception.php',
|
||||
'phpunit\\textui\\help' => '/TextUI/Help.php',
|
||||
'phpunit\\textui\\resultprinter' => '/TextUI/ResultPrinter.php',
|
||||
'phpunit\\textui\\testrunner' => '/TextUI/TestRunner.php',
|
||||
'phpunit\\util\\annotation\\docblock' => '/Util/Annotation/DocBlock.php',
|
||||
'phpunit\\util\\annotation\\registry' => '/Util/Annotation/Registry.php',
|
||||
'phpunit\\util\\blacklist' => '/Util/Blacklist.php',
|
||||
'phpunit\\util\\color' => '/Util/Color.php',
|
||||
'phpunit\\util\\configuration' => '/Util/Configuration.php',
|
||||
'phpunit\\util\\configurationgenerator' => '/Util/ConfigurationGenerator.php',
|
||||
'phpunit\\util\\errorhandler' => '/Util/ErrorHandler.php',
|
||||
'phpunit\\util\\exception' => '/Util/Exception.php',
|
||||
'phpunit\\util\\fileloader' => '/Util/FileLoader.php',
|
||||
'phpunit\\util\\filesystem' => '/Util/Filesystem.php',
|
||||
'phpunit\\util\\filter' => '/Util/Filter.php',
|
||||
'phpunit\\util\\getopt' => '/Util/Getopt.php',
|
||||
'phpunit\\util\\globalstate' => '/Util/GlobalState.php',
|
||||
'phpunit\\util\\invaliddatasetexception' => '/Util/InvalidDataSetException.php',
|
||||
'phpunit\\util\\json' => '/Util/Json.php',
|
||||
'phpunit\\util\\log\\junit' => '/Util/Log/JUnit.php',
|
||||
'phpunit\\util\\log\\teamcity' => '/Util/Log/TeamCity.php',
|
||||
'phpunit\\util\\php\\abstractphpprocess' => '/Util/PHP/AbstractPhpProcess.php',
|
||||
'phpunit\\util\\php\\defaultphpprocess' => '/Util/PHP/DefaultPhpProcess.php',
|
||||
'phpunit\\util\\php\\windowsphpprocess' => '/Util/PHP/WindowsPhpProcess.php',
|
||||
'phpunit\\util\\printer' => '/Util/Printer.php',
|
||||
'phpunit\\util\\regularexpression' => '/Util/RegularExpression.php',
|
||||
'phpunit\\util\\test' => '/Util/Test.php',
|
||||
'phpunit\\util\\testdox\\clitestdoxprinter' => '/Util/TestDox/CliTestDoxPrinter.php',
|
||||
'phpunit\\util\\testdox\\htmlresultprinter' => '/Util/TestDox/HtmlResultPrinter.php',
|
||||
'phpunit\\util\\testdox\\nameprettifier' => '/Util/TestDox/NamePrettifier.php',
|
||||
'phpunit\\util\\testdox\\resultprinter' => '/Util/TestDox/ResultPrinter.php',
|
||||
'phpunit\\util\\testdox\\testdoxprinter' => '/Util/TestDox/TestDoxPrinter.php',
|
||||
'phpunit\\util\\testdox\\textresultprinter' => '/Util/TestDox/TextResultPrinter.php',
|
||||
'phpunit\\util\\testdox\\xmlresultprinter' => '/Util/TestDox/XmlResultPrinter.php',
|
||||
'phpunit\\util\\texttestlistrenderer' => '/Util/TextTestListRenderer.php',
|
||||
'phpunit\\util\\type' => '/Util/Type.php',
|
||||
'phpunit\\util\\xdebugfilterscriptgenerator' => '/Util/XdebugFilterScriptGenerator.php',
|
||||
'phpunit\\util\\xml' => '/Util/Xml.php',
|
||||
'phpunit\\util\\xmltestlistrenderer' => '/Util/XmlTestListRenderer.php',
|
||||
],
|
||||
"${include_dir}/PHPUnit"
|
||||
);
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
"${include_dir}/File/Iterator/autoload.php",
|
||||
"${include_dir}/PHP/CodeCoverage/autoload.php",
|
||||
"${include_dir}/PHP/Timer/autoload.php",
|
||||
"${include_dir}/SebastianBergmann/Version/autoload.php",
|
||||
"${include_dir}/SebastianBergmann/Diff/autoload.php",
|
||||
"${include_dir}/SebastianBergmann/Environment/autoload.php",
|
||||
"${include_dir}/SebastianBergmann/Exporter/autoload.php",
|
||||
"${include_dir}/SebastianBergmann/GlobalState/autoload.php",
|
||||
"${include_dir}/SebastianBergmann/Comparator/autoload.php",
|
||||
"${include_dir}/SebastianBergmann/ObjectEnumerator/autoload.php",
|
||||
"${include_dir}/SebastianBergmann/ResourceOperations/autoload.php",
|
||||
"${include_dir}/SebastianBergmann/Type/autoload.php",
|
||||
"${include_dir}/SebastianBergmann/Version/autoload.php",
|
||||
"${include_dir}/Symfony/Component/Yaml/autoload.php",
|
||||
"${include_dir}/Text/Template/autoload.php",
|
||||
"${include_dir}/myclabs/DeepCopy/autoload.php",
|
||||
"${include_dir}/phpspec/Prophecy/autoload.php",
|
||||
"${include_dir}/Doctrine/Instantiator/autoload.php",
|
||||
"${include_dir}/PharIo/Manifest/autoload.php",
|
||||
"${include_dir}/PharIo/Version/autoload.php",
|
||||
]);
|
||||
|
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="A PHP Unit Testing framework"
|
||||
HOMEPAGE="https://phpunit.de"
|
||||
SRC_URI="https://github.com/sebastianbergmann/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="dev-php/fedora-autoloader
|
||||
>=dev-php/File_Iterator-2.0.2
|
||||
>=dev-php/Text_Template-1.2.1
|
||||
>=dev-php/PHP_CodeCoverage-7.0.12
|
||||
>=dev-php/PHP_Timer-2.1.2
|
||||
>=dev-php/doctrine-instantiator-1.3.1
|
||||
>=dev-php/myclabs-deepcopy-1.10.0
|
||||
>=dev-php/phar-io-manifest-1.0.3
|
||||
>=dev-php/phar-io-version-2.0.1
|
||||
>=dev-php/phpspec-prophecy-1.10.3
|
||||
>=dev-php/sebastian-comparator-3.0.2
|
||||
>=dev-php/sebastian-diff-3.0.2
|
||||
>=dev-php/sebastian-environment-4.2.3
|
||||
>=dev-php/sebastian-exporter-3.1.2
|
||||
>=dev-php/sebastian-global-state-3.0.0
|
||||
>=dev-php/sebastian-object-enumerator-3.0.3
|
||||
>=dev-php/sebastian-resource-operations-2.0.1
|
||||
>=dev-php/sebastian-type-1.1.3
|
||||
>=dev-php/sebastian-version-2.0.1
|
||||
|| (
|
||||
dev-lang/php:7.4[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)]
|
||||
dev-lang/php:7.3[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)]
|
||||
dev-lang/php:7.2[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)]
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mkdir src/vendor || die
|
||||
|
||||
phpab \
|
||||
--output src/vendor/autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir src/vendor \
|
||||
src || die
|
||||
|
||||
cat >> src/vendor/autoload.php <<EOF || die "failed to extend autoload.php"
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
__DIR__ . '/../../File/Iterator/autoload.php',
|
||||
__DIR__ . '/../../Text/Template/autoload.php',
|
||||
__DIR__ . '/../../PHP/CodeCoverage/autoload.php',
|
||||
__DIR__ . '/../../PHP/Timer/autoload.php',
|
||||
__DIR__ . '/../../phpspec/Prophecy/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/Diff/autoload.php', // Before comparator which may load v2
|
||||
__DIR__ . '/../../SebastianBergmann/Comparator/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/Environment/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/Exporter/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/GlobalState/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/ObjectEnumerator/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/ResourceOperations/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/Type/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/Version/autoload.php',
|
||||
__DIR__ . '/../../Doctrine/Instantiator/autoload.php',
|
||||
__DIR__ . '/../../myclabs/DeepCopy/autoload.php',
|
||||
__DIR__ . '/../../PharIo/Manifest/autoload.php',
|
||||
__DIR__ . '/../../PharIo/Version/autoload.php',
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php/PHPUnit
|
||||
doins -r src/*
|
||||
|
||||
# referenced by PHPUnit/Util/Configuration.php
|
||||
insinto /usr/share/php/
|
||||
doins phpunit.xsd
|
||||
|
||||
exeinto /usr/share/php/PHPUnit
|
||||
doexe phpunit
|
||||
dosym ../share/php/PHPUnit/phpunit /usr/bin/phpunit
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "${PN} can optionally use json, pdo-sqlite and pdo-mysql features."
|
||||
elog "If you want those, emerge dev-lang/php with USE=\"json pdo sqlite mysql\"."
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue