parent
d79f34182d
commit
2a3ed0604f
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST mc-4.8.27.tar.xz 2510296 BLAKE2B efb0f3a8beb7285a793085a8e3b3a49619d0f8a4babff7de90f7a462cf6c013bbc08b92bc48e2c2e2204799332cd0160a86e201d9368cabde78e653b4306763f SHA512 c955d66cee06e3a0e0c795f2f6b98b184762363390a903cf8ef83dc5e98e6e94d5a9c06c4788d9ff4b3ae111541df8c7dc0b864a5c21c40421a81cd8690e9a69
|
||||
DIST mc-4.8.28.tar.xz 2333072 BLAKE2B f4218e6c166df85b7b3736f0fd1414c9507c72074f06001f12b114ce6c6fbbf3688ab850aa70f5063eb3920736f878e113eb39a5d261ccfc3ffa9dab473a8436 SHA512 ca3b3a57281e9387cb52bf1fcfc3f39a4d5f438aafc256dc492c192678824f67c983a852c759664efc5bc6d0de471c9b3929834f8301f6302ca1ebeee513fdfd
|
||||
|
@ -1,123 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
MY_P=${P/_/-}
|
||||
|
||||
DESCRIPTION="GNU Midnight Commander is a text based file manager"
|
||||
HOMEPAGE="https://midnight-commander.org"
|
||||
SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE="+edit gpm nls samba sftp +slang spell test unicode X"
|
||||
|
||||
REQUIRED_USE="spell? ( edit )"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.26.0:2
|
||||
gpm? ( sys-libs/gpm )
|
||||
kernel_linux? ( sys-fs/e2fsprogs[tools(+)] )
|
||||
samba? ( net-fs/samba )
|
||||
sftp? ( net-libs/libssh2 )
|
||||
slang? ( >=sys-libs/slang-2 )
|
||||
!slang? ( sys-libs/ncurses:=[unicode(+)?] )
|
||||
spell? ( app-text/aspell )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libICE
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libSM )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-arch/xz-utils
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( dev-libs/check )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4.8.26-ncurses-mouse.patch
|
||||
)
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_pretend() {
|
||||
if use slang && use unicode ; then
|
||||
ewarn "\"unicode\" USE flag only takes effect when the \"slang\" USE flag is disabled."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# patch touches configure.ac
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
|
||||
|
||||
local myeconfargs=(
|
||||
--enable-charset
|
||||
--enable-vfs
|
||||
--with-screen=$(usex slang 'slang' "ncurses$(usex unicode 'w' '')")
|
||||
$(use_enable kernel_linux vfs-undelfs)
|
||||
# Today mclib does not expose any headers and is linked to
|
||||
# single 'mc' binary. Thus there is no advantage of having
|
||||
# a library. Let's avoid shared library altogether
|
||||
# as it also conflicts with sci-libs/mc: bug #685938
|
||||
--disable-mclib
|
||||
$(use_enable nls)
|
||||
$(use_enable samba vfs-smb)
|
||||
$(use_enable sftp vfs-sftp)
|
||||
$(use_enable spell aspell)
|
||||
$(use_enable test tests)
|
||||
$(use_with gpm gpm-mouse)
|
||||
$(use_with X x)
|
||||
$(use_with edit internal-edit)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Bug #759466
|
||||
if [[ ${EUID} == 0 ]]; then
|
||||
ewarn "You are emerging ${PN} as root with 'userpriv' disabled." \
|
||||
"Expect some test failures, or emerge with 'FEATURES=userpriv'!"
|
||||
fi
|
||||
|
||||
# CK_FORK=no to avoid using fork() in check library
|
||||
# as mc mocks fork() itself: bug #644462.
|
||||
#
|
||||
# VERBOSE=1 to make test failures contain detailed
|
||||
# information.
|
||||
CK_FORK=no emake check VERBOSE=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS README NEWS
|
||||
|
||||
# fix bug #334383
|
||||
if use kernel_linux && [[ ${EUID} == 0 ]] ; then
|
||||
fowners root:tty /usr/libexec/mc/cons.saver
|
||||
fperms g+s /usr/libexec/mc/cons.saver
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use spell && ! has_version app-dicts/aspell-en ; then
|
||||
elog "'spell' USE flag is enabled however app-dicts/aspell-en is not installed."
|
||||
elog "You should manually set 'spell_language' in the Misc section of ~/.config/mc/ini"
|
||||
elog "It has to be set to one of your installed aspell dictionaries or 'NONE'"
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "To enable exiting to latest working directory,"
|
||||
elog "put this into your ~/.bashrc:"
|
||||
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,314 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
WANT_LIBTOOL="none"
|
||||
|
||||
inherit autotools flag-o-matic pax-utils
|
||||
inherit python-utils-r1 toolchain-funcs verify-sig
|
||||
|
||||
MY_P="Python-${PV%_p*}"
|
||||
PYVER=$(ver_cut 1-2)
|
||||
PATCHSET="python-gentoo-patches-${PV}"
|
||||
|
||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
||||
HOMEPAGE="
|
||||
https://www.python.org/
|
||||
https://github.com/python/cpython/
|
||||
https://gitweb.gentoo.org/fork/cpython.git/
|
||||
"
|
||||
SRC_URI="
|
||||
https://www.python.org/ftp/python/${PV%_*}/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
|
||||
verify-sig? (
|
||||
https://www.python.org/ftp/python/${PV%_*}/${MY_P}.tar.xz.asc
|
||||
)
|
||||
"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="${PYVER}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="
|
||||
berkdb bluetooth build examples gdbm hardened +ncurses +readline
|
||||
+sqlite +ssl tk wininst +xml
|
||||
"
|
||||
|
||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
||||
# If you need to apply a patch which requires python for bootstrapping, please
|
||||
# run the bootstrap code on your dev box and include the results in the
|
||||
# patchset. See bug 447752.
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2:=
|
||||
dev-libs/libffi:=
|
||||
>=sys-libs/zlib-1.1.3:=
|
||||
virtual/libcrypt:=
|
||||
virtual/libintl
|
||||
berkdb? ( || (
|
||||
sys-libs/db:5.3
|
||||
sys-libs/db:4.8
|
||||
) )
|
||||
gdbm? ( sys-libs/gdbm:=[berkdb] )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
||||
readline? ( >=sys-libs/readline-4.1:= )
|
||||
sqlite? ( >=dev-db/sqlite-3.3.8:3= )
|
||||
ssl? ( dev-libs/openssl:= )
|
||||
tk? (
|
||||
>=dev-lang/tcl-8.0:=
|
||||
>=dev-lang/tk-8.0:=
|
||||
dev-tcltk/blt:=
|
||||
dev-tcltk/tix
|
||||
)
|
||||
xml? ( >=dev-libs/expat-2.1:= )
|
||||
"
|
||||
# bluetooth requires headers from bluez
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/awk
|
||||
virtual/pkgconfig
|
||||
verify-sig? ( sec-keys/openpgp-keys-python )
|
||||
!sys-devel/gcc[libffi(-)]
|
||||
"
|
||||
RDEPEND+="
|
||||
!build? ( app-misc/mime-types )
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/python.org.asc
|
||||
|
||||
QA_PKGCONFIG_VERSION=${PYVER}
|
||||
|
||||
pkg_setup() {
|
||||
if use berkdb; then
|
||||
ewarn "'bsddb' module is out-of-date and no longer maintained inside"
|
||||
ewarn "dev-lang/python. 'bsddb' and 'dbhash' modules have been additionally"
|
||||
ewarn "removed in Python 3. A maintained alternative of 'bsddb3' module"
|
||||
ewarn "is provided by dev-python/bsddb3."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use verify-sig; then
|
||||
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
||||
rm -r Modules/expat || die
|
||||
rm -r Modules/_ctypes/libffi* || die
|
||||
rm -r Modules/zlib || die
|
||||
|
||||
local PATCHES=(
|
||||
"${WORKDIR}/${PATCHSET}"
|
||||
)
|
||||
|
||||
default
|
||||
|
||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
||||
Lib/distutils/command/install.py \
|
||||
Lib/distutils/sysconfig.py \
|
||||
Lib/site.py \
|
||||
Lib/sysconfig.py \
|
||||
Lib/test/test_site.py \
|
||||
Makefile.pre.in \
|
||||
Modules/Setup.dist \
|
||||
Modules/getpath.c \
|
||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# dbm module can be linked against berkdb or gdbm.
|
||||
# Defaults to gdbm when both are enabled, #204343.
|
||||
local disable
|
||||
use berkdb || use gdbm || disable+=" dbm"
|
||||
use berkdb || disable+=" _bsddb"
|
||||
# disable automagic bluetooth headers detection
|
||||
use bluetooth || export ac_cv_header_bluetooth_bluetooth_h=no
|
||||
use gdbm || disable+=" gdbm"
|
||||
use ncurses || disable+=" _curses _curses_panel"
|
||||
use readline || disable+=" readline"
|
||||
use sqlite || disable+=" _sqlite3"
|
||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
||||
use tk || disable+=" _tkinter"
|
||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
||||
export PYTHON_DISABLE_MODULES="${disable}"
|
||||
|
||||
if ! use xml; then
|
||||
ewarn "You have configured Python without XML support."
|
||||
ewarn "This is NOT a recommended configuration as you"
|
||||
ewarn "may face problems parsing any XML documents."
|
||||
fi
|
||||
|
||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
||||
fi
|
||||
|
||||
append-flags -fwrapv
|
||||
|
||||
filter-flags -malign-double
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
# Force some tests that try to poke fs paths.
|
||||
export ac_cv_file__dev_ptc=no
|
||||
export ac_cv_file__dev_ptmx=yes
|
||||
fi
|
||||
|
||||
# Export CXX so it ends up in /usr/lib/python2.X/config/Makefile.
|
||||
tc-export CXX
|
||||
# The configure script fails to use pkg-config correctly.
|
||||
# http://bugs.python.org/issue15506
|
||||
export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
|
||||
|
||||
local dbmliborder=
|
||||
if use gdbm; then
|
||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
||||
fi
|
||||
if use berkdb; then
|
||||
dbmliborder+="${dbmliborder:+:}bdb"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
# The check is broken on clang, and gives false positive:
|
||||
# https://bugs.gentoo.org/596798
|
||||
# (upstream dropped this flag in 3.2a4 anyway)
|
||||
ac_cv_opt_olimit_ok=no
|
||||
# glibc-2.30 removes it; since we can't cleanly force-rebuild
|
||||
# Python on glibc upgrade, remove it proactively to give
|
||||
# a chance for users rebuilding python before glibc
|
||||
ac_cv_header_stropts_h=no
|
||||
|
||||
--with-fpectl
|
||||
--enable-shared
|
||||
--enable-ipv6
|
||||
--with-threads
|
||||
--enable-unicode=ucs4
|
||||
--infodir='${prefix}/share/info'
|
||||
--mandir='${prefix}/share/man'
|
||||
--with-computed-gotos
|
||||
--with-dbmliborder="${dbmliborder}"
|
||||
--with-libc=
|
||||
--enable-loadable-sqlite-extensions
|
||||
--without-ensurepip
|
||||
--with-system-expat
|
||||
--with-system-ffi
|
||||
)
|
||||
|
||||
# disable implicit optimization/debugging flags
|
||||
local -x OPT=
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
|
||||
eerror "configure has detected that the sem_open function is broken."
|
||||
eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
|
||||
die "Broken sem_open function (bug 496328)"
|
||||
fi
|
||||
|
||||
# install epython.py as part of stdlib
|
||||
echo "EPYTHON='python${PYVER}'" > Lib/epython.py || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Ensure sed works as expected
|
||||
# https://bugs.gentoo.org/594768
|
||||
local -x LC_ALL=C
|
||||
|
||||
# Avoid invoking pgen for cross-compiles.
|
||||
touch Include/graminit.h Python/graminit.c || die
|
||||
|
||||
emake
|
||||
|
||||
# Work around bug 329499. See also bug 413751 and 457194.
|
||||
if has_version dev-libs/libffi[pax-kernel]; then
|
||||
pax-mark E python
|
||||
else
|
||||
pax-mark m python
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests will not work when cross compiling.
|
||||
if tc-is-cross-compiler; then
|
||||
elog "Disabling tests due to crosscompiling."
|
||||
return
|
||||
fi
|
||||
|
||||
# Skip failing tests.
|
||||
local skipped_tests=( distutils gdb )
|
||||
|
||||
for test in "${skipped_tests[@]}"; do
|
||||
mv Lib/test/test_${test}.py "${T}"/ || die
|
||||
done
|
||||
|
||||
# bug 660358
|
||||
local -x COLUMNS=80
|
||||
|
||||
# Daylight saving time problem
|
||||
# https://bugs.python.org/issue22067
|
||||
# https://bugs.gentoo.org/610628
|
||||
local -x TZ=UTC
|
||||
|
||||
# Rerun failed tests in verbose mode (regrtest -w).
|
||||
emake test EXTRATESTOPTS="-w" < /dev/tty
|
||||
|
||||
for test in "${skipped_tests[@]}"; do
|
||||
mv "${T}/test_${test}.py" Lib/test/ || die
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local libdir=${ED}/usr/$(get_libdir)/python${PYVER}
|
||||
|
||||
emake DESTDIR="${D}" altinstall
|
||||
|
||||
sed -e "s/\(LDFLAGS=\).*/\1/" -i "${libdir}/config/Makefile" || die
|
||||
|
||||
# Remove static library
|
||||
rm "${ED}"/usr/$(get_libdir)/libpython*.a || die
|
||||
|
||||
# Fix collisions between different slots of Python.
|
||||
mv "${ED}/usr/bin/2to3" "${ED}/usr/bin/2to3-${PYVER}" || die
|
||||
mv "${ED}/usr/bin/pydoc" "${ED}/usr/bin/pydoc${PYVER}" || die
|
||||
mv "${ED}/usr/bin/idle" "${ED}/usr/bin/idle${PYVER}" || die
|
||||
rm "${ED}/usr/bin/smtpd.py" || die
|
||||
|
||||
if ! use berkdb; then
|
||||
rm -r "${libdir}/"{bsddb,dbhash.py*,test/test_bsddb*} || die
|
||||
fi
|
||||
if ! use sqlite; then
|
||||
rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
|
||||
fi
|
||||
if ! use tk; then
|
||||
rm -r "${ED}/usr/bin/idle${PYVER}" || die
|
||||
rm -r "${libdir}/"{idlelib,lib-tk} || die
|
||||
fi
|
||||
if ! use wininst; then
|
||||
rm "${libdir}/distutils/command/"wininst-*.exe || die
|
||||
fi
|
||||
|
||||
dodoc Misc/{ACKS,HISTORY,NEWS}
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r Tools
|
||||
fi
|
||||
|
||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
|
||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
|
||||
sed \
|
||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
|
||||
-e "s:@PYDOC@:pydoc${PYVER}:" \
|
||||
-i "${ED}/etc/conf.d/pydoc-${PYVER}" \
|
||||
"${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed"
|
||||
|
||||
# python2* is no longer wrapped, so just symlink it
|
||||
local pymajor=${PYVER%.*}
|
||||
dosym "python${PYVER}" "/usr/bin/python${pymajor}"
|
||||
dosym "python${PYVER}-config" "/usr/bin/python${pymajor}-config"
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST luaexpat-1.4.1.tar.gz 52159 BLAKE2B dd870d2d2db8bc1e399a306eff91138752f346f50ec1283a611c3ef42591e5176beab59aa96b87c772ba0320d98fc8a5907048e539cde6c14757e9a026aacc81 SHA512 fbc03287a237c13f395574ddf08a931ded0f457728b01bdc0a0533d212a0c908d74230be3c9e7f85a54ac244043cd853be3bf13d284185ad3e3ce6818d157635
|
||||
DIST luaexpat-1.5.0.tar.gz 53520 BLAKE2B 1793f842771e730022abf512731eece538b6edefd10786295842f467af3cbfbdc94e65ea035b1ce9bc849a1ee4f0ca445bd0b66816a6d18bb786d19ced6b3586 SHA512 0ac151148101d62f1358f5f310be57de5379891ceda76f0eb821a8b56d0d9c781feaf1db601d982339cd4837f9504b1f9b8b14ebf3a7245925473f6824bbc8b3
|
||||
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
|
||||
inherit lua toolchain-funcs
|
||||
|
||||
DESCRIPTION="A SAX XML parser based on the Expat library"
|
||||
HOMEPAGE="https://github.com/lunarmodules/luaexpat"
|
||||
SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/expat
|
||||
${LUA_DEPS}
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
HTML_DOCS=( "docs/." )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Respect users CFLAGS
|
||||
sed -e 's/-O2//g' -i Makefile || die
|
||||
|
||||
lua_copy_sources
|
||||
}
|
||||
|
||||
lua_src_compile() {
|
||||
pushd "${BUILD_DIR}" || die
|
||||
|
||||
local myemakeargs=(
|
||||
"CC=$(tc-getCC)"
|
||||
"LUA_INC=$(lua_get_CFLAGS)"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}"
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
lua_foreach_impl lua_src_compile
|
||||
}
|
||||
|
||||
lua_src_install() {
|
||||
pushd "${BUILD_DIR}" || die
|
||||
|
||||
local myemakeargs=(
|
||||
"DESTDIR=${ED}"
|
||||
"LUA_CDIR=$(lua_get_cmod_dir)"
|
||||
"LUA_INC=$(lua_get_include_dir)"
|
||||
"LUA_LDIR=$(lua_get_lmod_dir)"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}" install
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
src_install() {
|
||||
lua_foreach_impl lua_src_install
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST luasocket-3.0.0.tar.gz 336231 BLAKE2B 71b87041a1edb2616ba269160382ac5cea6ba9b623281e8069e8adf97b6898d7836add7eff949010a1bc890bff8d2e4797a2ff5c619b45f8ee3adee5d6633843 SHA512 4f93d6c0b602333df50ee4f939cd0419243f6de333472ffebf99334e301143e8cdee3bc1655c29f81608622d6e7850a9bcf6929a6d4748210a70cdb8218a1ec6
|
||||
DIST luasocket-3.1.0.tar.gz 336542 BLAKE2B 64d3ab7028050a93a93db444a4d1757f579f111e79c2f84629d0eb9558fc594918614a48cd1cb522d573b84bb4096537fb7950834adeacfffb3e060721402f71 SHA512 1e9e98484740ec6538fe3d2b0dab74d31f052956ecf9ee3b60e229f2d0b13fcc6d4aaf74cd2a3e2ee330333dabb316fe6a43c60baaea26f0cc01069b6aa4519b
|
||||
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
MY_P="${PN}-${EGIT_COMMIT}"
|
||||
|
||||
inherit lua toolchain-funcs
|
||||
|
||||
DESCRIPTION="Networking support for the Lua language"
|
||||
HOMEPAGE="
|
||||
http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
|
||||
https://github.com/lunarmodules/luasocket
|
||||
"
|
||||
SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="${LUA_DEPS}"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
HTML_DOCS="docs/."
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.0_rc1_p20200328_publish_API.patch"
|
||||
"${FILESDIR}/${PN}-3.0.0_makefile.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Set correct version, as upstream shows wrongly '-rc1'.
|
||||
# This has been already changed by upstream, but no new release.
|
||||
sed -e 's/-rc1/.0/g' -i src/luasocket.h || die
|
||||
|
||||
lua_copy_sources
|
||||
}
|
||||
|
||||
lua_src_compile() {
|
||||
pushd "${BUILD_DIR}" || die
|
||||
|
||||
local myemakeargs=(
|
||||
"CC=$(tc-getCC)"
|
||||
"LD=$(tc-getCC)"
|
||||
"LUAINC_linux=$(lua_get_include_dir)"
|
||||
"LUAV=${ELUA}"
|
||||
"MIME_V=1.0.3-${ELUA}"
|
||||
"MYCFLAGS=${CFLAGS}"
|
||||
"MYLDFLAGS=${LDFLAGS}"
|
||||
"SOCKET_V=3.0.0-${ELUA}"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}" all
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
lua_foreach_impl lua_src_compile
|
||||
}
|
||||
|
||||
lua_src_install() {
|
||||
pushd "${BUILD_DIR}" || die
|
||||
|
||||
local myemakeargs=(
|
||||
"CDIR=$(lua_get_cmod_dir)"
|
||||
"DESTDIR=${ED}"
|
||||
"LDIR=$(lua_get_lmod_dir)"
|
||||
"LUAPREFIX_linux="
|
||||
"MIME_V=1.0.3-${ELUA}"
|
||||
"SOCKET_V=3.0.0-${ELUA}"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}" install
|
||||
emake "${myemakeargs[@]}" install-unix
|
||||
|
||||
insinto "$(lua_get_include_dir)"/luasocket
|
||||
doins src/*.h
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
src_install() {
|
||||
lua_foreach_impl lua_src_install
|
||||
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,31 @@
|
||||
From fd1fc5e3c72ac4511f86852b1704821c440bdb3d Mon Sep 17 00:00:00 2001
|
||||
From: Michael Orlitzky <michael@orlitzky.com>
|
||||
Date: Tue, 3 Jan 2017 12:56:18 -0500
|
||||
Subject: [PATCH 1/1] Set TTF_DIR to the Gentoo corefonts location.
|
||||
|
||||
The default value of TTF_DIR in jpg-config.inc.php points to
|
||||
/usr/share/fonts/truetype, a location that does not exist on
|
||||
Gentoo. Since JpGraph largely only supports the Microsoft
|
||||
corefonts, we point it to /usr/share/fonts/corefonts instead.
|
||||
If the user does not have the corefonts installed, this is no
|
||||
great loss: neither location exists.
|
||||
---
|
||||
src/jpg-config.inc.php | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/jpg-config.inc.php b/src/jpg-config.inc.php
|
||||
index ea16c1e..98cbdc7 100755
|
||||
--- a/src/jpg-config.inc.php
|
||||
+++ b/src/jpg-config.inc.php
|
||||
@@ -36,7 +36,7 @@
|
||||
//
|
||||
//------------------------------------------------------------------------
|
||||
// define('CACHE_DIR','/tmp/jpgraph_cache/');
|
||||
- define('TTF_DIR','/usr/share/fonts/truetype/msttcorefonts/');
|
||||
+define('TTF_DIR','/usr/share/fonts/corefonts/');
|
||||
// define('MBTTF_DIR','/usr/share/fonts/TrueType/');
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
--
|
||||
2.10.2
|
||||
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST dj-database-url-0.5.0.gh.tar.gz 6309 BLAKE2B 72647f8651d595b4020161b15364836b8483bf8a12ec72e434bc9d0583878ee9f4e4c76110581f285adddac3e7c2d7bc071f720a7fde91c84c3ea53b6c979300 SHA512 541d5177bff0fcc21372d2d9dc699ba11de1b1cabf10d61fb9f1e844a6dd4d46df5c7fdb6ccb4505cf984e41d7a2ae4e3af5e7d05072b0ed6982499eac5aac66
|
||||
DIST dj-database-url-1.0.0.gh.tar.gz 11355 BLAKE2B 9ea50eb2646367333556133020a59f332cb69e05fb392f328558f77cb03ffa968cf62241f3823e28600799a1399ac1335b90477a26a4931b0df7b695b502e9be SHA512 35ca0c05910812e10bf63b061afb434ac7c562e3d994b6e452250fe4ec95983fe8353aec0df9c7638a990684e612863ddada5be48485a1db3120e110f6d0fa94
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Use Database URLs in your Django Application"
|
||||
HOMEPAGE="
|
||||
https://github.com/jazzband/dj-database-url/
|
||||
https://pypi.org/project/dj-database-url/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/jazzband/dj-database-url/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
distutils_enable_tests unittest
|
@ -1,2 +1 @@
|
||||
DIST doc8-0.11.2.tar.gz 25898 BLAKE2B 097c6d6b82fe4acf7cfc43ff7860334f0a53df3ca39def33de4b9f04553acab785fe339d8126dd5ae56a7d45c846c575b9c689eed47bc47302b89fd5bfabfe3a SHA512 f607251c3ae792b3210893b2074bb34aad866a54645c4244ef53e156a4c3af9cfb61ddb93617d153510cc6868be7f04409eac47f66f91d4d0b9400bb7aca0eb1
|
||||
DIST doc8-1.0.0.tar.gz 26058 BLAKE2B 0113a4738804a9ed0446ae26b18f0f7da9dd3c4a90c598e03c78d3124f5db42dbc38f1f17af05ef60cb645a8b18bcb20aeb2f5cc00c44814afd572d92b2d0301 SHA512 98ad904a994536de80d6e89a221e3d7159d5188a0f57d07961f646e0591f81790f06c624ef90c32e28ff89ecf9e39b2b052363995aaece6a4e30f643c37964b9
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Style checker for Sphinx (or other) RST documentation"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/doc8/
|
||||
https://github.com/pycqa/doc8/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
>=dev-python/restructuredtext-lint-0.7[${PYTHON_USEDEP}]
|
||||
dev-python/stevedore[${PYTHON_USEDEP}]
|
||||
dev-python/tomli[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( pypy3 python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An implementation of JSON-Schema validation for Python"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/jsonschema/
|
||||
https://github.com/python-jsonschema/jsonschema/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/attrs-17.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyrsistent-0.18.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/importlib_resources-1.4.0[${PYTHON_USEDEP}]
|
||||
' 3.8)
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/hatch-vcs[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
# formatter deps
|
||||
RDEPEND+="
|
||||
dev-python/fqdn[${PYTHON_USEDEP}]
|
||||
dev-python/idna[${PYTHON_USEDEP}]
|
||||
dev-python/isoduration[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}]
|
||||
dev-python/rfc3339-validator[${PYTHON_USEDEP}]
|
||||
dev-python/rfc3986-validator[${PYTHON_USEDEP}]
|
||||
dev-python/rfc3987[${PYTHON_USEDEP}]
|
||||
dev-python/uri_template[${PYTHON_USEDEP}]
|
||||
>=dev-python/webcolors-1.11[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# requires pip, does not make much sense for the users
|
||||
jsonschema/tests/test_cli.py::TestCLIIntegration::test_license
|
||||
# wtf?
|
||||
jsonschema/tests/test_deprecations.py::TestDeprecations::test_version
|
||||
)
|
@ -1,2 +1 @@
|
||||
DIST pep517-0.12.0.gh.tar.gz 24726 BLAKE2B 7d022ab88c68b7254df5d922db2f571e2bab2ee58b8a2ed0ce1adeadf89f22f11f6a609b558133acfed5342a9cf6a398d805949bdfb485a4abf272e2b9322e05 SHA512 6b224759733c1f5e346909788233b0acf49c60a0b6ef2d99d953b2e7bb570b2913fd0b133d5bc6884ec3de98adf2e41fa9506fed344b8fd76cc58dfcd1778e80
|
||||
DIST pep517-0.13.0.gh.tar.gz 23816 BLAKE2B d1bab5fe1a629384dcd264c0ea3d42d6b11de3530441de5de49516543630293b9a8023c8a55b291a7a415f8c90d4077f156cd036ed7fd477339d1210bfe47059 SHA512 dc534e73ea8659994041a39c8bfc92ee0a81b164c2d1ee383e3549d830f513fc89227d1bda3f749352532d0610e450de6b2be956aa4387f4b2f272d9f8aec0a0
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Wrappers to build Python packages using PEP 517 hooks"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/pep517/
|
||||
https://github.com/pypa/pep517/
|
||||
https://pep517.readthedocs.io/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/pypa/pep517/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/tomli[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/testpath[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# require Internet
|
||||
tests/test_meta.py
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/--flake8/d' pytest.ini || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST rdflib-6.1.1.tar.gz 1587670 BLAKE2B f13831124a8f292f0481f5ee9995b6b7ba82992cbe51abb0067703b2acee9f13ce5a62379636ac9f36823afa5b841799c1f26358efb6c12eca2df333611d5488 SHA512 049608dc37dba929eac1e40431885d319311f27be9fddc292d768e3703927e61a646a73137e4a1eaa16836cfba4606ea2cfd8fe3a86cfbf10e3271cee2ee251f
|
||||
DIST rdflib-6.2.0.gh.tar.gz 4886953 BLAKE2B 74044b0cbaf6c1ba6f2a43347112118dcf92b5237afdd49782ca6d637df092379ff2d81eaec254ad0bf25057f8c0cd44c82a35a89d4ce7b21c8e222de9aef16a SHA512 8177c50e9c2d48859a061dfee24c3560b8f979bc306b3d940a9251ec130e3a324bbad474f4fa7ced5e11522d3bd4e13931461bf106f31177fd972806968d8245
|
||||
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_REQ_USE="sqlite?,threads(+)"
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="RDF library containing a triple store and parser/serializer"
|
||||
HOMEPAGE="https://github.com/RDFLib/rdflib https://pypi.org/project/rdflib/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
|
||||
IUSE="examples sqlite"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/isodate[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/berkeleydb[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# Uses network
|
||||
test/test_so_69984830.py
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# these tests require internet access
|
||||
sed -e '/doctest/d' -i setup.cfg || die
|
||||
rm test/{test_sparql_service.py,test_graph.py,jsonld/test_onedotone.py} || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "support for sys-libs/db (Berkeley DB for MySQL)" dev-python/berkeleydb
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST scipy-1.8.1.tar.gz 38196215 BLAKE2B 180ae646adba2031a4bf99cd4feefe652b8e340110b3b2872e61aa1083054aadf369c7e3b3e3fd8fb71fcd831c95841d2dadd1c71e35e5f7d95800e5551173f0 SHA512 f6fc71c209991fe82baa4b10d8ade0deb1057f6f5942a91dfb7ae45f3eb78a4535efa2861badf5e2d37239fa99dbd99de760aa7e4854b95991ade0263004e7ea
|
||||
DIST scipy-1.9.0.tar.gz 42016757 BLAKE2B ca25b3ad44091230c5ecdfa832b382a1f5449565aa460b169a886505e7583399d316fe48f420d45b9993e6522d46fbbd6405e08fcfb8dc02ed5febb2e09749e7 SHA512 03d38f3298e2ca2dcc376acb09593f47a007f2b166508b91cd6f3e3cc417fa3579084aaa806365afee8679b473340b0eba86b36def957da45be404c4b6607675
|
||||
DIST scipy-1.9.1.tar.gz 42019478 BLAKE2B aa7f9e8f354d2c73cfeb0e349562279ec323e6c16641c82c47080108d21f385acb1431c1f072e454a043f56e8fd708778fc34c0eddaceedca979f40b6b11e358 SHA512 1378a24c59b66e2818929acd015fe5408cdd57926d96b7b909d5eb7e2bb6bae942e8fe802f107c8b0901af9873b8e24461624ca0917867e24bb50c7d28e09e71
|
||||
DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
|
||||
DIST scipy-ref-1.8.1.pdf 35025868 BLAKE2B 9221755d2dc69b8623271f75ff3078a0a4410fe9ff69ee317b40bf145af7da21a7f5f4b6b67820d8bb2878f83b7014f1ea7c2f0e026afb716da0479d394505e2 SHA512 8f27dcb9dd1030e15266389af21a1475ecfec5ea777fb2dbcf8db8d3398ac6e45c7040b8d6dbaffd29be3920925427be7c55efdc8094d670c857edfdab7f7728
|
||||
|
@ -0,0 +1,104 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=meson-python
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit fortran-2 distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="Scientific algorithms library for Python"
|
||||
HOMEPAGE="
|
||||
https://scipy.org/
|
||||
https://github.com/scipy/scipy/
|
||||
https://pypi.org/project/scipy/
|
||||
"
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
# Need submodules, so git for now.
|
||||
EGIT_REPO_URI="https://github.com/scipy/scipy"
|
||||
EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
|
||||
EGIT_SUBMODULES=( '*' )
|
||||
else
|
||||
# Upstream is often behind with doc updates
|
||||
DOC_PV=1.8.1
|
||||
MY_PV=${PV/_rc/rc}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
SRC_URI="
|
||||
mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
|
||||
doc? (
|
||||
https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
|
||||
https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
|
||||
)"
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
if [[ ${PV} != *rc* ]] ; then
|
||||
KEYWORDS="~amd64 ~arm64 -hppa ~ppc64 ~riscv"
|
||||
fi
|
||||
fi
|
||||
|
||||
LICENSE="BSD LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
# umfpack is technically optional but it's preferred to have it available.
|
||||
DEPEND="
|
||||
>=dev-python/numpy-1.18.5[lapack,${PYTHON_USEDEP}]
|
||||
sci-libs/arpack:=
|
||||
sci-libs/umfpack
|
||||
virtual/cblas
|
||||
>=virtual/lapack-3.8
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
"
|
||||
# TODO: restore pythran optionality?
|
||||
BDEPEND="
|
||||
dev-lang/swig
|
||||
>=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
|
||||
dev-python/pybind11[${PYTHON_USEDEP}]
|
||||
dev-python/pythran[${PYTHON_USEDEP}]
|
||||
>=dev-util/meson-0.62.2
|
||||
dev-util/patchelf
|
||||
virtual/pkgconfig
|
||||
doc? ( app-arch/unzip )
|
||||
test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.9.9999-meson-options-lapack.patch
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
linalg/tests/test_decomp.py::TestSchur::test_sort
|
||||
linalg/tests/test_solvers.py::test_solve_discrete_are
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${T}" || die
|
||||
|
||||
epytest -n "$(makeopts_jobs)" --pyargs scipy
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && \
|
||||
local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
|
||||
local HTML_DOCS=( "${WORKDIR}"/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,7 +1 @@
|
||||
DIST sentry-sdk-1.8.0.gh.tar.gz 286488 BLAKE2B d47f33a1c83cfffa6e4a801a6fdfde132d4cfe1b734e464c4db60e97abf53ebe503c53c3edd89d1a84e655a348a4463a75c3475d4824d03cd9b95733b13b5532 SHA512 aa3be96dbc55265f17371d8f20f8b3116b4310cbc1d078b62beeb1fd90bdbb840db85c25309e16f793a188d373c6dbcfd11a104db21b60221a5fb06d8deacc2d
|
||||
DIST sentry-sdk-1.9.0.gh.tar.gz 290271 BLAKE2B fcb4c45c129faf23a1177167e2bdd567a7ff228abbaa782676abb16c29e9c4cccef89f67ae5cd28c4f2b25e6687152fdc5eab0c7d981021a8df16374dc4e1fec SHA512 4f287bad8e9dd8eaad8f8a31d7335ccf6bfe72cc0ba8c0b26abcbd7e326bad886709d001976966a7b917f39e1ca249fa881abf29778cfd4bd65c63f05a6f6ef2
|
||||
DIST sentry-sdk-1.9.1.gh.tar.gz 270398 BLAKE2B 66ee16816d312b38df737c5ecb0ecc4a2189c932c162bbedf165f2a153029e95c389372a4638d5f71f669ac780710769e4708c3e7673573d1b1e79a29cbf93c9 SHA512 5997252aeee900125e42d7275627359ca5382707162b93e45b238c11a181ac724fea327fa1b29deed63dbf800463d10c9d2a8e8943c32b907e4eac055e399297
|
||||
DIST sentry-sdk-1.9.2.gh.tar.gz 270400 BLAKE2B 690e62c1b4f64677442ac46b15973173d96d587b71786f5c2e0a9e8d15aec7978b86b247a52ff15b6d0dc9665f8eafa4b1ad458d3aa3fca3447e7c9946503c69 SHA512 189916cf8b931df73eaa252bbc2f3beb53bf56529d50ebe79affd04e9684ffa89e1f66ec651b7dca6fbd5de641333ddd6f65512978ee06c2abb73617bd6f3ea2
|
||||
DIST sentry-sdk-1.9.3.gh.tar.gz 270453 BLAKE2B e971c89ccdbe3831e49cf48db4673c54f4110878e45e92bf5f8142a876b8382fc714e9e3fc124c36495c8cda24efabad9486fc0cdb939a034c931a718e21c501 SHA512 4a31507635cbe3932ecb548273f32cfd6098d5ed4eed2771a37b79f98a4c97f12d50b89f63f357424355d5657bc2bdb3e49f0984db4e9c9ee7ee31b984d0367e
|
||||
DIST sentry-sdk-1.9.4.gh.tar.gz 271140 BLAKE2B 07ba10c72ec61c1bd6a54899712b5880ddf4c4f67ae9f127184d0251e93ae0a7374441ba77eb54c871684152613db55a582ca98f787884ef834f658d743abccd SHA512 2b0089b29da002e6236b93033f36bc0a6ba08d4643021f6bc2e30807a84867030dad088e1ff6b917f5b9dbc2da06305c3e58cdd9f9c10009df5063640cb8796a
|
||||
DIST sentry-sdk-1.9.5.gh.tar.gz 272096 BLAKE2B 179be647b92a74a1836f26add33e4b98007d19eff7454eb4968a2029003b7c1601d2eecad162a109508942b2f65086db32df6191c7f7986b5ab831295a8d3775 SHA512 d909ea9552a845b7022fdbbd06e3c49b2f136ca66771f20cb74b82f9eda7f63bee6c095eddefad7623a224bb9d6bf2b775c3c9405a0b55cd520952c3fe67c22d
|
||||
|
@ -1,95 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python client for Sentry"
|
||||
HOMEPAGE="
|
||||
https://sentry.io/
|
||||
https://github.com/getsentry/sentry-python/
|
||||
https://pypi.org/project/sentry-sdk/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/sentry-python-${PV}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/asttokens[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/executing[${PYTHON_USEDEP}]
|
||||
dev-python/fakeredis[${PYTHON_USEDEP}]
|
||||
dev-python/flask-login[${PYTHON_USEDEP}]
|
||||
dev-python/gevent[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pyrsistent[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-django[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-localserver[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/zope-event[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/eventlet[${PYTHON_USEDEP}]
|
||||
' python3_{8..9})
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# tests require Internet access
|
||||
tests/integrations/httpx/test_httpx.py
|
||||
tests/integrations/requests/test_requests.py
|
||||
tests/integrations/stdlib/test_httplib.py
|
||||
tests/integrations/flask/test_flask.py
|
||||
tests/integrations/django/test_basic.py
|
||||
# wtf is it supposed to do?!
|
||||
tests/integrations/gcp/test_gcp.py
|
||||
# broken by rq-1.10.1 (optional dep)
|
||||
tests/integrations/rq/test_rq.py
|
||||
# fastapi is not packaged
|
||||
tests/integrations/asgi/test_fastapi.py
|
||||
# TODO
|
||||
tests/integrations/bottle
|
||||
# requires python-multipart (TODO: package it)
|
||||
tests/integrations/starlette
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# hangs
|
||||
'tests/test_transport.py::test_transport_works'
|
||||
# TODO
|
||||
'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error'
|
||||
tests/test_client.py::test_databag_depth_stripping
|
||||
tests/test_client.py::test_databag_string_stripping
|
||||
tests/test_client.py::test_databag_breadth_stripping
|
||||
tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates
|
||||
tests/integrations/asgi/test_asgi.py::test_websocket
|
||||
tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style
|
||||
tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context
|
||||
# incompatible version?
|
||||
tests/integrations/falcon/test_falcon.py
|
||||
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated
|
||||
# test_circular_references: apparently fragile
|
||||
'tests/integrations/threading/test_threading.py::test_circular_references'
|
||||
# test for new feature, fails with IndexError
|
||||
tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler
|
||||
# TODO
|
||||
tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates
|
||||
)
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python client for Sentry"
|
||||
HOMEPAGE="
|
||||
https://sentry.io/
|
||||
https://github.com/getsentry/sentry-python/
|
||||
https://pypi.org/project/sentry-sdk/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/sentry-python-${PV}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/asttokens[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/executing[${PYTHON_USEDEP}]
|
||||
dev-python/fakeredis[${PYTHON_USEDEP}]
|
||||
dev-python/flask-login[${PYTHON_USEDEP}]
|
||||
dev-python/gevent[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pyrsistent[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-django[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-localserver[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/zope-event[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/eventlet[${PYTHON_USEDEP}]
|
||||
' python3_{8..9})
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# tests require Internet access
|
||||
tests/integrations/httpx/test_httpx.py
|
||||
tests/integrations/requests/test_requests.py
|
||||
tests/integrations/stdlib/test_httplib.py
|
||||
tests/integrations/flask/test_flask.py
|
||||
tests/integrations/django/test_basic.py
|
||||
# wtf is it supposed to do?!
|
||||
tests/integrations/gcp/test_gcp.py
|
||||
# broken by rq-1.10.1 (optional dep)
|
||||
tests/integrations/rq/test_rq.py
|
||||
# fastapi is not packaged
|
||||
tests/integrations/asgi/test_fastapi.py
|
||||
# TODO
|
||||
tests/integrations/bottle
|
||||
# requires python-multipart (TODO: package it)
|
||||
tests/integrations/starlette
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# hangs
|
||||
'tests/test_transport.py::test_transport_works'
|
||||
# TODO
|
||||
'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error'
|
||||
tests/test_client.py::test_databag_depth_stripping
|
||||
tests/test_client.py::test_databag_string_stripping
|
||||
tests/test_client.py::test_databag_breadth_stripping
|
||||
tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates
|
||||
tests/integrations/asgi/test_asgi.py::test_websocket
|
||||
tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style
|
||||
tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context
|
||||
# incompatible version?
|
||||
tests/integrations/falcon/test_falcon.py
|
||||
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated
|
||||
# test_circular_references: apparently fragile
|
||||
'tests/integrations/threading/test_threading.py::test_circular_references'
|
||||
# test for new feature, fails with IndexError
|
||||
tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler
|
||||
# TODO
|
||||
tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates
|
||||
tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled
|
||||
)
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python client for Sentry"
|
||||
HOMEPAGE="
|
||||
https://sentry.io/
|
||||
https://github.com/getsentry/sentry-python/
|
||||
https://pypi.org/project/sentry-sdk/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/sentry-python-${PV}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/asttokens[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/executing[${PYTHON_USEDEP}]
|
||||
dev-python/fakeredis[${PYTHON_USEDEP}]
|
||||
dev-python/flask-login[${PYTHON_USEDEP}]
|
||||
dev-python/gevent[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pyrsistent[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-django[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-localserver[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/zope-event[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/eventlet[${PYTHON_USEDEP}]
|
||||
' python3_{8..9})
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# tests require Internet access
|
||||
tests/integrations/httpx/test_httpx.py
|
||||
tests/integrations/requests/test_requests.py
|
||||
tests/integrations/stdlib/test_httplib.py
|
||||
tests/integrations/flask/test_flask.py
|
||||
tests/integrations/django/test_basic.py
|
||||
# wtf is it supposed to do?!
|
||||
tests/integrations/gcp/test_gcp.py
|
||||
# broken by rq-1.10.1 (optional dep)
|
||||
tests/integrations/rq/test_rq.py
|
||||
# fastapi is not packaged
|
||||
tests/integrations/asgi/test_fastapi.py
|
||||
# TODO
|
||||
tests/integrations/bottle
|
||||
# requires python-multipart (TODO: package it)
|
||||
tests/integrations/starlette
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# hangs
|
||||
'tests/test_transport.py::test_transport_works'
|
||||
# TODO
|
||||
'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error'
|
||||
tests/test_client.py::test_databag_depth_stripping
|
||||
tests/test_client.py::test_databag_string_stripping
|
||||
tests/test_client.py::test_databag_breadth_stripping
|
||||
tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates
|
||||
tests/integrations/asgi/test_asgi.py::test_websocket
|
||||
tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style
|
||||
tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context
|
||||
# incompatible version?
|
||||
tests/integrations/falcon/test_falcon.py
|
||||
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated
|
||||
# test_circular_references: apparently fragile
|
||||
'tests/integrations/threading/test_threading.py::test_circular_references'
|
||||
# test for new feature, fails with IndexError
|
||||
tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler
|
||||
# TODO
|
||||
tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates
|
||||
tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled
|
||||
)
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python client for Sentry"
|
||||
HOMEPAGE="
|
||||
https://sentry.io/
|
||||
https://github.com/getsentry/sentry-python/
|
||||
https://pypi.org/project/sentry-sdk/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/sentry-python-${PV}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/asttokens[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/executing[${PYTHON_USEDEP}]
|
||||
dev-python/fakeredis[${PYTHON_USEDEP}]
|
||||
dev-python/flask-login[${PYTHON_USEDEP}]
|
||||
dev-python/gevent[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pyrsistent[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-django[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-localserver[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/zope-event[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/eventlet[${PYTHON_USEDEP}]
|
||||
' python3_{8..9})
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# tests require Internet access
|
||||
tests/integrations/httpx/test_httpx.py
|
||||
tests/integrations/requests/test_requests.py
|
||||
tests/integrations/stdlib/test_httplib.py
|
||||
tests/integrations/flask/test_flask.py
|
||||
tests/integrations/django/test_basic.py
|
||||
# wtf is it supposed to do?!
|
||||
tests/integrations/gcp/test_gcp.py
|
||||
# broken by rq-1.10.1 (optional dep)
|
||||
tests/integrations/rq/test_rq.py
|
||||
# fastapi is not packaged
|
||||
tests/integrations/asgi/test_fastapi.py
|
||||
# TODO
|
||||
tests/integrations/bottle
|
||||
# requires python-multipart (TODO: package it)
|
||||
tests/integrations/starlette
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# hangs
|
||||
'tests/test_transport.py::test_transport_works'
|
||||
# TODO
|
||||
'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error'
|
||||
tests/test_client.py::test_databag_depth_stripping
|
||||
tests/test_client.py::test_databag_string_stripping
|
||||
tests/test_client.py::test_databag_breadth_stripping
|
||||
tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates
|
||||
tests/integrations/asgi/test_asgi.py::test_websocket
|
||||
tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style
|
||||
tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context
|
||||
# incompatible version?
|
||||
tests/integrations/falcon/test_falcon.py
|
||||
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated
|
||||
# test_circular_references: apparently fragile
|
||||
'tests/integrations/threading/test_threading.py::test_circular_references'
|
||||
# test for new feature, fails with IndexError
|
||||
tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler
|
||||
# TODO
|
||||
tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates
|
||||
tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled
|
||||
)
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python client for Sentry"
|
||||
HOMEPAGE="
|
||||
https://sentry.io/
|
||||
https://github.com/getsentry/sentry-python/
|
||||
https://pypi.org/project/sentry-sdk/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/sentry-python-${PV}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/asttokens[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/executing[${PYTHON_USEDEP}]
|
||||
dev-python/fakeredis[${PYTHON_USEDEP}]
|
||||
dev-python/flask-login[${PYTHON_USEDEP}]
|
||||
dev-python/gevent[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pyrsistent[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-django[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-localserver[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/zope-event[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/eventlet[${PYTHON_USEDEP}]
|
||||
' python3_{8..9})
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# tests require Internet access
|
||||
tests/integrations/httpx/test_httpx.py
|
||||
tests/integrations/requests/test_requests.py
|
||||
tests/integrations/stdlib/test_httplib.py
|
||||
tests/integrations/flask/test_flask.py
|
||||
tests/integrations/django/test_basic.py
|
||||
# wtf is it supposed to do?!
|
||||
tests/integrations/gcp/test_gcp.py
|
||||
# broken by rq-1.10.1 (optional dep)
|
||||
tests/integrations/rq/test_rq.py
|
||||
# fastapi is not packaged
|
||||
tests/integrations/asgi/test_fastapi.py
|
||||
# TODO
|
||||
tests/integrations/bottle
|
||||
# requires python-multipart (TODO: package it)
|
||||
tests/integrations/starlette
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# hangs
|
||||
'tests/test_transport.py::test_transport_works'
|
||||
# TODO
|
||||
'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error'
|
||||
tests/test_client.py::test_databag_depth_stripping
|
||||
tests/test_client.py::test_databag_string_stripping
|
||||
tests/test_client.py::test_databag_breadth_stripping
|
||||
tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates
|
||||
tests/integrations/asgi/test_asgi.py::test_websocket
|
||||
tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style
|
||||
tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context
|
||||
# incompatible version?
|
||||
tests/integrations/falcon/test_falcon.py
|
||||
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated
|
||||
# test_circular_references: apparently fragile
|
||||
'tests/integrations/threading/test_threading.py::test_circular_references'
|
||||
# test for new feature, fails with IndexError
|
||||
tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler
|
||||
# TODO
|
||||
tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates
|
||||
tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled
|
||||
)
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python client for Sentry"
|
||||
HOMEPAGE="
|
||||
https://sentry.io/
|
||||
https://github.com/getsentry/sentry-python/
|
||||
https://pypi.org/project/sentry-sdk/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/sentry-python-${PV}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/asttokens[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/executing[${PYTHON_USEDEP}]
|
||||
dev-python/fakeredis[${PYTHON_USEDEP}]
|
||||
dev-python/flask-login[${PYTHON_USEDEP}]
|
||||
dev-python/gevent[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pyrsistent[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-django[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-localserver[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/zope-event[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/eventlet[${PYTHON_USEDEP}]
|
||||
' python3_{8..9})
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# tests require Internet access
|
||||
tests/integrations/httpx/test_httpx.py
|
||||
tests/integrations/requests/test_requests.py
|
||||
tests/integrations/stdlib/test_httplib.py
|
||||
tests/integrations/flask/test_flask.py
|
||||
tests/integrations/django/test_basic.py
|
||||
# wtf is it supposed to do?!
|
||||
tests/integrations/gcp/test_gcp.py
|
||||
# broken by rq-1.10.1 (optional dep)
|
||||
tests/integrations/rq/test_rq.py
|
||||
# fastapi is not packaged
|
||||
tests/integrations/asgi/test_fastapi.py
|
||||
# TODO
|
||||
tests/integrations/bottle
|
||||
# requires python-multipart (TODO: package it)
|
||||
tests/integrations/starlette
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# hangs
|
||||
'tests/test_transport.py::test_transport_works'
|
||||
# TODO
|
||||
'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error'
|
||||
tests/test_client.py::test_databag_depth_stripping
|
||||
tests/test_client.py::test_databag_string_stripping
|
||||
tests/test_client.py::test_databag_breadth_stripping
|
||||
tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates
|
||||
tests/integrations/asgi/test_asgi.py::test_websocket
|
||||
tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style
|
||||
tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context
|
||||
# incompatible version?
|
||||
tests/integrations/falcon/test_falcon.py
|
||||
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated
|
||||
# test_circular_references: apparently fragile
|
||||
'tests/integrations/threading/test_threading.py::test_circular_references'
|
||||
# test for new feature, fails with IndexError
|
||||
tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler
|
||||
# TODO
|
||||
tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates
|
||||
tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled
|
||||
)
|
@ -1,4 +1,2 @@
|
||||
DIST setproctitle-1.2.3.tar.gz 23618 BLAKE2B 58bafb30a9b0da9cd552c7ed1ccd197a2ee7a3c70ae02773e6a857e4f16069126d2507f30206c83a24d84d030a1fc9306d024f4e5b988f73d95df049fa9c055f SHA512 ae94e3f5e1dd10e80488f81250e979a6a15c7c3ae399bf557612b9b1edbdcb8aec4e68a7f44ff7375a399ab53d6319dfb5c5c4a1e3a0bb824c40f6921c9d9c6b
|
||||
DIST setproctitle-1.3.0.tar.gz 26778 BLAKE2B 620df2c342fd76ff762135eed88b4d6d921c1c85c7865e3921c95e968de07b10cccf86e2d62297fdfb91aa5b44e9e9fb7c496aa2fdbbe039eecda668b079328e SHA512 41f0557b73ed41323c8d71d87d143ccd78f980c01027e76c7e6ff4cf375cb8cda55f01a5c4a3cd12fea3459070382b84fd1346995696df7a3e1cc03ff8e71b4e
|
||||
DIST setproctitle-1.3.1.tar.gz 27010 BLAKE2B c29f2acc1c02a375227b4f249340d979a4922d1ebf8e6f17f2e5a202ad2e41affe9d0ff8aed0345ebb534a00868896036e15a985c6d21ebbbb341afaa951ae8d SHA512 c21d87555cc258a779dbc5574ef0c58b4fdcd0cc28410a931f05974d9714f2bd9a57fbec4fa1cf16aef21ea50cd900a52eb85974c399b451bc357671d1490dc4
|
||||
DIST setproctitle-1.3.2.tar.gz 27173 BLAKE2B 252ca0a4f71e1413e2474d6c4e9cebacb1642f8c7883709d03341ce1468441509dc54eb9d4191f2aefb65c9e76e130f76a51303a272bd34a6db781d3b2a86e92 SHA512 9c6d1748685e8b62f9542f73481a587dbe7b6ca157fdcecdd8d2f66bbb71169bf31e47da51867aa0ec9b620c39677ab9a936a7537769714bdc99ef0355c743e0
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Allow customization of the process title"
|
||||
HOMEPAGE="
|
||||
https://github.com/dvarrazzo/py-setproctitle/
|
||||
https://pypi.org/project/setproctitle/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Allow customization of the process title"
|
||||
HOMEPAGE="
|
||||
https://github.com/dvarrazzo/py-setproctitle/
|
||||
https://pypi.org/project/setproctitle/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/pkgcore/snakeoil.git"
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="misc common functionality and useful optimizations"
|
||||
HOMEPAGE="https://github.com/pkgcore/snakeoil"
|
||||
|
||||
LICENSE="BSD BSD-2 MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/lazy-object-proxy[${PYTHON_USEDEP}]"
|
||||
|
||||
[[ ${PV} == 9999 ]] && BDEPEND+=" dev-python/cython[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,4 +1 @@
|
||||
DIST sphinx-autodoc-typehints-1.18.3.gh.tar.gz 26457 BLAKE2B 343a6ffcbca40f28a66c67266431f3a9b2292bd0d991de4287b9adf9e02b7d8fb24094646caa55790f32cd9081abca525f310367335d60fa1b7ea3bc9623bb1c SHA512 549bdfad8f5c07f5edb1c6cdeaff39df22cc7bfa475c70b5c54ff46b311d14c9f3682bf68663d852b95ebff8fd1b71038fc077495d99d870ae2efbf72ec99a42
|
||||
DIST sphinx-autodoc-typehints-1.19.0.gh.tar.gz 26950 BLAKE2B 4e530c0b16500d8489bed7f50518b1bc30fdc824d41eb6cc66786096c09c910deb92ac580438395e3b71fd2d3b64690986cb035ff2d784e26918a42bdc73d8fc SHA512 d9459aca1091da0fa446d7ce72ef83c172775b66081d87431c14fd9cfda42770dbd08450ff193e3accffe0eb11efde22804e4ffff20a8e0e9072a05bc34a99e9
|
||||
DIST sphinx-autodoc-typehints-1.19.1.gh.tar.gz 26942 BLAKE2B a2b16292eeaf87cb4879bf54727874952b61b596c6226679ba472a0e138fc09f82aaeffabf0f83eca56d2b2df609ed0355e1f3ab5dffd8119c1eccc755bbb16d SHA512 16227301bb0e3035163734c852068d7d06ff03c1e577963bdbcffb5b24b1ededc7feb16025fdcf8611182bdbbc7b071288f5d1d42cb0115bef6f9652898e3a8a
|
||||
DIST sphinx-autodoc-typehints-1.19.2.gh.tar.gz 26983 BLAKE2B 694edbf94bac05670adad992cfdc7e1146228af7b888a97c4f8e2394623ef3e42251ba0f3c22985517b2a251996cc41a305ea5497b2369363bc00d4bb3d24da7 SHA512 c35c7ed3f0698651be5ba4dd2232912d1f6d9d30e08153527df3fe16001266abc80cd1b11e3a41ccf92140c6baea98105e9bccd9466e65664dcf008f9a944634
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Type hints support for the Sphinx autodoc extension"
|
||||
HOMEPAGE="
|
||||
https://github.com/tox-dev/sphinx-autodoc-typehints/
|
||||
https://pypi.org/project/sphinx-autodoc-typehints/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/tox-dev/sphinx-autodoc-typehints/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/sphinx-4.5[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/nptyping-2.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/sphobjinv[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# this package is addicted to Internet
|
||||
tests/test_sphinx_autodoc_typehints.py::test_format_annotation
|
||||
)
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Type hints support for the Sphinx autodoc extension"
|
||||
HOMEPAGE="
|
||||
https://github.com/tox-dev/sphinx-autodoc-typehints/
|
||||
https://pypi.org/project/sphinx-autodoc-typehints/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/tox-dev/sphinx-autodoc-typehints/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/sphinx-4.5[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/nptyping-2.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/sphobjinv[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# this package is addicted to Internet
|
||||
tests/test_sphinx_autodoc_typehints.py::test_format_annotation
|
||||
)
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Type hints support for the Sphinx autodoc extension"
|
||||
HOMEPAGE="
|
||||
https://github.com/tox-dev/sphinx-autodoc-typehints/
|
||||
https://pypi.org/project/sphinx-autodoc-typehints/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/tox-dev/sphinx-autodoc-typehints/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/sphinx-4.5[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/nptyping-2.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/sphobjinv[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# this package is addicted to Internet
|
||||
tests/test_sphinx_autodoc_typehints.py::test_format_annotation
|
||||
)
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
@ -1,3 +1 @@
|
||||
DIST sphinxcontrib-doxylink-1.12.0.gh.tar.gz 22589 BLAKE2B 322fdd0968147abc480a88247ee724daa8c4da4519ff97280af1d81e9f36d4636aca358f5bb1ba08e5ff0f138cf8446194d1fe819a9d18a227eb463b20ee5738 SHA512 7626fad06613a614b5d6efdea088825732571c7ed45f6f2d69f34e0aede020df0930716cb34ca14260891a29aa152019c7bfae8aad729039642ea1c6bbf7d09e
|
||||
DIST sphinxcontrib-doxylink-1.12.1.gh.tar.gz 22622 BLAKE2B 2818dc9e155156e60a23183ac35e72b51f316e5e3a8f08379236a141436bbca4fee2ad534a391495dbe9bbc7c0d9f32526f5646592d16c1610121c36275a4c27 SHA512 164c523d6fb081d2ee70fa249901eb0fa3233d20a2ba73b52c4f7bf5f31c3f088c0420e39ace36c66a65fceccc137d6d62c28f7b7b58f3fbf96a3f2f73372fc8
|
||||
DIST sphinxcontrib-doxylink-1.12.2.gh.tar.gz 23556 BLAKE2B 8d71de83ec304bbf2a74f414c46d157367fc950dc52bab7f685fba24520985fb06daf8bf760d49d73d7a2418da346bf6c84a493b24edef4ab53c5c09799f7c2e SHA512 e90594031067eed0eec1c7aad9c7d2ba7d9a4ce2012a905f6631947a7135659483d52a6261b923d3fa21fcde59ae8bf24c168507c8e95296e0539595e9589ed2
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Extension to link to external Doxygen API documentation"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/sphinxcontrib-doxylink/
|
||||
https://pythonhosted.org/sphinxcontrib-doxylink/
|
||||
https://github.com/sphinx-contrib/doxylink/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/sphinx-contrib/doxylink/archive/refs/tags/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/doxylink-${PV}"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/sphinx-1.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-3.0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-doc/doxygen
|
||||
>=dev-python/testfixtures-6.18.5[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx doc
|
||||
|
||||
python_test() {
|
||||
distutils_write_namespace sphinxcontrib
|
||||
cd "${T}" || die
|
||||
epytest "${S}"/tests
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Extension to link to external Doxygen API documentation"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/sphinxcontrib-doxylink/
|
||||
https://pythonhosted.org/sphinxcontrib-doxylink/
|
||||
https://github.com/sphinx-contrib/doxylink/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/sphinx-contrib/doxylink/archive/refs/tags/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/doxylink-${PV}"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/sphinx-1.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-3.0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-doc/doxygen
|
||||
>=dev-python/testfixtures-6.18.5[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx doc \
|
||||
dev-python/sphinx_rtd_theme
|
||||
|
||||
python_test() {
|
||||
distutils_write_namespace sphinxcontrib
|
||||
cd "${T}" || die
|
||||
epytest "${S}"/tests
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST spyder-kernels-2.3.1.gh.tar.gz 89715 BLAKE2B 567101be14bc759a995b5753ecf129a1e3fb466a16e4d84d55cf19223d8e3bbd439bf519376bd0dfad13b076fcd29aa3f4f7ab66dfa2525f300e7842b7aa2bc7 SHA512 e8831204f242b68a8aff29f3e66c78f38a8b09542d651754c557af7333e7e3d9fa85ac1dd048972cd1f7eadedee3017afd5b2d012b1473b261603e9990ee12af
|
||||
DIST spyder-kernels-2.3.2.gh.tar.gz 90754 BLAKE2B 1725ab6a72c31eab7befa1b86406e92eedbc19f7afe72d78c9713cf96a57dcfd950408d11c5e4c769b5f670dd021e047c047deff446d3d609913a3f7a8118640 SHA512 d63ee48e6934679b353dd5a5d42e5faaa4b9a3a7dab8f9e00e5e08526894af23e5dc6c78fc6ce190f181ede6fd32e72d9e1c9a8bc078234d4a7a1bb19923384d
|
||||
DIST spyder-kernels-2.3.3.gh.tar.gz 91175 BLAKE2B 351852cd0eae2186f799ac329d2840ca1d427876b987a5eb0a5965020b1be38f1bf82ddd771648aa7d8e6027a1c1b1f3596fbe792fbf8e4b868bba8cbd6190db SHA512 764b935d3dffa531afc092e40aecc3d456261704703744e692a54ddf4ae22b80729912845dcc5c1b5546156efbacdc50aba84c19f9a8aa03435166cd4a4621e6
|
||||
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Kernels used by spyder on its ipython console"
|
||||
HOMEPAGE="
|
||||
https://github.com/spyder-ide/spyder-kernels/
|
||||
https://pypi.org/project/spyder-kernels/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/spyder-ide/spyder-kernels/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cloudpickle[${PYTHON_USEDEP}]
|
||||
<dev-python/ipykernel-7[${PYTHON_USEDEP}]
|
||||
>=dev-python/ipykernel-6.9.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/ipython-7.31.1[${PYTHON_USEDEP}]
|
||||
<dev-python/jupyter_client-8[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter_client-7.3.4[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib-inline[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyzmq-22.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/dask[${PYTHON_USEDEP}]
|
||||
dev-python/flaky[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/scipy[${PYTHON_USEDEP}]
|
||||
dev-python/xarray[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# we no longer package distributed
|
||||
spyder_kernels/console/tests/test_console_kernel.py::test_dask_multiprocessing
|
||||
# RuntimeError: There is no current event loop in thread 'MainThread'.
|
||||
# https://bugs.gentoo.org/834893
|
||||
spyder_kernels/console/tests/test_console_kernel.py::test_cwd_in_sys_path
|
||||
spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing
|
||||
spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing_2
|
||||
spyder_kernels/console/tests/test_console_kernel.py::test_runfile
|
||||
spyder_kernels/console/tests/test_console_kernel.py::test_np_threshold
|
||||
spyder_kernels/console/tests/test_console_kernel.py::test_turtle_launch
|
||||
spyder_kernels/console/tests/test_console_kernel.py::test_matplotlib_inline
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# No additional test failures with ipython-8: 843251
|
||||
sed -i -e "/ipython/s:,<8::" setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST werkzeug-2.2.0.gh.tar.gz 839619 BLAKE2B b6eae91d9a44d030517be5da13c448cf4a2778db7cde61ce36add8dea6f2ac251b31e71d128c4156f44083a4c1b77e546a7e6c55787d8beb93c49538d45b51fd SHA512 2de05269ccd3d83728d435d2f155887a5fd3f3bda9b71c32ffd64b089116c80e89319870fa082f1c6feeeb797b665521b9692ce6c87dcb48b7fa49b2fc63516b
|
||||
DIST werkzeug-2.2.1.gh.tar.gz 840062 BLAKE2B da7c59eb182e2318c291a6d346a2a444cc054726dd3cf47617b82440383a4c1068b4a31adb6f44d1b965e2efbacf7469c1845d3666fe24288e976bc25794ebcf SHA512 466d164f8a5861cd36eaaf3674a8bb6640593981007d1d6bced1abbdaf8c6a39666601960ebfb2dc35b7c9c17a961ea07bf919cd646c282d27fd5e0f36cc3035
|
||||
DIST werkzeug-2.2.2.gh.tar.gz 844463 BLAKE2B 84da3dd89375d6925e7e7018701339ddfd2b608acf6b3f126bd56c2020056511de6ab157de9024069d1342f9bce4b481ba91a06089fff1a3b31f4a851af7f935 SHA512 cded6c7e0b00871366b70a41de45e31323c0fc09300413d0efca98f5a2f8207026fd77c7e5670fde727da377fd02b9b636f390a2524d2b5778e9e3bdbdfe3e3a
|
||||
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Collection of various utilities for WSGI applications"
|
||||
HOMEPAGE="
|
||||
https://palletsprojects.com/p/werkzeug/
|
||||
https://pypi.org/project/Werkzeug/
|
||||
https://github.com/pallets/werkzeug/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/pallets/werkzeug/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
# NOTE: remove the loong mask after greenlet gains support for loong
|
||||
# see https://github.com/python-greenlet/greenlet/pull/257
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/ephemeral-port-reserve[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xprocess[${PYTHON_USEDEP}]
|
||||
dev-python/watchdog[${PYTHON_USEDEP}]
|
||||
!alpha? ( !arm? ( !hppa? ( !ia64? ( !s390? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
' python3_{8..11} pypy3 # TODO: add py3.11 when ported
|
||||
)
|
||||
) ) ) ) )
|
||||
!hppa? ( !ia64? ( !loong? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/greenlet[${PYTHON_USEDEP}]
|
||||
' python3_{8..10})
|
||||
) ) )
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=()
|
||||
if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_DESELECT+=(
|
||||
"tests/test_serving.py::test_server[https]"
|
||||
tests/test_serving.py::test_ssl_dev_cert
|
||||
tests/test_serving.py::test_ssl_object
|
||||
)
|
||||
fi
|
||||
|
||||
# the default portage tempdir is too long for AF_UNIX sockets
|
||||
local -x TMPDIR=/tmp
|
||||
epytest -p no:django -p no:httpbin tests
|
||||
}
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST catalyst-3.0.18.tar.bz2 621208 BLAKE2B 63f76634b96006ef4a751b0ce166ab36dcba3016234251b2e44e89b43b0c6909e57914007d6287e54584094ff7f064c0251a79f095c87e4c7957925e9d4605cd SHA512 94a30304b242b4e63cc14f34916acd68c03700876ba1cc2f516880f4e8365258de8b62db85cddc9492229414484ba6908edc91991b70b13da0578792b8b96aa3
|
||||
DIST catalyst-3.0.21.tar.bz2 620472 BLAKE2B 6ecf59edde24cbec6d072a31680b75e2e7f142e267b43783473dc607b189d5091b6ca2b7bd02e88a6528a7bccea8441fce21c74aed6623ec14d701557fb4d267 SHA512 e2c58a562508e25465186a5d9771040ddb9f00104943a6434489e5ef01da220ac0330339f741d023717c8d1df6ec2bf765654fabe4097d93d3086ef9005a294c
|
||||
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
SRC_ECLASS="git-r3"
|
||||
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/catalyst.git"
|
||||
EGIT_BRANCH="master"
|
||||
else
|
||||
SRC_URI="https://gitweb.gentoo.org/proj/catalyst.git/snapshot/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python3_{8,9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
|
||||
inherit distutils-r1 ${SRC_ECLASS}
|
||||
|
||||
DESCRIPTION="Release metatool used for creating releases based on Gentoo Linux"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Catalyst"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="ccache doc +iso system-bootloader"
|
||||
|
||||
DEPEND="
|
||||
app-text/asciidoc
|
||||
>=dev-python/snakeoil-0.6.5[${PYTHON_USEDEP}]
|
||||
<dev-python/snakeoil-0.9.6[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
>=dev-python/snakeoil-0.6.5[${PYTHON_USEDEP}]
|
||||
<dev-python/snakeoil-0.9.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/pydecomp-0.3[${PYTHON_USEDEP}]
|
||||
app-arch/lbzip2
|
||||
app-crypt/shash
|
||||
sys-fs/dosfstools
|
||||
|| (
|
||||
app-arch/tar[xattr]
|
||||
app-arch/libarchive[xattr]
|
||||
)
|
||||
amd64? ( >=sys-boot/syslinux-3.72 )
|
||||
x86? ( >=sys-boot/syslinux-3.72 )
|
||||
ccache? ( dev-util/ccache )
|
||||
iso? ( app-cdr/cdrtools )
|
||||
kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )
|
||||
"
|
||||
PDEPEND="system-bootloader? ( >=sys-apps/memtest86+-5.01-r4
|
||||
sys-boot/grub:2
|
||||
amd64? ( sys-boot/grub[grub_platforms_efi-32,grub_platforms_efi-64] )
|
||||
x86? ( sys-boot/grub[grub_platforms_efi-32] )
|
||||
sys-boot/syslinux
|
||||
sys-boot/shim )"
|
||||
|
||||
python_prepare_all() {
|
||||
python_setup
|
||||
echo VERSION="${PV}" "${PYTHON}" setup.py set_version
|
||||
VERSION="${PV}" "${PYTHON}" setup.py set_version || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# build the man pages and docs
|
||||
emake
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
if use doc; then
|
||||
dodoc files/HOWTO.html files/docbook-xsl.css
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST cvise-2.4.0.tar.gz 252810 BLAKE2B a95d1645192886d8871dcdf7f9cdfa5a2ac615a3bbc24782c0966d1872fe5f3ade7ddb82afabecfcdebfdac257e2e13e6cb99ab7320baee1a4b43ab360e6a0b2 SHA512 073e53039d2b077fed43b948e0c01dc662ef4f75b92d7f49d1786a35c36412fed02e1931c6a39ce902452056fe5c7d70daa35a9cae18b44009778837261cae19
|
||||
DIST cvise-2.5.0.tar.gz 255587 BLAKE2B ec33bcb0ac45bf89a66bd30b22386f5c0b994e774c1d30f7869e15bcd5bada2e511ad4028628af6c545a23fddde7bc43978fc63cc3b5168db8d038aec9310073 SHA512 8433d4daf0e0691b99ff78f4b5331da0d230d5872c214ffd4a7dee470d955c2a3d7541c19277555a6e97108f8cd3de589b3f724e2874c44e479e351777c671c4
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit cmake llvm python-single-r1
|
||||
|
||||
DESCRIPTION="Super-parallel Python port of the C-Reduce"
|
||||
HOMEPAGE="https://github.com/marxin/cvise/"
|
||||
SRC_URI="
|
||||
https://github.com/marxin/cvise/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="UoI-NCSA"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
|
||||
LLVM_MAX_SLOT=15
|
||||
DEPEND="
|
||||
|| (
|
||||
sys-devel/clang:15
|
||||
sys-devel/clang:14
|
||||
sys-devel/clang:13
|
||||
)
|
||||
<sys-devel/clang-$(( LLVM_MAX_SLOT + 1 )):=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/chardet[${PYTHON_USEDEP}]
|
||||
dev-python/pebble[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
')
|
||||
dev-util/unifdef
|
||||
sys-devel/flex
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
sys-devel/flex
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pebble[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.5.0-no-werror-cflags.patch
|
||||
)
|
||||
|
||||
llvm_check_deps() {
|
||||
has_version "sys-devel/clang:${LLVM_SLOT}"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
llvm_pkg_setup
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILD_DIR}" || die
|
||||
epytest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
python_fix_shebang "${ED}"/usr/bin/cvise
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
https://bugs.gentoo.org/867424
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -146,13 +146,13 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
|
||||
OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
# XXX figure out how to get "-std=c++14 -fno-rtti" from LLVM. That's how we
|
||||
# get those options in the Automake path...
|
||||
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -Wno-error=maybe-uninitialized")
|
||||
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fno-rtti -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Werror -Wno-error=maybe-uninitialized")
|
||||
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-error=maybe-uninitialized")
|
||||
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fno-rtti -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-error=maybe-uninitialized")
|
||||
if(SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden")
|
||||
endif()
|
||||
- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")
|
||||
- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} -O3")
|
||||
+ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")
|
||||
+ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE}")
|
||||
endif()
|
||||
|
||||
###############################################################################
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 261a0fb..cbaebc3 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -151,8 +151,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
|
||||
if(SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden")
|
||||
endif()
|
||||
- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")
|
||||
- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE}")
|
||||
endif()
|
||||
|
||||
###############################################################################
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue