mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 11:33:15 -04:00
Merge updates from master
This commit is contained in:
1
app-crypt/mkp224o/Manifest
Normal file
1
app-crypt/mkp224o/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST mkp224o-1.5.0-src.tar.gz 1378324 BLAKE2B 19d38fbf23328607fa428ec9329cdc909b210b4235d85e14ff372347c9b408ecf22d41dac7122bdae06725d7bca0c3d53c81cc27272c47517e714e9b8e0625dd SHA512 aa5adc91e695dbfd8ece5fdfe3ca370056d4390a5186326b35ee37402040fa24675ede5389c48b79a1e57b624b86024ff72957741fef175602f7721f20c5cc14
|
||||
22
app-crypt/mkp224o/metadata.xml
Normal file
22
app-crypt/mkp224o/metadata.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>matt@offtopica.uk</email>
|
||||
<name>Matt Smith</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="amd64-51-30k">Use x86_64 amd64-51-30k SUPERCOP implementation</flag>
|
||||
<flag name="amd64-64-24k">Use x86_64 amd64-64-24k SUPERCOP implementation</flag>
|
||||
<flag name="besort">Force intfilter binary search case to use big endian sorting; useful if your filters aren't of the same length</flag>
|
||||
<flag name="binsearch">Enable binary search algo; much faster if there are a lot of filters</flag>
|
||||
<flag name="donna">Use portable ed25519-donna implementation</flag>
|
||||
<flag name="donna-sse2">Use x86 + SSE2 ed25519-donna implementation</flag>
|
||||
<flag name="pcre2">Enable the regex engine and use pcre2</flag>
|
||||
<flag name="ref10">Use portable ref10 SUPERCOP implementation</flag>
|
||||
<flag name="statistics">Collect performance statistics</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">cathugger/mkp224o</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
54
app-crypt/mkp224o/mkp224o-1.5.0.ebuild
Normal file
54
app-crypt/mkp224o/mkp224o-1.5.0.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Vanity address generator for v3 Tor hidden service addresses"
|
||||
HOMEPAGE="https://github.com/cathugger/mkp224o"
|
||||
SRC_URI="https://github.com/cathugger/mkp224o/releases/download/v1.5.0/mkp224o-${PV}-src.tar.gz"
|
||||
|
||||
LICENSE="CC0-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="amd64-51-30k amd64-64-24k besort binsearch +donna donna-sse2 pcre2 ref10 +statistics"
|
||||
REQUIRED_USE="
|
||||
^^ ( amd64-51-30k amd64-64-24k donna donna-sse2 ref10 )
|
||||
besort? ( binsearch )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libsodium
|
||||
pcre2? ( dev-libs/libpcre2 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( OPTIMISATION.txt README.txt )
|
||||
|
||||
my_use_enable() {
|
||||
use "${1}" && echo "--enable-${1}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Passing arguments like --enable-ref10 --disable-donna breaks the
|
||||
# configure script. Instead, only one ed25519 implementation should
|
||||
# be --enable'd and the others left unspecified.
|
||||
|
||||
local myeconfargs=(
|
||||
$(my_use_enable amd64-51-30k)
|
||||
$(my_use_enable amd64-64-24k)
|
||||
$(my_use_enable donna)
|
||||
$(my_use_enable donna-sse2)
|
||||
$(my_use_enable ref10)
|
||||
$(use_enable besort)
|
||||
$(use_enable binsearch)
|
||||
$(use_enable pcre2 regex)
|
||||
$(use_enable statistics)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${PN}"
|
||||
einstalldocs
|
||||
}
|
||||
@@ -10,7 +10,7 @@
|
||||
<name>Ross Charles Campbell</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>ade@karaslimane.com</email>
|
||||
<email>adel.ks@zegrapher.com</email>
|
||||
<name>Adel KARA SLIMANE</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python multiprocessing fork"
|
||||
HOMEPAGE="
|
||||
@@ -17,9 +17,6 @@ SRC_URI="https://github.com/celery/billiard/archive/refs/tags/v${PV}.tar.gz -> $
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="
|
||||
@@ -33,15 +30,5 @@ DEPEND="
|
||||
# The usual req'd for tests
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile_all() {
|
||||
use doc && esetup.py build_sphinx --builder="html" --source-dir=Doc/
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( build/sphinx/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx Doc
|
||||
|
||||
1
dev-python/celery/Manifest
Normal file
1
dev-python/celery/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST celery-5.1.0_beta2.tar.gz 1459863 BLAKE2B 1b5a49728fa97e00112cc31731998ac06b2bb77ed621321b119d44d8cf0e4ec347d92b0857f316bda48f61a0ce0bd5c9d55392a8e3053369577d503af7aafc35 SHA512 d430a33cbc34950d68cf228707e8e868834f80a7f6c40491d8a67b056af5395c03e27c2b2ba1e2b9a390598d7d8bb3609bd88b388dfb18a34d0441ed54245192
|
||||
102
dev-python/celery/celery-5.1.0_beta2.ebuild
Normal file
102
dev-python/celery/celery-5.1.0_beta2.ebuild
Normal file
@@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 eutils optfeature
|
||||
|
||||
MYPV="${PV/_beta/b}"
|
||||
DESCRIPTION="Asynchronous task queue/job queue based on distributed message passing"
|
||||
HOMEPAGE="
|
||||
http://celeryproject.org
|
||||
https://pypi.org/project/celery
|
||||
https://github.com/celery/celery
|
||||
"
|
||||
SRC_URI="https://github.com/celery/celery/archive/v${MYPV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
# There are a number of other optional 'extras'
|
||||
IUSE="examples"
|
||||
#RESTRICT="!test? ( test )"
|
||||
RESTRICT="test" #'celery' not found in `markers` configuration option
|
||||
S="${WORKDIR}/${PN}-${MYPV}"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/billiard-3.6.4.0[${PYTHON_USEDEP}]
|
||||
<dev-python/billiard-4.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-7[${PYTHON_USEDEP}]
|
||||
<dev-python/click-8[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-didyoumean-0.0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-plugins-1.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-repl-0.1.6[${PYTHON_USEDEP}]
|
||||
<dev-python/kombu-6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/kombu-5[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
>=dev-python/vine-5[${PYTHON_USEDEP}]
|
||||
<dev-python/vine-6[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
>=dev-python/boto3-1.9.178[${PYTHON_USEDEP}]
|
||||
>=dev-python/case-1.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/moto-1.3.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-6.2[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-celery[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-subtests[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx_celery-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-click-2.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
# testsuite needs it own source
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs --no-autodoc
|
||||
|
||||
python_install_all() {
|
||||
# Main celeryd init.d and conf.d
|
||||
newinitd "${FILESDIR}/celery.initd-r2" celery
|
||||
newconfd "${FILESDIR}/celery.confd-r2" celery
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r examples/.
|
||||
docompress -x "/usr/share/doc/${PF}/examples"
|
||||
fi
|
||||
|
||||
newbashcomp extra/bash-completion/celery.bash "${PN}"
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "zookeeper support" dev-python/kazoo
|
||||
optfeature "msgpack support" dev-python/msgpack
|
||||
#optfeature "rabbitmq support" dev-python/librabbitmq
|
||||
#optfeature "slmq support" dev-python/softlayer_messaging
|
||||
optfeature "eventlet support" dev-python/eventlet
|
||||
#optfeature "couchbase support" dev-python/couchbase
|
||||
optfeature "redis support" dev-db/redis dev-python/redis-py
|
||||
optfeature "gevent support" dev-python/gevent
|
||||
optfeature "auth support" dev-python/pyopenssl
|
||||
optfeature "pyro support" dev-python/pyro:4
|
||||
optfeature "yaml support" dev-python/pyyaml
|
||||
optfeature "memcache support" dev-python/pylibmc
|
||||
optfeature "mongodb support" dev-python/pymongo
|
||||
optfeature "sqlalchemy support" dev-python/sqlalchemy
|
||||
optfeature "sqs support" dev-python/boto
|
||||
#optfeature "cassandra support" dev-python/cassandra-driver
|
||||
}
|
||||
51
dev-python/celery/files/celery.confd-r2
Normal file
51
dev-python/celery/files/celery.confd-r2
Normal file
@@ -0,0 +1,51 @@
|
||||
# /etc/conf.d/celery
|
||||
|
||||
##############################################################################
|
||||
# GLOBAL CONFIGURATION
|
||||
|
||||
# User and group
|
||||
#CELERY_USER="celery"
|
||||
#CELERY_GROUP="celery"
|
||||
|
||||
# This is generaly a good idea to set the environment correctly
|
||||
# because a lot of python package try to use HOME on init
|
||||
#export HOME="/var/lib/myproject"
|
||||
|
||||
# Full path to the python project directory.
|
||||
#CELERY_PROJDIR="/var/lib/myproject"
|
||||
|
||||
##############################################################################
|
||||
# CELERYD
|
||||
|
||||
# Start the Celery worker daemon
|
||||
#CELERYD_ENABLED="yes"
|
||||
|
||||
# celeryd notes
|
||||
#CELERYD_NODES="celery"
|
||||
|
||||
# celeryd options
|
||||
# Example: set a 5 minute hard time limit for tasks, disable queue process prefetching and specify an app module from CELERY_PROJDIR
|
||||
#CELERYD_OPTS="--time-limit=300 -Ofair -A celeryapp"
|
||||
|
||||
# Location and level of the celeryd log file
|
||||
#CELERYD_LOG_FILE=/var/log/celery/celeryd@%n.log
|
||||
#CELERYD_LOG_LEVEL="INFO"
|
||||
|
||||
# Location of the celeryd pid file
|
||||
#CELERYD_PID_FILE=/run/celery/celeryd@%n.pid
|
||||
|
||||
##############################################################################
|
||||
# CELERYBEAT
|
||||
|
||||
# Start the Celery task scheduler daemon
|
||||
#CELERYBEAT_ENABLED="yes"
|
||||
|
||||
# celerybeat options
|
||||
#CELERYBEAT_OPTS=""
|
||||
|
||||
# Location and level of the celerybeat log file
|
||||
#CELERYBEAT_LOG_FILE=/var/log/celery/celerybeat.log
|
||||
#CELERYBEAT_LOG_LEVEL="INFO"
|
||||
|
||||
# Location of the celerybeat pid file
|
||||
#CELERYBEAT_PID_FILE=/run/celery/celerybeat.pid
|
||||
205
dev-python/celery/files/celery.initd-r2
Normal file
205
dev-python/celery/files/celery.initd-r2
Normal file
@@ -0,0 +1,205 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the BSD license
|
||||
|
||||
extra_started_commands="reload"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use rabbitmq redis logger dns
|
||||
}
|
||||
|
||||
CELERYD_ENABLED=${CELERYD_ENABLED:-"no"}
|
||||
CELERYD_PID_FILE=${CELERYD_PID_FILE:-"/run/celery/celeryd@%n.pid"}
|
||||
CELERYD_LOG_FILE=${CELERYD_LOG_FILE:-"/var/log/celery/celeryd@%n.log"}
|
||||
CELERYD_LOG_LEVEL=${CELERYD_LOG_LEVEL:-"INFO"}
|
||||
CELERYD_NODES=${CELERYD_NODES:-"celery"}
|
||||
|
||||
CELERYBEAT_ENABLED=${CELERYBEAT_ENABLED:-"no"}
|
||||
CELERYBEAT_PID_FILE=${CELERYBEAT_PID_FILE:-"/run/celery/celerybeat.pid"}
|
||||
CELERYBEAT_LOG_FILE=${CELERYBEAT_LOG_FILE:-"/var/log/celery/celerybeat.log"}
|
||||
CELERYBEAT_LOG_LEVEL=${CELERYBEAT_LOG_LEVEL:-"INFO"}
|
||||
|
||||
export CELERY_LOADER
|
||||
|
||||
CELERYD_MULTI=${CELERYD_MULTI:-"celery multi"}
|
||||
CELERYCTL=${CELERYCTL:-"celery"}
|
||||
CELERYBEAT=${CELERYBEAT:-"celery beat"}
|
||||
|
||||
CELERYD_OPTS="${CELERYD_OPTS}"
|
||||
CELERYBEAT_OPTS="${CELERYBEAT_OPTS} -f ${CELERYBEAT_LOG_FILE} -l ${CELERYBEAT_LOG_LEVEL}"
|
||||
|
||||
create_dirs() {
|
||||
local logfile="${1}"
|
||||
local pidfile="${2}"
|
||||
local logdir=$(dirname ${logfile})
|
||||
local piddir=$(dirname ${pidfile})
|
||||
|
||||
checkpath -d -q -m 0750 -o ${CELERY_USER:-"root"}:${CELERY_GROUP:-"root"} ${logdir} ${piddir}
|
||||
}
|
||||
|
||||
[ -n "${CELERY_USER}" ] && DAEMON_OPTS="${DAEMON_OPTS} --uid=${CELERY_USER}"
|
||||
[ -n "${CELERY_GROUP}" ] && DAEMON_OPTS="${DAEMON_OPTS} --gid=${CELERY_GROUP}"
|
||||
|
||||
checkconfig() {
|
||||
if [ ! -c /dev/null ]; then
|
||||
eerror "/dev/null is not a character device!"
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [ -z "${CELERY_PROJDIR}" ]; then
|
||||
eerror "Missing CELERY_PROJDIR variable"
|
||||
return 1
|
||||
fi
|
||||
|
||||
yesno "${CELERYD_ENABLED}" && \
|
||||
create_dirs "${CELERYD_LOG_FILE}" "${CELERYD_PID_FILE}"
|
||||
|
||||
yesno "${CELERYBEAT_ENABLED}" && \
|
||||
create_dirs "${CELERYBEAT_LOG_FILE}" "${CELERYBEAT_PID_FILE}"
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
celery_chdir() {
|
||||
[ -n "${CELERY_PROJDIR}" ] && cd "${CELERY_PROJDIR}"
|
||||
}
|
||||
|
||||
wait_pid () {
|
||||
local pidfile=${1}
|
||||
local timeout=${STOPTIMEOUT:-"10"}
|
||||
local PID=$(cat "${pidfile}" 2>/dev/null)
|
||||
|
||||
while [ -n "${PID}" ] && [ "${timeout}" -ge 1 ]; do
|
||||
kill -0 ${PID} 2>/dev/null || break
|
||||
kill -TERM "${PID}"
|
||||
timeout=$((${timeout} - 1))
|
||||
sleep 0.5
|
||||
done
|
||||
|
||||
[ "${timeout}" -lt 1 ] && return 1
|
||||
[ -f ${pidfile} ] && rm -f ${pidfile}
|
||||
return 0
|
||||
}
|
||||
|
||||
# celeryd
|
||||
start_workers() {
|
||||
yesno "${CELERYD_ENABLED}" || return 0
|
||||
|
||||
${CELERYD_MULTI} start ${CELERYD_NODES} ${DAEMON_OPTS} \
|
||||
--pidfile="${CELERYD_PID_FILE}" \
|
||||
--logfile="${CELERYD_LOG_FILE}" \
|
||||
--loglevel="${CELERYD_LOG_LEVEL}" \
|
||||
${CELERYD_OPTS}
|
||||
}
|
||||
|
||||
stop_workers() {
|
||||
yesno "${CELERYD_ENABLED}" || return 0
|
||||
|
||||
local timeout=${STOPTIMEOUT:-"10"}
|
||||
|
||||
${CELERYD_MULTI} stop ${CELERYD_NODES} --pidfile="${CELERYD_PID_FILE}" || return 1
|
||||
|
||||
# Wait for each node
|
||||
for node in ${CELERYD_NODES}; do
|
||||
local pidfile=${CELERYD_PID_FILE/\%n/${node}}
|
||||
local PID=$(cat "${pidfile}" 2>/dev/null)
|
||||
while [ -n "${PID}" ] && [ "${timeout}" -ge 1 ]; do
|
||||
kill -0 ${PID} 2>/dev/null || break
|
||||
timeout=$((${timeout} - 1))
|
||||
sleep 0.5
|
||||
done
|
||||
done
|
||||
|
||||
[ "${timeout}" -lt 1 ] && return 1
|
||||
return 0
|
||||
}
|
||||
|
||||
restart_workers() {
|
||||
yesno "${CELERYD_ENABLED}" || return 0
|
||||
|
||||
${CELERYD_MULTI} restart ${CELERYD_NODES} ${DAEMON_OPTS} \
|
||||
--pidfile="${CELERYD_PID_FILE}" \
|
||||
--logfile="${CELERYD_LOG_FILE}" \
|
||||
--loglevel="${CELERYD_LOG_LEVEL}" \
|
||||
${CELERYD_OPTS}
|
||||
}
|
||||
|
||||
# celerybeat
|
||||
start_beat() {
|
||||
yesno "${CELERYBEAT_ENABLED}" || return 0
|
||||
|
||||
ebegin "Starting celerybeat"
|
||||
${CELERYBEAT} ${CELERYBEAT_OPTS} ${DAEMON_OPTS} --detach \
|
||||
--pidfile="${CELERYBEAT_PID_FILE}"
|
||||
eend ${?}
|
||||
}
|
||||
|
||||
|
||||
stop_beat() {
|
||||
yesno "${CELERYBEAT_ENABLED}" || return 0
|
||||
|
||||
ebegin "Stopping celerybeat"
|
||||
if [ -f "${CELERYBEAT_PID_FILE}" ]; then
|
||||
wait_pid "${CELERYBEAT_PID_FILE}"
|
||||
else
|
||||
ewarn "not running"
|
||||
fi
|
||||
eend ${?}
|
||||
}
|
||||
|
||||
|
||||
start() {
|
||||
local cr=0
|
||||
|
||||
checkconfig || return 1
|
||||
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
eindent
|
||||
|
||||
celery_chdir && \
|
||||
start_workers && \
|
||||
start_beat || cr=1
|
||||
|
||||
eoutdent
|
||||
eend ${cr}
|
||||
}
|
||||
|
||||
stop() {
|
||||
local cr=0
|
||||
|
||||
checkconfig || return 1
|
||||
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
eindent
|
||||
|
||||
celery_chdir
|
||||
stop_workers || cr=1
|
||||
stop_beat || cr=1
|
||||
|
||||
eoutdent
|
||||
eend ${cr}
|
||||
}
|
||||
|
||||
reload() {
|
||||
local cr=0
|
||||
|
||||
checkconfig || return 1
|
||||
|
||||
ebegin "Restarting ${SVCNAME}"
|
||||
eindent
|
||||
|
||||
celery_chdir
|
||||
restart_workers || cr=1
|
||||
stop_beat && start_beat || cr=1
|
||||
|
||||
eoutdent
|
||||
eend ${cr}
|
||||
}
|
||||
|
||||
status() {
|
||||
checkconfig || return 1
|
||||
|
||||
celery_chdir && \
|
||||
${CELERYCTL} status
|
||||
}
|
||||
12
dev-python/celery/metadata.xml
Normal file
12
dev-python/celery/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>comaintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">celery</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
1
dev-python/pytest-celery/Manifest
Normal file
1
dev-python/pytest-celery/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pytest-celery-0.0.0a1.tar.gz 3005 BLAKE2B 31c2c825f8821eb56eff92d709cde20d306f673b0760326953de141321af7a040dce849728f8556059e438622d2b0969cbcf14f33e4d28bfa213a9babc92d997 SHA512 ea8ef26aaa5dd5c04608cb01bedb4946bb6712d08203e5f9b1b9b2b1a9e49e7a550466d7a9dd896fb5d813960cee35eed139099952589cdf21e03dadd7e2a20f
|
||||
12
dev-python/pytest-celery/metadata.xml
Normal file
12
dev-python/pytest-celery/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">celery/pytest-celery</remote-id>
|
||||
<remote-id type="pypi">celery</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
27
dev-python/pytest-celery/pytest-celery-0.0.0_alpha1.ebuild
Normal file
27
dev-python/pytest-celery/pytest-celery-0.0.0_alpha1.ebuild
Normal file
@@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
MYPV="${PV/_alpha/a}"
|
||||
MYP="${PN}-${MYPV}"
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="a shim pytest plugin to enable celery.contrib.pytest"
|
||||
HOMEPAGE="
|
||||
https://github.com/celery/pytest-celery
|
||||
https://pypi.org/project/pytest-celery
|
||||
"
|
||||
SRC_URI="mirror://pypi/${MYP:0:1}/${PN}/${MYP}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND=">=dev-python/celery-4.4.0[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
1
dev-python/sphinx-click/Manifest
Normal file
1
dev-python/sphinx-click/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST sphinx-click-2.7.1.tar.gz 17608 BLAKE2B 4fe15f3e8ad413f36a9aa6125f973fdb8d150a0996a373bc877ccec1c40132d81235abaf28a1ab90e647cbdb6a9571d782078e1de19c98e76818c6a957490bec SHA512 55749ab1f48569225558eda243c77991623418a2185fbda266d75d3a52f4551fb619b3024bb368d8332e55c0755da7a9da5b5da97158c9d8eefec3a2007f201e
|
||||
16
dev-python/sphinx-click/metadata.xml
Normal file
16
dev-python/sphinx-click/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
sphinx-click is a Sphinx plugin that allows you to automatically extract documentation from a click-based application and include it in your docs.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">click-contrib/sphinx-click</remote-id>
|
||||
<remote-id type="pypi">sphinx-click</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
31
dev-python/sphinx-click/sphinx-click-2.7.1.ebuild
Normal file
31
dev-python/sphinx-click/sphinx-click-2.7.1.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Sphinx plugin to automatically document click-based applications"
|
||||
HOMEPAGE="
|
||||
https://github.com/click-contrib/sphinx-click
|
||||
https://pypi.org/project/sphinx-click
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/sphinx-1.5[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-4[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-6[${PYTHON_USEDEP}]
|
||||
<dev-python/click-8[${PYTHON_USEDEP}]
|
||||
<dev-python/docutils-0.17[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="dev-python/pbr[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs --no-autodoc
|
||||
1
kde-apps/alligator/Manifest
Normal file
1
kde-apps/alligator/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST alligator-0.1.tar.xz 159632 BLAKE2B 5c8af922b6862e59548a94de13ccade643b72284295347aa7f7ab9b9ae6a6b19bed3fff2924a8829550ae22b61f76194d9cbe1e742581749114d28098eca6a3a SHA512 668363e1ec09dee7102ef1b3dffaa30b5a391b84ce3bf85dccb242976bda91c26cead9d16932cd92c6132bcb044d7e40186733e361168dc280efa5905dab8c5b
|
||||
34
kde-apps/alligator/alligator-0.1.ebuild
Normal file
34
kde-apps/alligator/alligator-0.1.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
ECM_TEST="forceoptional"
|
||||
KFMIN=5.75.0
|
||||
QTMIN=5.15.0
|
||||
inherit ecm
|
||||
|
||||
DESCRIPTION="A convergent RSS/Atom feed reader for Plasma"
|
||||
HOMEPAGE="https://apps.kde.org/alligator/"
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtdeclarative-${QTMIN}:5
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtnetwork-${QTMIN}:5
|
||||
>=dev-qt/qtquickcontrols-${QTMIN}:5
|
||||
>=dev-qt/qtquickcontrols2-${QTMIN}:5
|
||||
>=dev-qt/qtsql-${QTMIN}:5
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||
>=kde-frameworks/kirigami-${KFMIN}:5
|
||||
>=kde-frameworks/syndication-${KFMIN}:5
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
12
kde-apps/alligator/metadata.xml
Normal file
12
kde-apps/alligator/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">KDE/alligator</remote-id>
|
||||
<bugs-to>https://invent.kde.org/plasma-mobile/alligator/-/issues</bugs-to>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -3,7 +3,7 @@
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Adel Kara Slimane</name>
|
||||
<email>adel@karaslimane.com</email>
|
||||
<email>adel.ks@zegrapher.com</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
|
||||
@@ -26,7 +26,7 @@ RESTRICT="test"
|
||||
DEPEND="
|
||||
acct-group/monero
|
||||
acct-user/monero
|
||||
dev-libs/boost:=[nls,threads]
|
||||
<dev-libs/boost-1.76.0:=[nls,threads]
|
||||
dev-libs/libsodium:=
|
||||
dev-libs/openssl:=
|
||||
dev-libs/randomx
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST rtl8192eu-0_pre20201219.tar.gz 2533739 BLAKE2B 1cb6c0a772bf472fe6279c70b4dbdd3dc8d26507f6dd66b82534592fa4dc2b538132cf257b5a63f3ff7b91a25f0e022a2a4ae19ee42df09ab37dd0188bcbc8fa SHA512 f332e58d4a6b2cc5dc0eba54bd146b4b1adbfaf5903c1eb5d3e9ae4fff9e6063963645f92a136c91284314f6398700288219a6356227aea0c8cd7564e958a266
|
||||
DIST rtl8192eu-0_pre20210403.tar.gz 2533924 BLAKE2B e2d452e7670918902b049068a6191fa6f200818a687c1d84a06eac325b4dde90e00e7719dff20af85b3061d7d9f82a99633da71a2033a3cc015923e9dee316a9 SHA512 6132ad8978221efbbc7418192b8ca8519a0ddd9458a27540527df2e7bd709233e82c70d0ae5e1b67e390d3e87efd3537c1eaafa5fceaf44f32654cb3bca0b271
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=7
|
||||
inherit linux-mod
|
||||
|
||||
COMMIT="b7faffdd77767269770b79876f88dd1145b6a630"
|
||||
COMMIT="ab35c7e9672f37d75b7559758c99f6d027607687"
|
||||
|
||||
DESCRIPTION="Realtek 8192EU driver module for Linux kernel"
|
||||
HOMEPAGE="https://github.com/Mange/rtl8192eu-linux-driver"
|
||||
@@ -1 +1 @@
|
||||
DIST rtl8821ce-0_pre20201216.tar.gz 4520587 BLAKE2B 4e333d8e83f0a4d18ff99656be1d435f7ce83155238276e24981b145c945d48404bc1aabb31511dcc3cd0d94823ad900f2ca979d9a7e89c94e7fce75e4423bf6 SHA512 4e7576142a91f5fa18ae23b26bb51ab5c2e7171afe2a08673b6c974d99a445fb04e63c64b38c96c65d85da0c0018267c401a2a6b1f2065de97745cc46ac58588
|
||||
DIST rtl8821ce-0_pre20210321.tar.gz 4521011 BLAKE2B 450eeca0f651b1c7910b31ca853986634d37f5f4588da426e4fea28ddf3915c2c0a51a937a8a089525c935df80779541dac1082f4b7239419a0f0264bde7585d SHA512 9eb41a6c64719765643363f120ea5682821bda312898f4b1a66a89cf1babb7d38871d0d8644c6e392917f07c5658ff16dc007b0b03ff3d7ef16e4b9daca9b426
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=7
|
||||
inherit linux-mod
|
||||
|
||||
COMMIT="14b536f0c9ad2d0abbdab8afc7ade684900ca9cf"
|
||||
COMMIT="897e7c4c15dd5a0a569745dc223d969a26ff5bfc"
|
||||
|
||||
DESCRIPTION="Realtek RTL8821CE Driver module for Linux kernel"
|
||||
HOMEPAGE="https://github.com/tomaspinho/rtl8821ce"
|
||||
@@ -1 +1 @@
|
||||
DIST rtl8821cu-0_pre20201224.tar.gz 3646547 BLAKE2B f4cfca8afd858fc9d6ba715a84475f169fc5c81185171f68a13a526b637cc3bc46b993204db036a504a0e8ace817e0e739e5bb52ade146926df720b36b55c7cc SHA512 4423cf9b82f398f24fe1b677b487e750e4a0cb55a60eebf568ae92745f5d85efb953d9274ca0d06e84d3f347f9d91bab260a2a4eb92a92933dab9fdd6fa0d354
|
||||
DIST rtl8821cu-0_pre20210327.tar.gz 3645945 BLAKE2B c88a7c3917a184c62a9337ad29f4be1de03fc2494c9d58f3cea657f35b5d41c6f935b502758ffedf63fada15f3a42033de0fa67d65df59cde6aa76767065d759 SHA512 510dc443b1ed4dad35a858b71ae801fb134cbdfd79f6f171547aa7ffdaa9100309cb5303555a14b9492ead77ff7637aa28a25b3d4ce1545b906a83c1a3a041eb
|
||||
|
||||
29
net-wireless/rtl8821cu/files/rtl8821cu-recv_linux.patch
Normal file
29
net-wireless/rtl8821cu/files/rtl8821cu-recv_linux.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
--- /os_dep/linux/recv_linux.c 2020-12-24 16:55:47.000000000 +0600
|
||||
+++ /os_dep/linux/recv_linux.c 2021-05-07 15:06:13.043463838 +0600
|
||||
@@ -353,7 +353,7 @@
|
||||
|
||||
rx_ok = _FALSE;
|
||||
|
||||
-#ifdef CONFIG_RTW_GRO
|
||||
+#if defined (CONFIG_RTW_GRO) && LINUX_VERSION_CODE < KERNEL_VERSION(5, 12, 0)
|
||||
if (pregistrypriv->en_gro) {
|
||||
if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP)
|
||||
rx_ok = _TRUE;
|
||||
@@ -400,7 +400,7 @@
|
||||
if (adapter->registrypriv.en_napi) {
|
||||
struct dvobj_priv *dvobj;
|
||||
struct registry_priv *registry;
|
||||
-
|
||||
+
|
||||
dvobj = adapter_to_dvobj(adapter);
|
||||
registry = &adapter->registrypriv;
|
||||
if (dvobj->traffic_stat.cur_rx_tp > registry->napi_threshold)
|
||||
@@ -511,7 +511,7 @@
|
||||
#ifdef CONFIG_RTW_NAPI
|
||||
#ifdef CONFIG_RTW_NAPI_DYNAMIC
|
||||
if (!skb_queue_empty(&precvpriv->rx_napi_skb_queue)
|
||||
- && !adapter_to_dvobj(padapter)->en_napi_dynamic
|
||||
+ && !adapter_to_dvobj(padapter)->en_napi_dynamic
|
||||
)
|
||||
napi_recv(padapter, RTL_NAPI_WEIGHT);
|
||||
#endif
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=7
|
||||
inherit linux-mod
|
||||
|
||||
COMMIT="deff094b9d361b75dd3522aab4eb7f2ca3f3b0be"
|
||||
COMMIT="f1bc7e86c4a1c67bee04c361dd978683869d2347"
|
||||
|
||||
DESCRIPTION="Realtek 8821CU/RTL8811CU module for Linux kernel"
|
||||
HOMEPAGE="https://github.com/brektrou/rtl8821CU"
|
||||
@@ -19,9 +19,7 @@ S="${WORKDIR}/rtl8821CU-${COMMIT}"
|
||||
|
||||
MODULE_NAMES="8821cu(net/wireless)"
|
||||
BUILD_TARGETS="all"
|
||||
BUILD_TARGET_ARCH="${ARCH}"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
BUILD_PARAMS="KERN_DIR=${KV_DIR} ARCH=$(uname -m | sed -e s/i.86/i386/) KSRC=${KV_DIR} KERN_VER=${KV_FULL}"
|
||||
}
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-recv_linux.patch
|
||||
)
|
||||
@@ -209,28 +209,7 @@ SRC_URI="
|
||||
${EGO_SUM_SRC_URI}
|
||||
"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}/interfacer"
|
||||
|
||||
BUNDLED_NODE_MODULES_LICENSES="
|
||||
0BSD
|
||||
Apache-2.0
|
||||
BSD
|
||||
BSD-2
|
||||
CC0-1.0
|
||||
CC-BY-3.0
|
||||
ISC
|
||||
MIT
|
||||
MPL-2.0
|
||||
PSF-2
|
||||
Unlicense
|
||||
ZLIB
|
||||
|| ( AFL-2.1 BSD )
|
||||
|| ( BSD-2 MIT Apache-2.0 )
|
||||
|| ( BSD GPL-2 )
|
||||
|| ( LGPL-2 MIT )
|
||||
|| ( MIT GPL-3 )
|
||||
|| ( WTFPL-2 MIT )
|
||||
"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-3.0 ISC LGPL-2.1 MIT MPL-2.0 ${BUNDLED_NODE_MODULES_LICENSES}"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-3.0 ISC LGPL-2.1 MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user