parent
82cfd67d56
commit
dd2048bad5
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST pdk_1.8.0.0-1stretch_amd64.deb 128361866 BLAKE2B 1d21de3e011d8f111ca9910193fb2ffd3360ec1bc7d1917b89c24d42dad8c1b521b12f37850cfc88a32cc79aab76000b2801568683e96ef9aedfbe7ab48bf6b3 SHA512 edae3add1d7a0e66361cc60c555f556355a07d80dc05b21cfa8c994b8a66442168d72b602258d984f9c19c15e561c9260d3ebbc82e6bfc22758f4327d78791c2
|
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
PDK includes testing tools, a complete module skeleton, and command line
|
||||
tools to help you create, validate, and run tests on Puppet modules. PDK
|
||||
also includes all dependencies needed for its use.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit eutils unpacker
|
||||
|
||||
DESCRIPTION="Puppet SDK - develop and test puppet modules"
|
||||
HOMEPAGE="https://puppetlabs.com/"
|
||||
SRC_BASE="http://apt.puppetlabs.com/pool/stretch/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1stretch"
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_BASE}_amd64.deb )
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
RESTRICT="strip"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/puppetlabs/pdk
|
||||
/opt/puppetlabs/pdk/lib/engines/*
|
||||
/opt/puppetlabs/pdk/lib/*
|
||||
/opt/puppetlabs/pdk/bin/*"
|
||||
|
||||
src_install() {
|
||||
# Drop the opt folder into place
|
||||
insinto /opt
|
||||
doins -r opt/*
|
||||
|
||||
# Add symlinks
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/pdk/bin/"
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/pdk/private/git/bin/"
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/pdk/private/ruby/2.1.9/bin/"
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/pdk/private/ruby/2.4.4/bin/"
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/pdk/private/ruby/2.5.1/bin/"
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/pdk/private/puppet/ruby/2.1.0/bin/"
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/pdk/private/puppet/ruby/2.4.0/bin/"
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/pdk/private/puppet/ruby/2.5.0/bin/"
|
||||
|
||||
# remove rwx a.out stuff
|
||||
rm "${D}"/opt/puppetlabs/pdk/private/ruby/2.4.4/lib/ruby/gems/2.4.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x86_64-linux/a.out
|
||||
rm "${D}"/opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x86_64-linux/a.out
|
||||
rm "${D}"/opt/puppetlabs/pdk/share/cache/ruby/2.5.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x86_64-linux/a.out
|
||||
|
||||
dosym ../../opt/puppetlabs/pdk/bin/pdk /usr/bin/pdk
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="A Cross-Platform Benchmark for Android, iOS, Linux, MacOS and Windows"
|
||||
HOMEPAGE="https://www.geekbench.com/"
|
||||
SRC_URI="https://cdn.geekbench.com/Geekbench-${PV}-Linux.tar.gz"
|
||||
|
||||
KEYWORDS="-* ~amd64"
|
||||
LICENSE="geekbench"
|
||||
SLOT="5"
|
||||
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
S="${WORKDIR}/Geekbench-${PV}-Linux"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/geekbench5/geekbench5
|
||||
opt/geekbench5/geekbench_x86_64
|
||||
"
|
||||
|
||||
pkg_nofetch() {
|
||||
elog "Please download ${A} from ${HOMEPAGE}/download/linux"
|
||||
elog "and place it in your DISTDIR directory."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /opt/geekbench5
|
||||
doexe geekbench5 geekbench_x86_64
|
||||
|
||||
insinto /opt/geekbench5
|
||||
doins geekbench.plar
|
||||
|
||||
dodir /opt/bin
|
||||
dosym ../geekbench5/geekbench5 /opt/bin/geekbench5
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you have purchased a commercial license, you can enter"
|
||||
elog "your email address and your license key with the following command:"
|
||||
elog "geekbench5 -r <email address> <license key>"
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST nattka-0.2.6.tar.gz 90276 BLAKE2B 622ec99e276a8bcdd3972859fb41656e1a86cec62a0f571665fbfe350a467720dfa098f4d4afcb23554540118151776283b5947bcd9c4bd013b025a657c2bd75 SHA512 bc62a51a86e90834975d9bef6f65adf9b3620a19c0c98cd878ff19d0b9cb5679ecf68ee31984bfbfcd9d009420377cfcd57a9561f2eda967f5108bcaf8518ab9
|
||||
DIST nattka-0.2.7.tar.gz 90560 BLAKE2B d97cea754108f004c7d09417fd3ac82bd77941ece9fe9a8ef273af420cd058bcd81a95039b9ba4615d7067015863297c241d9871079237152f34682235de5fbc SHA512 bc06303df642cfa59a5f5fc319e23f7fd0fa47f608677eec235de614042b9e4804261d08df24f8578f5a444f621671e51ecd6f0487702255df56f19aef81dce8
|
||||
DIST nattka-0.2.8.tar.gz 90715 BLAKE2B 90403452714b11a7248a57efde511a989754ccf406c9d1049e0f0d47dc469c9235fb3c842422bd720aa6135b1a00a46599ff08db5602e84d5a349d8face7649d SHA512 45f59034b09813d78a9741d95cbdd5eea82b923bcf5e4771b36b73ed6b8ed9aa3c348d8af9d42d51d50fedba842b39aeb14abb9fe3cd488dfb56f493934c1345
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A New Arch Tester Toolkit -- open-source stable-bot replacement"
|
||||
HOMEPAGE="https://github.com/mgorny/nattka/"
|
||||
SRC_URI="https://github.com/mgorny/nattka/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE="depgraph-order"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-util/pkgcheck[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
sys-apps/pkgcore[${PYTHON_USEDEP}]
|
||||
depgraph-order? (
|
||||
dev-python/networkx[${PYTHON_USEDEP}]
|
||||
)"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/vcrpy[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_sphinx doc --no-autodoc
|
||||
distutils_enable_tests pytest
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST ms-gsl-2.0.0.tar.gz 64726 BLAKE2B ab40725aa38af7c5651e22ebf32d4bd9c27a10be2e206fd4c3c0173ad21da262beddef022b7b158653b185cfc3269f2b6e80d99fe65f601ffc3e770b143b03f8 SHA512 7339527222c8a97a94c0bb4038b3d142045ec5d80995e628574ac96f4d9d13c41ad70fbe0d8390586dc0db8d9ea55107dbc95de80f7335eb78ef9d2e7047d726
|
||||
DIST ms-gsl-2.1.0.tar.gz 67289 BLAKE2B 5a247028b71521d7851a6aa5f24936dfb1c7f283854724d8d4bf2d9d9ac3a928c0e5b42a280d8a0a0254d9f6fa958bf1283dab674c649bdaaa7b38ef38f3b1ba SHA512 4382b8feadf4608b06b66a78ca51b0f60a6e8b41b183aec6ac8f8e2e9f0b39705dea513fd708012ed8390c1a4f88d7df454f05166b76bee24ae843835cd4a2ca
|
||||
DIST ms-gsl-3.1.0.tar.gz 78196 BLAKE2B 32334891a11004a6919645814154fdb108a4582a00ac0002c0af9a524978cc8316bebb07192e260b800f462d5424c476fc22be59cca59c0f3d9d7606ab8c4181 SHA512 2916df9ee165fc803ffae0a56518f2ba92870e279984913ff591559e1459943c3ffbc1f5a0d819ad8233f0c9034012de3616aa4e10557d87c7285d8425d10696
|
||||
|
@ -0,0 +1,82 @@
|
||||
From 727e9b8312c7ae011b667152606afc0e04ea197a Mon Sep 17 00:00:00 2001
|
||||
From: Jan Henke <Jan.Henke@taujhe.de>
|
||||
Date: Sun, 14 Jun 2020 14:12:02 +0200
|
||||
Subject: [PATCH] Use system gtest instead of downloading and building it
|
||||
|
||||
---
|
||||
CMakeLists.txt | 1 -
|
||||
tests/CMakeLists.txt | 30 ++++--------------------------
|
||||
2 files changed, 4 insertions(+), 27 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 740cd31..f1bf7a2 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -3,7 +3,6 @@ cmake_minimum_required(VERSION 3.1.3...3.16)
|
||||
project(GSL VERSION 3.1.0 LANGUAGES CXX)
|
||||
|
||||
include(ExternalProject)
|
||||
-find_package(Git)
|
||||
|
||||
# Use GNUInstallDirs to provide the right locations on all platforms
|
||||
include(GNUInstallDirs)
|
||||
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
|
||||
index 2bd1bbe..c42afb7 100644
|
||||
--- a/tests/CMakeLists.txt
|
||||
+++ b/tests/CMakeLists.txt
|
||||
@@ -5,32 +5,9 @@ project(GSLTests CXX)
|
||||
# will make visual studio generated project group files
|
||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||
|
||||
-configure_file(CMakeLists.txt.in googletest-download/CMakeLists.txt)
|
||||
-execute_process(
|
||||
- COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" .
|
||||
- RESULT_VARIABLE result
|
||||
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/googletest-download
|
||||
-)
|
||||
-if(result)
|
||||
- message(FATAL_ERROR "CMake step for googletest failed: ${result}")
|
||||
-endif()
|
||||
-
|
||||
-execute_process(
|
||||
- COMMAND ${CMAKE_COMMAND} --build .
|
||||
- RESULT_VARIABLE result
|
||||
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/googletest-download
|
||||
-)
|
||||
-if(result)
|
||||
- message(FATAL_ERROR "CMake step for googletest failed: ${result}")
|
||||
-endif()
|
||||
-
|
||||
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
||||
|
||||
-add_subdirectory(
|
||||
- ${CMAKE_CURRENT_BINARY_DIR}/googletest-src
|
||||
- ${CMAKE_CURRENT_BINARY_DIR}/googletest-build
|
||||
- EXCLUDE_FROM_ALL
|
||||
-)
|
||||
+find_package(GTest REQUIRED)
|
||||
|
||||
if (MSVC AND (GSL_CXX_STANDARD EQUAL 17))
|
||||
set(GSL_CPLUSPLUS_OPT -Zc:__cplusplus -permissive-)
|
||||
@@ -139,7 +116,7 @@ endif(MSVC)
|
||||
|
||||
# for tests to find the gtest header
|
||||
target_include_directories(gsl_tests_config SYSTEM INTERFACE
|
||||
- googletest/googletest/include
|
||||
+ ${GTest_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
set_property(TARGET PROPERTY FOLDER "GSL_tests")
|
||||
@@ -149,7 +126,8 @@ function(add_gsl_test name)
|
||||
target_link_libraries(${name}
|
||||
GSL
|
||||
gsl_tests_config
|
||||
- gtest_main
|
||||
+ GTest::GTest
|
||||
+ GTest::Main
|
||||
)
|
||||
add_test(
|
||||
${name}
|
||||
--
|
||||
2.26.2
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Guideline Support Library implementation by Microsoft"
|
||||
HOMEPAGE="https://github.com/Microsoft/GSL"
|
||||
SRC_URI="https://github.com/Microsoft/GSL/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/GSL-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# header only library
|
||||
RDEPEND=""
|
||||
DEPEND="test? ( >=dev-cpp/gtest-1.9.0_pre20190607 )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.0.0-disable_Werror-644042.patch"
|
||||
"${FILESDIR}/${PN}-3.0.0-use_system_gtest.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DGSL_TEST=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
Binary file not shown.
@ -1,14 +0,0 @@
|
||||
[Unit]
|
||||
Description=A persistent key-value database
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
PIDFile=/var/run/redis/redis.pid
|
||||
ExecStart=/usr/sbin/redis-server /etc/redis.conf
|
||||
User=redis
|
||||
Group=redis
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
diff --git a/Configure b/Configure
|
||||
index e32d18ce1f..85ab0249bc 100755
|
||||
--- a/Configure
|
||||
+++ b/Configure
|
||||
@@ -1497,7 +1497,7 @@ archname=''
|
||||
usereentrant='undef'
|
||||
: List of libraries we want.
|
||||
: If anyone needs extra -lxxx, put those in a hint file.
|
||||
-libswanted="cl pthread socket bind inet nsl ndbm gdbm dbm db malloc dl ld"
|
||||
+libswanted="cl pthread socket bind inet ndbm gdbm dbm db malloc dl ld"
|
||||
libswanted="$libswanted sun m crypt sec util c cposix posix ucb bsd BSD"
|
||||
: We probably want to search /usr/shlib before most other libraries.
|
||||
: This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist.
|
Binary file not shown.
@ -1,45 +0,0 @@
|
||||
diff --git a/README.adoc b/README.adoc
|
||||
index 8693417..023f2e9 100644
|
||||
--- a/README.adoc
|
||||
+++ b/README.adoc
|
||||
@@ -71,18 +71,3 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", \
|
||||
On Windows 1903 and newer versions, access to FIDO devices has been restricted
|
||||
to applications using the operating system's native API. Use of *libfido2*
|
||||
is still possible in privileged applications.
|
||||
-
|
||||
-=== OpenSSH Integration
|
||||
-
|
||||
-*libfido2* includes middleware allowing https://www.openssh.com[OpenSSH] to
|
||||
-talk to U2F/FIDO2 devices. Note that server support is required for
|
||||
-authentication. In a nutshell:
|
||||
-
|
||||
-==== Key Generation
|
||||
-
|
||||
- $ ssh-keygen -t [ecdsa-sk|ed25519-sk] -w /path/to/libsk-libfido2.so
|
||||
-
|
||||
-==== Authentication
|
||||
-
|
||||
- $ ssh-agent -P /path/to/libsk-libfido2.so
|
||||
- $ ssh-add -S /path/to/libsk-libfido2.so
|
||||
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
|
||||
index 5f27e88..c44d1df 100644
|
||||
--- a/tools/CMakeLists.txt
|
||||
+++ b/tools/CMakeLists.txt
|
||||
@@ -49,17 +49,9 @@ add_executable(fido2-token
|
||||
${COMPAT_SOURCES}
|
||||
)
|
||||
|
||||
-add_library(sk-libfido2 MODULE sk-libfido2.c)
|
||||
-set_target_properties(sk-libfido2 PROPERTIES
|
||||
- COMPILE_FLAGS "-DSK_STANDALONE -DWITH_OPENSSL"
|
||||
- OUTPUT_NAME sk-libfido2
|
||||
-)
|
||||
-
|
||||
target_link_libraries(fido2-cred ${CRYPTO_LIBRARIES} fido2_shared)
|
||||
target_link_libraries(fido2-assert ${CRYPTO_LIBRARIES} fido2_shared)
|
||||
target_link_libraries(fido2-token ${CRYPTO_LIBRARIES} fido2_shared)
|
||||
-target_link_libraries(sk-libfido2 ${CRYPTO_LIBRARIES} fido2_shared)
|
||||
|
||||
install(TARGETS fido2-cred fido2-assert fido2-token
|
||||
DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
-install(TARGETS sk-libfido2 DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
@ -1,2 +1,3 @@
|
||||
DIST libzip-1.6.1.tar.xz 732932 BLAKE2B 6f63ecb56767b730e5c5639c01e3e050ed64d1c1508b11d4cd1c75e2834988e14140a5e49ba25454d77c40c59b101615a9e00823066a35eaca0519147a75f5e6 SHA512 dcf3790933c95f66bdcbdb276497b36e57776103b0b1064a94479e84eaa0a09df8dd91509cb4ccab3a6724f0650f076ca1e332d73acc94b653e99a3e94a64574
|
||||
DIST libzip-1.7.0.tar.xz 737184 BLAKE2B 4442925b77ad336793ecc891e2c096c8b98457d193a5ebda239462ef5120b3e041b1882d56dc0c4c94d0f3c00e5117d04964af0a8827230f0dbf937a8b07a5fa SHA512 9c1632b4e0b4cfe22c5670d815bc8893d540226e3e64cf8cce7039a90bdc7048dedadb4804b151291e312c97bb384bd671e43021401c4c3e33a4e597972bc681
|
||||
DIST libzip-1.7.1.tar.xz 737496 BLAKE2B bd4c73bf317fa767ff0ea3c10b7f2e96699dc7ed7bd05fdaf3c5d477cd42aa18b40627569498697be1b5360d43471a9b8132909781f8bd32bda6f46534e4a61b SHA512 e924749274e5e45b83ba4bc961bfd299b9dd05829c1f42880a9814f942dbf7afe79aa1ea4e2b33d6db1dba1f7f948c0de40517f2ef90cc8725650b8cb88d9a14
|
||||
|
@ -0,0 +1,112 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake multibuild
|
||||
|
||||
DESCRIPTION="Library for manipulating zip archives"
|
||||
HOMEPAGE="https://nih.at/libzip/"
|
||||
SRC_URI="https://www.nih.at/libzip/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/5"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="bzip2 gnutls libressl lzma mbedtls ssl static-libs test tools"
|
||||
REQUIRED_USE="test? ( tools )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/zlib
|
||||
bzip2? ( app-arch/bzip2:= )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
ssl? (
|
||||
gnutls? (
|
||||
dev-libs/nettle:0=
|
||||
>=net-libs/gnutls-3.6.5:=
|
||||
)
|
||||
!gnutls? (
|
||||
mbedtls? ( net-libs/mbedtls:= )
|
||||
!mbedtls? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
)
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
# Upstream doesn't support building dynamic & static
|
||||
# simultaneously: https://github.com/nih-at/libzip/issues/76
|
||||
MULTIBUILD_VARIANTS=( shared $(usev static-libs) )
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myconfigure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_EXAMPLES=OFF # nothing is installed
|
||||
-DENABLE_COMMONCRYPTO=OFF # not in tree
|
||||
-DENABLE_BZIP2=$(usex bzip2)
|
||||
-DENABLE_LZMA=$(usex lzma)
|
||||
)
|
||||
if [[ ${MULTIBUILD_VARIANT} = static-libs ]]; then
|
||||
mycmakeargs+=(
|
||||
-DBUILD_DOC=OFF
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DBUILD_TOOLS=OFF
|
||||
)
|
||||
else
|
||||
mycmakeargs+=(
|
||||
-DBUILD_DOC=ON
|
||||
-DBUILD_REGRESS=$(usex test)
|
||||
-DBUILD_TOOLS=$(usex tools)
|
||||
)
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
if use gnutls; then
|
||||
mycmakeargs+=(
|
||||
-DENABLE_GNUTLS=$(usex gnutls)
|
||||
-DENABLE_MBEDTLS=OFF
|
||||
-DENABLE_OPENSSL=OFF
|
||||
)
|
||||
elif use mbedtls; then
|
||||
mycmakeargs+=(
|
||||
-DENABLE_GNUTLS=OFF
|
||||
-DENABLE_MBEDTLS=$(usex mbedtls)
|
||||
-DENABLE_OPENSSL=OFF
|
||||
)
|
||||
else
|
||||
mycmakeargs+=(
|
||||
-DENABLE_GNUTLS=OFF
|
||||
-DENABLE_MBEDTLS=OFF
|
||||
-DENABLE_OPENSSL=ON
|
||||
)
|
||||
fi
|
||||
else
|
||||
mycmakeargs+=(
|
||||
-DENABLE_GNUTLS=OFF
|
||||
-DENABLE_MBEDTLS=OFF
|
||||
-DENABLE_OPENSSL=OFF
|
||||
)
|
||||
fi
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
multibuild_foreach_variant myconfigure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
multibuild_foreach_variant cmake_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
[[ ${MULTIBUILD_VARIANT} = shared ]] && cmake_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
multibuild_foreach_variant cmake_src_install
|
||||
}
|
Binary file not shown.
@ -1,31 +0,0 @@
|
||||
diff -ruN tkispell-0.18.orig/Makefile.PL tkispell-0.18/Makefile.PL
|
||||
--- tkispell-0.18.orig/Makefile.PL 2004-02-28 20:38:46.000000000 +0100
|
||||
+++ tkispell-0.18/Makefile.PL 2014-10-11 10:43:09.372002632 +0200
|
||||
@@ -1,11 +1,11 @@
|
||||
use ExtUtils::MakeMaker;
|
||||
|
||||
-my $ispell_bin = `which ispell`;
|
||||
+my $ispell_bin = `which ispell-aspell`;
|
||||
# The first match is for Solaris which. The second is for
|
||||
# Linux which.
|
||||
-if (($ispell_bin =~ /no ispell/) || (length($ispell_bin) == 0)) {
|
||||
- print "Could not find locate ispell. Make sure that\n";
|
||||
- print "the ispell program is installed in a directory\n";
|
||||
+if (($ispell_bin =~ /no ispell-aspell/) || (length($ispell_bin) == 0)) {
|
||||
+ print "Could not find locate ispell-aspell. Make sure that\n";
|
||||
+ print "the ispell-aspell program is installed in a directory\n";
|
||||
print "named in the PATH environment variable.\n";
|
||||
exit 1;
|
||||
}
|
||||
diff -ruN tkispell-0.18.orig/tkispell tkispell-0.18/tkispell
|
||||
--- tkispell-0.18.orig/tkispell 2004-03-14 03:50:34.000000000 +0100
|
||||
+++ tkispell-0.18/tkispell 2014-10-11 10:43:58.772005395 +0200
|
||||
@@ -14,7 +14,7 @@
|
||||
if ($lang =~ /^C$/ || ! defined ($lang)) {$lang = 'default'; }
|
||||
my $hdict = $ENV{HOME}."/.ispell_$lang"; # Personal dictionary.
|
||||
|
||||
-my $ispell_prog = `which ispell`;
|
||||
+my $ispell_prog = `which ispell-aspell`;
|
||||
chomp $ispell_prog;
|
||||
my ($cw, $b1, @misspelledlist, @replacementlist, @addlist, $midx);
|
||||
my $ifname = '';
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST Crypt_GPG-1.6.2.tgz 346709 BLAKE2B abced2fe8c909f06690c38884506ce03df4c5ef3ef460aafce65ea9405c6974f8af320fd5a07a7967b45421a9a67aa27026c28ef7eb1402ffefba527007a33ae SHA512 9d954d96b4e461c75f79ce9bc701d062e3f19671690228e6e0ce5265733ac1de9c06520f9f750348f3c37f01ccb79720574b2d2f371e69c8a25ae6e1bc18aabd
|
||||
DIST Crypt_GPG-1.6.3.tgz 346999 BLAKE2B 8402ef382a6393972a3fda7370fbd37dec19d0ebabb6b316d35783538dbc01746476977d7dc3da487876201cd678964d9572dc67a43911319b1b614004a3c909 SHA512 f1ad2560a43a1e8f5a33269bc4ae4067e19e5325fdbd8d2fc55f6cb8aad89258df45fbecedd93a21749f33024c819f07399580b1a4760f5740f26043109dc396
|
||||
DIST Crypt_GPG-1.6.4.tgz 346390 BLAKE2B 22e9e9d893f96bb3c3dc538b168a35366d2b699e92bf832370223879e90e8018cfd3b736e099807fdcc897b7569a40af66e72f011eaeb7400477053b7838409d SHA512 3eee39702abe97fc322e5976ebe8a7f7ba07bc950d22aa6636cadf38b0bd9c6c6316d7be35f21a8d0e8dfdb66a76db33121edb34736869d31ae89b03468cf470
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="${PN/PEAR-/}"
|
||||
MY_PV="${PV/_/}"
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="PHP interface to the GNU Privacy Guard (GnuPG)"
|
||||
HOMEPAGE="https://pear.php.net/package/Crypt_GPG"
|
||||
SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-crypt/gnupg
|
||||
dev-lang/php:*[posix,unicode]
|
||||
dev-php/PEAR-Console_CommandLine
|
||||
dev-php/PEAR-Exception"
|
||||
BDEPEND="test? ( ${RDEPEND} dev-php/phpunit )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i "s|@bin-dir@|${EPREFIX}/usr/bin|" Crypt/GPG/Engine.php || die
|
||||
sed -i "s|@package-name@|${MY_PN}|" Crypt/GPG/PinEntry.php || die
|
||||
sed -i "s|@data-dir@|${EPREFIX}/usr/share|" Crypt/GPG/PinEntry.php || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md
|
||||
dobin scripts/crypt-gpg-pinentry
|
||||
|
||||
insinto "/usr/share/${MY_PN}"
|
||||
doins -r data
|
||||
|
||||
insinto /usr/share/php
|
||||
doins -r Crypt
|
||||
}
|
||||
|
||||
src_test() {
|
||||
phpunit tests/ || die "test suite failed"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST Log-1.13.1.tgz 46764 BLAKE2B dc0f4605ed801818ddf070ec3beb6818af1630d99bec721cd3f487e709f87bd4a1628a05854c48fe9775aab546bdce4618061ef37674aa9921f536deccc6a080 SHA512 246510b7dbff4dc9f9cdd951d76baf2dd377e30ffde6d38cadac10091dcb92f8095406edb6d8a87ebe2330d514ce99f355f84ebfe57cd8a3f3babc316995148a
|
||||
DIST Log-1.13.2.tgz 46801 BLAKE2B 529677ed8a840742840a8ebeb5f5c7d4e8a8af257f9c3b1cb9ff990e42e760e0040f7df8d94794f40ec5654cf33e1909b7b48ca3f656d2a2bc0310c6705d6c24 SHA512 a4adaf7ee2af600a6c14ed398159c61a7df73b2c6be928f0ea6bbaf90d4b0e866e5a169953fa7819e293cd5cb29c6aca762ced79f3619dfbb38af1ea8731b1c4
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="${PN/PEAR-/}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="The Log framework provides an abstracted logging system"
|
||||
HOMEPAGE="https://pear.php.net/package/Log"
|
||||
SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# The DB, Mail, and MDB2 dependencies are technically optional, but
|
||||
# automagic. To avoid surprises, we require them unconditionally.
|
||||
RDEPEND="dev-lang/php:*
|
||||
dev-php/PEAR-PEAR
|
||||
dev-php/PEAR-DB
|
||||
dev-php/PEAR-Mail
|
||||
dev-php/PEAR-MDB2"
|
||||
DEPEND="test? ( ${RDEPEND} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
dodoc docs/guide.txt misc/log.sql
|
||||
use examples && dodoc -r examples
|
||||
|
||||
# I don't like installing "Log.php" right at the top-level, but any
|
||||
# packages depending on us will expect to find it there and not as
|
||||
# e.g. Log/Log.php.
|
||||
insinto "/usr/share/php/"
|
||||
doins Log.php
|
||||
doins -r Log
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Requires the "pear" executable from dev-php/PEAR-PEAR.
|
||||
pear run-tests tests || die
|
||||
|
||||
# The command succeeds regardless of whether or not the test suite
|
||||
# passed, but this file is only written when there was a failure.
|
||||
[[ -f run-tests.log ]] && die "test suite failed"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST adodb-5.20.14.tar.gz 465896 BLAKE2B acd8494141584b0c02c2e30aa59b3916ae811b8095ca724d22f44ed2cb1456b8e8afc7ff9af41e7476f4a93809e762c44a175fd3775b69654107813342b3a47a SHA512 fa9b764742f3edf15e79da7a34ca52b19f51454fa20bc963cce963cdd40f7e78671e993cd672a21e9917aa2440c63601fbf768b5259dccb64b458a5be6f4b0eb
|
||||
DIST adodb-5.20.15.tar.gz 466749 BLAKE2B ca232e15094eaf728dd82b449cfded4f84fc773e5dbe1a06b7bb15fc18487080131c52d7ae9d77e6a401bfd53baa7875810c94b6bda615d0a836a715914de9d7 SHA512 87c6f508f49a54e436b56d47d3c0b2801f4f022876013a2ffa23e751cc4c7aa83aa359e51acc4f8351fd596ad4f5d71326204ae3d57514c4354f68669e412c73
|
||||
DIST adodb-5.20.17.tar.gz 466901 BLAKE2B 86e6cc7ae383c698e889925679d1a1f8ace181fe82a178e527ea169f1d21e83844563707e707968522de8bdc180eeb103793fa0468a38f924f29ac4b96310c50 SHA512 c8850f4e330dc058564b59c8a73e0687e1c9d1c56f617b4bbd99aee83e7047626d436c903caf913b11784be1528bb55e442e6365732f8d4bec82edb029831bd6
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="ADOdb"
|
||||
DESCRIPTION="Database abstraction layer for PHP"
|
||||
HOMEPAGE="https://github.com/ADOdb"
|
||||
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
# If you want to be picky, we should require that PHP be built with at
|
||||
# least one database driver enabled; otherwise adodb isn't going to be
|
||||
# able to do anything. But, the database USE flags for dev-lang/php are
|
||||
# a mess. What we would *like* to do is have a set of USE flags for
|
||||
# adodb that then propagate to PHP itself... for example, adodb[mysql]
|
||||
# could require php[mysql]. To do that would require that we duplicate
|
||||
# the database USE flag mess for adodb -- not desirable. Instead we punt
|
||||
# and let the user install adodb unconditionally. If he doesn't have
|
||||
# database support in PHP, it just won't work.
|
||||
RDEPEND="dev-lang/php:*"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_install() {
|
||||
DOCS="README.md docs/changelog*.md xmlschema*.dtd session/*.sql"
|
||||
DOCS+=" session/*.txt session/*.xml pear/auth_adodb_example.php"
|
||||
DOCS+=" pear/readme.Auth.txt"
|
||||
|
||||
dodoc $DOCS
|
||||
rm -f $DOCS || die "failed to remove docs before installation"
|
||||
|
||||
insinto "/usr/share/php/${PN}"
|
||||
doins *.php
|
||||
doins -r contrib datadict drivers lang pear perf replicate session xsl
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST composer-1.10.1.tar.gz 421852 BLAKE2B a40f59ab0af5eba777f1926bab78e55fd1973e53b324eec73fdca70678fc1cfe6f892790a61a66dbdbe07caa03343bfd109318daec99c2c18707785c6bf149e0 SHA512 ebc3ee48bf0d2597e7221e9ac0ab7188e7a99096d5dacdee4176b4c7b4d252d079c117b5bd9131ff38d8963f95930fa9c83fa51ed542d4f7d58276561de1f2b8
|
||||
DIST composer-1.10.5.tar.gz 423065 BLAKE2B 0c8595f3583a692f89294455984aeff2ad9cbf2a39541355cbb736e717baacae8245fa81e6b9fde11dd5bb56ad3a074262f6f8ecb65b4bef9c782ef39887deec SHA512 cdadb2d146afcc140316b83d3b4f4c018d79e8222f6a6207cdd52db75ae9c78e787a509d88a3fe113f8218df2ace56ba2dd043e1b6e6c3dbb5129fd51d8e9925
|
||||
DIST composer-1.10.6.tar.gz 423789 BLAKE2B 74d93e769c660f2c74e0ad5dd3ed5e5279c217552eb6d342ffd43d7fba10647865ade7b284c811f63504e0335e5655eae681cf14ae4d876eb56ff6a306c61268 SHA512 fdc209a82d3adda2728190282327b02d2b71bb9b1a80cbcda3699a826ee56451c997edac13d76e2784ebd4297d413bd46dd47b9538accd4bfe6c569464696779
|
||||
DIST composer-1.10.7.tar.gz 424264 BLAKE2B 9939e4d1f29071ca4467076c13e0ceab32d10282876ebb0a76f41dd3efbd9c40a50dbf278dd0a12b2119d40ff9424c171f07381fbaadb94218b1fdf69f403fdb SHA512 81ece3314cddced101b0be491e40b60d42ef503cef4b1d5598c32f3378f10524004a7a8ef4360453a4cdaaf9d3b986ce07696de075dc424deae7703945f6d577
|
||||
DIST composer-1.9.3.tar.gz 412212 BLAKE2B fc293a38baaf87cc2581304e1438d48e94a85ca2c5da4eff388b1307dadacb67327d9612211af70f1734872c7a377b8713492839c2d330c9e0e7226206cdc1f6 SHA512 42a37b2187895e06f2dc8c5225a1328377afc408ad28af12d9ef5d15fe083dcf22459ce0f482abfd528683113af5f9fd1a19758294c59c69b59a5bb32e65f2cc
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Dependency Manager for PHP"
|
||||
HOMEPAGE="https://github.com/composer/composer"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*[curl]
|
||||
>=dev-php/ca-bundle-1.1.3
|
||||
>=dev-php/psr-log-1.1.0
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/json-schema-5.2.7
|
||||
>=dev-php/jsonlint-1.7.1
|
||||
>=dev-php/phar-utils-1.0.1
|
||||
>=dev-php/semver-1.4.2
|
||||
>=dev-php/spdx-licenses-1.5.0
|
||||
>=dev-php/symfony-console-2.8.48
|
||||
>=dev-php/symfony-filesystem-2.8.48
|
||||
>=dev-php/symfony-finder-2.8.49
|
||||
>=dev-php/symfony-process-2.8.48
|
||||
>=dev-php/xdebug-handler-1.3.1"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
|
||||
# Composer expects the LICENSE file to be there, and the
|
||||
# easiest thing to do is to give it what it wants.
|
||||
doins -r src res LICENSE
|
||||
|
||||
insinto "/usr/share/${PN}/vendor"
|
||||
newins "${FILESDIR}"/autoload-r1.php autoload.php
|
||||
|
||||
exeinto "/usr/share/${PN}/bin"
|
||||
doexe "bin/${PN}"
|
||||
dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}"
|
||||
|
||||
dodoc CHANGELOG.md README.md doc/*.md
|
||||
dodoc -r doc/articles doc/faqs
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST doctrine-instantiator-1.0.5.tar.gz 10202 BLAKE2B 77ab3fba96672f6aa2826002510c99c21beccdc09e92dbc2c09426f8fc47590554ef5d32b6bec92ea2dc2ab1c61a178c280ab01090b3aafc14a10a4b4fec3628 SHA512 78b00b2550b47772b5825fbde59729e0613a90c1d9dacf1b7b7d13ccb5bbd8534af7e732dcc1b5b6f9bbafa2f9c3e7418e184851ab0f3a37c0c945b5eed1e229
|
||||
DIST doctrine-instantiator-1.1.0.tar.gz 5343 BLAKE2B 73f737f19c8ae7a3fa9a7dcaa760246da6d688e28f15be0c40e031be8147887885bba2ec0a7770ead7de7b718247108b41b4c1d08712137c9c06911bde263176 SHA512 7f59dd7f80df02fd1e46f4b0ecd8488022b34933effddfc40d3424b279a35928adfc0fb7567172149338a8d4273b24305eaa46fc51aa0af45a7b230646354f09
|
||||
DIST doctrine-instantiator-1.3.0.tar.gz 6299 BLAKE2B 6eb41562f52965381a780243475bda73a921d44784a66cf23816dd228efe4299d225f0cd52a4625a3516d8ae22b7f691a2724b477b944211e8d1ffd2c4c90540 SHA512 989b14bb28f75d091243dd5833a0a7c91889b45a1fcafb425b38de223485aae4470e1f1877b024ca58c5cf3539f8b39ef337166dbbd664bede7a5f3adde623a9
|
||||
DIST doctrine-instantiator-1.3.1.tar.gz 6328 BLAKE2B 1854e188cb39131a7ad02698d8a43c2eb84f7ec0239c04f973a7e66913664d49d4e89a09c1ec74b07ef87ecdf3dadb3c61140dcc3727556c44d65d8c022cc821 SHA512 eb5de9d38d45de3306d5481a747ae8164199aff222a52ce9d0fb2c2d18a082c7cf48ea3d670ff81d63c5fe8c2a855c583168a3d810ee9d4bb48d23505aaa80c3
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="${PN/doctrine-//}"
|
||||
|
||||
DESCRIPTION="Utility to instantiate objects in PHP without invoking their constructors"
|
||||
HOMEPAGE="https://github.com/doctrine/instantiator"
|
||||
SRC_URI="https://github.com/doctrine/${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=""
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
RDEPEND="dev-php/fedora-autoloader
|
||||
>=dev-lang/php-7.1:*"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php/
|
||||
doins -r src/*
|
||||
insinto /usr/share/php/Doctrine/Instantiator
|
||||
doins "${FILESDIR}/autoload.php"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST json-schema-5.2.10.tar.gz 31261 BLAKE2B 2f2e3f562552105e924aa3e4408e50c6e42171cb8440ca8009166d956dcb9d4d6a3903c3b7e62bcfa228069c1e17f4faeab56e56ff935fd59fe251d27d12ab3a SHA512 b6d31b5478b93ef7dea741307648734d4d93aa4c0518b0037e81f5411810ea0570a046adb314cbee3f06da4cc9e654c419ff0be75b6ad0f5d3770c03be5707c8
|
||||
DIST json-schema-5.2.8.tar.gz 31179 BLAKE2B fc422b4ea632299308fe44104ed66365441879441446d47bad1da89182da0c1aba04877c279577fe7e8fc9f82e4677bc755558a4f4fa1893362d2b93e8743a08 SHA512 04a96413a12979ee42cc72dc7d6cd73ab26472c46cffa1ce65d7e2338867ec6cce48da5a058d4c8bb849a8fae72376272b814f3a808ed3374af9c98eb8674fe5
|
||||
DIST json-schema-5.2.9.tar.gz 31336 BLAKE2B 42d1a36810a28050bc543a4d79a3701444e86176e3c514ac198c7b6e8300edc615652c0116e44977c2bbbcaad17da96a4d32642cb304b653efe417e6a5aa67d3 SHA512 4666df39ad50a284687c216b30ac50a5ef4019260fbe0ecb052c820f9c029a904c07fae7606df3ab24b1ac18f651ca4a93ee83847e76361fd41072ce04ded222
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="PHP implementation of JSON schema"
|
||||
HOMEPAGE="https://github.com/justinrainbow/json-schema"
|
||||
SRC_URI="https://github.com/justinrainbow/json-schema/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
# Tests are not in the release tarball
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-php/phpunit )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if use test; then
|
||||
cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/JsonSchema"
|
||||
doins -r src/JsonSchema/. "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
||||
|
||||
src_test() {
|
||||
phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libvirt-php-0.5.4.tar.gz 780793 BLAKE2B 8bb4577c26cc0ef8f2a0ae813ade7f5fdea9a2a7d70c97cab1033fde21d9a1c27b8c2ad7a8284096e143e955202bb564767b4d7e1a4bb9e15993895adc119288 SHA512 b5b204549e6810668203d1df8404a5cb71f646ae7e01ea223c6e9b9eec9b1f6500cc5bb4559859959d821a213ff992f22a97e4b683da2c683be3732710943487
|
||||
DIST libvirt-php-0.5.5.tar.gz 761250 BLAKE2B 9899d2f0e5ea387333decce5071afc81d4160d54ef570dcbe04422dc3e93479ee57520f9bf33a0275ee86cd4b1c87e5a3f7d5118e0cd87658faed44d2ccd4807 SHA512 2ea263561a0bf5d155314e06dcf3c3b5c278640bc5edfa674cdd777cb6d0810bda0492c6cf77a02bc88fb6aa99b0ff1f0cbaeea87ff2e45bff9b5774a2507684
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PHP_EXT_NAME="libvirt-php"
|
||||
PHP_EXT_SKIP_PHPIZE="yes"
|
||||
USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3"
|
||||
PHP_EXT_ECONF_ARGS=()
|
||||
|
||||
inherit php-ext-source-r3 autotools
|
||||
|
||||
DESCRIPTION="PHP bindings for libvirt"
|
||||
HOMEPAGE="http://libvirt.org/php/"
|
||||
SRC_URI="http://libvirt.org/sources/php/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="app-emulation/libvirt
|
||||
dev-libs/libxml2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/xhtml1 )"
|
||||
|
||||
RESTRICT="test"
|
||||
# ChangeLog and NEWS are empty files
|
||||
DOCS=( AUTHORS README )
|
||||
# Remove the insane check for pecl-imagick which is only used in examples
|
||||
# and is not called upon in any build
|
||||
PATCHES=( "${FILESDIR}/remove-imagick-check.patch" )
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
# create the default modules directory to be able
|
||||
# to use the php-ext-source-r3 eclass to configure/build
|
||||
ln -s src "${S}/modules"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
php-ext-source-r3_src_prepare
|
||||
local slot
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env "${slot}"
|
||||
eautoreconf
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local slot
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env ${slot}
|
||||
insinto "${EXT_DIR}"
|
||||
doins "src/.libs/${PHP_EXT_NAME}.so"
|
||||
done
|
||||
php-ext-source-r3_createinifiles
|
||||
einstalldocs
|
||||
if use doc ; then
|
||||
docinto /usr/share/doc/${PF}/html
|
||||
dodoc -r docs/*
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST redis-5.1.1.tgz 245205 BLAKE2B b7177be5282b081562a446b1b37c7b46ba0ef382e55f27989d5586346a10f842d050ee46e881e480ea6b768e1259458df565d02193eda13a95704cd5455c1ca2 SHA512 eb6aa538d2ae4115634fd5841e3ccccf788cad13b99e0485fb2af43def85e93328012e5cef66d1be4bdd494be6f68de329a066e41b710e434f94f3ed3401bfee
|
||||
DIST redis-5.2.1.tgz 251570 BLAKE2B 297d6130469735a53f6dfb6ffea8c7c813363099eb76f25619f0cbb05cd06f5ecad9c0f30c370e33985523cf26488cf133aa0a48a99075bc6d5796309e3d914d SHA512 de90bf65cce0cb8c5ea28415e4f7bfff23c8bb3dc96ddca3158f94be2e4bd051e13ec3f34429b0e8ceb436096520e3998f544f377d5ef7d4d1df4edba7f66bc2
|
||||
DIST redis-5.2.2.tgz 251629 BLAKE2B e6ca740412dd1ba4ee960e1c71b3f75ebb1a1e2605bc93159395c657ab61eda4c8222b6e890a447c06cd1ef016e061861ffc5d8a6fd6e7e324353a148b54c593 SHA512 0020c572bcd24cdb479046727fba2d30ca87c9a7111c51e5fe3be0b85459e3e7dfc8892b690650de0a7dc80c1a8921f9de45590f6e60257fbf0534729c6e6f4f
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PHP_EXT_NAME="redis"
|
||||
USE_PHP="php7-2 php7-3 php7-4"
|
||||
PHP_EXT_NEEDED_USE="json?,session?"
|
||||
DOCS=( arrays.markdown cluster.markdown README.markdown CREDITS )
|
||||
MY_P="${PN/pecl-/}-${PV/_rc/RC}"
|
||||
PHP_EXT_PECL_FILENAME="${MY_P}.tgz"
|
||||
PHP_EXT_S="${WORKDIR}/${MY_P}"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
DESCRIPTION="PHP extension for interfacing with Redis"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
IUSE="igbinary +json +session"
|
||||
|
||||
DEPEND="
|
||||
igbinary? ( >=dev-php/igbinary-3.0.1-r1[php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?] )
|
||||
"
|
||||
RDEPEND="${DEPEND} !dev-php/pecl-redis:7"
|
||||
|
||||
# The test suite requires network access.
|
||||
RESTRICT=test
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
local PHP_EXT_ECONF_ARGS=(
|
||||
--enable-redis
|
||||
$(use_enable igbinary redis-igbinary)
|
||||
$(use_enable json redis-json)
|
||||
$(use_enable session redis-session)
|
||||
)
|
||||
php-ext-source-r3_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local slot
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env "${slot}"
|
||||
# Run tests for Redis class
|
||||
${PHPCLI} -d extension=modules/redis.so \
|
||||
tests/TestRedis.php \
|
||||
--class Redis \
|
||||
--host ${PECL_REDIS_HOST} || die 'test suite failed'
|
||||
done
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
# 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"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-php/fedora-autoloader
|
||||
>=dev-php/File_Iterator-2.0.2
|
||||
<dev-php/File_Iterator-3.0
|
||||
>=dev-php/Text_Template-1.2.1
|
||||
<dev-php/Text_Template-2.0
|
||||
>=dev-php/PHP_CodeCoverage-7.0.7
|
||||
<dev-php/PHP_CodeCoverage-8.0
|
||||
>=dev-php/PHP_Timer-2.1.2
|
||||
<dev-php/PHP_Timer-3.0
|
||||
>=dev-php/doctrine-instantiator-1.2
|
||||
<dev-php/doctrine-instantiator-2.0
|
||||
>=dev-php/myclabs-deepcopy-1.9.1
|
||||
<dev-php/myclabs-deepcopy-2.0
|
||||
>=dev-php/phar-io-manifest-1.0.3
|
||||
<dev-php/phar-io-manifest-2.0
|
||||
>=dev-php/phar-io-version-2.0.1
|
||||
<dev-php/phar-io-version-3.0
|
||||
>=dev-php/phpspec-prophecy-1.8.1
|
||||
<dev-php/phpspec-prophecy-2.0
|
||||
>=dev-php/sebastian-comparator-3.0.2
|
||||
<dev-php/sebastian-comparator-4.0
|
||||
>=dev-php/sebastian-diff-3.0.2
|
||||
<dev-php/sebastian-diff-4.0
|
||||
>=dev-php/sebastian-environment-4.2.2
|
||||
<dev-php/sebastian-environment-5.0
|
||||
>=dev-php/sebastian-exporter-3.1.1
|
||||
<dev-php/sebastian-exporter-4.0
|
||||
>=dev-php/sebastian-global-state-3.0
|
||||
<dev-php/sebastian-global-state-4.0
|
||||
>=dev-php/sebastian-object-enumerator-3.0.3
|
||||
<dev-php/sebastian-object-enumerator-4.0
|
||||
>=dev-php/sebastian-resource-operations-2.0.1
|
||||
<dev-php/sebastian-resource-operations-3.0
|
||||
<dev-php/sebastian-type-2.0
|
||||
<dev-php/sebastian-version-3.0
|
||||
>=dev-lang/php-7.2:*[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)]
|
||||
!dev-php/phpunit-mock-objects
|
||||
"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php/PHPUnit
|
||||
doins -r src/*
|
||||
insinto /usr/share/php/PHPUnit/vendor
|
||||
newins "${FILESDIR}/autoload-8.5.0.php" autoload.php
|
||||
exeinto /usr/share/php/PHPUnit
|
||||
doexe phpunit
|
||||
dosym ../share/php/PHPUnit/phpunit /usr/bin/phpunit
|
||||
insinto /usr/share/php
|
||||
doins phpunit.xsd
|
||||
}
|
||||
|
||||
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\"."
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PHP_EXT_NAME="swoole"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
PHP_EXT_SAPIS="cli"
|
||||
DOCS=( README.md )
|
||||
|
||||
USE_PHP="php7-1 php7-2 php7-3 php7-4"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
HOMEPAGE="https://www.swoole.co.uk"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Event-driven asynchronous & concurrent & coroutine networking engine"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
# Tests can hang. Disable until this no longer happens
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
app-arch/brotli:0=
|
||||
dev-libs/libaio
|
||||
dev-libs/boost:0=
|
||||
dev-libs/libpcre
|
||||
sys-libs/zlib:0=
|
||||
http2? ( net-libs/nghttp2:0= )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
|
||||
php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
|
||||
php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
|
||||
php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] )
|
||||
mysql? (
|
||||
php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
|
||||
php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] )
|
||||
php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] )
|
||||
php_targets_php7-4? ( dev-lang/php:7.4[mysql,mysqli(+)] )
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
IUSE="debug http2 libressl mysql sockets ssl"
|
||||
|
||||
src_configure() {
|
||||
# JEMalloc not included as it refuses to find a ${EROOT}/usr/includes/jemalloc subdirectory
|
||||
local PHP_EXT_ECONF_ARGS=(
|
||||
--enable-swoole
|
||||
$(use_enable debug)
|
||||
$(use_enable http2)
|
||||
$(use_enable mysql mysqlnd)
|
||||
$(use_enable ssl openssl)
|
||||
$(use_with ssl openssl-dir "${EROOT}/usr")
|
||||
$(use_enable sockets)
|
||||
)
|
||||
|
||||
php-ext-source-r3_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local slot
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env "${slot}"
|
||||
[[ -f tests/template.phpt ]] && rm tests/template.phpt
|
||||
SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test
|
||||
done
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST xdebug-2.9.4.tar.gz 434622 BLAKE2B bd0d0c6a46867ffba88693f142346d11b5abfab3254c549b74ff9169536c42903b1fb1cb94c3344060590b63e287878ea05c6ef7ad8343234bada3857e0dbe75 SHA512 cf19fb9fd12c32e04c18f296694d0667dfe6e14617da932804d17526c88ab19dd2307ad43d036a8c0cb1f871a964523473879da8815f346faf83ec3b9e3952e3
|
||||
DIST xdebug-2.9.5.tar.gz 434947 BLAKE2B 08fd7cc92880c9b00180d495341fc7e54998cf3c2294b824d94c3c4ed982ae5b087084b776bcc4f8f4e1aa420396c803d330bc76748cf972cccab4e3f1416d38 SHA512 2a937d08468d3a2963559a56bdf9c9aa6ede3f0ee63797aa14831bcab33a5ede65b87791171a0c794eefdfcffa65bb4d0c06b5377fe03ade65f4defa6e328c72
|
||||
DIST xdebug-2.9.6.tar.gz 436208 BLAKE2B 00cfb42c41bfb44f285b97779d6ba625641fc34494465e9e791ab5458c6a608e432df0ad45c561df2f8c9aba04ab34b3a98bb5e6bfb92ace39a3ad4145f3514a SHA512 13ed07a1489ba7bc0b4e85bf56306c733e7894cea8cb442649635196606b12d92e5618ab2485e7cde4aaee2ac6752993aecd933c24fd64b5113ef619339403d2
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
|
||||
MY_PN="xdebug"
|
||||
MY_PV="${PV/_/}"
|
||||
MY_PV="${MY_PV/rc/RC}"
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Xdebug client for the Common Debugger Protocol (DBGP)"
|
||||
HOMEPAGE="https://xdebug.org/"
|
||||
# Using tarball from GitHub for tests
|
||||
#SRC_URI="http://pecl.php.net/get/xdebug-${MY_PV}.tgz"
|
||||
SRC_URI="https://github.com/xdebug/xdebug/archive/${MY_PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz"
|
||||
LICENSE="Xdebug"
|
||||
SLOT="0"
|
||||
IUSE="libedit"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${MY_PV}/debugclient"
|
||||
|
||||
DEPEND="libedit? ( dev-libs/libedit ) net-libs/libnsl:0="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with libedit)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin debugclient xdebug
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST xdebug-2.9.4.tar.gz 434622 BLAKE2B bd0d0c6a46867ffba88693f142346d11b5abfab3254c549b74ff9169536c42903b1fb1cb94c3344060590b63e287878ea05c6ef7ad8343234bada3857e0dbe75 SHA512 cf19fb9fd12c32e04c18f296694d0667dfe6e14617da932804d17526c88ab19dd2307ad43d036a8c0cb1f871a964523473879da8815f346faf83ec3b9e3952e3
|
||||
DIST xdebug-2.9.5.tar.gz 434947 BLAKE2B 08fd7cc92880c9b00180d495341fc7e54998cf3c2294b824d94c3c4ed982ae5b087084b776bcc4f8f4e1aa420396c803d330bc76748cf972cccab4e3f1416d38 SHA512 2a937d08468d3a2963559a56bdf9c9aa6ede3f0ee63797aa14831bcab33a5ede65b87791171a0c794eefdfcffa65bb4d0c06b5377fe03ade65f4defa6e328c72
|
||||
DIST xdebug-2.9.6.tar.gz 436208 BLAKE2B 00cfb42c41bfb44f285b97779d6ba625641fc34494465e9e791ab5458c6a608e432df0ad45c561df2f8c9aba04ab34b3a98bb5e6bfb92ace39a3ad4145f3514a SHA512 13ed07a1489ba7bc0b4e85bf56306c733e7894cea8cb442649635196606b12d92e5618ab2485e7cde4aaee2ac6752993aecd933c24fd64b5113ef619339403d2
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
PHP_EXT_NAME="xdebug"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="yes"
|
||||
PHP_EXT_INIFILE="2.6.0-xdebug.ini"
|
||||
|
||||
USE_PHP="php7-2 php7-3 php7-4"
|
||||
|
||||
MY_PV="${PV/_/}"
|
||||
MY_PV="${MY_PV/rc/RC}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
inherit php-ext-source-r3
|
||||
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
|
||||
DESCRIPTION="A PHP debugging and profiling extension"
|
||||
HOMEPAGE="https://xdebug.org/"
|
||||
# Using tarball from GitHub for tests
|
||||
#SRC_URI="https://pecl.php.net/get/${PN}-${MY_PV}.tgz"
|
||||
SRC_URI="https://github.com/xdebug/xdebug/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="Xdebug"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
~dev-php/xdebug-client-${PV}"
|
||||
DOCS=( README.rst CREDITS )
|
||||
PHP_EXT_ECONF_ARGS=()
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "We have set xdebug.default_enable to 0 (off), as xdebug can be"
|
||||
ewarn "installed as a dependency, and not all users will want xdebug to be"
|
||||
ewarn "enabled by default. If you want to enable it, you should edit the"
|
||||
ewarn "ini file and set xdebug.default_enable to 1. Alternatively you can"
|
||||
ewarn "call xdebug_enable() in your code."
|
||||
}
|
Binary file not shown.
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Tools to provide lightweight pipelining in Python"
|
||||
HOMEPAGE="https://joblib.readthedocs.io/en/latest/
|
||||
https://github.com/joblib/joblib"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cloudpickle[${PYTHON_USEDEP}]
|
||||
dev-python/loky[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/threadpoolctl[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx doc \
|
||||
'dev-python/numpy' \
|
||||
'dev-python/matplotlib' \
|
||||
'dev-python/pillow' \
|
||||
'dev-python/sphinx-gallery' \
|
||||
'dev-python/numpydoc' \
|
||||
'dev-python/pandas' \
|
||||
'dev-python/lz4' \
|
||||
'dev-python/distributed'
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# unbundle
|
||||
rm -r joblib/externals || die
|
||||
sed -e "s:'joblib.externals[^']*',\?::g" -i setup.py || die
|
||||
find -name '*.py' -exec \
|
||||
sed -e 's:\(joblib\)\?\.externals\.::' \
|
||||
-e 's:from \.externals ::' \
|
||||
-i {} + || die
|
||||
|
||||
sed -e "s:'_static/joblib_logo_examples.png':'doc/_static/joblib_logo_examples.png':" \
|
||||
-i doc/conf.py || die
|
||||
|
||||
# tries to fetch from the internet
|
||||
rm examples/compressors_comparison.py \
|
||||
examples/parallel/distributed_backend_simple.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST loky-2.8.0.tar.gz 112383 BLAKE2B 5561d96c0e0d23951dff303bdb1789f200b88e74ca44ef75119112491693c5876a9a70ad3688b3af9eaf12c0000d891067c936ca984404146890fb131f8c261e SHA512 15fbdb56994e08f643b7bd5aa68d193f74ab61ef1230df9e2101fb4602a201a050e3ecf08229fc4ad61e478c893e0b34b81371ef9596733baa0e3d008125cd11
|
@ -0,0 +1,34 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..8} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Robust and reusable Executor for joblib"
|
||||
HOMEPAGE="https://github.com/joblib/loky"
|
||||
SRC_URI="
|
||||
https://github.com/joblib/loky/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cloudpickle[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# docker, seriously?
|
||||
sed -e 's:test_cpu_count_cfs_limit:_&:' \
|
||||
-i tests/test_loky_module.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
||||
DIST pysol_cards-0.8.16.tar.gz 20203 BLAKE2B cbff4eedefd42380729233a9e928fd6d8e5683716651c60292d4dd1052ba7faf071c3fe61d222313a5bd2ade3da58e6f762371b717815c5f57a479aab9a6bc1c SHA512 fb165076232f9cc62520466bec58dd29c1277de54bde448674d20b9fe00628ba4df3b6d522cc4bd6aa5e18f148f14804de41e8ca1d055ebce0b7d5a2bae3ee89
|
||||
DIST pysol_cards-0.8.18.tar.gz 20324 BLAKE2B 230dcb57ed5d8f75f70bb55ef339347fb7ecd9877b29fc72237fab7595b15fc1ec28b56021a66478c1d4f5f5139562b976155267b1e4e325559a74f68869b98b SHA512 86f0e110b354703745f16410d4f9f8187173a2ae06088d18e7e87b3b6e3149422b3b442e8384f3863ace34de844d9aaab4c080d3e286b4890b188621b6101d06
|
||||
DIST pysol_cards-0.8.9.tar.gz 19522 BLAKE2B 06e257f2ccb43236c311d03436d7b482df977d63c0b886c7705e4cfee4abec4eae495a5557053ba2a18a84da227cc4bd913263e98533ab3a17616843df0a35c7 SHA512 548f586c70a583812731f2273f1c57406a31667b395c4276ec94518471499e69d278d54e2910f7c64a4c52deb670b0e76eef55399af9e2b997422ecbbd9a79a9
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Deal PySol FreeCell cards"
|
||||
HOMEPAGE="https://pypi.org/project/pysol-cards/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="
|
||||
dev-python/pbr[${PYTHON_USEDEP}]
|
||||
dev-python/random2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue