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,6 +0,0 @@
|
||||
DIST visual-studio-code-bin-1.55.2-amd64.tar.gz 97507317 BLAKE2B b9278fe79e07a7884827a90c6d177819a8b81967cdfc1e9dc715c0d51a48e2c12980ebe994b64df125d33559a70beb38f6214c849a9204c82c75421438fbd70f SHA512 0f3727eb505b5ca2cdec8cc708ae88ba2028d068d7f69df35144b3c43dc8a1a5bbbd7471092cf8e2848018661496eb55442fb18e7e0595436f28502c94537556
|
||||
DIST visual-studio-code-bin-1.55.2-arm.tar.gz 88826643 BLAKE2B c128e483545bcd709783c3e5f323fe98d93f28a84d2eeb6651102fba91182264716208a23d284e4858d19f5c1602f40bffea60d2f4c6fb72aafaf5f44560ee8f SHA512 1fc03b563ec69d53429e4ae1d1c6dd60bf72c439c66c0300287c393acc224fd77f2a596fd90a23205007ba6e5bcea105009e971b19ad032db0ca66c45c171417
|
||||
DIST visual-studio-code-bin-1.55.2-arm64.tar.gz 102015928 BLAKE2B f55928101bf728071384747bdb70a82aad6e7bff9cf506d2284e48fac3e21acb64dbf34bdc9023dd4af82f0f53d51e2f0b985be9c76c7c10309673794d86430b SHA512 2e311c490fc01c9db00cc275d55f1f9c16a622259bd2f6e5e6a16c5bbfee7b06f01f35055eff97415f05c033112a0f3f48779c1d2c55a8685f00ad301da9bbaa
|
||||
DIST visual-studio-code-bin-1.56.2-amd64.tar.gz 104824843 BLAKE2B 608cc74daad0534a91d3c6200827b82efa0c2a9634c3cd9f031d4744a35f25c5201a7310011d6dfe57f761845e79574d068678a4500650c47d8404d2bd810f4d SHA512 35ef320b92a66d05a8c2b61a81978d659245f37ef0b2f05002083386a265a232ed163dcc06ddee9bc2bc8f1205fa80e7841268bf66fdddcabe4a8ed35fb50a35
|
||||
DIST visual-studio-code-bin-1.56.2-arm.tar.gz 95395040 BLAKE2B e948f09a97a39f898276fe4bbc9f7f35fa96b833732a48058e402aaa0246790d79c5422f5e209c842b94c6c46d19b657cdeefa9caa1e255331f81e91e0760c69 SHA512 4486d030d2d611aa0d29a156ba5c2beb2bd0ab1950684c7bdea44460fb05f3a18b62419c346d99a84cd71bb595f7802dab10730b40600879e442ee3181129e6f
|
||||
DIST visual-studio-code-bin-1.56.2-arm64.tar.gz 110174990 BLAKE2B 3b512136911b3ca431fbf71951655490c85f1c7cc707c6ddea3fd4d41b956fbf33dd8264e279d1d6e69564506aefcd9588397665133a3a34997d916605c9aa73 SHA512 bc3fb6b78e33286486411aa78b538693c371b309e86a84ee7361a2fd78d2d8e0dd4e9dd761f9278ced4e3a31a532e2534cdde001635935dfda92dfab85eb9e51
|
||||
@@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Visual Studio Code - URL Handler
|
||||
Comment=Code Editing. Redefined.
|
||||
GenericName=Text Editor
|
||||
Exec=/usr/bin/code --no-sandbox --open-url %U
|
||||
Icon=visual-studio-code
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
StartupNotify=true
|
||||
Categories=Utility;TextEditor;Development;IDE;
|
||||
MimeType=x-scheme-handler/vscode;
|
||||
Keywords=vscode;
|
||||
@@ -1,18 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Visual Studio Code
|
||||
Comment=Code Editing. Redefined.
|
||||
GenericName=Text Editor
|
||||
Exec=/usr/bin/code --no-sandbox --unity-launch %F
|
||||
Icon=visual-studio-code
|
||||
Type=Application
|
||||
StartupNotify=false
|
||||
StartupWMClass=Code
|
||||
Categories=Utility;TextEditor;Development;IDE;
|
||||
MimeType=text/plain;inode/directory;application/x-code-workspace;
|
||||
Actions=new-empty-window;
|
||||
Keywords=vscode;
|
||||
|
||||
[Desktop Action new-empty-window]
|
||||
Name=New Empty Window
|
||||
Exec=/usr/share/code/code --no-sandbox --new-window %F
|
||||
Icon=com.visualstudio.code
|
||||
@@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>onigino@protonmail.com</email>
|
||||
<name>Gino McCarty</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>rossbridger.cc@gmail.com</email>
|
||||
<name>Ross Charles Campbell</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>adel.ks@zegrapher.com</email>
|
||||
<name>Adel KARA SLIMANE</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Visual Studio Code is a lightweight but powerful source code editor which
|
||||
runs on your desktop and is available for Windows, macOS and Linux. It
|
||||
comes with built-in support for JavaScript, TypeScript and Node.js and has
|
||||
a rich ecosystem of extensions for other languages (such as C++, C#, Java,
|
||||
Python, PHP, Go) and runtimes (such as .NET and Unity).
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">microsoft/vscode</remote-id>
|
||||
<bugs-to>https://github.com/microsoft/vscode/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop pax-utils xdg
|
||||
|
||||
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
|
||||
HOMEPAGE="https://code.visualstudio.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
|
||||
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )"
|
||||
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
LICENSE="MIT Microsoft-VSCode"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-atk
|
||||
app-crypt/libsecret[crypt]
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/libpng:0/16
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
QA_PRESTRIPPED="*"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
pkg_setup() {
|
||||
if use amd64; then
|
||||
S="${WORKDIR}/VSCode-linux-x64"
|
||||
elif use arm; then
|
||||
S="${WORKDIR}/VSCode-linux-armhf"
|
||||
elif use arm64; then
|
||||
S="${WORKDIR}/VSCode-linux-arm64"
|
||||
else
|
||||
die "Visual Studio Code only supports amd64, arm and arm64"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pax-mark m code
|
||||
insinto "/opt/${PN}"
|
||||
doins -r *
|
||||
fperms +x /opt/${PN}/{,bin/}code
|
||||
fperms +x /opt/${PN}/chrome-sandbox
|
||||
fperms -R +x /opt/${PN}/resources/app/out/vs/base/node
|
||||
fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg
|
||||
dosym "../../opt/${PN}/bin/code" "usr/bin/code"
|
||||
domenu "${FILESDIR}/code.desktop"
|
||||
domenu "${FILESDIR}/code-url-handler.desktop"
|
||||
dodoc "resources/app/LICENSE.rtf"
|
||||
newicon "resources/app/resources/linux/code.png" "visual-studio-code.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
elog "You may want to install some additional utils, check in:"
|
||||
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop pax-utils xdg
|
||||
|
||||
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
|
||||
HOMEPAGE="https://code.visualstudio.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
|
||||
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )"
|
||||
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
LICENSE="MIT Microsoft-VSCode"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-atk
|
||||
app-crypt/libsecret[crypt]
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/libpng:0/16
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
QA_PRESTRIPPED="*"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
pkg_setup() {
|
||||
if use amd64; then
|
||||
S="${WORKDIR}/VSCode-linux-x64"
|
||||
elif use arm; then
|
||||
S="${WORKDIR}/VSCode-linux-armhf"
|
||||
elif use arm64; then
|
||||
S="${WORKDIR}/VSCode-linux-arm64"
|
||||
else
|
||||
die "Visual Studio Code only supports amd64, arm and arm64"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pax-mark m code
|
||||
insinto "/opt/${PN}"
|
||||
doins -r *
|
||||
fperms +x /opt/${PN}/{,bin/}code
|
||||
fperms +x /opt/${PN}/chrome-sandbox
|
||||
fperms -R +x /opt/${PN}/resources/app/out/vs/base/node
|
||||
fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg
|
||||
dosym "../../opt/${PN}/bin/code" "usr/bin/code"
|
||||
domenu "${FILESDIR}/code.desktop"
|
||||
domenu "${FILESDIR}/code-url-handler.desktop"
|
||||
dodoc "resources/app/LICENSE.rtf"
|
||||
newicon "resources/app/resources/linux/code.png" "visual-studio-code.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
elog "You may want to install some additional utils, check in:"
|
||||
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST epubgrep-0.1.3.tar.gz 33668 BLAKE2B 717de938e4830dbf970b11e67dd361e619ab77c83bfe4e3cb94dc3654317099e7bafb8029ab7899e83c16eb0d25f6bd41ac28d72c28b8826c1d6cd25d24b401b SHA512 c321578607400e365143111324851497681cc0464e1ddc8362dbbc3b76096b379d080800efd11e217a643ced14b6032fd16b8f0e01922e248926ac2e3840d659
|
||||
DIST epubgrep-0.2.0.tar.gz 217269 BLAKE2B 4bf4065009ad4ee0f8963e692ad5c08d04950920b7f7a1ffab6ca8f24fadfc7f48486fe166799e1a984d683af962ef850cafab717eed9b068f1a0918a4faebbd SHA512 ab6d8433db63c7ab2e8c9ec334f573bb81f3d9390124f60d6619d52fe83d4df15abca240c55e74022abd17cf536fa00b31ac32f597a1370f99826bb8a6d5b904
|
||||
DIST epubgrep-0.3.1.tar.gz 221043 BLAKE2B 26c7cd1bfa366cdfdd8c4c271cfefa893866db84769edd900dbec6bc543fad6ce18ebeadd7c4c652322adc9152a93911cf649632a9c2668eb53cd8742cc54259 SHA512 1846b9a5b0c3f92d0194a832bc3f560eaae95b811b2def5a38d1346cac5e84534116d9bc27d7d0925a8fe73722326d7000e7cea9318fdcd899bc808358719be7
|
||||
|
||||
45
app-text/epubgrep/epubgrep-0.3.1.ebuild
Normal file
45
app-text/epubgrep/epubgrep-0.3.1.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Search tool for EPUB ebooks"
|
||||
HOMEPAGE="https://schlomp.space/tastytea/epubgrep"
|
||||
SRC_URI="https://schlomp.space/tastytea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost[nls]
|
||||
app-arch/libarchive[bzip2,iconv,lzma,zlib]
|
||||
dev-libs/libfmt
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/termcolor
|
||||
test? ( dev-cpp/catch )
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/gettext
|
||||
app-text/asciidoc
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DWITH_TESTS=$(usex test)"
|
||||
"-DFALLBACK_BUNDLED=NO"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
DIST fbthrift-2021.04.19.00.tar.gz 5453537 BLAKE2B 72a6b395f24786e211d7bf18f53abe3833bd12abca536cd85e6db4c284e0851121a4cdb2663b3a10bce628787eda556e71db4d4549f9d49d9c82e6dd8c31ac96 SHA512 eb0dd6c05c4ec8714d8dc5b5dcd8f3574b625c1992fff876b4ac5fb5a48f1d174b4405fbef0305ce008ccc7cae3d30499852989f30fdeb56eabf89269ed7ec23
|
||||
DIST fbthrift-2021.05.24.00.tar.gz 5641993 BLAKE2B 47615d438d23bf3ce6dc5bcb264fe0b9db443b177b872b490711c360b33faeff2e364049e4fe666cf0759a681a0a5b799f5c79cca1eadeaa69d3a9973e9c816a SHA512 58c720373e9261b9968a3008a60a008c79b6cddf65944212d7e08f3be68519cc226860d1977b5dfee364c432cbd158b9f5295c0b2b16098a165decb144008040
|
||||
|
||||
40
dev-cpp/fbthrift/fbthrift-2021.05.24.00.ebuild
Normal file
40
dev-cpp/fbthrift/fbthrift-2021.05.24.00.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Facebook's branch of Apache Thrift, including a new C++ server"
|
||||
HOMEPAGE="https://github.com/facebook/fbthrift"
|
||||
|
||||
SRC_URI="https://github.com/facebook/fbthrift/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/zstd
|
||||
~dev-cpp/fizz-${PV}:=
|
||||
~dev-cpp/folly-${PV}:=
|
||||
dev-cpp/gflags
|
||||
dev-cpp/glog
|
||||
~dev-cpp/wangle-${PV}:=
|
||||
dev-libs/libfmt
|
||||
dev-libs/openssl:0=
|
||||
sys-libs/zlib
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR=$(get_libdir)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
DIST fizz-2021.04.19.00.tar.gz 532228 BLAKE2B 980d501fb7bb67ed01711f1c0dd685ea9416912ef6bb818be3fb6e6ba9c9bd28a10edd16903a244044733ed8fe85486ab4296626445b09f22b928c8041cebcfa SHA512 dda187865b02c5f7e131fb70ed47c2a63d7024decfe94a70bbdd0ae02b6709801e2ea00f23280c50f392f91305cf11197be9204145f664dc227a7400831a9a01
|
||||
DIST fizz-2021.05.24.00.tar.gz 537533 BLAKE2B 68cfefd30f9a395fee32af0d98a53b9c176b6f05a0ab551943ab5d2905d0c8dc4ed82c25d081542cb1c7b5610c519a0b251bfaa684d8ad63fceb9e3ddd6acc31 SHA512 618bdf798cfb560d4c06c6eec678af4c2f9c4fa9e1b0ce3d13f440e268472c388a511e762372991202c1cd9db936f1fbd3faaea0d90b8f41027162022cce1933
|
||||
|
||||
46
dev-cpp/fizz/fizz-2021.05.24.00.ebuild
Normal file
46
dev-cpp/fizz/fizz-2021.05.24.00.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="C++14 implementation of the TLS-1.3 standard"
|
||||
HOMEPAGE="https://github.com/facebookincubator/fizz"
|
||||
|
||||
SRC_URI="https://github.com/facebookincubator/fizz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
CMAKE_USE_DIR="${S}/fizz"
|
||||
|
||||
RDEPEND="
|
||||
~dev-cpp/folly-${PV}:=
|
||||
dev-cpp/gflags
|
||||
dev-cpp/glog
|
||||
dev-libs/double-conversion
|
||||
dev-libs/libevent
|
||||
dev-libs/libfmt
|
||||
dev-libs/libsodium
|
||||
dev-libs/openssl:0=
|
||||
"
|
||||
#TODO: discover if gtest is linked
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/gtest
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
sed -i '/Sodium/d' fizz/cmake/fizz-config.cmake.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR=$(get_libdir)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST folly-2021.01.04.00.tar.gz 3281402 BLAKE2B d6af10b7bf1297c5fe2a6893e23e10b24d4e3534324da1a13f4910e50fe7cec9d7082af3abb8b74746d63995f16bc33bca3d5c5ce7f2449196f8aaa1ff7ebe7a SHA512 e4849e7d560d30b87fcf0af7c1536b18aa774de803104ccbacc1315e7962ad0c734dd06fe9ccca5b1f9ac97b3848085ef75a7dcdf6a685e24a36765a0aa4a181
|
||||
DIST folly-2021.04.19.00.tar.gz 3375288 BLAKE2B e230f8ab2d7a654e5fade9564bc53c4486b4adcacf2043007c89d03d1527a1c663766d6c6c562c521cec78bc1641d85b781a994143ed5add9c94d7834e9e85dc SHA512 056edc528bc0c30a4c7f926e08ff682f22b4b85f592213c359550aac5d4c6dd6b5f4e5d266a3fca6cd7fc88b90a6e14b4b613b223b663910544b477b03ac5c04
|
||||
DIST folly-2021.05.24.00.tar.gz 3391502 BLAKE2B d2ae91ec3a11b01bfa97ea826d326a1b09194ce48dc490d2b77ac82b782244f9003af06b2fe87258e50a6705aecc21cd2a8104926cba4440de401358c4dbea6f SHA512 59b04defea75a8a2f08de8b4611105d2e869264e73ed2893328bff3a21df8059793e3edaaadbe40d7db1c1a4022c950d2a287cf20c74d2fe752924f5e3f4654a
|
||||
|
||||
37
dev-cpp/folly/folly-2021.05.24.00.ebuild
Normal file
37
dev-cpp/folly/folly-2021.05.24.00.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="An open-source C++ library developed and used at Facebook"
|
||||
HOMEPAGE="https://github.com/facebook/folly"
|
||||
SRC_URI="https://github.com/facebook/folly/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
app-arch/lz4
|
||||
app-arch/snappy
|
||||
app-arch/zstd
|
||||
dev-cpp/gflags
|
||||
dev-cpp/glog[gflags]
|
||||
dev-libs/boost[context,threads]
|
||||
dev-libs/double-conversion
|
||||
dev-libs/libevent
|
||||
dev-libs/libfmt
|
||||
sys-libs/binutils-libs
|
||||
sys-libs/zlib
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
sed \
|
||||
-e "s/lib CACHE/$(get_libdir) CACHE/" \
|
||||
-e "s/lib\/cmake\/folly CACHE/$(get_libdir)\/cmake\/folly CACHE/" \
|
||||
-i CMakeLists.txt || die
|
||||
}
|
||||
1
dev-cpp/tiny-dnn/Manifest
Normal file
1
dev-cpp/tiny-dnn/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST tiny-dnn-1.0.0_alpha3.tar.gz 12885646 BLAKE2B 85c0715ab6c692b77522487775e70b0db645528baed1830c83c9f44d2b67a5207e4f7ea1709b35c6a4217d287199549304e9be19f4a5cec9a1183b0b5dccc562 SHA512 5f2c1a161771efa67e85b1fea395953b7744e29f61187ac5a6c54c912fb195b3aef9a5827135c3668bd0eeea5ae04a33cc433e1f6683e2b7955010a2632d168b
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/docs/conf.py
|
||||
+++ b/docs/conf.py
|
||||
@@ -32,7 +32,7 @@
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||
# ones.
|
||||
extensions = [
|
||||
- 'sphinx.ext.mathjax'
|
||||
+ 'sphinx.ext.mathjax', 'sphinx.ext.autodoc'
|
||||
]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
29
dev-cpp/tiny-dnn/files/tiny-dnn-disable-gtest-download.patch
Normal file
29
dev-cpp/tiny-dnn/files/tiny-dnn-disable-gtest-download.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
--- a/test/CMakeLists.txt
|
||||
+++ b/test/CMakeLists.txt
|
||||
@@ -2,17 +2,6 @@
|
||||
enable_testing()
|
||||
|
||||
|
||||
-include(../cmake/DownloadProject/DownloadProject.cmake)
|
||||
-#set(gtest_disable_pthreads on) #TODO(randl): Windows?
|
||||
-download_project(
|
||||
- PROJ googletest
|
||||
- GIT_REPOSITORY https://github.com/google/googletest.git
|
||||
- GIT_TAG master
|
||||
- UPDATE_DISCONNECTED 1
|
||||
-)
|
||||
-
|
||||
-add_subdirectory(${googletest_SOURCE_DIR} ${googletest_BINARY_DIR})
|
||||
-
|
||||
enable_testing()
|
||||
|
||||
# in ../googletest-src/googletest/CMakeLists.txt, BUILD_SHARED_LIBS is set to OFF
|
||||
@@ -29,7 +18,7 @@
|
||||
|
||||
add_executable(tiny_dnn_test test.cpp test_no_duplicate_symbols.cpp)
|
||||
target_link_libraries(tiny_dnn_test
|
||||
- ${project_library_target_name} ${REQUIRED_LIBRARIES} gtest gmock)
|
||||
+ ${project_library_target_name} ${REQUIRED_LIBRARIES})
|
||||
|
||||
add_test(all_tests tiny_dnn_test)
|
||||
# workaround for https://gitlab.kitware.com/cmake/cmake/issues/8774
|
||||
89
dev-cpp/tiny-dnn/metadata.xml
Normal file
89
dev-cpp/tiny-dnn/metadata.xml
Normal file
@@ -0,0 +1,89 @@
|
||||
<?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>
|
||||
Features
|
||||
|
||||
Reasonably fast, without GPU:
|
||||
With TBB threading and SSE/AVX vectorization.
|
||||
98.8% accuracy on MNIST in 13 minutes training (@Core i7-3520M).
|
||||
Portable and header-only:
|
||||
Runs anywhere as long as you have a compiler which supports C++14.
|
||||
Just include tiny_dnn.h and write your model in C++. There is nothing to install.
|
||||
Easy to integrate with real applications:
|
||||
No output to stdout/stderr.
|
||||
A constant throughput (simple parallelization model, no garbage collection).
|
||||
Works without throwing an exception.
|
||||
Can import caffe's model.
|
||||
Simply implemented:
|
||||
A good library for learning neural networks.
|
||||
|
||||
Supported networks
|
||||
|
||||
layer-types
|
||||
|
||||
core
|
||||
fully connected
|
||||
dropout
|
||||
linear operation
|
||||
zero padding
|
||||
power
|
||||
convolution
|
||||
convolutional
|
||||
average pooling
|
||||
max pooling
|
||||
deconvolutional
|
||||
average unpooling
|
||||
max unpooling
|
||||
normalization
|
||||
contrast normalization (only forward pass)
|
||||
batch normalization
|
||||
split/merge
|
||||
concat
|
||||
slice
|
||||
elementwise-add
|
||||
activation functions
|
||||
|
||||
tanh
|
||||
asinh
|
||||
sigmoid
|
||||
softmax
|
||||
softplus
|
||||
softsign
|
||||
rectified linear(relu)
|
||||
leaky relu
|
||||
identity
|
||||
scaled tanh
|
||||
exponential linear units(elu)
|
||||
scaled exponential linear units (selu)
|
||||
loss functions
|
||||
|
||||
cross-entropy
|
||||
mean squared error
|
||||
mean absolute error
|
||||
mean absolute error with epsilon range
|
||||
optimization algorithms
|
||||
|
||||
stochastic gradient descent (with/without L2 normalization)
|
||||
momentum and Nesterov momentum
|
||||
adagrad
|
||||
rmsprop
|
||||
adam
|
||||
adamax
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="double-precision">Build tiny-dnn with double precision computations</flag>
|
||||
<!--<flag name="libdnn">Build tiny-dnn with GreenteaLibDNN library support</flag>-->
|
||||
<!--<flag name="nnpack">Build tiny-dnn with NNPACK library support</flag>-->
|
||||
<flag name="opencl">Build tiny-dnn with OpenCL library support</flag>
|
||||
<flag name="serialization">Build tiny-dnn with Serialization support</flag>
|
||||
<flag name="tbb">Build tiny-dnn with TBB library support</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">tiny-dnn/tiny-dnn</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
84
dev-cpp/tiny-dnn/tiny-dnn-1.0.0_alpha3.ebuild
Normal file
84
dev-cpp/tiny-dnn/tiny-dnn-1.0.0_alpha3.ebuild
Normal file
@@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DOCS_BUILDER="sphinx"
|
||||
DOCS_DEPEND="dev-python/recommonmark"
|
||||
DOCS_DIR="docs"
|
||||
MYPV="${PV/_alpha/a}"
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
|
||||
inherit cmake python-any-r1 docs
|
||||
|
||||
DESCRIPTION="header only, dependency-free deep learning framework in C++14"
|
||||
HOMEPAGE="https://github.com/tiny-dnn/tiny-dnn"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${MYPV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${MYPV}"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_sse double-precision opencl openmp +serialization tbb test"
|
||||
REQUIRED_USE="
|
||||
?? ( openmp tbb )
|
||||
"
|
||||
RESTRICT="test" #tests doesn't build ...
|
||||
|
||||
# headers as rdepend because this is also an header only library
|
||||
RDEPEND="
|
||||
opencl? (
|
||||
dev-util/opencl-headers
|
||||
virtual/opencl
|
||||
)
|
||||
serialization? ( dev-libs/cereal )
|
||||
tbb? ( dev-cpp/tbb )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-add-sphinx-ext-autodoc-to-conf-py.patch"
|
||||
"${FILESDIR}/${PN}-disable-gtest-download.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
#remove bundled cereal
|
||||
rm -r cereal || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_DOCS=OFF
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
-DCOVERALLS=OFF
|
||||
-DUSE_LIBDNN=OFF
|
||||
-DUSE_NNPACK=OFF
|
||||
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
-DUSE_AVX=$(usex cpu_flags_x86_avx)
|
||||
-DUSE_AVX2=$(usex cpu_flags_x86_avx2)
|
||||
-DUSE_DOUBLE=$(usex double-precision)
|
||||
-DUSE_OMP=$(usex openmp)
|
||||
-DUSE_OPENCL=$(usex opencl)
|
||||
-DUSE_SERIALIZER=$(usex serialization)
|
||||
-DUSE_SSE=$(usex cpu_flags_x86_sse)
|
||||
-DUSE_TBB=$(usex tbb)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
docs_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
if use doc; then
|
||||
dodoc -r _build/html
|
||||
docompress -x "/usr/share/doc/${PF}/html"
|
||||
fi
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
DIST wangle-2021.04.19.00.tar.gz 336087 BLAKE2B d06150422813c7f7a4663bea59d1e78d8aa2a6023b70fad94aa700d5879b36319a77329d5e4523a5b992cb2ab9dbbd1db1e594e60dbaeddee4cd5881d7385fac SHA512 dc8e2f34d5be2e674cd87c630ca6a647686bae383f5ed678577a7709f9a05483ddabcaa220f5d9afea2e24c78b73b64c9a8d74821b215a1c094498d3528e8896
|
||||
DIST wangle-2021.05.24.00.tar.gz 336150 BLAKE2B 5a87ee962572356407bab09a563635015171c7bd09d7b68d91143bf5bce71c5d4bbcdbb6c571ee814390e4db48302551361a2770bb9c3d66a6bc67f63fb0afb7 SHA512 ab2f805d3a21e3eead966a08ab0d7e9ce05baaa52ae0a196d4994db7fe0869038c16c5d4a7344fe5523a58414ac15325060d9151ffa5634608dd1e22b8f4e0c7
|
||||
|
||||
37
dev-cpp/wangle/wangle-2021.05.24.00.ebuild
Normal file
37
dev-cpp/wangle/wangle-2021.05.24.00.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Framework providing common client/server abstractions"
|
||||
HOMEPAGE="https://github.com/facebook/wangle"
|
||||
|
||||
SRC_URI="https://github.com/facebook/wangle/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
CMAKE_USE_DIR="${S}/wangle"
|
||||
|
||||
DEPEND="
|
||||
~dev-cpp/fizz-${PV}:=
|
||||
~dev-cpp/folly-${PV}:=
|
||||
dev-cpp/gflags
|
||||
dev-cpp/glog
|
||||
dev-libs/double-conversion
|
||||
dev-libs/libevent
|
||||
dev-libs/libfmt
|
||||
dev-libs/openssl:0=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR=$(get_libdir)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST atomiclong-0.1.1.tar.gz 5057 BLAKE2B 2583674eafd2e89c91629db69e6c118d22ae169df4131e3d63a584ed9857df47bb85c0764cd60b7df35eb8db5b4aedfe043bfcfb960909e2abcb97a27ba7567d SHA512 c275cff805df2275b6d9cfabed072c296019f1e7f6e2d718e0cec60ca40a99c6e8043a17a82f752096a1764cbc63e5681739da921ce1c89dfa8e5a6349e1772a
|
||||
@@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( pypy3 python3_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
DESCRIPTION="An AtomicLong type using CFFI."
|
||||
HOMEPAGE="https://github.com/dreid/atomiclong"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="virtual/python-cffi[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,17 +0,0 @@
|
||||
<?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">dreid/atomiclong</remote-id>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
Sometimes you need to increment some numbers ... atomically ... in python.
|
||||
AtomicLong was born out of the need for fast thread-safe counters in python.
|
||||
It uses CFFI to bind GCC's Atomic Builtins.
|
||||
Its value is a C long which can be incremented, decremented, and set atomically. It is inspired by Java's java.util.concurrent.atomic.AtomicLong.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -1 +1,2 @@
|
||||
DIST pytest-sanic-1.6.2.tar.gz 31480 BLAKE2B e579df1100bb83e95599f9d3e54892feef7186dd7a49375f618868ba3b1d73ac966224332e9751fe05b62e63cd31d2a2bed23d2e243fa75bc5445f9d85fd4a8e SHA512 d04e6dbfb11f6a348923e0683848da4cb243c3ba158906f1fc56c24d23a9f947e199c16a2d8769152e46acf5c9cc179361b87c646d95075fb499d58376dce941
|
||||
DIST pytest-sanic-1.7.1.tar.gz 30888 BLAKE2B 24623e47fb05db9919cfd0b41468261697ac70c7bc3e47a3c6c86efadbddd3c80f2e6173eb109206472d0b639ecd20edd0cebb244bd96ed1d2ca10dd88924b5b SHA512 a55ffd1c878478bd42aad5dc023f83e880ead4fb8538a24d327bd0fb7f811e0d3679e49206835ee7f98ac0a02dedb05f6fa729252eab7972879c196c57e3f071
|
||||
|
||||
54
dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild
Normal file
54
dev-python/pytest-sanic/pytest-sanic-1.7.1.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"
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS="pyproject.toml"
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="a Pytest Plugin for Sanic"
|
||||
HOMEPAGE="
|
||||
https://pypi.python.org/pypi/pytest-sanic
|
||||
https://github.com/yunstanford/pytest-sanic
|
||||
"
|
||||
SRC_URI="https://github.com/yunstanford/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/async_generator-1.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/httpx-0.15.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/websockets-8.1[${PYTHON_USEDEP}]
|
||||
<dev-python/websockets-9.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( >=dev-python/sanic-20.12.2[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
# where is the conf.py file? make html can't find it either
|
||||
#distutils_enable_sphinx docs
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
pytest -vv \
|
||||
--deselect tests/test_client.py::test_fixture_sanic_client_get \
|
||||
--deselect tests/test_client.py::test_fixture_sanic_client_post \
|
||||
--deselect tests/test_client.py::test_fixture_sanic_client_put \
|
||||
--deselect tests/test_client.py::test_fixture_sanic_client_delete \
|
||||
--deselect tests/test_client.py::test_fixture_sanic_client_patch \
|
||||
--deselect tests/test_client.py::test_fixture_sanic_client_options \
|
||||
--deselect tests/test_client.py::test_fixture_sanic_client_head \
|
||||
--deselect tests/test_client.py::test_fixture_sanic_client_close \
|
||||
--deselect tests/test_client.py::test_fixture_sanic_client_passing_headers \
|
||||
--deselect tests/test_client.py::test_fixture_sanic_client_context_manager \
|
||||
--deselect tests/test_client.py::test_fixture_test_client_context_manager \
|
||||
|| die "Tests failed with ${EPYTHON}"
|
||||
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST raven-6.10.0.tar.gz 288902 BLAKE2B e72f48511347910d65cae9ba342a0a592bead9e848ec932b5efc361e7993ce77ce7213fce63c7cfb40534ace536c9ed55751928c991272ed123e12222047b096 SHA512 37ca6d5953dc92b57b3bf4e2edb3947d41f33711d9babfc9eafb8712dc5923829f8810e5123e63749710aeecceb66e56bf8b5b60868f61d750704e20add3c747
|
||||
@@ -1,10 +0,0 @@
|
||||
--- a/setup.cfg 2018-12-19 11:00:58.000000000 -0000
|
||||
+++ b/setup.cfg 2021-05-08 01:39:02.631499047 -0000
|
||||
@@ -1,6 +1,6 @@
|
||||
[tool:pytest]
|
||||
python_files = test*.py
|
||||
-addopts = --tb=native -p no:doctest -p no:logging --cov=raven
|
||||
+addopts = --tb=native -p no:doctest -p no:logging
|
||||
norecursedirs = raven build bin dist htmlcov hooks node_modules .* {args}
|
||||
django_settings_module = tests.contrib.django.settings
|
||||
python_paths = tests
|
||||
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Raven is a client for Sentry"
|
||||
HOMEPAGE="https://github.com/getsentry/raven-python"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="test" #tests broken with pytest >=4
|
||||
|
||||
RDEPEND="
|
||||
dev-python/contextlib2[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
>=dev-python/blinker-1.1[${PYTHON_USEDEP}]
|
||||
dev-python/bottle[${PYTHON_USEDEP}]
|
||||
>=dev-python/celery-2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/exam-0.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-login-0.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/logbook[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/paste[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-pythonpath[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
>=dev-python/sanic-0.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
dev-python/webob[${PYTHON_USEDEP}]
|
||||
dev-python/webpy[${PYTHON_USEDEP}]
|
||||
dev-python/webtest[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
dev-python/zconfig[${PYTHON_USEDEP}]
|
||||
>=www-servers/tornado-4.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES="${FILESDIR}/no-coverage.patch"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
export DJANGO_SETTINGS_MODULE=tests.contrib.django.settings
|
||||
|
||||
#test not working with >=www-servers/tornado-6
|
||||
rm tests/contrib/tornado/tests.py || die
|
||||
#test not working with >=dev-python/django-3
|
||||
rm tests/contrib/django/tests.py || die
|
||||
default
|
||||
}
|
||||
1
dev-python/sanic-routing/Manifest
Normal file
1
dev-python/sanic-routing/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST sanic-routing-0.6.2.tar.gz 14854 BLAKE2B c268244b18531b220eacaa4aa5d6b23612e9f3a27774df65c35b12645bcc18916142c304c07e59a64c950f1f1e7c8e0c34c9c605b1478293e22708c20ba3bc36 SHA512 8bbbae9424bd4e39c8549f70263f9a4847b5f81441152e671e7b8976372b4eecabfde90428bd4eb220f4a44e39239c63f3f2bf429b30ab0f649c80549966a65f
|
||||
@@ -2,12 +2,10 @@
|
||||
<!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">raven</remote-id>
|
||||
<remote-id type="github">getsentry/raven-python</remote-id>
|
||||
<remote-id type="github">sanic-org/sanic-routing</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
30
dev-python/sanic-routing/sanic-routing-0.6.2.ebuild
Normal file
30
dev-python/sanic-routing/sanic-routing-0.6.2.ebuild
Normal file
@@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Internal handler routing for Sanic"
|
||||
HOMEPAGE="
|
||||
https://pypi.python.org/pypi/sanic-routing
|
||||
https://github.com/sanic-org/sanic-routing
|
||||
"
|
||||
SRC_URI="https://github.com/sanic-org/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/sanic[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
1
dev-python/sanic-testing/Manifest
Normal file
1
dev-python/sanic-testing/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST sanic-testing-0.4.0.tar.gz 7859 BLAKE2B 6f2473ed5f0ed4465816a78ebec45ec1624ce660508dde988fb1642d70ab2fd2992052efaae561fc9c845654f8862e43da2685884df19937836f6a82b3aeaac4 SHA512 25ac5421428d930dcb02fe88c046f75d568650cc262ae94bbea55303c58c1668a940176dcfcb8b2c9cf44f174c1dc47549d12c516db843cb86fc925302595057
|
||||
14
dev-python/sanic-testing/metadata.xml
Normal file
14
dev-python/sanic-testing/metadata.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?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">
|
||||
This package is meant to be the core testing utility and clients for testing Sanic applications. It is mainly derived from sanic.testing which has (or will be) removed from the main Sanic repository in the future.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">sanic-org/sanic</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
34
dev-python/sanic-testing/sanic-testing-0.4.0.ebuild
Normal file
34
dev-python/sanic-testing/sanic-testing-0.4.0.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Test clients for Sanic"
|
||||
HOMEPAGE="
|
||||
https://pypi.python.org/pypi/sanic-testing
|
||||
https://github.com/sanic-org/sanic-testing
|
||||
"
|
||||
SRC_URI="https://github.com/sanic-org/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/httpx-0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/websockets-8.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
>=dev-python/sanic-21.3[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1 +1,2 @@
|
||||
DIST sanic-20.9.1.tar.gz 214560 BLAKE2B 2df6127d9a4b0cc8fc60e2aafe47b4e10f1474b3bee5b3974265be8c5edcfd2f7fdccb4d2b3f977d2f51ff0a2d0dc33c2d120c7d858fae56d845f6b22261eb7e SHA512 4c19fa2731b98eeb843c272856a2e6a4d25817b29d490dfa9c7e4f086ca91b5a8f4c38488673029ca21d125858d6095f40a960284c487b2601bef2c1fdedca28
|
||||
DIST sanic-21.3.4.tar.gz 234229 BLAKE2B a24941777099d5a09dd020a7f0a9fe39ae0ab89436fe27e2e4bbb418b684583002b9249e46438787d07bae6114ee1a0fd27e24e4e29983e8499f766f238e07d9 SHA512 15596f37b5389073d6a2b5e2d2bf5871d9a31ba29bf4e2eac9fb91df29e76035b02f7d892bb8edd5ffde75f05acdcebdb2c8f5ddf7224f40c5391c8f058f5c97
|
||||
|
||||
57
dev-python/sanic/sanic-21.3.4.ebuild
Normal file
57
dev-python/sanic/sanic-21.3.4.ebuild
Normal file
@@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Async Python 3.6+ web server/framework | Build fast. Run fast."
|
||||
HOMEPAGE="
|
||||
https://pypi.python.org/pypi/sanic
|
||||
https://github.com/huge-success/sanic
|
||||
"
|
||||
SRC_URI="https://github.com/huge-success/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/aiofiles-0.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/httptools-0.0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/multidict-5.0[${PYTHON_USEDEP}]
|
||||
<dev-python/multidict-6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sanic-routing-0.0.10[${PYTHON_USEDEP}]
|
||||
dev-python/ujson[${PYTHON_USEDEP}]
|
||||
dev-python/uvloop[${PYTHON_USEDEP}]
|
||||
>=dev-python/websockets-8.1[${PYTHON_USEDEP}]
|
||||
<dev-python/websockets-9.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/beautifulsoup[${PYTHON_USEDEP}]
|
||||
>=dev-python/httpcore-0.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-5.2.1[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-benchmark[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-sanic[${PYTHON_USEDEP}]
|
||||
dev-python/sanic-testing[${PYTHON_USEDEP}]
|
||||
dev-python/uvicorn[${PYTHON_USEDEP}]
|
||||
www-servers/gunicorn[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/docutils \
|
||||
dev-python/pygments \
|
||||
dev-python/sphinx_rtd_theme \
|
||||
dev-python/recommonmark \
|
||||
www-servers/gunicorn
|
||||
|
||||
python_test() {
|
||||
pytest -vv --deselect tests/test_unix_socket.py::test_zero_downtime || die
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
This license applies to the Visual Studio Code product. Source Code for Visual Studio Code is available at https://github.com/Microsoft/vscode under the MIT license agreement at https://github.com/Microsoft/vscode/blob/master/LICENSE.txt. Additional license information can be found in our FAQ at https://code.visualstudio.com/docs/supporting/faq.
|
||||
|
||||
MICROSOFT SOFTWARE LICENSE TERMS
|
||||
MICROSOFT VISUAL STUDIO CODE
|
||||
These license terms are an agreement between you and Microsoft Corporation (or based on where you live, one of its affiliates). They apply to the software named above. The terms also apply to any Microsoft services or updates for the software, except to the extent those have different terms.
|
||||
|
||||
IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW.
|
||||
|
||||
INSTALLATION AND USE RIGHTS.
|
||||
General. You may use any number of copies of the software to develop and test your applications, including deployment within your internal corporate network.
|
||||
Demo use. The uses permitted above include use of the software in demonstrating your applications.
|
||||
Third Party Components. The software may include third party components with separate legal notices or governed by other agreements, as may be described in the ThirdPartyNotices file accompanying the software.
|
||||
Extensions. The software gives you the option to download other Microsoft and third party software packages from our extension marketplace or package managers. Those packages are under their own licenses, and not this agreement. Microsoft does not distribute, license or provide any warranties for any of the third party packages. By accessing or using our extension marketplace, you agree to the extension marketplace terms located at https://aka.ms/vsmarketplace-ToU.
|
||||
DATA.
|
||||
Data Collection. The software may collect information about you and your use of the software, and send that to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may opt-out of many of these scenarios, but not all, as described in the product documentation located at https://code.visualstudio.com/docs/supporting/faq#_how-to-disable-telemetry-reporting. There may also be some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with Microsofts privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
|
||||
Processing of Personal Data. To the extent Microsoft is a processor or subprocessor of personal data in connection with the software, Microsoft makes the commitments in the European Union General Data Protection Regulation Terms of the Online Services Terms to all customers effective May 25, 2018, at https://go.microsoft.com/?linkid=9840733.
|
||||
UPDATES. The software may periodically check for updates and download and install them for you. You may obtain updates only from Microsoft or authorized sources. Microsoft may need to update your system to provide you with updates. You agree to receive these automatic updates without any additional notice. Updates may not include or support all existing software features, services, or peripheral devices. If you do not want automatic updates, you may turn them off by following the instructions in the documentation at https://go.microsoft.com/fwlink/?LinkID=616397.
|
||||
FEEDBACK. If you give feedback about the software to Microsoft, you give to Microsoft, without charge, the right to use, share and commercialize your feedback in any way and for any purpose. You will not give feedback that is subject to a license that requires Microsoft to license its software or documentation to third parties because we include your feedback in them. These rights survive this agreement.
|
||||
SCOPE OF LICENSE. This license applies to the Visual Studio Code product. Source code for Visual Studio Code is available at https://github.com/Microsoft/vscode under the MIT license agreement. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not
|
||||
reverse engineer, decompile or disassemble the software, or otherwise attempt to derive the source code for the software except and solely to the extent required by third party licensing terms governing use of certain open source components that may be included in the software;
|
||||
remove, minimize, block or modify any notices of Microsoft or its suppliers in the software;
|
||||
use the software in any way that is against the law;
|
||||
share, publish, rent or lease the software, or provide the software as a stand-alone offering for others to use.
|
||||
SUPPORT SERVICES. Because this software is as is, we may not provide support services for it.
|
||||
ENTIRE AGREEMENT. This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.
|
||||
EXPORT RESTRICTIONS. You must comply with all domestic and international export laws and regulations that apply to the software, which include restrictions on destinations, end-users, and end use. For further information on export restrictions, see https://www.microsoft.com/exporting.
|
||||
APPLICABLE LAW. If you acquired the software in the United States, Washington law applies to interpretation of and claims for breach of this agreement, and the laws of the state where you live apply to all other claims. If you acquired the software in any other country, its laws apply.
|
||||
CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain legal rights. You may have other rights, including consumer rights, under the laws of your state or country. Separate and apart from your relationship with Microsoft, you may also have rights with respect to the party from which you acquired the software. This agreement does not change those other rights if the laws of your state or country do not permit it to do so. For example, if you acquired the software in one of the below regions, or mandatory country law applies, then the following provisions apply to you:
|
||||
Australia. You have statutory guarantees under the Australian Consumer Law and nothing in this agreement is intended to affect those rights.
|
||||
Canada. If you acquired this software in Canada, you may stop receiving updates by turning off the automatic update feature, disconnecting your device from the Internet (if and when you re-connect to the Internet, however, the software will resume checking for and installing updates), or uninstalling the software. The product documentation, if any, may also specify how to turn off updates for your specific device or software.
|
||||
Germany and Austria.
|
||||
Warranty. The properly licensed software will perform substantially as described in any Microsoft materials that accompany the software. However, Microsoft gives no contractual guarantee in relation to the licensed software.
|
||||
Limitation of Liability. In case of intentional conduct, gross negligence, claims based on the Product Liability Act, as well as, in case of death or personal or physical injury, Microsoft is liable according to the statutory law.
|
||||
Subject to the foregoing clause (ii), Microsoft will only be liable for slight negligence if Microsoft is in breach of such material contractual obligations, the fulfillment of which facilitate the due performance of this agreement, the breach of which would endanger the purpose of this agreement and the compliance with which a party may constantly trust in (so-called "cardinal obligations"). In other cases of slight negligence, Microsoft will not be liable for slight negligence.
|
||||
|
||||
DISCLAIMER OF WARRANTY. The software is licensed as-is. You bear the risk of using it. Microsoft gives no express warranties, guarantees or conditions. To the extent permitted under your local laws, Microsoft excludes the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
|
||||
LIMITATION ON AND EXCLUSION OF DAMAGES. You can recover from Microsoft and its suppliers only direct damages up to U.S. $5.00. You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.
|
||||
|
||||
This limitation applies to (a) anything related to the software, services, content (including code) on third party Internet sites, or third party applications; and (b) claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.
|
||||
|
||||
It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your state or country may not allow the exclusion or limitation of incidental, consequential or other damages.
|
||||
Reference in New Issue
Block a user