parent
e02acb20c0
commit
a96e30bd0a
Binary file not shown.
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
DIST dxf-7.5.1.tar.gz 308004 BLAKE2B 6f8aaf39fbf3a9ef813d5af502361fac3827db17fa5279c3a53e8b87826cac15ef59cb41b2682c9eea065e0a30d98c2b22f72b4922869a012eab76274b1ff325 SHA512 f1a5082d70c115da9f01385e40ed7d2c1ce82af6fb9e55c8f3173e544a9ff3e98c8c565c9e6a2ca1e9a688665944ec0d9dd873f621914d5b746ef4a145f308a0
|
||||
DIST dxf-7.5.2.tar.gz 310576 BLAKE2B 0b9b79b4278c2e4137105952d070bb5ce8b7b905881fb10d38c2504467ccc4e6ac8061651b2e82cae1af3e7d26a58904dc1cafe5099519e0ad14b6760131ab82 SHA512 2fb8d175fbcb13dc9160b28d37e5d74886826764b2f5b2cc9a1aad0cff59f7bd5146c15b130cb760406a9bbd4abd650adb050db72bd81dcca9e9b05beccec769
|
||||
DIST dxf-7.7.0.tar.gz 311410 BLAKE2B 8fa4414f8a934db3b8b71193f1aa67bfee61084b6f737e98093164d7ed6fd9b6fc0e2ba8e8eb9b60337a721f04d3be2eb3dbc4a994cecd4735e2681326fb39ef SHA512 a08b63bb250047b4fb858496a3acf1fa952911a9d22f37ef565db20a34d9b14af4a7282cbc428a61163e810a2ee5d23e2fc5f72f55c89a521eae9073350e282c
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Docker registry v2 client in Python"
|
||||
HOMEPAGE="https://github.com/davedoesdev/dxf"
|
||||
SRC_URI="https://github.com/davedoesdev/dxf/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/jwcrypto-0.4.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.18.4[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/tqdm-4.19.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/www-authenticate-0.9.2[${PYTHON_USEDEP}]"
|
||||
|
||||
RESTRICT="test"
|
||||
# Require dockerd running
|
||||
|
||||
python_test() {
|
||||
emake test
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Docker registry v2 client in Python"
|
||||
HOMEPAGE="https://github.com/davedoesdev/dxf"
|
||||
SRC_URI="https://github.com/davedoesdev/dxf/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/jwcrypto-0.4.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.18.4[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/tqdm-4.19.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/www-authenticate-0.9.2[${PYTHON_USEDEP}]"
|
||||
|
||||
RESTRICT="test"
|
||||
# Require dockerd running
|
||||
|
||||
python_test() {
|
||||
emake test
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Docker registry v2 client in Python"
|
||||
HOMEPAGE="https://github.com/davedoesdev/dxf"
|
||||
SRC_URI="https://github.com/davedoesdev/dxf/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/jwcrypto-0.4.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.18.4[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/tqdm-4.19.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/www-authenticate-0.9.2[${PYTHON_USEDEP}]"
|
||||
|
||||
RESTRICT="test"
|
||||
# Require dockerd running
|
||||
|
||||
python_test() {
|
||||
emake test
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="pypi">python-dxf</remote-id>
|
||||
<remote-id type="github">davedoesdev/dxf</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="eselect module for metasploit"
|
||||
HOMEPAGE="https://www.pentoo.ch/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-admin/eselect
|
||||
!<net-analyzer/metasploit-4.6"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
#force to use the outdated bundled version of metasm
|
||||
doenvd "${FILESDIR}"/91metasploit
|
||||
|
||||
newinitd "${FILESDIR}"/msfrpcd.initd msfrpcd
|
||||
newconfd "${FILESDIR}"/msfrpcd.confd msfrpcd
|
||||
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${FILESDIR}/metasploit.eselect-0.13" metasploit.eselect
|
||||
|
||||
newbin "${FILESDIR}"/msfloader-${PV} msfloader
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
"${EROOT}"/usr/bin/eselect metasploit set --use-old 1
|
||||
elog "To switch between installed slots, execute as root:"
|
||||
elog " # eselect metasploit set [slot number]"
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="eselect module for metasploit"
|
||||
HOMEPAGE="https://www.pentoo.ch/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-admin/eselect
|
||||
!<net-analyzer/metasploit-4.6"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
#force to use the outdated bundled version of metasm
|
||||
doenvd "${FILESDIR}"/91metasploit
|
||||
|
||||
newinitd "${FILESDIR}"/msfrpcd.initd msfrpcd
|
||||
newconfd "${FILESDIR}"/msfrpcd.confd msfrpcd
|
||||
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${FILESDIR}/metasploit.eselect-0.17" metasploit.eselect
|
||||
|
||||
newbin "${FILESDIR}"/msfloader-0.16 msfloader
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
"${EROOT}"/usr/bin/eselect metasploit set --use-old 1
|
||||
elog "To switch between installed slots, execute as root:"
|
||||
elog " # eselect metasploit set [slot number]"
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
MSF_DATABASE_CONFIG=/usr/lib/metasploit/config/database.yml
|
||||
|
||||
# needed because MSF ships an old version of metasm
|
||||
# which isn't compatible with the new one
|
||||
MSF_LOCAL_LIB="/usr/lib/metasploit/lib/metasm"
|
||||
|
||||
# needed because MSF doesn't know where it is since the alzheimer's
|
||||
MSF_ROOT=/usr/lib/metasploit
|
@ -1,207 +0,0 @@
|
||||
# -*-eselect-*- vim: ft=eselect
|
||||
# Copyright 2005-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2 or later
|
||||
# $
|
||||
|
||||
DESCRIPTION="Control which metaploit version is active"
|
||||
MAINTAINER="zerochaos@pentoo.ch"
|
||||
|
||||
###WARNING: don't even think of using this insanity for a reference (but it works,mostly)
|
||||
#base idea from kernel.eselect, get_libdir from php.eselect with --use-old from opencl.eselect
|
||||
#all modified randomly until it worked, entropy is wonderful
|
||||
###/WARNING
|
||||
|
||||
inherit multilib
|
||||
|
||||
get_libdir() {
|
||||
local dir
|
||||
if has lib64 $(list_libdirs); then
|
||||
echo lib64
|
||||
return
|
||||
fi
|
||||
echo lib
|
||||
}
|
||||
|
||||
MSFPATH="/usr/$(get_libdir)/metasploit"
|
||||
|
||||
# find a list of metasploit symlink targets and sort them
|
||||
find_targets() {
|
||||
local f
|
||||
for f in "${EROOT}${MSFPATH}"[[:digit:]]*; do
|
||||
[[ -d ${f} ]] && basename "${f}"
|
||||
done | LC_ALL=C sort
|
||||
}
|
||||
|
||||
# remove the metasploit symlink
|
||||
remove_symlink() {
|
||||
for i in $(qlist metasploit | grep $(canonicalise "${EROOT}${MSFPATH}")/msf)
|
||||
do
|
||||
if [ -L /usr/bin/$(echo ${i} | awk -F'/' '{print $5}') ]; then
|
||||
unlink /usr/bin/$(echo ${i} | awk -F'/' '{print $5}') || die -q "failed to unlink ${i}"
|
||||
fi
|
||||
done
|
||||
if [ -L ${EROOT}${MSFPATH} ]; then
|
||||
unlink "${EROOT}${MSFPATH}" || die -q "failed to unlink ${EROOT}${MSFPATH}"
|
||||
elif [ -e ${EROOT}${MSFPATH} ]; then
|
||||
die -q "${EROOT}${MSFPATH} exists but is not a symlink"
|
||||
fi
|
||||
}
|
||||
|
||||
# set the metasploit symlink
|
||||
set_symlink() {
|
||||
local target=$1
|
||||
|
||||
if is_number "${target}"; then
|
||||
local targets=( $(find_targets) )
|
||||
target=${targets[target-1]}
|
||||
fi
|
||||
|
||||
if [[ -z ${target} ]]; then
|
||||
die -q "Target \"$1\" doesn't appear to be valid!"
|
||||
elif [[ -d ${EROOT}/usr/$(get_libdir)/${target} ]]; then
|
||||
ln -s "${target}" "${EROOT}${MSFPATH}"
|
||||
for i in $(qlist metasploit | grep /usr/$(get_libdir)/${target}/msf)
|
||||
do
|
||||
ln -s /usr/bin/msfloader /usr/bin/$(echo ${i} | awk -F'/' '{print $5}')
|
||||
done
|
||||
#this elif looks like it is trying to support setting by slot only,
|
||||
#but that isn't supported by the rest of the script... fix or remove?
|
||||
elif [[ -d ${EROOT}${MSFPATH}${target} ]]; then
|
||||
ln -s "metasploit${target}" "${EROOT}${MSFPATH}"
|
||||
for i in $(qlist metasploit | grep /usr/$(get_libdir)/${target}/msf)
|
||||
do
|
||||
ln -s /usr/bin/msfloader /usr/bin/$(echo ${i} | awk -F'/' '{print $5}')
|
||||
done
|
||||
else
|
||||
die -q "Target \"$1\" doesn't appear to be valid!"
|
||||
fi
|
||||
}
|
||||
|
||||
# wrapper to safely set the symlink
|
||||
set_symlink_safe() {
|
||||
if [[ -L ${EROOT}${MSFPATH} ]]; then
|
||||
# existing symlink
|
||||
remove_symlink || die -q "Couldn't remove existing symlink"
|
||||
set_symlink "$1" || die -q "Couldn't set a new symlink"
|
||||
#um, why is there an env-update here?
|
||||
env-update
|
||||
elif [[ -e ${EROOT}${MSFPATH} ]]; then
|
||||
# we have something strange
|
||||
die -q "${EROOT}${MSFPATH} exists but is not a symlink"
|
||||
else
|
||||
set_symlink "$1" || die -q "Couldn't set a new symlink"
|
||||
fi
|
||||
}
|
||||
|
||||
### show action ###
|
||||
|
||||
describe_show() {
|
||||
echo "Show the current metasploit symlink"
|
||||
}
|
||||
|
||||
do_show() {
|
||||
write_list_start "Current metasploit symlink:"
|
||||
if [[ -L ${EROOT}${MSFPATH} ]]; then
|
||||
local metasploit=$(canonicalise "${EROOT}${MSFPATH}")
|
||||
write_kv_list_entry "${metasploit%/}" ""
|
||||
else
|
||||
write_kv_list_entry "(unset)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### list action ###
|
||||
|
||||
describe_list() {
|
||||
echo "List available metasploit symlink targets"
|
||||
}
|
||||
|
||||
do_list() {
|
||||
local i targets=( $(find_targets) )
|
||||
|
||||
write_list_start "Available metasploit symlink targets:"
|
||||
for (( i = 0; i < ${#targets[@]}; i++ )); do
|
||||
[[ ${targets[i]} = \
|
||||
$(basename "$(canonicalise "${EROOT}${MSFPATH}")") ]] \
|
||||
&& targets[i]=$(highlight_marker "${targets[i]}")
|
||||
done
|
||||
write_numbered_list -m "(none found)" "${targets[@]}"
|
||||
}
|
||||
|
||||
### set action ###
|
||||
|
||||
describe_set() {
|
||||
echo "Set a new metasploit symlink target"
|
||||
}
|
||||
|
||||
describe_set_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
describe_set_options() {
|
||||
echo "<target> : Target name or number (from 'list' action)"
|
||||
echo "--use-old : If an implementation is already set, use that one instead"
|
||||
}
|
||||
|
||||
do_set() {
|
||||
local action="error"
|
||||
local current=$(basename "$(canonicalise "${EROOT}${MSFPATH}")")
|
||||
local available=( $(find_targets) )
|
||||
local new
|
||||
local opt
|
||||
|
||||
while [[ ${#@} -gt 0 ]] ; do
|
||||
opt=$1
|
||||
shift
|
||||
case ${opt} in
|
||||
--use-old)
|
||||
if [[ -n "${current}" ]] && has "${current}" "${available[@]}"; then
|
||||
action="old-implementation"
|
||||
fi
|
||||
;;
|
||||
metasploit*)
|
||||
if [[ "${action}" != "old-implementation" ]] ; then
|
||||
action="set-implementation"
|
||||
fi
|
||||
|
||||
if has ${opt} ${available[@]}; then
|
||||
new="${opt}"
|
||||
else
|
||||
echo "You need to emerge ${opt} before you try to eselect it"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if [[ "${action}" != "old-implementation" ]] ; then
|
||||
action="set-implementation"
|
||||
fi
|
||||
|
||||
if is_number ${opt} ; then
|
||||
#targets=( $(get_implementations) )
|
||||
new=${available[opt - 1]}
|
||||
if [[ -z ${new} ]] ; then
|
||||
die -q "Unrecognized option: ${opt}"
|
||||
fi
|
||||
else
|
||||
die -q "Unrecognized option: ${opt}"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
case ${action} in
|
||||
old-implementation)
|
||||
set_symlink_safe ${current}
|
||||
return $?
|
||||
;;
|
||||
set-implementation)
|
||||
if [[ -n ${new} ]] ; then
|
||||
set_symlink_safe ${new}
|
||||
return $?
|
||||
else
|
||||
die -q "Please specify an implementation to set"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die -q "Invalid usage of set action."
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,197 +0,0 @@
|
||||
# -*-eselect-*- vim: ft=eselect
|
||||
# Copyright 2005-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2 or later
|
||||
# $
|
||||
|
||||
DESCRIPTION="Control which metaploit version is active"
|
||||
MAINTAINER="zerochaos@pentoo.ch"
|
||||
|
||||
###WARNING: don't even think of using this insanity for a reference (but it works,mostly)
|
||||
#base idea from kernel.eselect with --use-old from opencl.eselect
|
||||
#all modified randomly until it worked, entropy is wonderful
|
||||
###/WARNING
|
||||
|
||||
|
||||
MSFPATH="/usr/lib/metasploit"
|
||||
|
||||
# find a list of metasploit symlink targets and sort them
|
||||
find_targets() {
|
||||
local f
|
||||
for f in "${EROOT}${MSFPATH}"[[:digit:]]*; do
|
||||
[[ -d ${f} ]] && basename "${f}"
|
||||
done | LC_ALL=C sort
|
||||
}
|
||||
|
||||
# remove the metasploit symlink
|
||||
remove_symlink() {
|
||||
for i in $(qlist metasploit | grep $(canonicalise "${EROOT}${MSFPATH}")/msf)
|
||||
do
|
||||
if [ -L /usr/bin/$(echo ${i} | awk -F'/' '{print $5}') ]; then
|
||||
unlink /usr/bin/$(echo ${i} | awk -F'/' '{print $5}') || die -q "failed to unlink ${i}"
|
||||
fi
|
||||
done
|
||||
if [ -L ${EROOT}${MSFPATH} ]; then
|
||||
unlink "${EROOT}${MSFPATH}" || die -q "failed to unlink ${EROOT}${MSFPATH}"
|
||||
elif [ -e ${EROOT}${MSFPATH} ]; then
|
||||
die -q "${EROOT}${MSFPATH} exists but is not a symlink"
|
||||
fi
|
||||
}
|
||||
|
||||
# set the metasploit symlink
|
||||
set_symlink() {
|
||||
local target=$1
|
||||
|
||||
if is_number "${target}"; then
|
||||
local targets=( $(find_targets) )
|
||||
target=${targets[target-1]}
|
||||
fi
|
||||
|
||||
if [[ -z ${target} ]]; then
|
||||
die -q "Target \"$1\" doesn't appear to be valid!"
|
||||
elif [[ -d ${EROOT}/usr/lib/${target} ]]; then
|
||||
ln -s "${target}" "${EROOT}${MSFPATH}"
|
||||
for i in $(qlist metasploit | grep /usr/lib/${target}/msf)
|
||||
do
|
||||
ln -s /usr/bin/msfloader /usr/bin/$(echo ${i} | awk -F'/' '{print $5}')
|
||||
done
|
||||
#this elif looks like it is trying to support setting by slot only,
|
||||
#but that isn't supported by the rest of the script... fix or remove?
|
||||
elif [[ -d ${EROOT}${MSFPATH}${target} ]]; then
|
||||
ln -s "metasploit${target}" "${EROOT}${MSFPATH}"
|
||||
for i in $(qlist metasploit | grep /usr/lib/${target}/msf)
|
||||
do
|
||||
ln -s /usr/bin/msfloader /usr/bin/$(echo ${i} | awk -F'/' '{print $5}')
|
||||
done
|
||||
else
|
||||
die -q "Target \"$1\" doesn't appear to be valid!"
|
||||
fi
|
||||
}
|
||||
|
||||
# wrapper to safely set the symlink
|
||||
set_symlink_safe() {
|
||||
if [[ -L ${EROOT}${MSFPATH} ]]; then
|
||||
# existing symlink
|
||||
remove_symlink || die -q "Couldn't remove existing symlink"
|
||||
set_symlink "$1" || die -q "Couldn't set a new symlink"
|
||||
#um, why is there an env-update here?
|
||||
env-update
|
||||
elif [[ -e ${EROOT}${MSFPATH} ]]; then
|
||||
# we have something strange
|
||||
die -q "${EROOT}${MSFPATH} exists but is not a symlink"
|
||||
else
|
||||
set_symlink "$1" || die -q "Couldn't set a new symlink"
|
||||
fi
|
||||
}
|
||||
|
||||
### show action ###
|
||||
|
||||
describe_show() {
|
||||
echo "Show the current metasploit symlink"
|
||||
}
|
||||
|
||||
do_show() {
|
||||
write_list_start "Current metasploit symlink:"
|
||||
if [[ -L ${EROOT}${MSFPATH} ]]; then
|
||||
local metasploit=$(canonicalise "${EROOT}${MSFPATH}")
|
||||
write_kv_list_entry "${metasploit%/}" ""
|
||||
else
|
||||
write_kv_list_entry "(unset)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### list action ###
|
||||
|
||||
describe_list() {
|
||||
echo "List available metasploit symlink targets"
|
||||
}
|
||||
|
||||
do_list() {
|
||||
local i targets=( $(find_targets) )
|
||||
|
||||
write_list_start "Available metasploit symlink targets:"
|
||||
for (( i = 0; i < ${#targets[@]}; i++ )); do
|
||||
[[ ${targets[i]} = \
|
||||
$(basename "$(canonicalise "${EROOT}${MSFPATH}")") ]] \
|
||||
&& targets[i]=$(highlight_marker "${targets[i]}")
|
||||
done
|
||||
write_numbered_list -m "(none found)" "${targets[@]}"
|
||||
}
|
||||
|
||||
### set action ###
|
||||
|
||||
describe_set() {
|
||||
echo "Set a new metasploit symlink target"
|
||||
}
|
||||
|
||||
describe_set_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
describe_set_options() {
|
||||
echo "<target> : Target name or number (from 'list' action)"
|
||||
echo "--use-old : If an implementation is already set, use that one instead"
|
||||
}
|
||||
|
||||
do_set() {
|
||||
local action="error"
|
||||
local current=$(basename "$(canonicalise "${EROOT}${MSFPATH}")")
|
||||
local available=( $(find_targets) )
|
||||
local new
|
||||
local opt
|
||||
|
||||
while [[ ${#@} -gt 0 ]] ; do
|
||||
opt=$1
|
||||
shift
|
||||
case ${opt} in
|
||||
--use-old)
|
||||
if [[ -n "${current}" ]] && has "${current}" "${available[@]}"; then
|
||||
action="old-implementation"
|
||||
fi
|
||||
;;
|
||||
metasploit*)
|
||||
if [[ "${action}" != "old-implementation" ]] ; then
|
||||
action="set-implementation"
|
||||
fi
|
||||
|
||||
if has ${opt} ${available[@]}; then
|
||||
new="${opt}"
|
||||
else
|
||||
echo "You need to emerge ${opt} before you try to eselect it"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if [[ "${action}" != "old-implementation" ]] ; then
|
||||
action="set-implementation"
|
||||
fi
|
||||
|
||||
if is_number ${opt} ; then
|
||||
#targets=( $(get_implementations) )
|
||||
new=${available[opt - 1]}
|
||||
if [[ -z ${new} ]] ; then
|
||||
die -q "Unrecognized option: ${opt}"
|
||||
fi
|
||||
else
|
||||
die -q "Unrecognized option: ${opt}"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
case ${action} in
|
||||
old-implementation)
|
||||
set_symlink_safe ${current}
|
||||
return $?
|
||||
;;
|
||||
set-implementation)
|
||||
if [[ -n ${new} ]] ; then
|
||||
set_symlink_safe ${new}
|
||||
return $?
|
||||
else
|
||||
die -q "Please specify an implementation to set"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die -q "Invalid usage of set action."
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
#todo:
|
||||
#add in optional auto starting/stopping of postgres
|
||||
|
||||
#read the desired version of ruby from the eselected version of msf
|
||||
header="$(head -n1 /usr/lib/metasploit/msfconsole)"
|
||||
ruby="${header:2}"
|
||||
|
||||
#normally msf makes this dir, however, this script runs first
|
||||
if [ ! -d ~/.msf4 ]; then
|
||||
mkdir ~/.msf4
|
||||
fi
|
||||
|
||||
#we cannot control if msf* exits normally so always start with cleanup
|
||||
if [ -f ~/.msf4/Gemfile ]; then
|
||||
rm ~/.msf4/Gemfile
|
||||
fi
|
||||
if ls -A ~/.msf4/*.gemspec > /dev/zero 2>&1; then
|
||||
rm ~/.msf4/*.gemspec
|
||||
fi
|
||||
|
||||
#fetch the latest Gemfile and gemspecs from the selected version of msf
|
||||
cp /usr/lib/metasploit/Gemfile ~/.msf4/
|
||||
if ls -A /usr/lib/metasploit/*.gemspec > /dev/zero 2>&1; then
|
||||
cp /usr/lib/metasploit/*.gemspec ~/.msf4/
|
||||
fi
|
||||
|
||||
#ensure Gemfile.lock is up to date
|
||||
BUNDLE_GEMFILE=~/.msf4/Gemfile ${ruby} -S bundle check > /dev/null 2>&1
|
||||
if [ "$?" != "0" ]; then
|
||||
if [ -f ~/.msf4/Gemfile.lock ]; then
|
||||
rm ~/.msf4/Gemfile.lock
|
||||
else
|
||||
echo "Something went wrong, please open a bug for metasploit on https://bugs.gentoo.org"
|
||||
fi
|
||||
fi
|
||||
|
||||
#ready to go
|
||||
BUNDLE_GEMFILE=~/.msf4/Gemfile ${ruby} -S bundle exec /usr/lib/metasploit/$(basename $0) "$@"
|
||||
#profit
|
@ -1,16 +0,0 @@
|
||||
# Config file for /etc/init.d/metasploit
|
||||
|
||||
# Bind to the following IP instead of the loopback address
|
||||
IPADDR=127.0.0.1
|
||||
|
||||
# Bind to the following TCP port instead of default 55555
|
||||
PORT=55553
|
||||
|
||||
# Use the following username instead of msf
|
||||
USER="msf"
|
||||
|
||||
# Use the following password instead of msf
|
||||
PASS="secure"
|
||||
|
||||
# All options
|
||||
MSF_OPTS="-U $USER -P $PASS -S -a $IPADDR -p $PORT"
|
@ -1,21 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
VERSION=
|
||||
PIDFILE=/var/run/msfrpcd${VERSION}.pid
|
||||
|
||||
start() {
|
||||
ebegin "Starting msfrpcd"
|
||||
start-stop-daemon --start --quiet --background \
|
||||
--exec /usr/bin/msfrpcd \
|
||||
--pidfile ${PIDFILE} \
|
||||
--make-pidfile -- -f ${MSF_OPTS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping msfrpcd"
|
||||
start-stop-daemon --stop --quiet -s 9 --pidfile ${PIDFILE}
|
||||
eend $?
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zerochaos@gentoo.org</email>
|
||||
<name>Rick Farina</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST portage-utils-0.80.tar.xz 1762692 BLAKE2B 32e4502d517ec088eadf17a4a348b9b9bc33348380b65f93ac7c043150732ba3ff0d18ee96f8877c697a91000fdc036de392d6e6711d62248bb7c57e25d4433f SHA512 cca86877e87e5bd2e9423822db4b7afa15e8f291717c808ef0455b121db0778b2364552e9f1d5e1a8bad3f1f8880ae2b5dbd586bf1dd74d7c4f4e72fa990c78c
|
||||
DIST portage-utils-0.87.tar.xz 1772956 BLAKE2B b1487d89303b524ffa9e6030feba181fcad73a6f38febf29f63b1f7bcd7a5080ddb1f907ca217040d064427f2060bb3885a61c30663594428be475a5bf7253f0 SHA512 a29f2d1fc85aea1c2b4c8b16fca0e9b559a980951f79cb10d7fd836d99ec65a904f2cbc54a949150ce490ba5d705b0aa5aa39f56365968b3dd591cb3d7c5eb21
|
||||
DIST portage-utils-0.88.tar.xz 1776100 BLAKE2B 5165c99f163a39e2d8e9d503a43982999e70ff647af16acaae84279d17c327e78c2722fa9f332c570e8bfed7647ebb7f96281c3ed2c42948234fb23192e73ca5 SHA512 f5bddd170b66753bf3abd870add6f893e31ae971cc15f3b34366fbbd6d69848aa8aa301bbf3e4185f152ce110e890178828f867e64d8ede74c17e819c2961562
|
||||
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
DESCRIPTION="Small and fast Portage helper tools written in C"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Portage-utils"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="nls static openmp +qmanifest +qtegrity libressl"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3 autotools
|
||||
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage-utils.git"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
qmanifest? (
|
||||
openmp? (
|
||||
|| (
|
||||
>=sys-devel/gcc-4.2:*[openmp]
|
||||
sys-devel/clang-runtime:*[openmp]
|
||||
)
|
||||
)
|
||||
static? (
|
||||
app-crypt/libb2:=[static-libs]
|
||||
!libressl? ( dev-libs/openssl:0=[static-libs] )
|
||||
libressl? ( dev-libs/libressl:0=[static-libs] )
|
||||
sys-libs/zlib:=[static-libs]
|
||||
app-crypt/gpgme:=[static-libs]
|
||||
)
|
||||
!static? (
|
||||
app-crypt/libb2:=
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
sys-libs/zlib:=
|
||||
app-crypt/gpgme:=
|
||||
)
|
||||
)
|
||||
qtegrity? (
|
||||
openmp? (
|
||||
|| (
|
||||
>=sys-devel/gcc-4.2:*[openmp]
|
||||
sys-devel/clang-runtime:*[openmp]
|
||||
)
|
||||
)
|
||||
static? (
|
||||
!libressl? ( dev-libs/openssl:0=[static-libs] )
|
||||
libressl? ( dev-libs/libressl:0=[static-libs] )
|
||||
)
|
||||
!static? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-maintainer-mode \
|
||||
--with-eprefix="${EPREFIX}" \
|
||||
$(use_enable qmanifest) \
|
||||
$(use_enable qtegrity) \
|
||||
$(use_enable openmp) \
|
||||
$(use_enable static)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local pvr
|
||||
local doshow=
|
||||
for pvr in ${REPLACING_VERSIONS} ; do
|
||||
[[ ${pvr} != "0.8"[012]* ]] && doshow=true
|
||||
done
|
||||
|
||||
if [[ ${doshow} == true ]] ; then
|
||||
elog "This version of Portage utils has undergone significant changes."
|
||||
elog "Please read the elog manpages for applets like qlop(1) and"
|
||||
elog "qfile(1) where argument options have changed."
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_A="apache-${P}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="amd64 ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8"
|
||||
RDEPEND=">=virtual/jre-1.8"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
|
||||
rm -fR */*/build.xml
|
||||
einfo "Removing bundled jars and classes"
|
||||
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} +
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/output/build/lib/*.jar
|
||||
use source && java-pkg_dosrc java/javax/servlet/
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_A="apache-${PN}-${PV}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 4.0/JSP API 2.3/EL API 3.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-9/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="4.0"
|
||||
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8"
|
||||
RDEPEND=">=virtual/jre-1.8"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
|
||||
rm -fR */*/build.xml
|
||||
einfo "Removing bundled jars and classes"
|
||||
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} +
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/output/build/lib/*.jar
|
||||
use source && java-pkg_dosrc java/javax/servlet/
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_A="apache-${PN}-${PV}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 4.0/JSP API 2.3/EL API 3.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-9/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="4.0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8"
|
||||
RDEPEND=">=virtual/jre-1.8"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
|
||||
rm -fR */*/build.xml
|
||||
einfo "Removing bundled jars and classes"
|
||||
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} +
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/output/build/lib/*.jar
|
||||
use source && java-pkg_dosrc java/javax/servlet/
|
||||
}
|
Binary file not shown.
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=RURBAN
|
||||
DIST_VERSION=0.15
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="OpenSSL/LibreSSL pseudo-random number generator access"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="libressl"
|
||||
|
||||
RDEPEND="
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
"
|
||||
DEPEND="
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
>=dev-perl/Crypt-OpenSSL-Guess-0.110.0
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
||||
PERL_RM_FILES=(
|
||||
t/z_kwalitee.t
|
||||
t/z_manifest.t
|
||||
t/z_meta.t
|
||||
t/z_perl_minimum_version.t
|
||||
t/z_pod-coverage.t
|
||||
t/z_pod.t
|
||||
)
|
||||
|
||||
mydoc="ToDo"
|
||||
|
||||
src_compile() {
|
||||
mymake=(
|
||||
"OPTIMIZE=${CFLAGS}"
|
||||
)
|
||||
perl-module_src_compile
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST Crypt-OpenSSL-Random-0.11.tar.gz 15161 BLAKE2B 33c491755f210514361f6d97715dee781a3f1b99879b2357002dc6dfc8e6c63df530cbcc1ceb8da407928aa531d0fbe85f43afab3d86995f0ade6c58f8bbd320 SHA512 c579cb2b586dbabd697a9c7c989a360ed4bd8e9b28d7c93ad99a86bd9bd680a89c3fa77f6315a1105fd41bfdfa18087ca4cd51fb320faad7a6be9b90e3e69b95
|
||||
DIST Crypt-OpenSSL-Random-0.15.tar.gz 15506 BLAKE2B 4ed167082904f814fb5484e2c95c0ac881530afecf7ff170041261eebcf3f1227ba8cf98b375a0cf2b18376c7f849340f11ae673ff9638a4c5e4f38db995b9b5 SHA512 bba8ce86b97ce2d6271be503efff6e6e0ff60a797282a2b7cb9c6c0592b69cc43344f9738b4790e5fc165a7273ff01e35ada481cf8c4dfde38cb7ad741d97530
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=RSAVAGE
|
||||
DIST_VERSION=1.40
|
||||
DIST_A_EXT=tgz
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Provides interoperable MD5-based crypt() functions"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
RDEPEND="
|
||||
>=virtual/perl-Digest-MD5-2.530.0
|
||||
"
|
||||
DEPEND="dev-perl/Module-Build"
|
||||
BDEPEND="
|
||||
dev-perl/Module-Build
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-0.940.0
|
||||
)
|
||||
"
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=VIPUL
|
||||
DIST_VERSION=0.50
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Provable Prime Number Generator suitable for Cryptographic Applications"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/Math-Pari-2.1.804
|
||||
>=dev-perl/Crypt-Random-0.330.0
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
@ -0,0 +1,13 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=SIFUKURT
|
||||
DIST_VERSION=2.02
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Implements the RC4 encryption algorithm"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=TODDR
|
||||
DIST_VERSION=0.06
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl extension for the RIPEMD-160 Hash function"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? ( virtual/perl-Test-Simple )
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
mymake=(
|
||||
"OPTIMIZE=${CFLAGS}"
|
||||
)
|
||||
perl-module_src_compile
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=VIPUL
|
||||
DIST_VERSION=1.99
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="RSA public-key cryptosystem"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~x86 ~x86-solaris"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/Class-Loader-2.0.0
|
||||
dev-perl/Convert-ASCII-Armour
|
||||
dev-perl/Crypt-Blowfish
|
||||
dev-perl/Crypt-CBC
|
||||
>=dev-perl/Crypt-Primes-0.380.0
|
||||
>=dev-perl/Crypt-Random-0.340.0
|
||||
dev-perl/Data-Buffer
|
||||
virtual/perl-Data-Dumper
|
||||
dev-perl/Digest-MD2
|
||||
virtual/perl-Digest-MD5
|
||||
dev-perl/Digest-SHA1
|
||||
>=dev-perl/Math-Pari-2.10.603
|
||||
dev-perl/Sort-Versions
|
||||
dev-perl/Tie-EncryptedHash"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.99-no-dot-inc.patch"
|
||||
"${FILESDIR}/${PN}-1.99-test-segv.patch"
|
||||
)
|
@ -0,0 +1,24 @@
|
||||
From 76ef0a65ae8b93da138c179e7e0c2995113825d9 Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentnl@gentoo.org>
|
||||
Date: Thu, 2 Jul 2020 20:11:50 +1200
|
||||
Subject: Include '.' in @INC on perl 5.26+
|
||||
|
||||
---
|
||||
Makefile.PL | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index 95eb265..90f6da8 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -8,6 +8,7 @@
|
||||
##
|
||||
## $Id: Makefile.PL,v 1.12 2001/05/30 13:10:32 vipul Exp $
|
||||
|
||||
+use lib '.';
|
||||
use inc::Module::Install;
|
||||
|
||||
name 'Crypt-RSA';
|
||||
--
|
||||
2.27.0
|
||||
|
@ -0,0 +1,31 @@
|
||||
From 877c93686ad36d5dcc4a42b8bff5f3c5383e6514 Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentnl@gentoo.org>
|
||||
Date: Thu, 2 Jul 2020 20:16:20 +1200
|
||||
Subject: Change load order of Convert::ASCII::Armour
|
||||
|
||||
Which is reported to somehow fix segv's in t/11-wrapper.t
|
||||
|
||||
Bug: https://rt.cpan.org/Ticket/Display.html?id=4877
|
||||
Bug: https://bugs.gentoo.org/627058
|
||||
---
|
||||
lib/Crypt/RSA.pm | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/Crypt/RSA.pm b/lib/Crypt/RSA.pm
|
||||
index 5a3d3bc..072f0b4 100644
|
||||
--- a/lib/Crypt/RSA.pm
|
||||
+++ b/lib/Crypt/RSA.pm
|
||||
@@ -15,9 +15,9 @@ use lib "$Bin/../../lib";
|
||||
use strict;
|
||||
use base 'Class::Loader';
|
||||
use base 'Crypt::RSA::Errorhandler';
|
||||
+use Convert::ASCII::Armour;
|
||||
use Crypt::RSA::Key;
|
||||
use Crypt::RSA::DataFormat qw(steak octet_len);
|
||||
-use Convert::ASCII::Armour;
|
||||
use Carp;
|
||||
|
||||
$Crypt::RSA::VERSION = '1.99'; # change this elsewhere too!
|
||||
--
|
||||
2.27.0
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=ETHER
|
||||
DIST_VERSION=0.14
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Get weak or strong random data from pluggable sources"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/Capture-Tiny-0.80.0
|
||||
virtual/perl-Carp
|
||||
virtual/perl-File-Spec
|
||||
>=virtual/perl-IO-1.140.0
|
||||
dev-perl/Module-Find
|
||||
dev-perl/Module-Runtime
|
||||
>=dev-perl/Moo-1.2.0
|
||||
dev-perl/Sub-Exporter
|
||||
dev-perl/Type-Tiny
|
||||
>=dev-perl/namespace-clean-0.110.0
|
||||
"
|
||||
DEPEND="
|
||||
dev-perl/Module-Build-Tiny
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/Module-Build-Tiny-0.34.0
|
||||
test? (
|
||||
virtual/perl-Module-Metadata
|
||||
dev-perl/Test-Fatal
|
||||
>=virtual/perl-Test-Simple-1.1.10
|
||||
)
|
||||
"
|
@ -1 +1,2 @@
|
||||
DIST Crypt-Random-Source-0.12.tar.gz 34495 BLAKE2B bd01673a8ec5fe84b7c22000ebb282b7b7c8a4b5ebe5b9404d1b37d92b670a669ad86225439f30ca44b406272f817f670dcaec98609d5eb4095da2153aa43c0b SHA512 821f464a9b344cd7e19f881acbf295a39ccf3b924f8822acb757c06f7ed2aa95fbee740b98a514dfdd24aae2dc9b5c7898751eab5bf7ea6f88218a6b162c4c34
|
||||
DIST Crypt-Random-Source-0.14.tar.gz 36362 BLAKE2B 71c4ed2e3ffb1797af1189adace071ea9eb8b1e400fc48c83e1d1ceb78e610131ea86152790991e5fddc81ff8625a32ee82a7ed22a7ce16c5d0e57b71c66dfe6 SHA512 25760ccfae42f44bd132915e3796042b43c1bc43195a97fc1236579c90b96957b3d86d2e68adde9d7dd486336f132982867413af251c66e527584e7309e0c729
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=VIPUL
|
||||
MODULE_VERSION=1.25
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Cryptographically Secure, True Random Number Generator"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 hppa sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-perl/Math-Pari-2.010603
|
||||
dev-perl/Class-Loader"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,2 +1 @@
|
||||
DIST Crypt-Random-1.25.tar.gz 8770 BLAKE2B 4c6b20711e8d455b3de4061ba60b05ac9f35c8df9b193be955f5af780deb91116404242a5789f807c77d398459343322dce9346377aee9049a7314ac5731b423 SHA512 6c62e64a46d31aa7ef9caecb4e4535bfded9c62fc5156bc9c6390a019ea5d29772bcb1029889b111af6727d756d00ce0cc9407fc50ba7a31941d921c43df5fb7
|
||||
DIST Crypt-Random-1.52.tar.gz 9525 BLAKE2B febe32d8b3c4a903220073bd591cbc09f6e6c5e1919e2ae825f5e4d63f68577fccd6e1adf1878b940e8a2af5af044e56cd79e0d49b4717785be0b5ffbe74fefb SHA512 b82252aae6a009b0dc09bf2e6704d114cd4e40b9588269246871d3b1fb66b4abda87e7c324afc30fd9cf19eb0c0502c2af05d8981226513223277f83854b770f
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=LEONT
|
||||
DIST_VERSION=1.14
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Crypt::CBC compliant Rijndael encryption module"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
||||
src_compile() {
|
||||
mymake=(
|
||||
"OPTIMIZE=${CFLAGS}"
|
||||
)
|
||||
perl-module_src_compile
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=MIKAGE
|
||||
DIST_VERSION=0.25
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="S/MIME message signing, verification, encryption and decryption"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="libressl test minimal"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
!libressl? ( >=dev-libs/openssl-0.9.9:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
virtual/perl-XSLoader
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
dev-perl/ExtUtils-PkgConfig
|
||||
dev-perl/ExtUtils-CChecker
|
||||
>=virtual/perl-ExtUtils-Constant-0.230.0
|
||||
test? (
|
||||
dev-perl/Test-Exception
|
||||
virtual/perl-Test-Simple
|
||||
!minimal? (
|
||||
>=dev-perl/Test-Taint-1.60.0
|
||||
>=dev-perl/Taint-Util-0.80.0
|
||||
)
|
||||
)
|
||||
"
|
||||
PERL_RM_FILES=(
|
||||
t/boilerplate.t
|
||||
t/manifest.t
|
||||
t/dependencies.t
|
||||
t/pod-coverage.t
|
||||
t/pod.t
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
mymake=(
|
||||
"OPTIMIZE=${CFLAGS}"
|
||||
)
|
||||
perl-module_src_compile
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=NANIS
|
||||
DIST_VERSION=0.72
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="OpenSSL support for LWP"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="libressl test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
!libressl? ( >=dev-libs/openssl-0.9.7c:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
virtual/perl-MIME-Base64
|
||||
"
|
||||
DEPEND="
|
||||
!libressl? ( >=dev-libs/openssl-0.9.7c:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
>=virtual/perl-ExtUtils-CBuilder-0.280.205
|
||||
virtual/perl-Getopt-Long
|
||||
>=dev-perl/Path-Class-0.260.0
|
||||
>=dev-perl/Try-Tiny-0.190.0
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-0.190.0
|
||||
)
|
||||
"
|
||||
# PDEPEND: circular dependencies bug #144761
|
||||
PDEPEND="
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/LWP-Protocol-https-6.20.0
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.720.0-no-ssl3.patch"
|
||||
"${FILESDIR}/${P}-no-dot-inc.patch"
|
||||
)
|
||||
src_compile() {
|
||||
mymake=(
|
||||
"OPTIMIZE=${CFLAGS}"
|
||||
)
|
||||
perl-module_src_compile
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=GFUJI
|
||||
DIST_VERSION=0.15
|
||||
DIST_EXAMPLES=( "example/*" "benchmark" )
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Lightweight field hash for inside-out objects"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/perl-XSLoader-0.20.0
|
||||
>=virtual/perl-parent-0.221.0
|
||||
"
|
||||
DEPEND="
|
||||
dev-perl/Module-Build
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
>=virtual/perl-Devel-PPPort-3.190.0
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
|
||||
>=virtual/perl-ExtUtils-ParseXS-2.210.0
|
||||
>=dev-perl/Module-Build-0.400.500
|
||||
test? (
|
||||
>=dev-perl/Test-LeakTrace-0.70.0
|
||||
>=virtual/perl-Test-Simple-0.620.0
|
||||
)
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.15-no-dot-inc.patch"
|
||||
)
|
||||
src_configure() {
|
||||
unset LD;
|
||||
if [[ -n "${CCLD}" ]]; then
|
||||
export LD="${CCLD}"
|
||||
fi
|
||||
perl-module_src_configure
|
||||
}
|
||||
src_compile() {
|
||||
./Build --config optimize="${CFLAGS}" build || die
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
From c4f929a44ace9ef304b270862c81acc07e273f63 Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentnl@gentoo.org>
|
||||
Date: Thu, 2 Jul 2020 23:19:50 +1200
|
||||
Subject: Include '.' in @INC for perl 5.26+
|
||||
|
||||
Bug: https://github.com/gfx/p5-Hash-FieldHash/issues/4
|
||||
---
|
||||
Build.PL | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Build.PL b/Build.PL
|
||||
index 8ba2832..cb7f572 100644
|
||||
--- a/Build.PL
|
||||
+++ b/Build.PL
|
||||
@@ -8,7 +8,7 @@ use 5.008_001;
|
||||
use strict;
|
||||
use warnings;
|
||||
use utf8;
|
||||
-
|
||||
+use lib '.';
|
||||
use builder::MyBuilder;
|
||||
use File::Basename;
|
||||
use File::Spec;
|
||||
--
|
||||
2.27.0
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
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
|
||||
else
|
||||
SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/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 nose
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
# prevent an infinite loop
|
||||
rm tests/functional/docs/test_smoke.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -v tests/unit tests/functional ||
|
||||
die "test failed under ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
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 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
|
||||
"${FILESDIR}/botocore-1.16.7-unlock-deps.patch"
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests nose
|
||||
|
||||
src_prepare() {
|
||||
# py3.9
|
||||
find -name '*.py' -exec \
|
||||
sed -i -e 's:cElementTree:ElementTree:' {} + || die
|
||||
# very unstable
|
||||
sed -i -e 's:test_stress_test_token_bucket:_&:' \
|
||||
tests/functional/retries/test_bucket.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# note: suites need to be run separately as one of the unit tests
|
||||
# seems to be leaking mocks and breaking a few functional tests
|
||||
nosetests -v tests/unit ||
|
||||
die "unit tests failed under ${EPYTHON}"
|
||||
nosetests -v tests/functional ||
|
||||
die "functional tests failed under ${EPYTHON}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST cloudpickle-1.3.0.tar.gz 46220 BLAKE2B a7ff773a38aae3b4a404ba7e931de06756ce95d5e45e4c204ac7ed93a3d2e7171667aa1995434f249971b2774658d1766935a7d7d3675cd4c727180221adb299 SHA512 b128a9088b36460bf3cf4edf4876ea768291de3c10c9cb6919507c4493a808136edcb819a98eb69de610e7162a96f859bae2f5c5616b558d9fea102835df611f
|
||||
DIST cloudpickle-1.4.1.tar.gz 47459 BLAKE2B 642cac2244060ccde18c31f0047d5d957d69d396901ea31e04d28c5d7d55cd8f58fcf199054752f1a644667a5fd73a1ccc2e33b20bdfcbc4e71450aeeb832ce3 SHA512 3232dfdf91141179be510282a1fc60fa5891fffd1f012998c6a622957eabdf9deecc7431196ae70de01b2e498c97981c83ed22ac1ed6f3db8ba68ee0a9a26bd9
|
||||
DIST cloudpickle-1.5.0.tar.gz 50992 BLAKE2B 8536362d455c5688134ce22d0bb2c5786da17336c8a907e8cf9e39833df03a6061ac901e45e85907a54e8d9b404f21132d4d944adf925a9056f0334eaca50904 SHA512 75356e3e5ade2ee5941b4cea576f1ffbab5d9b1a86eff23dc9275974f592c947d0b3b29d335b4dc38be16e36c89c8fc65b2883ae90923960e605502c777d9816
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Extended pickling support for Python objects"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/cloudpickle/
|
||||
https://github.com/cloudpipe/cloudpickle/"
|
||||
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local -x PYTHONPATH=${PYTHONPATH}:tests/cloudpickle_testpkg
|
||||
# -s unbreaks some tests
|
||||
# https://github.com/cloudpipe/cloudpickle/issues/252
|
||||
pytest -svv || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
DIST fastparquet-0.1.1.tar.gz 119573 BLAKE2B 16bd05061b64768278201acbf08fe13228d058b223d2050208b73e6af6ad3bb800a6d7edc1a15abdf02d8b508a75ed52962fb4b0c44a073b80451cfbf30915b5 SHA512 f8f052202ca095596870e6a10e2ab05e3c55289cd0ef3dab0502dff26052c9970f65f6b826d4d073c6c221827f6b18ddc83c47c04e84e08491f5237358f5860a
|
||||
DIST fastparquet-0.1.5.tar.gz 136350 BLAKE2B 2719a5da55c99ff6aa71792045f6622b7a1de81b6ec33804cfd36b0907cb44e68a7a5dcdec467c2e8c45790c062ca1d130fe3dc5c95e286bc437d449fa5211b0 SHA512 2d8f5375072125f68f086f316af87acf41e65479324828f7eeea244796311604425bbe53b9e2e67cc68b1eb89e390d9fbd5e201e5165aa22dd43604ac5441f27
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python implementation of the parquet columnar file format"
|
||||
HOMEPAGE="https://github.com/dask/fastparquet"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="brotli lzo +snappy"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/numba[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/thriftpy[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
brotli? ( app-arch/brotli[python,${PYTHON_USEDEP}] )
|
||||
lzo? ( dev-python/python-lzo[${PYTHON_USEDEP}] )
|
||||
snappy? ( dev-python/snappy[${PYTHON_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
"
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python implementation of the parquet columnar file format"
|
||||
HOMEPAGE="https://github.com/dask/fastparquet"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~amd64-linux ~x86-linux"
|
||||
IUSE="brotli lz4 lzo +snappy zstd"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/numba[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/thrift[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
brotli? ( app-arch/brotli[python,${PYTHON_USEDEP}] )
|
||||
lzo? ( dev-python/python-lzo[${PYTHON_USEDEP}] )
|
||||
lz4? ( dev-python/lz4[${PYTHON_USEDEP}] )
|
||||
snappy? ( dev-python/snappy[${PYTHON_USEDEP}] )
|
||||
zstd? ( dev-python/zstandard[${PYTHON_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# this causes setuptool's sandbox violations, Portage should have
|
||||
# taken care of this, so disable it
|
||||
sed -i -e 's/setup_requires/disabled_setup_requires/' setup.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>sci@gentoo.org</email>
|
||||
<name>Gentoo Science Project</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
fastparquet is a python implementation of the parquet format,
|
||||
aiming integrate into python-based big data work-flows. Not all
|
||||
parts of the parquet-format have been implemented yet or tested
|
||||
e.g. see the Todos linked below. With that said, fastparquet is
|
||||
capable of reading all the data files from the
|
||||
parquet-compatability project.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">fastparquet</remote-id>
|
||||
<remote-id type="github">dask/fastparquet</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="brotli">Enable support for brotli compression</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST flask-mongoengine-0.9.3.tar.gz 111690 BLAKE2B f94f057bb416715d877154bb2816308324d3f0bb41dfe2002b80ed2f078ab2bffeb62fc7bd53344b7d995111122d0b59a09dfe7700975e151e61fe60f2bdad45 SHA512 15b8031e4f8a9275fa6a602aed8466533fc9e6eb408d8f3316fc8814cc785feeee59dae25f40c1c30371e7e33bcc8727bb866bd99dbee0dc75cf15049576fb3d
|
||||
DIST flask-mongoengine-0.9.5.gh.tar.gz 120281 BLAKE2B 454602e7e7f26db731379b01492c6cb1adf01369fd268236407c57753aeb68f17ce62d4c2e665e493d3c7c632e4f263af02b59e6580893afcc7b8659247fb42f SHA512 3588ae25e2f3643f5e240990f424b4f3754cea2f880b7b454c98afb3ea98fd81b783d74a45cf685fe59cfa8159b1ac39e840071f364ce98fb1a25cc9a09e0d5f
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Flask support for MongoDB and with WTF model forms"
|
||||
HOMEPAGE="https://pypi.org/project/flask-mongoengine/"
|
||||
SRC_URI="
|
||||
https://github.com/MongoEngine/flask-mongoengine/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
# TODO: make it spawn a local mongodb instance
|
||||
#RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-python/flask-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/mongoengine-0.7.10[${PYTHON_USEDEP}]
|
||||
dev-python/flask-wtf[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
distutils_enable_tests nose
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i -e '/test_requirements/d' setup.py || die
|
||||
sed -i -e '/rednose/d' setup.cfg || die
|
||||
|
||||
# TODO: investigate; new pymongo, wtforms?
|
||||
sed -e 's:test_connection_default:_&:' \
|
||||
-i tests/test_basic_app.py || die
|
||||
sed -e 's:test_unique_with:_&:' \
|
||||
-i tests/test_forms.py || die
|
||||
sed -e 's:test_mongomock:_&:' \
|
||||
-i tests/test_connection.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST gql-0.1.0.tar.gz 3925 BLAKE2B b463235b5c9b6af8be77340d219a60e5886389fc18e066995a56d1ae80079a8de80336ae56d068c403d62f994d17cdddcf4191b0884ae971cecd23c5d17dc66d SHA512 23e35587a61e982a017260525ba9bd5d78a006eb35aae3d1cf48ba92fe954eaf14194e8f19e99813f44386b2440cda7701c85618043514a0f75101654c9145d2
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="GraphQL client for Python."
|
||||
HOMEPAGE="https://pypi.org/project/gql/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/graphql-core-0.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/promises-2.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/pytest-2.7.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>blueness@gentoo.org</email>
|
||||
<name>Anthony G. Basile</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">gql</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST graphql-core-2.0.0.tar.gz 156989 BLAKE2B 8ff0d64322966dd5fadfeff586a73db770f02337f899c7326ea6e584c093ecc237624f116d31983960ed4683dd53b6813ad99ab1173857e828de98f35eaf1f74 SHA512 caaf1a32550a671048224f37f75ed2a374290d763f9594a5f0bcd102b54f4cbc491005bae102d648c6dfaa052b5bd06f939f8638d6c895d5c133710dc2b0ce67
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="GraphQL for Python"
|
||||
HOMEPAGE="https://github.com/graphql-python/graphql-core"
|
||||
SRC_URI="https://github.com/graphql-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/promises-2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/Rx-1.6.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
# Add these to test when we have them in the tree
|
||||
# test? (
|
||||
# =dev-python/pytest-3.0.2
|
||||
# =dev-python/pytest-django-2.9.1
|
||||
# =dev-python/pytest-cov-2.3.1
|
||||
# dev-python/coveralls
|
||||
# =dev-python/gevent-1.1-rc1
|
||||
# =dev-python/pytest-benchmark-3.0.0
|
||||
# =dev-python/pytest-mock-1.2
|
||||
# )
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>blueness@gentoo.org</email>
|
||||
<name>Anthony G. Basile</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">graphql-core</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
||||
DIST joblib-0.14.1.tar.gz 338930 BLAKE2B 6b84c43be8b8d32f28a3dbc3e6f4ce15574cf20571805501972d162d4b076c1fe144a9790b8132821f0acd439c8859873038813c7bdd4163d0535eca36a1a8fa SHA512 079eb4321ed95c8f05399abca2a1c46ecb7c28fe9a3a50b6eb106a2bd2f3566fb25bca59022fafbfcee5069f078921421d799eeb29a796f8f98881491cf9be08
|
||||
DIST joblib-0.15.1.tar.gz 342550 BLAKE2B c8ccf0b6d2e229a780939d9c4f39265bd18b5a452d014056001072b7daf7e46a5961c6d80f768c30ba7463aa36c5ec09959bb1e891028bf6f7862a9a265079aa SHA512 a0b0bde5b034af3eee0bce2875199fc9ac232a34a49c14daf6fbddd9bf3ad8fa0d77192827b7531704b81db7bdfbaf76c4755b8fc1035eaf73b2e08f9e6d8828
|
||||
DIST joblib-0.16.0.tar.gz 345002 BLAKE2B 0336fcbe95204141a0b04dfbf8949ba509792402eefbb86b3dc02375e7e3eb5c76d548d4ad01238307c0334ce4299fd9e763765d92722819894ea26ab6144032 SHA512 9f1f2e7f2e293e1c53e9752907f4ba25d52a5c4895eebfa423c8e3bc64146ab20a490e1db0cfa39596c9bbc47ea1cc491b0576bf8da9a1f68b58e91ba09ead34
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6..8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Tools to provide lightweight pipelining in Python"
|
||||
HOMEPAGE="https://joblib.readthedocs.io/en/latest/
|
||||
https://github.com/joblib/joblib"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cloudpickle[${PYTHON_USEDEP}]
|
||||
dev-python/loky[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/threadpoolctl[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx doc \
|
||||
'dev-python/numpy' \
|
||||
'dev-python/matplotlib' \
|
||||
'dev-python/pillow' \
|
||||
'dev-python/sphinx-gallery' \
|
||||
'dev-python/numpydoc' \
|
||||
'dev-python/pandas' \
|
||||
'dev-python/lz4' \
|
||||
'dev-python/distributed'
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# unbundle
|
||||
rm -r joblib/externals || die
|
||||
sed -e "s:'joblib.externals[^']*',\?::g" -i setup.py || die
|
||||
find -name '*.py' -exec \
|
||||
sed -e 's:\(joblib\)\?\.externals\.::' \
|
||||
-e 's:from \.externals ::' \
|
||||
-i {} + || die
|
||||
|
||||
sed -e "s:'_static/joblib_logo_examples.png':'doc/_static/joblib_logo_examples.png':" \
|
||||
-i doc/conf.py || die
|
||||
|
||||
# tries to fetch from the internet
|
||||
rm examples/compressors_comparison.py \
|
||||
examples/parallel/distributed_backend_simple.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
From 0e930389f4785f9d311b090f92057563e22b9768 Mon Sep 17 00:00:00 2001
|
||||
From: tomMoral <thomas.moreau.2010@gmail.com>
|
||||
Date: Thu, 2 Jul 2020 13:37:14 +0200
|
||||
Subject: [PATCH] FIX cloudpickle customization mechanism
|
||||
|
||||
---
|
||||
loky/backend/reduction.py | 12 ++++++++----
|
||||
1 file changed, 8 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/loky/backend/reduction.py b/loky/backend/reduction.py
|
||||
index 0bad5f63..d87fbdff 100644
|
||||
--- a/loky/backend/reduction.py
|
||||
+++ b/loky/backend/reduction.py
|
||||
@@ -189,6 +189,10 @@ def __init__(self, writer, reducers=None, protocol=HIGHEST_PROTOCOL):
|
||||
self.dispatch = self._dispatch.copy()
|
||||
else:
|
||||
if getattr(self, "dispatch_table", None) is not None:
|
||||
+ # Make sure dispatch table is an instance level field
|
||||
+ # as it is not the case for isntance for cloudpickle1.5+
|
||||
+ # see joblib/loky#259
|
||||
+ self.dispatch_table = self.dispatch_table.copy()
|
||||
self.dispatch_table.update(self._dispatch_table.copy())
|
||||
else:
|
||||
self.dispatch_table = self._dispatch_table.copy()
|
||||
@@ -202,10 +206,10 @@ def register(self, type, reduce_func):
|
||||
if sys.version_info < (3,):
|
||||
# Python 2 pickler dispatching is not explicitly customizable.
|
||||
# Let us use a closure to workaround this limitation.
|
||||
- def dispatcher(self, obj):
|
||||
- reduced = reduce_func(obj)
|
||||
- self.save_reduce(obj=obj, *reduced)
|
||||
- self.dispatch[type] = dispatcher
|
||||
+ def dispatcher(self, obj):
|
||||
+ reduced = reduce_func(obj)
|
||||
+ self.save_reduce(obj=obj, *reduced)
|
||||
+ self.dispatch[type] = dispatcher
|
||||
else:
|
||||
self.dispatch_table[type] = reduce_func
|
||||
|
@ -1 +1,2 @@
|
||||
DIST mongoengine-0.10.6.tar.gz 469469 BLAKE2B 3930126d64e1b43d579412069da33a96e6c525d459905d05f677a406a262a15e16d8f6460637c253ace4addbe07655d194fede19fe050f4628aa17dbb6115038 SHA512 a8d16739892c64ed408afab49c6d33a4b438af83e003844caa101cd51366038ba75121d12b4385a546cf4d946a506bc11f173355f6855e740cef9fddfd6437e7
|
||||
DIST mongoengine-0.20.0.tar.gz 311698 BLAKE2B 11bae8d342a77bcc241884beb92d67a6d4f7112d0af3a467196eb94233b003aa27d019ab346140ce7430b4019879c8c86e01f3067677254559243b6d1f0ddc80 SHA512 ef973af9893f6e53811e1a47a131989f5a057af04ab9d512059f968af89fcd23f05d910c7de03330b5f4771db8e11ea2e48060f95ed790f8d238df6c6f7b9306
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python Object-Document-Mapper for working with MongoDB"
|
||||
HOMEPAGE="https://github.com/MongoEngine/mongoengine/"
|
||||
SRC_URI="https://github.com/MongoEngine/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
# TODO: make it run a local database server
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-python/blinker[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pymongo[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? ( dev-python/mongomock[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# TODO: investigate
|
||||
sed -e 's:test_covered_index:_&:' \
|
||||
-i tests/document/test_indexes.py || die
|
||||
# incompatible pillow?
|
||||
sed -e 's:test_image_field_resize:_&:' \
|
||||
-e 's:test_image_field_thumbnail:_&:' \
|
||||
-i tests/fields/test_file_field.py || die
|
||||
# no $eval
|
||||
sed -e 's:test_exec_js_field_sub:_&:' \
|
||||
-e 's:test_exec_js_query:_&:' \
|
||||
-e 's:test_item_frequencies_normalize:_&:' \
|
||||
-e 's:test_item_frequencies_with_0_values:_&:' \
|
||||
-e 's:test_item_frequencies_with_False_values:_&:' \
|
||||
-e 's:test_item_frequencies_with_null_embedded:_&:' \
|
||||
-i tests/queryset/test_queryset.py || die
|
||||
# TODO: investigate (wrong order? bad comparison?)
|
||||
sed -e 's:test_distinct_ListField_EmbeddedDocumentField:_&:' \
|
||||
-i tests/queryset/test_queryset.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
DIST numba-0.37.0.tar.gz 1734667 BLAKE2B 20fd765d226e6e71a0e94bbf8c6a605ef7b4cf8ba6e39667001051c642fb9b872540482e710e020c0fca6653d9ca4518ce82e48681613f28ac5b9e2346bece4f SHA512 83a4e5a28a43ed1cd6584ccd63aac38a928af48c424ed119bc86487f0a2bfb9875c34f6fe0a03446d8c8e9179be81f831200c12ff31edc22bc4741789095f861
|
||||
DIST numba-0.39.0.tar.gz 1782489 BLAKE2B 77a6afe587ce3ae0ccd782e329e626d63ab58b84a2aeb836710fc0c13dcc88e16ab36e7426c6d9ff88c6d5be854915128dc2868d7fa71511ec9c8eea9debffe7 SHA512 f9cabf39fea543495425ba326aad34a52d317ebef61e5b298588764214bb396ea43871d32875f0882a36909bb12fc2e3807c38b5fc60ff5d9e6dc9ccdd36bf6e
|
@ -1,14 +0,0 @@
|
||||
https://bugs.gentoo.org/659804
|
||||
|
||||
diff --git a/numba/tests/test_linalg.py b/numba/tests/test_linalg.py
|
||||
index 46bff63e8..53056ab23 100644
|
||||
--- a/numba/tests/test_linalg.py
|
||||
+++ b/numba/tests/test_linalg.py
|
||||
@@ -1282,6 +1282,7 @@ class TestLinalgLstsq(TestLinalgSystems):
|
||||
# Suggestions for improvements are welcomed!
|
||||
|
||||
@needs_lapack
|
||||
+ @unittest.skipIf(sys.maxsize < 2 ** 31, "errors with 32-bit address space")
|
||||
def test_linalg_lstsq(self):
|
||||
"""
|
||||
Test np.linalg.lstsq
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!--maintainer-needed-->
|
||||
<longdescription lang="en">
|
||||
Numba is a NumPy-aware optimizing compiler for Python. It uses the LLVM
|
||||
compiler infrastructure to compile Python syntax to machine code.
|
||||
It is aware of NumPy arrays as typed memory regions and so can
|
||||
speed-up code using NumPy arrays. Other, less well-typed code will be
|
||||
translated to Python C-API calls effectively removing the
|
||||
"interpreter" but not removing the dynamic indirection.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">numba</remote-id>
|
||||
<remote-id type="github">numba/numba</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="NumPy aware dynamic Python compiler using LLVM"
|
||||
HOMEPAGE="http://numba.pydata.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/llvmlite-0.22.0[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/numba-skip-tests.patch
|
||||
)
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}/lib" || die
|
||||
${EPYTHON} -m numba.runtests -v || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="NumPy aware dynamic Python compiler using LLVM"
|
||||
HOMEPAGE="http://numba.pydata.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/llvmlite-0.22.0[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/numba-skip-tests.patch
|
||||
)
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}/lib" || die
|
||||
${EPYTHON} -m numba.runtests -v || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST pikepdf-1.13.0.tar.gz 2140229 BLAKE2B 886bb9395e8fa1105385908a06d076f78bb1712186a8cb0eafbe54d22a0c95fa2bc8eba8f2e3d60ec3b1392d550cd38c6486c601eba2ef167c718fa26b472f9e SHA512 48304f85e73148dbcfae50ecc5767686b46ce9d44b13eb3f991ab3b358b99208383627abdb5ef3c17cf31a422872ea0bae7560e9c7c36130c6009563b6169f4d
|
||||
DIST pikepdf-1.14.0.tar.gz 2140844 BLAKE2B 75a408ded51e82cd7970eb94214d2e4f40ea0fa0a4915d83caace9b1fcad75fe2d7f7f1917e307d5ba8f2107dc1ae4fd46125b05d7ea175444c479945293d5a7 SHA512 bbd6a024324812f2ecee7c424fe53a2e32a6534c909cef60661faea40e58bfc067017f26d8676fb336e618e6cd7b008729cb6753202a18ed6fd86bbfbb36662b
|
||||
DIST pikepdf-1.16.1.tar.gz 2227178 BLAKE2B b872c3ecfb6ea2b26dd5a1a3135aa1ca4ce5fd373a89f48fc6fa281144d1eb98256175ed2518ce33c703bc7b14ac960a27d7f1debb8e0ca5942a5ac236de2c53 SHA512 8560153eb70e426d70c57e0980f989fd2ddf3756bbd4b10a810f47081dd69cbb34941a29ea95f332390a25f2e4a66ff716f4ee933d3a538101154f5d7bdc506d
|
||||
DIST pikepdf-1.8.3.tar.gz 1649370 BLAKE2B c655eb2a9304eb624b5f3dd3ea68ff3194f5a508b4249ef0643689945c28bbe9eaad015df481516d6cfce6768a70a34377725a7995b448f22a2eb025b4967e71 SHA512 5cb674042dca6850df7cf9476743956967d0ad168ac6bdadda03895a604f6c3670849e33ab863e7686eaa46922489d6dd1da9883d19a721c8021323d768086a9
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library to work with pdf files based on qpdf"
|
||||
HOMEPAGE="https://pypi.org/project/pikepdf/ https://github.com/pikepdf/pikepdf"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-text/qpdf:0=
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/pybind11[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/attrs-19.1.0
|
||||
>=dev-python/hypothesis-4.24
|
||||
<dev-python/hypothesis-6.0
|
||||
>=dev-python/pillow-5.0.0
|
||||
>=dev-python/pytest-4.4.0
|
||||
<dev-python/pytest-5.3.5
|
||||
>=dev-python/pytest-xdist-1.28
|
||||
<dev-python/pytest-xdist-2.0
|
||||
>=dev-python/pytest-helpers-namespace-2019.1.8
|
||||
>=dev-python/pytest-timeout-1.3.3
|
||||
>=dev-python/python-xmp-toolkit-2.0.1 )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.8.3-test.patch )
|
||||
|
||||
python_test() {
|
||||
pytest
|
||||
}
|
||||
|
||||
# When ipython and matplotlib will get python3_8 support, we'll be able to add
|
||||
#
|
||||
#IUSE="doc"
|
||||
#DEPEND="doc? ( dev-python/ipython
|
||||
# dev-python/matplotlib
|
||||
# dev-python/sphinx-1.4
|
||||
# dev-python/sphinx_rtd_theme )"
|
||||
#python_compile_all() {
|
||||
# use doc && emake -C docs html
|
||||
#}
|
||||
#python_install_all() {
|
||||
# use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
# distutils-r1_python_install_all
|
||||
#}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue