parent
f9088c97fa
commit
71a0bdaa98
Binary file not shown.
Binary file not shown.
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+1).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests --install nose
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
||||
)
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
# integration tests require AWS credentials and Internet access
|
||||
nosetests -v tests/{functional,unit} ||
|
||||
die "Tests failed for ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST ima-evm-utils-1.1.tar.gz 37825 BLAKE2B 469f5bbc194f3fcc8996f252d01745c0d8d4d4f63476174622ea4569c97978db478bd522ae4672819c5ef995f2bb524eb857e5bf5c303131959f2f5cb9c2ebcc SHA512 fc7efc890812233db888eef210dc4357bee838b56fd95efd9a9e141d684b0b354670a3c053dd93a94a1402dd826074d4a83a4637c8e6c1d90ead3132354a5776
|
||||
DIST ima-evm-utils-1.3.2.tar.gz 100373 BLAKE2B 04717a934795f7e2a351b1f59388d2d429e00a8a18c57c0eb258bb81bc329342cb9971fa2b4493f7b492f07961ec794a0549fd2d0984381492dcab474915a0d6 SHA512 af96935f953fbec8cdd40ba1a24001fae916633df03f9dee1e96775baec0ffea21a7a13798b3e3c3f375fd493a65fe65b5357887890b46cac0c4dcca5a5b79db
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Supporting tools for IMA and EVM"
|
||||
HOMEPAGE="http://linux-ima.sourceforge.net"
|
||||
SRC_URI="https://download.sourceforge.net/linux-ima/${P}.tar.gz"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/openssl:0=
|
||||
sys-apps/keyutils:="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
app-text/asciidoc
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i '/^MANPAGE_DOCBOOK_XSL/s:/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl:/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' Makefile.am || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable debug) \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST vagrant-2.2.14.tar.gz 2522944 BLAKE2B 21980ab11fb7477518a40839715b6b207e9a2268e19df2ded0042a7d3d32cd45db02acfeb528c89869e54e9f4358b200f831150ada43c062513d864896eb7895 SHA512 540457c23ff52faef10774ac2d0da7a8c30682a19964f5ce805d5013eb27a6538468fcd511610d4bef539df14cbc4cf3a3dcdd9c96ba303ecf538028dc4aa659
|
||||
DIST vagrant-2.2.7.tar.gz 2173893 BLAKE2B bf905cb25a905e4fb79ce9c1fb59ad5520b5176d5681dfdc22855ca0a7520535346d2aebffe47162a1f8ca008083c94426e9de92b6d92de4373c654784605c7e SHA512 3455b74c8a867ab37ca9873187a98cdb80feb22a400c4e9f2266897da815815aaefbe0c166172b1c1dbd66aa49ccb1201dcbf904fd883ad34218d694e20d7f87
|
||||
DIST vagrant-2.2.9.tar.gz 2215868 BLAKE2B 6d40827c91c86f6b11865d9949e5313c419456c573686944ecd0d1874323aa81d6f26178d5b7a16fee701c513a98b3483dbea0531d9d77dee7b7e284004e17b3 SHA512 15e230bcf336615f0d49a2c40db36f7f26a9f0f6fd42d2ce801f28afc663aadded4fa373e33f9102b21ee70d98563fc68e2b24ffa6c3eec321f58b2c42b0d260
|
||||
|
@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
USE_RUBY="ruby25 ruby26 ruby27"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="vagrant.gemspec"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="keys plugins templates version.txt"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit bash-completion-r1 optfeature ruby-fakegem
|
||||
|
||||
DESCRIPTION="A tool for building and distributing development environments"
|
||||
HOMEPAGE="https://vagrantup.com/"
|
||||
SRC_URI="https://github.com/hashicorp/vagrant/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
${RDEPEND}
|
||||
app-arch/libarchive
|
||||
net-misc/curl
|
||||
"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/bcrypt_pbkdf-1.0.0
|
||||
>=dev-ruby/childprocess-4.0.0
|
||||
>=dev-ruby/ed25519-1.2.4
|
||||
dev-ruby/erubi
|
||||
>=dev-ruby/hashicorp-checkpoint-0.1.5
|
||||
>=dev-ruby/i18n-1.8:1
|
||||
>=dev-ruby/listen-3.1
|
||||
<dev-ruby/log4r-1.1.11
|
||||
>=dev-ruby/mime-types-3.3:*
|
||||
>=dev-ruby/rubyzip-2.0
|
||||
>=dev-ruby/net-scp-3.0.0
|
||||
>=dev-ruby/net-sftp-3.0
|
||||
>=dev-ruby/net-ssh-6.1.0
|
||||
dev-ruby/rest-client:2
|
||||
>=dev-ruby/vagrant_cloud-3.0.2
|
||||
"
|
||||
|
||||
ruby_add_bdepend "
|
||||
>=dev-ruby/rake-12.3.3
|
||||
test? (
|
||||
dev-ruby/rspec
|
||||
dev-ruby/rspec-its
|
||||
dev-ruby/webmock
|
||||
)
|
||||
"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# remove bundler support
|
||||
sed -i '/[Bb]undler/d' Rakefile || die
|
||||
rm Gemfile || die
|
||||
rm tasks/bundler.rake || die
|
||||
|
||||
sed -e ':rake\|rspec\|webmock: s:~>:>=:' \
|
||||
-e ':bcrypt_pbkdf\|hashicorp-checkpoint\|i18n\|listen\|net-ssh\|net-scp\|net-sftp\|childprocess: s:~>:>=:' \
|
||||
-e '/fake_ftp/ s:^#*:#:' \
|
||||
-e '/wdm/ s:^#*:#:' \
|
||||
-e '/winrm/ s:^#*:#:' \
|
||||
-e '/rb-kqueue/ s:^#*:#:' \
|
||||
-e '/ruby_dep/ s:^#*:#:' \
|
||||
-i ${PN}.gemspec || die
|
||||
|
||||
sed -e "s/@VAGRANT_VERSION@/${PV}/g" "${FILESDIR}/${PN}.in" > "${PN}" || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
newbashcomp contrib/bash/completion.sh ${PN}
|
||||
|
||||
# provide executable similar to upstream:
|
||||
# https://github.com/hashicorp/vagrant-installers/blob/master/substrate/modules/vagrant_installer/templates/vagrant.erb
|
||||
dobin "${PN}"
|
||||
|
||||
# directory for plugins.json
|
||||
keepdir /var/lib/vagrant
|
||||
|
||||
insinto /usr/share/vim/vimfiles/syntax/
|
||||
doins contrib/vim/vagrantfile.vim
|
||||
|
||||
elog "Optional dependencies:"
|
||||
optfeature "virtualbox support" app-emulation/virtualbox
|
||||
optfeature "docker support" app-emulation/docker
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,96 @@
|
||||
From: Sam James <sam@gentoo.org>
|
||||
Date: Tue, 28 Sep 2021 03:40:19 +0100
|
||||
Subject: [PATCH] Rebased versions of upstream Makefile patches
|
||||
|
||||
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=cf868c13c03a781243c1d8764cbeba3a49ffb92e
|
||||
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c8285e6e9cd42277ae298475ad0c96da009b0e98
|
||||
https://bugs.gentoo.org/800125
|
||||
--- a/devices/devs.mak
|
||||
+++ b/devices/devs.mak
|
||||
@@ -669,7 +669,7 @@ $(DD)txtwrite.dev : $(ECHOGS_XE) $(txtwrite_) $(GDEV)\
|
||||
$(DEVOBJ)gdevtxtw.$(OBJ) : $(DEVVECSRC)gdevtxtw.c $(GDEV) $(gdevkrnlsclass_h) \
|
||||
$(memory__h) $(string__h) $(gp_h) $(gsparam_h) $(gsutil_h) \
|
||||
$(gsdevice_h) $(gxfont_h) $(gxfont0_h) $(gstext_h) $(gxfcid_h)\
|
||||
- $(gxgstate_h) $(gxpath_h) $(gdevagl_h) $(DEVS_MAK) $(MAKEDIRS) $(DEVVECSRC)doc_common.h
|
||||
+ $(gxgstate_h) $(gxpath_h) $(gdevagl_h) $(DEVS_MAK) $(DEVVECSRC)doc_common.h $(MAKEDIRS)
|
||||
$(DEVCC) $(DEVO_)gdevtxtw.$(OBJ) $(C_) $(DEVVECSRC)gdevtxtw.c
|
||||
|
||||
$(DEVOBJ)gdevagl.$(OBJ) : $(DEVVECSRC)gdevagl.c $(GDEV)\
|
||||
@@ -684,14 +684,14 @@ gdevagl_h=$(DEVVECSRC)gdevagl.h
|
||||
docxwrite_=$(DEVOBJ)gdevdocxw.$(OBJ) $(DEVOBJ)gdevagl.$(OBJ) $(DEVOBJ)doc_common.$(OBJ)
|
||||
|
||||
$(DD)docxwrite.dev : $(ECHOGS_XE) $(docxwrite_) $(GDEV)\
|
||||
- $(gdevagl_h) $(DEVS_MAK) $(MAKEDIRS) $(EXTRACT_OBJS)
|
||||
+ $(gdevagl_h) $(DEVS_MAK) $(EXTRACT_OBJS) $(MAKEDIRS)
|
||||
$(SETDEV2) $(DD)docxwrite $(docxwrite_) $(EXTRACT_OBJS)
|
||||
|
||||
$(DEVOBJ)gdevdocxw.$(OBJ) : $(DEVVECSRC)gdevdocxw.c $(GDEV) $(gdevkrnlsclass_h) \
|
||||
$(memory__h) $(string__h) $(gp_h) $(gsparam_h) $(gsutil_h) \
|
||||
$(gsdevice_h) $(gxfont_h) $(gxfont0_h) $(gstext_h) $(gxfcid_h)\
|
||||
- $(gxgstate_h) $(gxpath_h) $(gdevagl_h) $(DEVS_MAK) $(MAKEDIRS) \
|
||||
- $(DEVVECSRC)doc_common.h
|
||||
+ $(gxgstate_h) $(gxpath_h) $(gdevagl_h) $(DEVS_MAK) $(DEVVECSRC)doc_common.h \
|
||||
+ $(MAKEDIRS)
|
||||
$(DEVCC) $(DEVO_)gdevdocxw.$(OBJ) $(C_) $(DEVVECSRC)gdevdocxw.c
|
||||
|
||||
# Shared code used by txtwrite and docxwrite.
|
||||
@@ -699,7 +699,7 @@ $(DEVOBJ)gdevdocxw.$(OBJ) : $(DEVVECSRC)gdevdocxw.c $(GDEV) $(gdevkrnlsclass_h)
|
||||
$(DEVOBJ)doc_common.$(OBJ) : $(DEVVECSRC)doc_common.c $(GDEV) $(gdevkrnlsclass_h) \
|
||||
$(memory__h) $(string__h) $(gp_h) $(gsparam_h) $(gsutil_h) \
|
||||
$(gsdevice_h) $(gxfont_h) $(gxfont0_h) $(gstext_h) $(gxfcid_h)\
|
||||
- $(gxgstate_h) $(gxpath_h) $(gdevagl_h) $(DEVS_MAK) $(MAKEDIRS) $(DEVVECSRC)doc_common.h
|
||||
+ $(gxgstate_h) $(gxpath_h) $(gdevagl_h) $(DEVS_MAK) $(DEVVECSRC)doc_common.h $(MAKEDIRS)
|
||||
$(DEVCC) $(DEVO_)doc_common.$(OBJ) $(C_) $(DEVVECSRC)doc_common.c
|
||||
|
||||
|
||||
--- a/devices/extract.mak
|
||||
+++ b/devices/extract.mak
|
||||
@@ -1,37 +1,37 @@
|
||||
extract_cc = $(CC) $(CCFLAGS) $(I_)$(EXTRACT_DIR)/include$(_I) $(I_)$(ZSRCDIR)$(_I) $(O_)
|
||||
extract_out_prefix = $(GLOBJDIR)$(D)extract_
|
||||
|
||||
-$(extract_out_prefix)alloc.$(OBJ): $(EXTRACT_DIR)/src/alloc.c
|
||||
+$(extract_out_prefix)alloc.$(OBJ): $(EXTRACT_DIR)/src/alloc.c $(MAKEDIRS)
|
||||
$(extract_cc)$@ $(C_) $(EXTRACT_DIR)/src/alloc.c
|
||||
|
||||
-$(extract_out_prefix)astring.$(OBJ): $(EXTRACT_DIR)/src/astring.c
|
||||
+$(extract_out_prefix)astring.$(OBJ): $(EXTRACT_DIR)/src/astring.c $(MAKEDIRS)
|
||||
$(extract_cc)$@ $(C_) $(EXTRACT_DIR)/src/astring.c
|
||||
|
||||
-$(extract_out_prefix)buffer.$(OBJ): $(EXTRACT_DIR)/src/buffer.c
|
||||
+$(extract_out_prefix)buffer.$(OBJ): $(EXTRACT_DIR)/src/buffer.c $(MAKEDIRS)
|
||||
$(extract_cc)$@ $(C_) $(EXTRACT_DIR)/src/buffer.c
|
||||
|
||||
-$(extract_out_prefix)docx.$(OBJ): $(EXTRACT_DIR)/src/docx.c
|
||||
+$(extract_out_prefix)docx.$(OBJ): $(EXTRACT_DIR)/src/docx.c $(MAKEDIRS)
|
||||
$(extract_cc)$@ $(C_) $(EXTRACT_DIR)/src/docx.c
|
||||
|
||||
-$(extract_out_prefix)docx_template.$(OBJ): $(EXTRACT_DIR)/src/docx_template.c
|
||||
+$(extract_out_prefix)docx_template.$(OBJ): $(EXTRACT_DIR)/src/docx_template.c $(MAKEDIRS)
|
||||
$(extract_cc)$@ $(C_) $(EXTRACT_DIR)/src/docx_template.c
|
||||
|
||||
-$(extract_out_prefix)extract.$(OBJ): $(EXTRACT_DIR)/src/extract.c
|
||||
+$(extract_out_prefix)extract.$(OBJ): $(EXTRACT_DIR)/src/extract.c $(MAKEDIRS)
|
||||
$(extract_cc)$@ $(C_) $(EXTRACT_DIR)/src/extract.c
|
||||
|
||||
-$(extract_out_prefix)join.$(OBJ): $(EXTRACT_DIR)/src/join.c
|
||||
+$(extract_out_prefix)join.$(OBJ): $(EXTRACT_DIR)/src/join.c $(MAKEDIRS)
|
||||
$(extract_cc)$@ $(C_) $(EXTRACT_DIR)/src/join.c
|
||||
|
||||
-$(extract_out_prefix)mem.$(OBJ): $(EXTRACT_DIR)/src/mem.c
|
||||
+$(extract_out_prefix)mem.$(OBJ): $(EXTRACT_DIR)/src/mem.c $(MAKEDIRS)
|
||||
$(extract_cc)$@ $(C_) $(EXTRACT_DIR)/src/mem.c
|
||||
|
||||
-$(extract_out_prefix)outf.$(OBJ): $(EXTRACT_DIR)/src/outf.c
|
||||
+$(extract_out_prefix)outf.$(OBJ): $(EXTRACT_DIR)/src/outf.c $(MAKEDIRS)
|
||||
$(extract_cc)$@ $(C_) $(EXTRACT_DIR)/src/outf.c
|
||||
|
||||
-$(extract_out_prefix)xml.$(OBJ): $(EXTRACT_DIR)/src/xml.c
|
||||
+$(extract_out_prefix)xml.$(OBJ): $(EXTRACT_DIR)/src/xml.c $(MAKEDIRS)
|
||||
$(extract_cc)$@ $(C_) $(EXTRACT_DIR)/src/xml.c
|
||||
|
||||
-$(extract_out_prefix)zip.$(OBJ): $(EXTRACT_DIR)/src/zip.c
|
||||
+$(extract_out_prefix)zip.$(OBJ): $(EXTRACT_DIR)/src/zip.c $(MAKEDIRS)
|
||||
$(extract_cc)$@ $(C_) $(EXTRACT_DIR)/src/zip.c
|
||||
|
||||
EXTRACT_OBJS = \
|
Binary file not shown.
@ -0,0 +1,22 @@
|
||||
diff --color -Naru a/sdk/demo/demo.mk b/sdk/demo/demo.mk
|
||||
--- a/sdk/demo/demo.mk 2021-08-22 17:20:17.232777697 +0200
|
||||
+++ b/sdk/demo/demo.mk 2021-08-22 17:24:49.800783794 +0200
|
||||
@@ -43,10 +43,15 @@
|
||||
CC=/opt/SunProd/SUNWspro6.1/bin/CC
|
||||
cc=/opt/SunProd/SUNWspro6.1/bin/cc
|
||||
|
||||
-ICINCHOME=../
|
||||
-ICLIBHOME=../../
|
||||
+ifeq ($(BUILD32),T)
|
||||
+LIBDIR=lib32
|
||||
+else
|
||||
+LIBDIR=lib
|
||||
+endif
|
||||
+ICINCHOME=$(ORACLE_HOME)/include
|
||||
+ICLIBHOME=$(ORACLE_HOME)/$(LIBDIR)
|
||||
ICLIBPATH=-L$(ICLIBHOME)
|
||||
-CCINCLUDES=-I$(ICINCHOME)include
|
||||
+CCINCLUDES=-I$(ICINCHOME)
|
||||
|
||||
THREADLIBS=-lthread
|
||||
CCLIB=$(ICLIBPATH) -locci -lclntsh $(THREADLIBS)
|
@ -0,0 +1,340 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit pax-utils multilib-minimal
|
||||
|
||||
DESCRIPTION="Oracle 18c Instant Client with SDK"
|
||||
HOMEPAGE="https://www.oracle.com/database/technologies/instant-client.html"
|
||||
|
||||
MY_SOVER=21.1 # the library soname found in the zip files
|
||||
|
||||
IUSE="jdbc odbc precomp +sdk +sqlplus tools"
|
||||
REQUIRED_USE="precomp? ( sdk )"
|
||||
|
||||
MY_PVM=$(ver_cut 1-2)
|
||||
MY_P="instantclient_$(ver_rs 1 _ ${MY_PVM})"
|
||||
|
||||
MY_PVP=$(ver_cut 5) # p2
|
||||
|
||||
MY_URI="https://download.oracle.com/otn_software/linux/instantclient/$(ver_rs 1-5 '' $(ver_cut 1-5))"
|
||||
MY_PLAT_x86="Linux x86"
|
||||
MY_BITS_x86=32
|
||||
MY_A_x86="${MY_URI}/${PN/oracle-/}-basic-linux-${PV}.zip"
|
||||
MY_A_x86_jdbc="${MY_A_x86/basic/jdbc}"
|
||||
MY_A_x86_odbc="${MY_A_x86/basic/odbc}"
|
||||
MY_A_x86_precomp="${MY_A_x86/basic/precomp}"
|
||||
MY_A_x86_sdk="${MY_A_x86/basic/sdk}"
|
||||
MY_A_x86_sqlplus="${MY_A_x86/basic/sqlplus}"
|
||||
MY_A_x86_tools="${MY_A_x86/basic/tools}"
|
||||
|
||||
MY_PLAT_amd64="Linux x86-64"
|
||||
MY_BITS_amd64=64
|
||||
MY_A_amd64="${MY_URI}/${PN/oracle-}-basic-linux.x64-${PV}.zip"
|
||||
MY_A_amd64_jdbc="${MY_A_amd64/basic/jdbc}"
|
||||
MY_A_amd64_odbc="${MY_A_amd64/basic/odbc}"
|
||||
MY_A_amd64_precomp="${MY_A_amd64/basic/precomp}"
|
||||
MY_A_amd64_sdk="${MY_A_amd64/basic/sdk}"
|
||||
MY_A_amd64_sqlplus="${MY_A_amd64/basic/sqlplus}"
|
||||
MY_A_amd64_tools="${MY_A_amd64/basic/tools}"
|
||||
|
||||
if [[ ${MY_PVP} == p* ]]
|
||||
then
|
||||
MY_PVP=-${MY_PVP#p}
|
||||
# Updated 9/22/2017: instantclient-odbc-linux-12.2.0.1.0-2.zip
|
||||
MY_A_x86_odbc="${MY_URI}/${MY_A_x86_odbc%.zip}${MY_PVP}.zip"
|
||||
MY_A_amd64_odbc="${MY_URI}/${MY_A_amd64_odbc%.zip}${MY_PVP}.zip"
|
||||
fi
|
||||
|
||||
SRC_URI="
|
||||
abi_x86_32? (
|
||||
${MY_A_x86}
|
||||
jdbc? ( ${MY_A_x86_jdbc} )
|
||||
odbc? ( ${MY_A_x86_odbc} )
|
||||
precomp? ( ${MY_A_x86_precomp} )
|
||||
!abi_x86_64? (
|
||||
sdk? ( ${MY_A_x86_sdk} )
|
||||
sqlplus? ( ${MY_A_x86_sqlplus} )
|
||||
tools? ( ${MY_A_x86_tools} )
|
||||
) )
|
||||
abi_x86_64? (
|
||||
${MY_A_amd64}
|
||||
jdbc? ( ${MY_A_amd64_jdbc} )
|
||||
odbc? ( ${MY_A_amd64_odbc} )
|
||||
precomp? ( ${MY_A_amd64_precomp} )
|
||||
sdk? ( ${MY_A_amd64_sdk} )
|
||||
sqlplus? ( ${MY_A_amd64_sqlplus} )
|
||||
tools? ( ${MY_A_amd64_tools} )
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="OTN"
|
||||
SLOT="0/${MY_SOVER}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RESTRICT="mirror splitdebug test"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="
|
||||
>=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
|
||||
!<dev-db/oracle-instantclient-basic-12
|
||||
!<dev-db/oracle-instantclient-odbc-12
|
||||
!<dev-db/oracle-instantclient-jdbc-12
|
||||
!<dev-db/oracle-instantclient-sqlplus-12
|
||||
odbc? ( dev-db/unixODBC )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
QA_PREBUILT="usr/lib*/oracle/client/*/*"
|
||||
|
||||
set_my_abivars() {
|
||||
if multilib_is_native_abi; then
|
||||
MY_WORKDIR="${WORKDIR}"
|
||||
MY_S="${S}"
|
||||
else
|
||||
MY_WORKDIR="${WORKDIR}/${ABI}"
|
||||
MY_S="${MY_WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
local abi=${ABI}
|
||||
[[ ${abi} == 'default' ]] && abi=${ARCH}
|
||||
MY_PLAT=MY_PLAT_${abi} ; MY_PLAT=${!MY_PLAT} # platform name
|
||||
MY_BITS=MY_BITS_${abi} ; MY_BITS=${!MY_BITS} # platform bitwidth
|
||||
MY_A=MY_A_${abi} ; MY_A=${!MY_A##*/} # runtime distfile
|
||||
MY_A_jdbc=MY_A_${abi}_jdbc ; MY_A_jdbc=${!MY_A_jdbc##*/} # jdbc distfile
|
||||
MY_A_odbc=MY_A_${abi}_odbc ; MY_A_odbc=${!MY_A_odbc##*/} # odbc distfile
|
||||
MY_A_precomp=MY_A_${abi}_precomp; MY_A_precomp=${!MY_A_precomp##*/} # precomp distfile
|
||||
MY_A_sdk=MY_A_${abi}_sdk ; MY_A_sdk=${!MY_A_sdk##*/} # sdk distfile
|
||||
MY_A_sqlplus=MY_A_${abi}_sqlplus; MY_A_sqlplus=${!MY_A_sqlplus##*/} # sqlplus distfile
|
||||
MY_A_tools=MY_A_${abi}_tools ; MY_A_tools=${!MY_A_tools##*/} # tools distfile
|
||||
|
||||
[[ -n ${MY_PLAT} ]]
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local ABI
|
||||
for ABI in $(multilib_get_enabled_abis)
|
||||
do
|
||||
set_my_abivars || continue
|
||||
mkdir -p "${MY_WORKDIR}" || die
|
||||
cd "${MY_WORKDIR}" || die
|
||||
unpack ${MY_A}
|
||||
use jdbc && unpack ${MY_A_jdbc}
|
||||
use odbc && unpack ${MY_A_odbc}
|
||||
use precomp && unpack ${MY_A_precomp}
|
||||
if multilib_is_native_abi; then
|
||||
use sdk && unpack ${MY_A_sdk}
|
||||
use sqlplus && unpack ${MY_A_sqlplus}
|
||||
use tools && unpack ${MY_A_tools}
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=()
|
||||
if use precomp; then
|
||||
# Not supporting COBOL for now
|
||||
rm -f sdk/demo/*procob*
|
||||
fi
|
||||
if use sdk; then
|
||||
PATCHES+=( "${FILESDIR}"/21.3.0.0.0-makefile.patch )
|
||||
rm sdk/include/ldap.h || die #299562
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
# silence configure&compile messages from multilib-minimal
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# all content goes here without version number, bug#578402
|
||||
local oracle_home=/usr/$(get_libdir)/oracle/client
|
||||
local oracle_home_to_root=../../../.. # for dosym
|
||||
local ldpath=
|
||||
|
||||
local ABI
|
||||
for ABI in $(multilib_get_enabled_abis) # last iteration is final ABI
|
||||
do
|
||||
if ! set_my_abivars; then
|
||||
elog "Skipping unsupported ABI ${ABI}."
|
||||
continue
|
||||
fi
|
||||
einfo "Installing runtime for ${MY_PLAT} ..."
|
||||
|
||||
cd "${MY_S}" || die
|
||||
|
||||
# shared libraries
|
||||
into "${oracle_home}"
|
||||
dolib.so lib*$(get_libname)*
|
||||
use precomp && dolib.a cobsqlintf.o
|
||||
|
||||
# ensure to be linkable
|
||||
[[ -e libocci$(get_libname) ]] ||
|
||||
dosym libocci$(get_libname ${MY_SOVER}) \
|
||||
"${oracle_home}"/$(get_libdir)/libocci$(get_libname)
|
||||
[[ -e libclntsh$(get_libname) ]] ||
|
||||
dosym libclntsh$(get_libname ${MY_SOVER}) \
|
||||
"${oracle_home}"/$(get_libdir)/libclntsh$(get_libname)
|
||||
|
||||
# java archives
|
||||
insinto "${oracle_home}"/$(get_libdir)
|
||||
doins *.jar
|
||||
|
||||
# runtime library path
|
||||
ldpath+=${ldpath:+:}${oracle_home}/$(get_libdir)
|
||||
|
||||
# Vanilla filesystem layout does not support multilib
|
||||
# installation, so we need to move the libs into the
|
||||
# ABI specific libdir. However, ruby-oci8 build system
|
||||
# detects an instantclient along the shared libraries,
|
||||
# and does expect the sdk right there.
|
||||
use sdk && dosym ../sdk "${oracle_home}"/$(get_libdir)/sdk
|
||||
|
||||
eend $?
|
||||
done
|
||||
|
||||
local DOCS=( BASIC_README )
|
||||
local HTML_DOCS=()
|
||||
local paxbins=( adrci genezi uidrvci )
|
||||
local scripts=()
|
||||
|
||||
if use jdbc; then
|
||||
DOCS+=( JDBC_README )
|
||||
fi
|
||||
if use odbc; then
|
||||
DOCS+=( ODBC_README )
|
||||
HTML_DOCS+=( help )
|
||||
scripts+=( odbc_update_ini.sh )
|
||||
fi
|
||||
if use precomp; then
|
||||
DOCS+=( PRECOMP_README )
|
||||
paxbins+=( sdk/proc )
|
||||
# Install pcscfg.cfg into /etc/oracle, as the user probably
|
||||
# wants to add the include path for the compiler headers
|
||||
# here and we do not want this to be overwritten.
|
||||
insinto /etc/oracle
|
||||
doins precomp/admin/pcscfg.cfg
|
||||
sed -i -e "s%^sys_include=.*%sys_include=(${oracle_home}/sdk/include,${EPREFIX}/usr/include)%" \
|
||||
"${ED}"/etc/oracle/pcscfg.cfg || die
|
||||
dosym ../../${oracle_home_to_root}/etc/oracle/pcscfg.cfg "${oracle_home}/precomp/admin/pcscfg.cfg"
|
||||
dosym ../.."${oracle_home}"/bin/proc /usr/bin/proc
|
||||
# Not supporting COBOL for now
|
||||
# paxbins+=( sdk/{procob,rtsora} )
|
||||
# doins precomp/admin/pcbcfg.cfg
|
||||
fi
|
||||
if use sdk; then
|
||||
einfo "Installing SDK ..."
|
||||
DOCS+=( SDK_README )
|
||||
scripts+=( sdk/ott )
|
||||
insinto "${oracle_home}"/$(get_libdir)
|
||||
doins sdk/ottclasses.zip
|
||||
insinto "${oracle_home}"/sdk
|
||||
doins -r sdk/{admin,demo,include}
|
||||
# Some build systems simply expect ORACLE_HOME/include.
|
||||
dosym sdk/include "${oracle_home}"/include
|
||||
# Some build systems do not know the instant client,
|
||||
# expecting headers in rdbms/public, see bug#669316.
|
||||
# Additionally, some (probably older ruby-oci8) do
|
||||
# require rdbms/public to be a real directory.
|
||||
insinto "${oracle_home}"/rdbms/public
|
||||
doins -r sdk/include/*
|
||||
# Others (like the DBD::Oracle perl module) know the Oracle
|
||||
# eXpress Edition's client, parsing an rdbms/demo/demo_xe.mk.
|
||||
dosym ../../sdk/demo/demo.mk "${oracle_home}"/rdbms/demo/demo_xe.mk
|
||||
# And some do expect /usr/include/oracle/<ver>/client/include,
|
||||
# querying 'sqlplus' for the version number, also see bug#652096.
|
||||
dosym ../../../.."${oracle_home}"/sdk/include /usr/include/oracle/${MY_PVM}/client
|
||||
eend $?
|
||||
fi
|
||||
if use sqlplus; then
|
||||
DOCS+=( SQLPLUS_README )
|
||||
paxbins+=( sqlplus )
|
||||
insinto "${oracle_home}"/sqlplus/admin
|
||||
doins glogin.sql
|
||||
dosym ../.."${oracle_home}"/bin/sqlplus /usr/bin/sqlplus
|
||||
fi
|
||||
if use tools; then
|
||||
DOCS+=( TOOLS_README )
|
||||
paxbins+=( exp expdp imp impdp sqlldr wrc )
|
||||
fi
|
||||
|
||||
einfo "Installing binaries for ${MY_PLAT} ..."
|
||||
into "${oracle_home}"
|
||||
dobin ${paxbins[*]} ${scripts[*]}
|
||||
pushd "${ED}${oracle_home}/bin" >/dev/null || die
|
||||
pax-mark -c ${paxbins[*]#*/} || die
|
||||
popd >/dev/null || die
|
||||
eend $?
|
||||
|
||||
einstalldocs
|
||||
|
||||
# create path for tnsnames.ora
|
||||
insinto /etc/oracle
|
||||
doins "${FILESDIR}"/tnsnames.ora.sample
|
||||
|
||||
# Add OCI libs to library path
|
||||
{
|
||||
echo "# ${EPREFIX}/etc/env.d/50${PN}"
|
||||
echo "# Do not edit this file, but 99${PN} instead"
|
||||
echo
|
||||
echo "ORACLE_HOME=${EPREFIX}${oracle_home}"
|
||||
echo "LDPATH=${ldpath}"
|
||||
echo "TNS_ADMIN=${EPREFIX}/etc/oracle/"
|
||||
} > "${T}"/50${PN}
|
||||
|
||||
doenvd "${T}"/50${PN}
|
||||
|
||||
# ensure ORACLE_HOME/lib exists
|
||||
[[ -e ${ED}${oracle_home}/lib/. ]] ||
|
||||
dosym $(get_libdir) "${oracle_home#/}"/lib
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -r ${EROOT}/etc/env.d/99${PN} ]]; then
|
||||
cp "${EROOT}/etc/env.d/99${PN}" "${ED}/etc/env.d/" || die
|
||||
else
|
||||
{
|
||||
echo "# ${EPREFIX}/etc/env.d/99${PN}"
|
||||
echo "# Configure system-wide defaults for your Oracle Instant Client here"
|
||||
echo
|
||||
echo "#$(grep '^ORACLE_HOME=' "${ED}/etc/env.d/50${PN}")"
|
||||
echo "#$(grep '^TNS_ADMIN=' "${ED}/etc/env.d/50${PN}")"
|
||||
echo "#NLS_LANG="
|
||||
} > "${ED}/etc/env.d/99${PN}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "${P} does not provide an sqlnet.ora"
|
||||
elog "configuration file, redirecting oracle diagnostics for database-"
|
||||
elog "and network-issues into ~USER/oradiag_USER/ instead."
|
||||
elog "It should be safe to ignore this message in sqlnet.log there:"
|
||||
elog " Directory does not exist for read/write [ORACLE_HOME/client/log] []"
|
||||
elog "See https://bugs.gentoo.org/show_bug.cgi?id=465252 for reference."
|
||||
elog "If you want to directly analyse low-level debug info or don't want"
|
||||
elog "to see it at all, so you really need an sqlnet.ora file, please"
|
||||
elog "consult http://search.oracle.com/search/search?q=sqlnet.ora"
|
||||
elog ""
|
||||
elog "TNS_ADMIN has been set to ${EPREFIX}/etc/oracle by default,"
|
||||
elog "put your tnsnames.ora there or configure TNS_ADMIN"
|
||||
elog "to point to your user specific configuration."
|
||||
if use precomp; then
|
||||
elog ""
|
||||
elog "The proc precompiler uses the system library headers, which in"
|
||||
elog "turn include the headers of the used compiler."
|
||||
elog "To make proc work, please add the compiler header path of your"
|
||||
elog "preferred compiler to sys_include in:"
|
||||
elog " ${EPREFIX}/etc/oracle/pcscfg.cfg"
|
||||
elog "Remember to update this setting when you switch or update the"
|
||||
elog "compiler."
|
||||
elog "For gcc, the headers are usually found in a path matching the"
|
||||
elog "following pattern:"
|
||||
elog " ${EPREFIX}/usr/lib/gcc/*/*/include"
|
||||
elog "The exact details depend on the architecture and the version of"
|
||||
elog "the compiler to be used."
|
||||
fi
|
||||
ewarn "Please re-source your shell settings for ORACLE_HOME"
|
||||
ewarn " changes, such as: source ${EPREFIX}/etc/profile"
|
||||
}
|
Binary file not shown.
@ -0,0 +1,28 @@
|
||||
From 031cc8495ef5008e744bc3bf1e970e894083d1a1 Mon Sep 17 00:00:00 2001
|
||||
From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com>
|
||||
Date: Mon, 26 Jul 2021 19:50:25 +0300
|
||||
Subject: [PATCH] Replace URL for versions.xml
|
||||
|
||||
Replace versions.xml URL to
|
||||
http://www.aaabbb.de/FirmwareUsbprog/versions.xml as only one viable
|
||||
source for firmwares.
|
||||
---
|
||||
usbprog/usbprog.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/usbprog/usbprog.h b/usbprog/usbprog.h
|
||||
index 38d069e..35dc86b 100644
|
||||
--- a/usbprog/usbprog.h
|
||||
+++ b/usbprog/usbprog.h
|
||||
@@ -26,7 +26,7 @@ namespace usbprog {
|
||||
|
||||
/* Preprocessor definitions {{{ */
|
||||
|
||||
-#define DEFAULT_INDEX_URL "http://www.ixbat.de/usbprog/versions.xml"
|
||||
+#define DEFAULT_INDEX_URL "http://www.aaabbb.de/FirmwareUsbprog/versions.xml"
|
||||
#define AUTO_NOT_UPDATE_TIME 10
|
||||
|
||||
/* }}} */
|
||||
--
|
||||
2.31.1
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST luaposix-35.0.tar.gz 178091 BLAKE2B b2d2ca01f18f0e98b45008919fc886e05d2cad034c84e870900c33891dd5867d9bc7aa8deae06c3f3f0852db902c1e766e693162b32ed474eb710b379bf9e3ed SHA512 4bb61892b78d9e59418a9a6360b9f611fb9b5438b9261a2c6672f053a1b21dfd9a2060b8d2f0d3eac6185773cf84672c1769c081c4ab53d2ddae2232e4a9269b
|
||||
DIST luaposix-35.1.tar.gz 180002 BLAKE2B fc48ae91c31968cb92ea9818148f135e16e2bacac10265cbfa43539c34a934c4eb636417b820ce3b0b3724fecbf27a860c6b481749d339b009fc01b6f81e6277 SHA512 f2c36bf69c0d73b4a2c6ab0915f81473addce427c22e82e2d1c334016dec7fecb4365fc980fa6adb0de21ad1a60bc75b73f58579e8a423990ad2067c9ae37775
|
||||
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
|
||||
inherit lua toolchain-funcs
|
||||
|
||||
DESCRIPTION="Bindings for POSIX APIs"
|
||||
HOMEPAGE="https://luaposix.github.io/luaposix/ https://github.com/luaposix/luaposix"
|
||||
SRC_URI="https://github.com/luaposix/luaposix/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
# Requires specl, which is not in the tree yet
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="${LUA_DEPS}
|
||||
virtual/libcrypt:=
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
lua_targets_lua5-1? ( dev-lua/lua-bit32[lua_targets_lua5-1(-)] )
|
||||
lua_targets_luajit? ( dev-lua/lua-bit32[lua_targets_luajit(-)] )
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
lua_copy_sources
|
||||
}
|
||||
|
||||
lua_src_compile() {
|
||||
pushd "${BUILD_DIR}" || die
|
||||
|
||||
# LDOC=true means disable ldoc update documentation
|
||||
./build-aux/luke --verbose package="${PN}" version="${PV}" \
|
||||
LDOC=true \
|
||||
PREFIX="${ED}/usr" \
|
||||
INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \
|
||||
INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \
|
||||
LUA_INCDIR="${EPREFIX}/$(lua_get_include_dir)" \
|
||||
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" || die
|
||||
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
lua_foreach_impl lua_src_compile
|
||||
}
|
||||
|
||||
lua_src_install() {
|
||||
pushd "${BUILD_DIR}" || die
|
||||
|
||||
./build-aux/luke install \
|
||||
LDOC=true \
|
||||
PREFIX="${ED}/usr" \
|
||||
INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \
|
||||
INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \
|
||||
|| die
|
||||
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
lua_foreach_impl lua_src_install
|
||||
dodoc {NEWS,README}.md
|
||||
use doc && dodoc -r doc
|
||||
}
|
Binary file not shown.
@ -1,11 +1,242 @@
|
||||
--- a/src/php_http_client_curl.c 2021-01-13 10:34:34.000000000 -0500
|
||||
+++ b/src/php_http_client_curl.c 2021-09-22 10:38:58.854615743 -0400
|
||||
@@ -834,7 +834,7 @@
|
||||
diff --git a/autoconf/pecl/libbrotli.m4 b/autoconf/pecl/libbrotli.m4
|
||||
index f8916e2..575f635 100644
|
||||
--- a/autoconf/pecl/libbrotli.m4
|
||||
+++ b/autoconf/pecl/libbrotli.m4
|
||||
@@ -1,5 +1,11 @@
|
||||
|
||||
AC_DEFUN([PECL_CHECK_LIBBROTLI], [
|
||||
+ dnl config.m4 calls PECL_CHECK_DONE once more
|
||||
+ PECL_COUNT_CHECKS([+1])
|
||||
+ PECL_SAVE_ENV([CPPFLAGS], [libbrotli])
|
||||
+ PECL_SAVE_ENV([LDFLAGS], [libbrotli])
|
||||
+ PECL_SAVE_ENV([LIBS], [libbrotli])
|
||||
+
|
||||
PECL_CHECK_LIBBROTLI_COMMON([$1], [$2])
|
||||
PECL_CHECK_DONE(libbrotlicommon, [$PECL_VAR([HAVE_LIBBROTLI_COMMON])])
|
||||
PECL_CHECK_LIBBROTLI_DEC([$1], [$2])
|
||||
diff --git a/autoconf/pecl/libcurl.m4 b/autoconf/pecl/libcurl.m4
|
||||
index 4d99207..8de9499 100644
|
||||
--- a/autoconf/pecl/libcurl.m4
|
||||
+++ b/autoconf/pecl/libcurl.m4
|
||||
@@ -160,6 +160,26 @@ AC_DEFUN([PECL_HAVE_LIBCURL_SSL], [dnl
|
||||
fi
|
||||
fi
|
||||
])
|
||||
+
|
||||
+ PECL_HAVE_CONST([curl/curl.h], [CURL_LOCK_DATA_SSL_SESSION], int, [
|
||||
+ AC_CACHE_CHECK([whether curl_share accepts CURL_LOCK_DATA_SSL_SESSION], PECL_CACHE_VAR([LIBCURL_SHARE_SSL]), [
|
||||
+ PECL_CACHE_VAR([LIBCURL_SHARE_SSL])=
|
||||
+ AC_TRY_RUN([
|
||||
+ #include <curl/curl.h>
|
||||
+ int main(int argc, char *argv[]) {
|
||||
+ CURLSH *ch = curl_share_init();
|
||||
+ return curl_share_setopt(ch, CURLSHOPT_SHARE, CURL_LOCK_DATA_SSL_SESSION);
|
||||
+ }
|
||||
+ ], [
|
||||
+ PECL_CACHE_VAR([LIBCURL_SHARE_SSL])=yes
|
||||
+ ], [
|
||||
+ PECL_CACHE_VAR([LIBCURL_SHARE_SSL])=no
|
||||
+ ])
|
||||
+ ])
|
||||
+ if test "$PECL_CACHE_VAR([LIBCURL_SHARE_SSL])" = yes; then
|
||||
+ PECL_DEFINE([HAVE_LIBCURL_SHARE_SSL], [1])
|
||||
+ fi
|
||||
+ ])
|
||||
])
|
||||
])
|
||||
dnl
|
||||
diff --git a/autoconf/pecl/pecl.m4 b/autoconf/pecl/pecl.m4
|
||||
index ffa45ac..d8735b0 100644
|
||||
--- a/autoconf/pecl/pecl.m4
|
||||
+++ b/autoconf/pecl/pecl.m4
|
||||
@@ -70,6 +70,12 @@ AC_DEFUN([PECL_RESTORE_ENV], [
|
||||
$1=$PECL_SAVE_VAR([$2_$1])
|
||||
])
|
||||
dnl
|
||||
+dnl PECL_COUNT_CHECKS(incdec)
|
||||
+dnl
|
||||
+AC_DEFUN([PECL_COUNT_CHECKS], [
|
||||
+ PECL_VAR([_checks])=$(($PECL_VAR([_checks])$1))
|
||||
+])
|
||||
+dnl
|
||||
dnl PECL_EVAL_LIBLINE(libline)
|
||||
dnl
|
||||
AC_DEFUN([PECL_EVAL_LIBLINE], [
|
||||
@@ -244,6 +250,7 @@ dnl
|
||||
dnl PECL_CHECK_CUSTOM(name, path, header, lib, version)
|
||||
dnl
|
||||
AC_DEFUN([PECL_CHECK_CUSTOM], [
|
||||
+ PECL_COUNT_CHECKS([+1])
|
||||
PECL_SAVE_ENV([CPPFLAGS], [$1])
|
||||
PECL_SAVE_ENV([LDFLAGS], [$1])
|
||||
PECL_SAVE_ENV([LIBS], [$1])
|
||||
@@ -260,10 +267,10 @@ AC_DEFUN([PECL_CHECK_CUSTOM], [
|
||||
done
|
||||
])
|
||||
if test -n "$PECL_CACHE_VAR([$1_prefix])"; then
|
||||
- CPPFLAGS="-I$PECL_CACHE_VAR([$1_prefix])/include"
|
||||
- LDFLAGS="-L$PECL_CACHE_VAR([$1_prefix])/$PHP_LIBDIR"
|
||||
- LIBS="-l$4"
|
||||
- PECL_EVAL_LIBLINE([$LDFLAGS $LIBS])
|
||||
+ CPPFLAGS="$CPPFLAGS -I$PECL_CACHE_VAR([$1_prefix])/include"
|
||||
+ LDFLAGS="$LDFLAGS -L$PECL_CACHE_VAR([$1_prefix])/$PHP_LIBDIR"
|
||||
+ LIBS="$LIBS -l$4"
|
||||
+ dnl PECL_EVAL_LIBLINE([$LDFLAGS $LIBS])
|
||||
|
||||
AC_CACHE_VAL(PECL_CACHE_VAR([$1_version]), [
|
||||
pushd $PECL_CACHE_VAR([$1_prefix]) >/dev/null
|
||||
@@ -288,11 +295,11 @@ dnl
|
||||
dnl PECL_CHECK_CONFIG(name, prog-config, version-flag, cppflags-flag, ldflags-flag, libs-flag)
|
||||
dnl
|
||||
AC_DEFUN([PECL_CHECK_CONFIG], [
|
||||
+ PECL_COUNT_CHECKS([+1])
|
||||
PECL_SAVE_ENV([CPPFLAGS], [$1])
|
||||
PECL_SAVE_ENV([LDFLAGS], [$1])
|
||||
PECL_SAVE_ENV([LIBS], [$1])
|
||||
|
||||
-
|
||||
AC_MSG_CHECKING([for $1])
|
||||
ifelse($2, [$PKG_CONFIG $1], [
|
||||
AC_CACHE_VAL(PECL_CACHE_VAR([$1_exists]), [
|
||||
@@ -311,20 +318,22 @@ AC_DEFUN([PECL_CHECK_CONFIG], [
|
||||
AC_CACHE_VAL(PECL_CACHE_VAR([$1_cppflags]), [
|
||||
PECL_CACHE_VAR([$1_cppflags])=$($2 $4)
|
||||
])
|
||||
- CPPFLAGS=$PECL_CACHE_VAR([$1_cppflags])
|
||||
+ CPPFLAGS="$CPPFLAGS $PECL_CACHE_VAR([$1_cppflags])"
|
||||
AC_CACHE_VAL(PECL_CACHE_VAR([$1_ldflags]), [
|
||||
PECL_CACHE_VAR([$1_ldflags])=$($2 $5)
|
||||
])
|
||||
- LDFLAGS=$PECL_CACHE_VAR([$1_ldflags])
|
||||
+ LDFLAGS="$LDFLAGS $PECL_CACHE_VAR([$1_ldflags])"
|
||||
AC_CACHE_VAL(PECL_CACHE_VAR([$1_libs]), [
|
||||
PECL_CACHE_VAR([$1_libs])=$($2 $6)
|
||||
])
|
||||
- LIBS=$PECL_CACHE_VAR([$1_libs])
|
||||
- PECL_EVAL_LIBLINE([$LDFLAGS $LIBS])
|
||||
+ LIBS="$LIBS $PECL_CACHE_VAR([$1_libs])"
|
||||
+ dnl PECL_EVAL_LIBLINE([$LDFLAGS $LIBS])
|
||||
ifelse($2, [$PKG_CONFIG $1], [
|
||||
fi
|
||||
])
|
||||
|
||||
+ AC_MSG_RESULT([${PECL_CHECKED_VERSION([$1]):-no}])
|
||||
+
|
||||
if test -n "$PECL_CHECKED_VERSION([$1])"; then
|
||||
PECL_VAR([HAVE_$1])=true
|
||||
PECL_DEFINE([HAVE_$1])
|
||||
@@ -332,8 +341,6 @@ AC_DEFUN([PECL_CHECK_CONFIG], [
|
||||
else
|
||||
PECL_VAR([HAVE_$1])=false
|
||||
fi
|
||||
-
|
||||
- AC_MSG_RESULT([${PECL_CHECKED_VERSION([$1]):-no}])
|
||||
])
|
||||
dnl
|
||||
dnl PECL_CHECK_PKGCONFIG(pkg[, additional-pkg-config-path])
|
||||
@@ -355,9 +362,25 @@ dnl
|
||||
dnl PECL_CHECK_DONE(name, success[, incline, libline])
|
||||
dnl
|
||||
AC_DEFUN([PECL_CHECK_DONE], [
|
||||
- if $2; then
|
||||
- incline=$CPPFLAGS
|
||||
- libline="$LDFLAGS $LIBS"
|
||||
+ PECL_COUNT_CHECKS([-1])
|
||||
+ success=$2
|
||||
+ if $success && test -n "$LDFLAGS$LIBS"; then
|
||||
+ AC_MSG_CHECKING([whether $1 can be linked])
|
||||
+ AC_TRY_LINK([], [], [success=yes], [success=no])
|
||||
+ AC_MSG_RESULT([$success])
|
||||
+ if ! $success; then
|
||||
+ AC_MSG_WARN([$1 was found, but fails to link with:])
|
||||
+ AC_MSG_WARN([ LDFLAGS='$LDFLAGS'])
|
||||
+ AC_MSG_WARN([ LIBS='$LIBS'])
|
||||
+ AC_MSG_WARN([Missing or updated library paths?])
|
||||
+ fi
|
||||
+ fi
|
||||
+ if $success; then
|
||||
+ _cppflags=$PECL_SAVE_VAR([$1_CPPFLAGS])
|
||||
+ _ldflags=$PECL_SAVE_VAR([$1_LDFLAGS])
|
||||
+ _libs=$PECL_SAVE_VAR([$1_LIBS])
|
||||
+ incline=${CPPFLAGS:${#_cppflags}}
|
||||
+ libline=["${LDFLAGS:${#_ldflags}} ${LIBS:${#_libs}}"]
|
||||
PECL_DEFINE([HAVE_$1])
|
||||
else
|
||||
incline=$3
|
||||
diff --git a/config9.m4 b/config9.m4
|
||||
index ef7d33e..695701b 100644
|
||||
--- a/config9.m4
|
||||
+++ b/config9.m4
|
||||
@@ -24,6 +24,8 @@ if test "$PHP_HTTP" != "no"; then
|
||||
AC_CHECK_LIB(nsl, getdomainname)
|
||||
])
|
||||
AC_CHECK_FUNCS(mbrtowc mbtowc iswalnum inet_pton)
|
||||
+
|
||||
+ CFLAGS="$CFLAGS -Wno-strict-prototypes"
|
||||
|
||||
dnl ZLIB
|
||||
PHP_ARG_WITH([http-zlib-dir], [whether/where to check for zlib],
|
||||
diff --git a/src/php_http_client_curl.c b/src/php_http_client_curl.c
|
||||
index 0e79f19..8898b5d 100644
|
||||
--- a/src/php_http_client_curl.c
|
||||
+++ b/src/php_http_client_curl.c
|
||||
@@ -17,6 +17,8 @@
|
||||
|
||||
#if PHP_HTTP_HAVE_LIBCURL
|
||||
|
||||
+#define DEBUG_COOKIES 0
|
||||
+
|
||||
#if PHP_HTTP_HAVE_LIBCURL_OPENSSL
|
||||
# include <openssl/ssl.h>
|
||||
#endif
|
||||
@@ -834,6 +836,9 @@ static ZEND_RESULT_CODE php_http_curle_option_set_cookiesession(php_http_option_
|
||||
return FAILURE;
|
||||
}
|
||||
if (Z_TYPE_P(val) == IS_TRUE) {
|
||||
+#if DEBUG_COOKIES
|
||||
+ fprintf(stderr, "CURLOPT_COOKIELIST: SESS\n");
|
||||
+#endif
|
||||
if (CURLE_OK != curl_easy_setopt(ch, CURLOPT_COOKIELIST, "SESS")) {
|
||||
return FAILURE;
|
||||
}
|
||||
@@ -856,9 +861,19 @@ static ZEND_RESULT_CODE php_http_curle_option_set_cookiestore(php_http_option_t
|
||||
} else {
|
||||
storage->cookiestore = NULL;
|
||||
}
|
||||
- if ( CURLE_OK != curl_easy_setopt(ch, CURLOPT_COOKIEFILE, storage->cookiestore)
|
||||
+ if ( CURLE_OK != curl_easy_setopt(ch, CURLOPT_COOKIEFILE, storage->cookiestore ? storage->cookiestore : "")
|
||||
|| CURLE_OK != curl_easy_setopt(ch, CURLOPT_COOKIEJAR, storage->cookiestore)
|
||||
) {
|
||||
- || CURLE_OK != curl_easy_setopt(ch, CURLOPT_COOKIEJAR, storage->cookiestore)
|
||||
- ) {
|
||||
+
|
||||
+#if DEBUG_COOKIES
|
||||
+ fprintf(stderr, "CURLOPT_COOKIEFILE: %s\n", cookiestore);
|
||||
+#endif
|
||||
+ // does NOT enable ch->data.cookies until transfer; adds to ch->stsate.cookielist
|
||||
+ if (CURLE_OK != curl_easy_setopt(ch, CURLOPT_COOKIEFILE, storage->cookiestore ? storage->cookiestore : "")) {
|
||||
+ return FAILURE;
|
||||
+ }
|
||||
+#if DEBUG_COOKIES
|
||||
+ fprintf(stderr, "CURLOPT_COOKIEJAR: %s\n", cookiestore);
|
||||
+#endif
|
||||
+ // enables ch->data.cookies
|
||||
+ if (CURLE_OK != curl_easy_setopt(ch, CURLOPT_COOKIEJAR, storage->cookiestore)) {
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
@@ -1919,7 +1934,7 @@ static ZEND_RESULT_CODE php_http_curlm_option_set_share_cookies(php_http_option_
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
-#if PHP_HTTP_CURL_VERSION(7,23,0)
|
||||
+#if PHP_HTTP_HAVE_LIBCURL_SHARE_SSL
|
||||
static ZEND_RESULT_CODE php_http_curlm_option_set_share_ssl(php_http_option_t *opt, zval *value, void *userdata)
|
||||
{
|
||||
php_http_client_t *client = userdata;
|
||||
@@ -1994,7 +2009,7 @@ static void php_http_curlm_options_init(php_http_options_t *registry)
|
||||
opt->setter = php_http_curlm_option_set_share_cookies;
|
||||
ZVAL_TRUE(&opt->defval);
|
||||
}
|
||||
-#if PHP_HTTP_CURL_VERSION(7,23,0)
|
||||
+#if PHP_HTTP_HAVE_LIBCURL_SHARE_SSL
|
||||
if ((opt = php_http_option_register(registry, ZEND_STRL("share_ssl"), 0, _IS_BOOL))) {
|
||||
opt->setter = php_http_curlm_option_set_share_ssl;
|
||||
ZVAL_TRUE(&opt->defval);
|
||||
|
Binary file not shown.
@ -1,8 +1,2 @@
|
||||
DIST apispec-4.4.1.tar.gz 64424 BLAKE2B b46390659334f5ce5aa83fd15207f5d1ad6d0e9c530f9e7d2b1a0f6a787498aad065153cde9237ce1ab408256e5cd698bbc674dc0316eb4ed16b874ce34611c4 SHA512 fea0787598ca93711eaa231675f97623eb3d6eb224e11c40e66857b95f48724618bf7a9bfda476b56c1c96fe70bb61675966b1f3fb073fe3f7e4da91e78d3d90
|
||||
DIST apispec-4.4.2.tar.gz 64660 BLAKE2B 1e53d4b3f8856e76565690773085dfcbaaab4e1771186eb8ea35f469d7c65b8d5bd6319af0ee32539de96ce5ff1889a15d74ac764d7bb9d0b415648af87d28db SHA512 8f8070ec1a084e5c5dda02d30103ff25a2fe096839aa2b1a75858297377e312e29a2d1cf4d373a53b7bffcbe9108489c2a2516e0e053c2de12ef90044b6b7e17
|
||||
DIST apispec-4.5.0.tar.gz 65423 BLAKE2B ce6cc6f466d274db6aa5f8b27c3a9340daff7934b9293c501b5305b4a6ccbd22e8b12a163e20e5e02d571a8177adb6d5b3196ffa46ae68f2931b6c3ced2b4d0c SHA512 0abb186182513a6d7e4aeeeb80cd8976eebe7c40932ca7c53cd8be149e65a768235436382bab2006a79bcdf345cde55fd69eb3f28f8d14cde5fe064f7c7a76ad
|
||||
DIST apispec-4.6.0.tar.gz 66147 BLAKE2B 98127cb2bf938cc1928e13e1169804eea174351a0f4eeaabc801da711d0861bc35a9761e9f1bc478a44d6a85989a1aba1840b3e472599064240a880fda8e45b4 SHA512 b030e5400a9abce06576406f83befb298814617e06729f29c2ee70517cf456901b67e60880b3b4baec096717a91341e8268bcd8e01fd566b7c6e03709afd7c3b
|
||||
DIST apispec-4.7.0.tar.gz 66274 BLAKE2B dbb14dd831eddeb9f086643b6182ccc3e529e22ad7e31d1d4dd2dce54edf76c6cf01a74438383df5ccec18cf863334d5cdbd45214791c01632d7f7efa63f7aa3 SHA512 53c0a1e6db81439a7c3f8e933cac28003dd84444e65986a29aef8a6ec761999c84417902448288d69c5873d12dded2156e79bedc5bd4bd0fd472ea014e65a6c7
|
||||
DIST apispec-4.7.1.tar.gz 66356 BLAKE2B f78ab7f10c7a10f3d62b4d02e5a33cc1972aea0b33af1c485a11c2c415b2913a4d8151a9aa44de9876fa1ec6ebe02d448fb50dcc573e6a4779265ee07bda0329 SHA512 e5ead9a867d9dd18f2fb7509b6ef4afd9ec04cc102f55684a66e8f5ebe1b8e3e4129c62b7fd50f0a337547336375cee612e1bec620fa957f8f90d11968538c8e
|
||||
DIST apispec-5.0.0.gh.tar.gz 68795 BLAKE2B 42b4ea7d825fc94c6ca904df56a900b52ecd3fda78b3079103370c6cb362cea6338251d344c970c0ad0380d8b39931f6fc38f3e71dc4c31ace0763c6e9721f73 SHA512 1e3d4c06713081d90d5d8650e7aeedd12248ef9a43ced6681be4e9dbf4563b7390cabf3423ea2c1bfda6900cd193efa4e2cacdac77350fcf2e83cfc30580c98e
|
||||
DIST apispec-5.1.0.gh.tar.gz 69990 BLAKE2B 0fc488abae9657c9996775c460b97b66a782b82012bf3c1bb6a1623600b03c71bc80eb556d60720e00b07551a5c3b44b40f709bffbb05b10603485af9122cd6b SHA512 ebcb6ddc71be541c152f18eaf2462f09c5860b689d34581723dc8f70f4da59966c34ea6f1282be2ea38cb4524af224a96bcfe974f5fcc62bf4939c644aa6df48
|
||||
DIST apispec-5.1.1.gh.tar.gz 70296 BLAKE2B 339706890d23c796ea73c23735c5655694315a8a8017eba8f69574ed4e85ddf9a65c3a26482a78f08a118afd19e3c9bbcc9d264bb770941d7affbf7cf85eb925 SHA512 4e0e2959699c735c5242aa1a954392d97ea4809aafbd8d091f608baf7397a31964852588c474acb84e8755a62849837d741eb1e5fdf1cd5304f46c852e346d03
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pluggable API specification generator."
|
||||
HOMEPAGE="https://github.com/marshmallow-code/apispec/"
|
||||
SRC_URI="https://github.com/marshmallow-code/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/bottle[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/marshmallow[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/sphinx-issues \
|
||||
dev-python/sphinx_rtd_theme
|
||||
|
||||
python_test() {
|
||||
local deselect=(
|
||||
# requires unpackaged prance
|
||||
tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2
|
||||
tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3
|
||||
)
|
||||
|
||||
epytest ${deselect[@]/#/--deselect }
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pluggable API specification generator."
|
||||
HOMEPAGE="https://github.com/marshmallow-code/apispec/"
|
||||
SRC_URI="https://github.com/marshmallow-code/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/bottle[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/marshmallow[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/sphinx-issues \
|
||||
dev-python/sphinx_rtd_theme
|
||||
|
||||
python_test() {
|
||||
local deselect=(
|
||||
# requires unpackaged prance
|
||||
tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2
|
||||
tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3
|
||||
)
|
||||
|
||||
epytest ${deselect[@]/#/--deselect }
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pluggable API specification generator."
|
||||
HOMEPAGE="https://github.com/marshmallow-code/apispec/"
|
||||
SRC_URI="https://github.com/marshmallow-code/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/bottle[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/marshmallow[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/sphinx-issues \
|
||||
dev-python/sphinx_rtd_theme
|
||||
|
||||
python_test() {
|
||||
local deselect=(
|
||||
# requires unpackaged prance
|
||||
tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2
|
||||
tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3
|
||||
)
|
||||
|
||||
epytest ${deselect[@]/#/--deselect }
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pluggable API specification generator."
|
||||
HOMEPAGE="https://github.com/marshmallow-code/apispec/"
|
||||
SRC_URI="https://github.com/marshmallow-code/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/bottle[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/marshmallow[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/sphinx-issues \
|
||||
dev-python/sphinx_rtd_theme
|
||||
|
||||
python_test() {
|
||||
local deselect=(
|
||||
# requires unpackaged prance
|
||||
tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2
|
||||
tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3
|
||||
)
|
||||
|
||||
epytest ${deselect[@]/#/--deselect }
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pluggable API specification generator."
|
||||
HOMEPAGE="https://github.com/marshmallow-code/apispec/"
|
||||
SRC_URI="https://github.com/marshmallow-code/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/bottle[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/marshmallow[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/sphinx-issues \
|
||||
dev-python/sphinx_rtd_theme
|
||||
|
||||
python_test() {
|
||||
local deselect=(
|
||||
# requires unpackaged prance
|
||||
tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2
|
||||
tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3
|
||||
)
|
||||
|
||||
epytest ${deselect[@]/#/--deselect }
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pluggable API specification generator."
|
||||
HOMEPAGE="https://github.com/marshmallow-code/apispec/"
|
||||
SRC_URI="https://github.com/marshmallow-code/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/bottle[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/marshmallow[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/sphinx-issues \
|
||||
dev-python/sphinx_rtd_theme
|
||||
|
||||
python_test() {
|
||||
local deselect=(
|
||||
# requires unpackaged prance
|
||||
tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v2
|
||||
tests/test_ext_marshmallow_openapi.py::test_openapi_tools_validate_v3
|
||||
)
|
||||
|
||||
epytest ${deselect[@]/#/--deselect }
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="https://github.com/boto/boto3"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||
inherit git-r3
|
||||
BOTOCORE_PV=${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
# botocore is x.(y+3).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest tests/{functional,unit}
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="https://github.com/boto/botocore"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e "s:>=.*':':" setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest tests/{functional,unit}
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST curtsies-0.3.5.tar.gz 53472 BLAKE2B 7ff50b8cf4b1b5016f15eee00333a1de38a31d97444f6462c7ec0429a1656bad442126880f770bff575dde8456660169cfadf63fed804b2c7890d700d792cc87 SHA512 e46ab3f79e2385055e4f3f9bc1d2c341605b93c21a0e6c42f4807b1801d37f70cfbdd1006db1ec12257e95d91aedddd95aa31a7de99bbfc09a6f0ee473497747
|
||||
DIST curtsies-0.3.6.tar.gz 53259 BLAKE2B 358e4d7a3ad8e5f705041cf8fdab9a26f0829d57dac93d23d1a524cb5bf2ca784aff9ea17d0e1c73ef4112f2b5b826f80d4c8d300ecd4ed53b031b3e81c78052 SHA512 3ba7050a614c992c6117e61758e378c82467f413f507277ddb78e42c03dbefe34c4fc4a60b29a8f8b24e8141b0521c87df81421fce5c7c64c28f6156b5af8207
|
||||
DIST curtsies-0.3.7.tar.gz 52487 BLAKE2B b5fdae3a2bc3900aa4221a39244fe3c781e004d378952af82c6275cb23fa53830f7f54ce5430287c8a5131ca220fb4aa7cddf33a4b913b27de35f1e275578b23 SHA512 a3c197a49c85f644fce3507380f6c77b857e2e97141634178b5d7c6b7673e90407fce68550c329dd4267e69e10fda3133522baadd765269b61e3f9fb800b7193
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Curses-like terminal wrapper, with colored strings"
|
||||
HOMEPAGE="https://github.com/bpython/curtsies"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/blessings-1.5[${PYTHON_USEDEP}]
|
||||
dev-python/cwcwidth[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pyte[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1 +1,2 @@
|
||||
DIST ddt-1.4.2.tar.gz 17802 BLAKE2B c6ee061c48f5954f22bce20c255fa4c52aed9b756a22ec3678108abd78e66294c3f1e0316c4fcf2cc4fd6337915efbadf7bd123a2144ea38151079b85f2905a5 SHA512 f494c266af0f018d0c354309674cbf8c98bd8ba31ceb1820243ec1d92449ce712a21d22340fbfb4b1d850f4496a4cfcb4c24b346e88587c3dc025e2ef9496ad2
|
||||
DIST ddt-1.4.3.tar.gz 17862 BLAKE2B f19bbf282180614e1c8e3967a6af4e4696e1a9fce90c07a4438c7b2415ff1e85caf9c113ef3b4d89c11b2afd5ebb66b23c58b18e91a6416bfc1fc85851e75861 SHA512 ac66dd0d20c49df6fae6e86dfa1dce6d4326f985f17ad955ec2c7bdb2e411bf633baf2d3b244cd49ac45eb91e976a33460e73e4d155e17fbf90418062c6ca187
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A library to multiply test cases"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/ddt/
|
||||
https://github.com/datadriventests/ddt/"
|
||||
SRC_URI="
|
||||
https://github.com/datadriventests/ddt/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,5 +1,2 @@
|
||||
DIST django-mptt-0.11.0.tar.gz 98300 BLAKE2B cbae24143007dfe8913aacf4cbe22bbccdf929617adc31640c2d429d6ea8be727a937be0aa8353e82862b9fe8c571397db4dd3877015eb17c2c5a56172cc66a5 SHA512 21af30007661db1474628b6f8af86a3f6de52494efe1aaf9235f8b1660ba153f0de3ad91ff979588e4b681b00b44652a05146df7d3951d6ee62da38a1900fd89
|
||||
DIST django-mptt-0.13.1.gh.tar.gz 302287 BLAKE2B 915e3066862be4d0883ba540cf584d917994ecbf83182726f5d39a40b61850e4ef1fade2c12325237f2c345de14ca6e54362712eb7bdbdf553eb6ebbf321075f SHA512 bc64d24f8d889109a054f270802f8ce6308c12bf3b9ebe1ba818d42e6c1f9d8904b8cad996e71e03c7f77ed80d912a7d8bb920cccc0e2fff170e754816367f40
|
||||
DIST django-mptt-0.13.2.gh.tar.gz 303658 BLAKE2B 8b9e968091be35d1b20816874f8a27cef065c11a25d5ac08192d01909be5a748ab96f0377a09b8a86ded5881d8ce075530bdd3a46c92065dd2f66d734853c27a SHA512 52e8631af11006a0ef1739d1f9c22d34fe39fd790dd45edb6bcde5f4ad875d6f2f0087aa4928d5e5b391b69728e67c2d8b6d10976714735eafe7b3b48e20d123
|
||||
DIST django-mptt-0.13.3.gh.tar.gz 303670 BLAKE2B 0185ecf3576ab7fe48ec4d7b2259e7cd88f2c5e3a8c96aa1ee555b7f0adabed4b787db84bcc4b2831746b410f0f58364df8fab9ce1768f1e1b9d1ff8a2869730 SHA512 602f45d4353dca80ec2285366c87eb60ff6a39a09990a041236f737371715166e9a8e360a83b4419c0ded7a206f73e4754de602aabef18f89e7db85ce8c651ea
|
||||
DIST django-mptt-0.13.gh.tar.gz 302525 BLAKE2B 21b2fde5c81d83321bf7569d2064db87aec3c184f27cf3fc3bd34421be04212188e15f79a575b08aabb3a7b95d116bf3e5f0fb57c56cadf9ad2ac166e8e77845 SHA512 63dbb61dab59d42b5e747f35370a0840d40ed465979d1f93e66561cf4c0726635cae774f87e39cc1ac480847f3ccf0eb65dc8593759a0860d586e334fdd37256
|
||||
DIST django-mptt-0.13.4.gh.tar.gz 303688 BLAKE2B 66ae7a0e15a7ff281af2154f216970a6a9b249a713b3ae987f0fbdb60b95129fdfc96c05924c0285da33f11c59baf6e069830c3079c64164d838d9d34231a4a9 SHA512 86786763db060227b41e2e340df5d52062fb6e8c54f832611bc90d01102411d45dc217e8d84eece84ebbe4fc9727d06e7c368ae15c253aaf02117705dbae8c47
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="utilities for modified preorder tree traversal and trees of model instances"
|
||||
HOMEPAGE="https://github.com/django-mptt/django-mptt"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-1.11[${PYTHON_USEDEP}]
|
||||
dev-python/django-js-asset[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="utilities for modified preorder tree traversal and trees of model instances"
|
||||
HOMEPAGE="https://github.com/django-mptt/django-mptt"
|
||||
SRC_URI="
|
||||
https://github.com/django-mptt/django-mptt/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-1.11[${PYTHON_USEDEP}]
|
||||
dev-python/django-js-asset[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" tests/manage.py test -v2 myapp ||
|
||||
die "Tests failed with ${EPYTHON}"
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="utilities for modified preorder tree traversal and trees of model instances"
|
||||
HOMEPAGE="https://github.com/django-mptt/django-mptt"
|
||||
SRC_URI="
|
||||
https://github.com/django-mptt/django-mptt/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-1.11[${PYTHON_USEDEP}]
|
||||
dev-python/django-js-asset[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-test-install.patch
|
||||
)
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" tests/manage.py test -v2 myapp ||
|
||||
die "Tests failed with ${EPYTHON}"
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
From 6bc5860575d491e8cf1edbabee7b07f1c072bdba Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Sat, 21 Aug 2021 09:45:45 +0200
|
||||
Subject: [PATCH] Do not install tests.myapp
|
||||
|
||||
Fix options.packages.find.exclude to cover subpackages of "tests"
|
||||
recursively. Otherwise, tests.myapp is installed.
|
||||
---
|
||||
setup.cfg | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/setup.cfg b/setup.cfg
|
||||
index b4094dc..b8ebee3 100644
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
@@ -44,6 +44,7 @@ tests =
|
||||
[options.packages.find]
|
||||
exclude =
|
||||
tests
|
||||
+ tests.*
|
||||
myapp
|
||||
|
||||
[flake8]
|
||||
--
|
||||
2.33.0
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST doc8-0.6.0.tar.gz 21547 BLAKE2B 84908a28e46fa970db7510d5fec7815028b9e65bec3cb5c0352f4ed88560765bde4c76aea3ba803ce737dff1856b702b21cebcf151587f6ae2870d4d1126d0a5 SHA512 1858334d3a0247d4d30c311bd7f13be66a6cdb6131f9d24dc10e38efaed6e08c8c7d11b776ff5dac7d6ae5eeb1cb7ef03523bc3e244794625a8ac1346cc05d75
|
||||
DIST doc8-0.9.0.tar.gz 30995 BLAKE2B 9960e223e9ada9646a0e302230714dbeef1525bf9a912ec1b7a8a0c5e4bf2d2307c2303524668d770ddb38d0b30e4a868e5a2280b7c6ffc1b4b80854f2576e75 SHA512 ebff512dfffb7d21d9173f0ff6ca282810334abfbd9c95570dba4e27796e79bc8d14fd2914c029a3cbf235766305dfa37ca565e2e20d32c63ea741f8ce4d1ae2
|
||||
DIST doc8-0.9.1.tar.gz 31122 BLAKE2B 84708d05414fe1545558910d0d74ae9612091500efb1880062910b395f1244c6edb1fe1c95ff97a177fcbb4127fcbc4b819a749f90c8384c0c23e9041af12b25 SHA512 058403a808ec2d55cf732c8eb0e28f6902c935a6fe0fd4e3ce1a11088888f32875a416adf478b81192948ebd581548b2d1591581222f1e841e97777980a80d69
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="Style checker for Sphinx (or other) RST documentation"
|
||||
HOMEPAGE="http://git.openstack.org/cgit/stackforge/doc8"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pbr[${PYTHON_USEDEP}]
|
||||
dev-python/chardet[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/restructuredtext-lint[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/stevedore[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
dev-python/pbr[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/testtools[${PYTHON_USEDEP}]
|
||||
dev-python/toml[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "checking pyproject.toml projects" dev-python/toml
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST py-filelock-3.0.12.tar.gz 587613 BLAKE2B 3eb765e4cb251ace50fcaf3b7cf52939e697d5a710b87eb2f0ea0cf66f554b90bda2e95754b82e1544e45d0abd8dea861f52cdf9c7de0f1e91a8f5c8e0f9759c SHA512 0f30b54b9de2540f023855effcc582b18fedcee6681f21e1733f1b60dbd39eb148e3830bc798a44c5e8c22e7ea8ca26b6d4547fae79dacc78c62b819a3d84683
|
||||
DIST py-filelock-3.1.0.tar.gz 584958 BLAKE2B 29ce6c14ece7a45104ceda46bbb261730f7bf3e7df9d20be783a8e8324ca350e8b02a099f4273aff953281e10d305772c3572a72377f1039d0763c3d87173289 SHA512 cffca48f9e7b39a750bcecdbd4a1c8fd2a57c0eddd41fb735930ecb954550620ab89994cc159b6f0ada2cc0961a097e5e2c2ac380de424b59b111a3290682b86
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 2018-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=py-filelock-${PV}
|
||||
DESCRIPTION="A platform independent file lock for Python"
|
||||
HOMEPAGE="https://github.com/benediktschmitt/py-filelock
|
||||
https://pypi.org/project/filelock/"
|
||||
SRC_URI="https://github.com/benediktschmitt/py-filelock/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
@ -1,2 +1,3 @@
|
||||
DIST google-auth-2.0.2.tar.gz 180445 BLAKE2B d4e9e7dcfd690f5eedf301e989c4a2dedf509e7c3068e4f547ea43f870979a6001d21849a7102321f6f843196f0a4e0a14f888bd3b43701c301aea3a7f94ed60 SHA512 b8cec2fec4105715edad3242f20ac26b7ab2591903785ed5c31c1af19f7a23e14e93e0d4c3644dca76db5ec0353b8a1baba0224d67987067c5580c75592a04e8
|
||||
DIST google-auth-2.1.0.tar.gz 181817 BLAKE2B 806f3541163bd2f66a533730eb0064b4697716ab58595dc678fdef106dd49dd328378710650e77efc962547834808124eda934b69cc4ef18931624822710d90f SHA512 1460ad02c6ac549245433567583f76eea680ea941b2917887f7fda3f2f6d04c5b16e536368a2f2c0016acd2bacf894d1eafa9b26f148f66b212590eb0388d181
|
||||
DIST google-auth-2.2.0.tar.gz 183667 BLAKE2B ac71dfe657126f96fd78f4fde110630dd5e1fc2864579a199309725795ba337fa7a2771cccbaba9d12fd35639ef67a78cb71bfd2e1a8e963cfc62507b2513ec3 SHA512 00a2a28f5237bba58a578726ac6d3290eec37486343a0f2c1c1764c14db137cd68db776890cd2556516579b54ddbb7516c08782959f87867a1e30756821e489c
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Google Authentication Library"
|
||||
HOMEPAGE="
|
||||
https://github.com/googleapis/google-auth-library-python/
|
||||
https://pypi.org/project/google-auth/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/cachetools-2.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/namespace-google[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/rsa-3.1.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/grpcio[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/moto[${PYTHON_USEDEP}]
|
||||
dev-python/oauth2client[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-localserver[${PYTHON_USEDEP}]
|
||||
dev-python/pyu2f[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/responses[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
find "${ED}" -name '*.pth' -delete || die
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST jupyter_packaging-0.10.2.tar.gz 21735 BLAKE2B 92de31e6835a2228f85b008b0fa3b3b8b5ebd175399fa82ee79d328f97b50c09a86dbc325e0378a7f946de34522d4af12fa5997507895ff6d85e77d4e7d38e3c SHA512 c1f5562b8fd72d64998d32d1a85dd1af2b730fa7e4a0d9e2036ea4d5a607ce02b1e9c641f01997ea3b0d6e047fa797009ce3c2ca52ef866ec9c7492ef836e679
|
||||
DIST jupyter_packaging-0.10.3.tar.gz 21530 BLAKE2B 43392f938d40e859e79f42b7942a199f808218c1da697c48a8ae0b1c5a4e8a408f983196e9d148edbf17d1725186216ed79446bd42fe8f18baaf8fc9f66efe1c SHA512 7634a056d506328af6e963ac7a8d6ac5fdb5d5303a31495af2275a7feca3732b60aeebb332cdc009ab690aa4185f5b3687ae002300b4885620cb9f2da6d2c79e
|
||||
DIST jupyter_packaging-0.10.4.tar.gz 21698 BLAKE2B 5490443e197861a53587fe744d749162e412b88bc5c1e5917cd6c145254e4feecbb8b3e3853bf5a3e360fc9ee20c3345af9c7a245aeb1b03639d99d1d69cb377 SHA512 066abaaa00be8154ea39cc3db0bfa4cfe03864c3e50a741f416606c2f8a2d2e0202943f390905ee46f99414168705b9c3519609c6ea16b3b7d54820631c3ba46
|
||||
DIST jupyter_packaging-0.10.6.tar.gz 21836 BLAKE2B 921e763e11c3973442fa819559d921618aab4010ae7cd4ca3314acb53c7fd7be68f10af46b4d0c9888d2648c0e28565c22ad47270a9d9a1c950640b38a2a1078 SHA512 1b59219dc14c3e44c0f100e9a46b614a8c4395fc26937622515e82f4ffa35c29d8101d6f56a3d496da9279e1e7fc58a91af83bca2b50875afaf1745706ce466d
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Tools to help build and install Jupyter Python packages"
|
||||
HOMEPAGE="https://jupyter.org"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/tomlkit[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
dev-python/deprecation[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# Skip the tests that try to install things or call pip
|
||||
rm tests/test_build_api.py \
|
||||
tests/test_datafiles_install.py \
|
||||
tests/test_install.py || die
|
||||
# Permission Denied (tries to write to site_packages)
|
||||
sed -i -e 's/test_create_cmdclass/_&/' \
|
||||
tests/test_deprecated.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,11 +1,10 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Tools to help build and install Jupyter Python packages"
|
@ -1,2 +1,3 @@
|
||||
DIST Nuitka-0.6.16.3.tar.gz 2965278 BLAKE2B fc015f78912688e3d3b0833e7c126833352aeda7ac2599685a007445c43a7099407c4797eba47d5254fb5befde9482c210b920f4c7e38a2d82dbb5331125abee SHA512 a46af040774fd3523b64c1a113f6d0251c8d45108686017dae07429107f5057025bbcfefc7ed2b86da32c69516285d3af55fe234d25d6949562a96b0eb3f5293
|
||||
DIST Nuitka-0.6.16.4.tar.gz 2963879 BLAKE2B a6a0029f06aac5ea8fb0fec81ac5b1c5b7bb0ed85bdd0f0308ac74140792360684f42cf79f7ff7e604de3729584b335671ff57f0805aac2154ef1ea88bbbf245 SHA512 e2c73b19e459c31b85adf79270e258ca3c431364ec90b51682a7a324aebfeab1ab7703421e8646e18e0bef62f5f5636bbbda74d0ec0e4666e1571d71d41971b2
|
||||
DIST Nuitka-0.6.17.tar.gz 3144123 BLAKE2B 07d95a987eb6c772cd58f8bd0bb7aca638c475e4e90b6a58af890e63b5d3bec9125efa54ba54925311a38cc06b3c8e60a86ce18be7f189da111798fe77da3bd5 SHA512 8678cb9cbc30d9a9a139f98ae94d7f881295bbfb5f450faafb335cce7243979ad3dbf81946024a67edea177f2baae9d694d9e93abc5389f34dddd06595158eff
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
inherit distutils-r1 flag-o-matic optfeature
|
||||
|
||||
DESCRIPTION="Python to native compiler"
|
||||
HOMEPAGE="https://www.nuitka.net"
|
||||
SRC_URI="https://nuitka.net/releases/${P^}.tar.gz"
|
||||
S="${WORKDIR}/${P^}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-util/scons[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? ( dev-util/ccache )
|
||||
"
|
||||
|
||||
DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf )
|
||||
|
||||
distutils-r1_src_prepare() {
|
||||
# remove vendored version of SCons that is Python2 only
|
||||
# this should be removed when upstream removes support for Python2
|
||||
rm -vR "${S}/${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
python_optimize
|
||||
doman doc/nuitka.1 doc/nuitka3.1 doc/nuitka3-run.1 doc/nuitka-run.1
|
||||
}
|
||||
|
||||
python_test() {
|
||||
append-ldflags -Wl,--no-warn-search-mismatch
|
||||
./tests/basics/run_all.py search || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "support for stand-alone executables" app-admin/chrpath
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST sentry-sdk-1.3.1.tar.gz 219705 BLAKE2B 3fc8f81a5f762f400c70ae1c83ab46e97ec4641a61b86dc5b5a2cdbc22395b60fd53cef2d3d2dbfaaceb2d0bd32b842344fcaab898900b7dee2bd34ae3660f8b SHA512 60d819880b3d5316cad1ae4d236820f410c22c75c97d54d681f43ac6dfb503d3c5817314dd2db37107902b4e28d4f981ade200413388ecaf534135829723ef38
|
||||
DIST sentry-sdk-1.4.0.tar.gz 230870 BLAKE2B 8cad1f0046219b60af982d3a01ae67aa1b018c4c8815c2adae834beeea6015057791abff6e1213a4a5902fe62e56f232dcb0cb355927c2f986751145dc633962 SHA512 b1f3021b4a67c2c4e13109ec3e189d1e133f07ecad18bc3e0ebd7b99e90b53aa83cac2cc567b8b47763892a9e06e1795aca497f146cbaae15952c880f9c160cd
|
||||
DIST sentry-sdk-1.4.1.tar.gz 230985 BLAKE2B 0c193d5d564377d484e8e1ba2d30580ad373114e6a1eb3c4d38af6d9745aa788d1369836c4686b80503a027810273cd3a2d1833a6df18d32e1f352f6fb418c8c SHA512 b38ce6448553a05158690808ed4e7013c44f35922c1eb1662f3f9fa73e1c5f9d8a5385eccb8ebd062eae27b7e037ce0c204778ffd24b9ccf38b14d8e511d4cc9
|
||||
DIST sentry-sdk-1.4.2.tar.gz 231026 BLAKE2B 760d84b15ef6d002a3dbd92ce99efcd16738d4db9a2b47775d0da19649b85a0f3cd234a8ce98111599b27ad5c1e7eb901ff745d57c558f5603d4ea59b3ff5795 SHA512 227d5edb6e6585749df5e873e2c7c6191f96ea6071a22b44fb4901d5466218ca718ac81ec23a7c176c52734fad1f43331e58d670ee62c1892bf7768dd71f9fab
|
||||
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python client for Sentry"
|
||||
HOMEPAGE="https://sentry.io/ https://pypi.org/project/sentry-sdk/"
|
||||
SRC_URI="https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/sentry-python-${PV}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/asttokens[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/executing[${PYTHON_USEDEP}]
|
||||
dev-python/eventlet[${PYTHON_USEDEP}]
|
||||
dev-python/fakeredis[${PYTHON_USEDEP}]
|
||||
dev-python/flask-login[${PYTHON_USEDEP}]
|
||||
dev-python/gevent[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pyrsistent[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-django[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-localserver[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/zope-event[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local deselect=(
|
||||
# tests require Internet access
|
||||
tests/integrations/httpx/test_httpx.py
|
||||
tests/integrations/requests/test_requests.py
|
||||
tests/integrations/stdlib/test_httplib.py
|
||||
# wtf is it supposed to do?!
|
||||
tests/integrations/gcp/test_gcp.py
|
||||
# hangs
|
||||
'tests/test_transport.py::test_transport_works[eventlet'
|
||||
# TODO
|
||||
'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error'
|
||||
tests/test_client.py::test_databag_depth_stripping
|
||||
tests/test_client.py::test_databag_string_stripping
|
||||
tests/test_client.py::test_databag_breadth_stripping
|
||||
# incompatible version?
|
||||
tests/integrations/falcon/test_falcon.py
|
||||
# test_circular_references: apparently fragile
|
||||
'tests/integrations/threading/test_threading.py::test_circular_references'
|
||||
# test for new feature, fails with IndexError
|
||||
tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler
|
||||
)
|
||||
|
||||
# Prevent tests/integrations/modules/test_modules.py:test_basic failure
|
||||
# Needs to detect sentry-sdk in the installed modules
|
||||
distutils_install_for_testing
|
||||
|
||||
epytest ${deselect[@]/#/--deselect }
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST sphinxcontrib-doxylink-1.10.tar.gz 20217 BLAKE2B b5b1128d8b60e91b655b2efb093afc77f10e39912c841d2241576c0ed7f1c6d23c92272ee988435958155b9506d22dd5a8b0373bda7059040b38869aea37f9ef SHA512 08beb65cb22b02ae253bd526da00cee322cc72fc00214818f3d5fa503d36725a08f67c6b46f13fec10b1d9963cd7c7ecf57109342d7a2ba991cdba0fa6ef8125
|
||||
DIST sphinxcontrib-doxylink-1.11.tar.gz 22043 BLAKE2B 73d137d2c7df594c71def4d422040eb46028192c13a38b7f765dcbda82034936e3985309254b536d9ba49a32e2d9df9c8eb7886b7a365bbc0440e901cb0250c9 SHA512 14a3511c6958d05f6209c292563068e58410e6833821c8339fa95c511ac2c8987b05097a423313345f2c7e9c1dfd17136bd8684520341160fdaefae1bcc2dcc2
|
||||
DIST sphinxcontrib-doxylink-1.8.tar.gz 20005 BLAKE2B e435a65f3931c91e0d7d44d1cb4ebc8e7683ab906864e37a0ac31fc6655dba60cf53ef3d91b9e0ce440e86319ec45e0d81cf43459e02ac7e45c8d1ecbc2a9881 SHA512 1c53af2502fbb493a5834ae3eb05428dd296300f8027b5dd8d93cd67a03ea572ac81a0c3c8e6ddc9017a0b7a0859757d61ea67b73b3ed69fb1db76244ffd6874
|
||||
DIST sphinxcontrib-doxylink-1.9.tar.gz 20175 BLAKE2B ebff920929c29ecdff9ecb02ca3d7d4992b0da8a34497d9e2dc4b3cd66a5996264e0ab459f69c0ec83bfe60681beac56f981ecc72e128a08f095b4b0296061c5 SHA512 78ffc2d2babe6502bc8818116cca7da079f6ea9ab3f43efa587dbe5efe15d2492be6e763850c9a01e6053332871277dbbd7998803d0ab54616e93878d51c92b1
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Extension to link to external Doxygen API documentation"
|
||||
HOMEPAGE="https://pypi.org/project/sphinxcontrib-doxylink/ https://pythonhosted.org/sphinxcontrib-doxylink/ https://github.com/sphinx-contrib/doxylink"
|
||||
SRC_URI="https://github.com/sphinx-contrib/doxylink/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/doxylink-${PV}"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/sphinx-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-doc/doxygen
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx doc
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
find "${ED}" -name '*.pth' -delete || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST xmlschema-1.7.0.tar.gz 370433 BLAKE2B 0270151705ca65d4b0f587e2ac75f7273a20242a0a315b4b954a6ccad6d46d7d093330a4c40d74a44c0c55af021da1c4ddde85f8431e0779d30e2164a599a335 SHA512 c4620f205cbdccef95a38eab6e6a5d6082681e3ff71708376f0ddeecd75a5c53f686fd740a41e98afd2ec5ec0f14be913b6c65bce80fab0143fa5fe1cc8a2ab6
|
||||
DIST xmlschema-1.7.1.tar.gz 372165 BLAKE2B a534c42d5405eefdfd0c595f1ea02a703c8f5a225f9a46ea4fe9885d09de4b87bc5ddb470fabaf3e01093012346247d34fd56495641815fe04f4fa1919f9f53f SHA512 4ad8ef9d91aa2e0b06d64aa06cc380898976c8c1b4efe049b67948b4534bb8edc3a3450cf5e242a004a039e8e29b23954138a0192ac6355fdeecb77e6284c3d9
|
||||
DIST xmlschema-1.8.0.tar.gz 379305 BLAKE2B dcc3fc5860dede681912f578b548bfe39feb5fda3dd7c5f0ed7f85fce247489d492b062b789acce6679cab835b31c1f77eb82ae43b83c5af5b749a4e93c991d1 SHA512 b4622030e959383729074554e80606dce6e731b9c4e3393c60a02d592acf66f07e50f12d65867fad31e18494e04a8bb1bdadcf22f110d91708e8a0fa89848e2e
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An XML Schema validator and decoder"
|
||||
HOMEPAGE="https://github.com/sissaschool/xmlschema https://pypi.org/project/xmlschema/"
|
||||
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/elementpath-2.2.2[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" tests/test_all.py -v ||
|
||||
die "Tests fail with ${EPYTHON}"
|
||||
}
|
Binary file not shown.
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby26 ruby27"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="docs/*.md CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="eventmachine.gemspec"
|
||||
|
||||
RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb ext/fastfilereader/extconf.rb)
|
||||
RUBY_FAKEGEM_EXTRAINSTALL=(examples)
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby programs"
|
||||
HOMEPAGE="https://github.com/eventmachine/eventmachine"
|
||||
SRC_URI="https://github.com/eventmachine/eventmachine/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 Ruby )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
dev-libs/openssl:0"
|
||||
RDEPEND="${RDEPEND}
|
||||
dev-libs/openssl:0="
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove package tasks to avoid dependency on rake-compiler.
|
||||
rm rakelib/package.rake || die
|
||||
|
||||
sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
# Remove the resolver tests since they require network access and
|
||||
# the localhost test fails with an IPv6 localhost.
|
||||
rm tests/test_resolver.rb || die
|
||||
|
||||
# Needs a tty
|
||||
rm tests/test_kb.rb || die
|
||||
|
||||
# Avoid tests that require network access
|
||||
sed -e '/test_bind_connect/,/^ end/ s:^:#:' \
|
||||
-e '/test_invalid_address_bind_connect_src/,/^ end/ s:^:#:' \
|
||||
-e '/test_invalid_address_bind_connect_dst/,/^ end/ s:^:#:' \
|
||||
-i tests/test_basic.rb || die
|
||||
# Avoid tests for insecure SSL versions that may not be available
|
||||
sed -e '/test_any_to_v3/,/^ end/ s:^:#:' \
|
||||
-e '/test_v3_/,/^ end/ s:^:#:' \
|
||||
-e '/test_tlsv1_required_with_external_client/aomit "sslv3"' \
|
||||
-e '/test_any_to_any/,/^ end/ s:^:#:' \
|
||||
-e '/test_case_insensitivity/,/^ end/ s:^:#:' \
|
||||
-e '/test_default_to_default/,/^ end/ s:^:#:' \
|
||||
-i tests/test_ssl_protocols.rb || die
|
||||
# Those also want network
|
||||
sed -e '/test_ipv6_udp_local_server/,/^ end/ s:^:#:' \
|
||||
-e '/test_ipv6_tcp_local_server/,/^ end/ s:^:#:' \
|
||||
-i tests/test_ipv6.rb || die
|
||||
|
||||
rm tests/test_{sock_opt,ssl_verify,ssl_methods,ssl_dhparam,ssl_ecdh_curve,idle_connection}.rb || die
|
||||
|
||||
# Avoid test that deliberately triggers a C++ exception which causes
|
||||
# a SEGFAULT. This does not appear to happen upstream (on travis).
|
||||
rm tests/test_exc.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib -S testrb-2 tests/test_*.rb || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST excon-0.73.0.tar.gz 216100 BLAKE2B 7830ac608c25ac42dd5fac85d2e4fa7a06713ba49340693f23886aa2e7bb5f29cde956eac99a13f17c1f7ef987f00d0cfb3bd306c5bffd16c1bdb469be4baa60 SHA512 a58556510d8c53c7d4f71dd4846497ee8ab17bd087d5ac9248784fcd1f1dc2e46bf4dbccd22ad8e467614428fdeacc7af6768380922749f92c7d78b849e08eff
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby25 ruby26 ruby27"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="changelog.txt README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="excon.gemspec"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="EXtended http(s) CONnections"
|
||||
HOMEPAGE="https://github.com/excon/excon"
|
||||
SRC_URI="https://github.com/excon/excon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/rake
|
||||
test? (
|
||||
dev-ruby/activesupport
|
||||
>=dev-ruby/eventmachine-1.0.4
|
||||
>=dev-ruby/json-1.8.5
|
||||
dev-ruby/open4
|
||||
dev-ruby/rdoc
|
||||
dev-ruby/sinatra
|
||||
)
|
||||
"
|
||||
all_ruby_prepare() {
|
||||
sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
|
||||
# test that need network
|
||||
rm -f spec/excon/test/server_spec.rb || die
|
||||
}
|
@ -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>guillaumeseren@gmail.com</email>
|
||||
<name>Guillaume Seren</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">excon/excon</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST roadie-rails-2.1.1.tar.gz 56419 BLAKE2B 6a54797c77267a61ab63d72743fbd3f98d4137d917ddebf0335c30d03e5efb9e2907679237eea168384b54ea93bbe9be3aad4dcbf6364d411ebaa6e2ba7638fb SHA512 ceffe9746cded4f5dca83c614dc6ffb65203455775df9f56a402837018c0a322c7edad37ca05c72bc70fa8d19cfb4f9eba5b2fde1cbff7f8b28312e95140f353
|
||||
DIST roadie-rails-2.2.0.tar.gz 56005 BLAKE2B b3251d095074dcbaf6879f8344a9f6d1426abd2824a667f8ddb1d6be186c1c89bc3425972abc62495038b263780339840b792a961809e80d181c043e8f558012 SHA512 4042d549f19adb48144306d7f646d7462b72c3775b41e6ad68ffc75aad8704c28f828bd2928fc9cb3a97d0a2ebee86446b17d2ba31d3b1b163e668cb4d85bb0f
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby26"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Hooks Roadie into your Rails application to help with email generation"
|
||||
HOMEPAGE="https://github.com/Mange/roadie-rails"
|
||||
SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
#RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/roadie-3.1
|
||||
|| ( dev-ruby/railties:6.1 dev-ruby/railties:6.0 dev-ruby/railties:5.2 )"
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
|| ( dev-ruby/rails:6.1 dev-ruby/rails:6.0 dev-ruby/rails:5.2 )
|
||||
dev-ruby/rspec-rails
|
||||
dev-ruby/rspec-collection_matchers )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/codecov/ s:^:#:' Gemfile || die
|
||||
sed -i -e 's/git ls-files/find . -print/' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
|
||||
# Avoid already removed rails version
|
||||
sed -i -e '/rails_51/ s:^:#:' spec/integration_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S bundle exec rspec-3 spec || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST vagrant_cloud-2.0.3.tar.gz 14854 BLAKE2B 823b9ffbdb6896422e32e697075c7e9ab16ae7a299d6672eb497f17034737d2d017bdd416b56191149044afe97ee06533213311bb5e9da603e9eefcf824c8df7 SHA512 4431aa446d9bce2e67b121159a8345562b41c86937b2b1677f0397494521137fa66c997009632011caceeee9565a5a2b54d4ef6ef1ea9d4ac74ee35f8c149f5d
|
||||
DIST vagrant_cloud-3.0.2.tar.gz 34177 BLAKE2B 299014b569deac667429d90b8952f77a835669e17cf724ee7f5b6fd135c1a3f16b9292e203a75baf50cf117022d0ab4d31f797c432a07386097c6bcc338ae2da SHA512 c7e5050a0f3cefe95ad38e0734317a93939de0b54251163be1a52dfc413cdb08a4bf44e1c73215f81a0126552242a1d9f2cefe8fa43d9e60acf41ccdbed0ae80
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby25 ruby26 ruby27"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_GEMSPEC="vagrant_cloud.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Vagrant Cloud API Library"
|
||||
HOMEPAGE="https://github.com/hashicorp/vagrant_cloud"
|
||||
SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/excon-0.73
|
||||
>=dev-ruby/log4r-1.1.10
|
||||
"
|
||||
ruby_add_bdepend ">=dev-ruby/rake-12.3
|
||||
test? (
|
||||
>=dev-ruby/webmock-3.0
|
||||
)
|
||||
"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# # loosen dependencies
|
||||
sed -e 's:require_relative ":require "./:' \
|
||||
-e '/excon/s/~>/>=/' \
|
||||
-e '/log4r/s/~>/>=/' \
|
||||
-e '/rake/s/~>/>=/' \
|
||||
-e '/rspec/s/~>/>=/' \
|
||||
-e '/webmock/s/~>/>=/' \
|
||||
-i ${PN}.gemspec || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST Vollkorn-2.1.zip 139737 BLAKE2B 5aa31eb1b7e493b273e7623eb22d99b629f5c044ae1ff594cb48d488cf800114a4fc4884c02e7e9400bcaa4d6b6d344283e7a2de885f9c95dd33beba690ae7d9 SHA512 f6d3283a06204491119ce3a3796dace7db640469192b9d44fd44471a185dc580a2ba8160f2983371b6160cb782adaabcd02872cfc2b1d05b10f3d6e73c60cded
|
||||
DIST vollkorn-4-105.zip 11046213 BLAKE2B bfa8515335ab6f7eaa57ad03642b7694b41047b228e9c1c51285ac70f8d799a9d61ba0414bc91ec1fdb5e579597a8a3d5c901c1d77d1de1c425ba1822a29ced9 SHA512 847196951f842481d11d76304435f88190608cabd7ccb47ca19a10b7215b69e19c19dc85e628e6b2730dd9b8cf1850c6b30470103724dd40fcf9b5eadb88a3f8
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue