From 1fab63f837034302bb8ffa0ef7a5a18dd1c3cc04 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Thu, 27 May 2021 11:35:36 +0200 Subject: [PATCH 01/18] dev-cpp/tiny-dnn: initial import Signed-off-by: Alessandro Barbieri --- dev-cpp/tiny-dnn/Manifest | 1 + ...nn-add-sphinx-ext-autodoc-to-conf-py.patch | 11 +++ .../tiny-dnn-disable-gtest-download.patch | 29 ++++++ dev-cpp/tiny-dnn/metadata.xml | 89 +++++++++++++++++++ dev-cpp/tiny-dnn/tiny-dnn-1.0.0_alpha3.ebuild | 84 +++++++++++++++++ 5 files changed, 214 insertions(+) create mode 100644 dev-cpp/tiny-dnn/Manifest create mode 100644 dev-cpp/tiny-dnn/files/tiny-dnn-add-sphinx-ext-autodoc-to-conf-py.patch create mode 100644 dev-cpp/tiny-dnn/files/tiny-dnn-disable-gtest-download.patch create mode 100644 dev-cpp/tiny-dnn/metadata.xml create mode 100644 dev-cpp/tiny-dnn/tiny-dnn-1.0.0_alpha3.ebuild diff --git a/dev-cpp/tiny-dnn/Manifest b/dev-cpp/tiny-dnn/Manifest new file mode 100644 index 0000000000..5cf90f4204 --- /dev/null +++ b/dev-cpp/tiny-dnn/Manifest @@ -0,0 +1 @@ +DIST tiny-dnn-1.0.0_alpha3.tar.gz 12885646 BLAKE2B 85c0715ab6c692b77522487775e70b0db645528baed1830c83c9f44d2b67a5207e4f7ea1709b35c6a4217d287199549304e9be19f4a5cec9a1183b0b5dccc562 SHA512 5f2c1a161771efa67e85b1fea395953b7744e29f61187ac5a6c54c912fb195b3aef9a5827135c3668bd0eeea5ae04a33cc433e1f6683e2b7955010a2632d168b diff --git a/dev-cpp/tiny-dnn/files/tiny-dnn-add-sphinx-ext-autodoc-to-conf-py.patch b/dev-cpp/tiny-dnn/files/tiny-dnn-add-sphinx-ext-autodoc-to-conf-py.patch new file mode 100644 index 0000000000..4fadeaa907 --- /dev/null +++ b/dev-cpp/tiny-dnn/files/tiny-dnn-add-sphinx-ext-autodoc-to-conf-py.patch @@ -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. diff --git a/dev-cpp/tiny-dnn/files/tiny-dnn-disable-gtest-download.patch b/dev-cpp/tiny-dnn/files/tiny-dnn-disable-gtest-download.patch new file mode 100644 index 0000000000..40b65ed23d --- /dev/null +++ b/dev-cpp/tiny-dnn/files/tiny-dnn-disable-gtest-download.patch @@ -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 diff --git a/dev-cpp/tiny-dnn/metadata.xml b/dev-cpp/tiny-dnn/metadata.xml new file mode 100644 index 0000000000..5f2810ee5b --- /dev/null +++ b/dev-cpp/tiny-dnn/metadata.xml @@ -0,0 +1,89 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + +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 + + + Build tiny-dnn with double precision computations + + + Build tiny-dnn with OpenCL library support + Build tiny-dnn with Serialization support + Build tiny-dnn with TBB library support + + + tiny-dnn/tiny-dnn + + diff --git a/dev-cpp/tiny-dnn/tiny-dnn-1.0.0_alpha3.ebuild b/dev-cpp/tiny-dnn/tiny-dnn-1.0.0_alpha3.ebuild new file mode 100644 index 0000000000..c01cd7f586 --- /dev/null +++ b/dev-cpp/tiny-dnn/tiny-dnn-1.0.0_alpha3.ebuild @@ -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 +} From deb1e1713660dd1cc89fbdcd4dc227ab4b2f3187 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Thu, 27 May 2021 12:17:12 +0200 Subject: [PATCH 02/18] dev-cpp/folly: add 2021.05.24.00 Signed-off-by: Alessandro Barbieri --- dev-cpp/folly/Manifest | 1 + dev-cpp/folly/folly-2021.05.24.00.ebuild | 37 ++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-cpp/folly/folly-2021.05.24.00.ebuild diff --git a/dev-cpp/folly/Manifest b/dev-cpp/folly/Manifest index 0bc7557aef..880308b5a7 100644 --- a/dev-cpp/folly/Manifest +++ b/dev-cpp/folly/Manifest @@ -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 diff --git a/dev-cpp/folly/folly-2021.05.24.00.ebuild b/dev-cpp/folly/folly-2021.05.24.00.ebuild new file mode 100644 index 0000000000..0310ffd787 --- /dev/null +++ b/dev-cpp/folly/folly-2021.05.24.00.ebuild @@ -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 +} From 64ec18e6fc8f4ef20d2218f6f8bf7c83f0b3c531 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Thu, 27 May 2021 12:17:29 +0200 Subject: [PATCH 03/18] dev-cpp/fizz: add 2021.05.24.00 Signed-off-by: Alessandro Barbieri --- dev-cpp/fizz/Manifest | 1 + dev-cpp/fizz/fizz-2021.05.24.00.ebuild | 46 ++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 dev-cpp/fizz/fizz-2021.05.24.00.ebuild diff --git a/dev-cpp/fizz/Manifest b/dev-cpp/fizz/Manifest index 23013ecdd2..68fd37a174 100644 --- a/dev-cpp/fizz/Manifest +++ b/dev-cpp/fizz/Manifest @@ -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 diff --git a/dev-cpp/fizz/fizz-2021.05.24.00.ebuild b/dev-cpp/fizz/fizz-2021.05.24.00.ebuild new file mode 100644 index 0000000000..ce8b93c27d --- /dev/null +++ b/dev-cpp/fizz/fizz-2021.05.24.00.ebuild @@ -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 +} From 97ef197c4f83c3e42d569399caaa10cc869f64f5 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Thu, 27 May 2021 12:17:41 +0200 Subject: [PATCH 04/18] dev-cpp/wangle: add 2021.05.24.00 Signed-off-by: Alessandro Barbieri --- dev-cpp/wangle/Manifest | 1 + dev-cpp/wangle/wangle-2021.05.24.00.ebuild | 37 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-cpp/wangle/wangle-2021.05.24.00.ebuild diff --git a/dev-cpp/wangle/Manifest b/dev-cpp/wangle/Manifest index ee48e65814..c5e5bce2f0 100644 --- a/dev-cpp/wangle/Manifest +++ b/dev-cpp/wangle/Manifest @@ -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 diff --git a/dev-cpp/wangle/wangle-2021.05.24.00.ebuild b/dev-cpp/wangle/wangle-2021.05.24.00.ebuild new file mode 100644 index 0000000000..a53168c76c --- /dev/null +++ b/dev-cpp/wangle/wangle-2021.05.24.00.ebuild @@ -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 +} From e0336eb7a62e6d668c1f1d5b7386609cc7add2ea Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Thu, 27 May 2021 12:18:09 +0200 Subject: [PATCH 05/18] dev-cpp/fbthrift: add 2021.05.24.00 Signed-off-by: Alessandro Barbieri --- dev-cpp/fbthrift/Manifest | 1 + .../fbthrift/fbthrift-2021.05.24.00.ebuild | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 dev-cpp/fbthrift/fbthrift-2021.05.24.00.ebuild diff --git a/dev-cpp/fbthrift/Manifest b/dev-cpp/fbthrift/Manifest index 4608a3f949..cfd659b693 100644 --- a/dev-cpp/fbthrift/Manifest +++ b/dev-cpp/fbthrift/Manifest @@ -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 diff --git a/dev-cpp/fbthrift/fbthrift-2021.05.24.00.ebuild b/dev-cpp/fbthrift/fbthrift-2021.05.24.00.ebuild new file mode 100644 index 0000000000..fe7319ed70 --- /dev/null +++ b/dev-cpp/fbthrift/fbthrift-2021.05.24.00.ebuild @@ -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 +} From e1c2137b100f2f69ede6d2820da45c262f7bbc8d Mon Sep 17 00:00:00 2001 From: Adel KARA SLIMANE Date: Thu, 27 May 2021 15:13:46 +0200 Subject: [PATCH 06/18] app-editors/visual-studio-code-bin: move to ::gentoo as `app-editors/vscode` Signed-off-by: Adel KARA SLIMANE --- app-editors/visual-studio-code-bin/Manifest | 6 -- .../files/code-url-handler.desktop | 12 --- .../visual-studio-code-bin/files/code.desktop | 18 ----- .../visual-studio-code-bin/metadata.xml | 27 ------- .../visual-studio-code-bin-1.55.2.ebuild | 73 ------------------- .../visual-studio-code-bin-1.56.2.ebuild | 73 ------------------- profiles/repo_name | 2 +- 7 files changed, 1 insertion(+), 210 deletions(-) delete mode 100644 app-editors/visual-studio-code-bin/Manifest delete mode 100644 app-editors/visual-studio-code-bin/files/code-url-handler.desktop delete mode 100644 app-editors/visual-studio-code-bin/files/code.desktop delete mode 100644 app-editors/visual-studio-code-bin/metadata.xml delete mode 100644 app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.2.ebuild delete mode 100644 app-editors/visual-studio-code-bin/visual-studio-code-bin-1.56.2.ebuild diff --git a/app-editors/visual-studio-code-bin/Manifest b/app-editors/visual-studio-code-bin/Manifest deleted file mode 100644 index 080471f3e2..0000000000 --- a/app-editors/visual-studio-code-bin/Manifest +++ /dev/null @@ -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 diff --git a/app-editors/visual-studio-code-bin/files/code-url-handler.desktop b/app-editors/visual-studio-code-bin/files/code-url-handler.desktop deleted file mode 100644 index 30ecb71dc2..0000000000 --- a/app-editors/visual-studio-code-bin/files/code-url-handler.desktop +++ /dev/null @@ -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; diff --git a/app-editors/visual-studio-code-bin/files/code.desktop b/app-editors/visual-studio-code-bin/files/code.desktop deleted file mode 100644 index 8d428b915e..0000000000 --- a/app-editors/visual-studio-code-bin/files/code.desktop +++ /dev/null @@ -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 diff --git a/app-editors/visual-studio-code-bin/metadata.xml b/app-editors/visual-studio-code-bin/metadata.xml deleted file mode 100644 index 47fc4d3bf3..0000000000 --- a/app-editors/visual-studio-code-bin/metadata.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - onigino@protonmail.com - Gino McCarty - - - rossbridger.cc@gmail.com - Ross Charles Campbell - - - adel.ks@zegrapher.com - Adel KARA SLIMANE - - -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). - - - microsoft/vscode - https://github.com/microsoft/vscode/issues - - diff --git a/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.2.ebuild b/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.2.ebuild deleted file mode 100644 index 753167b065..0000000000 --- a/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.2.ebuild +++ /dev/null @@ -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" -} diff --git a/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.56.2.ebuild b/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.56.2.ebuild deleted file mode 100644 index 753167b065..0000000000 --- a/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.56.2.ebuild +++ /dev/null @@ -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" -} diff --git a/profiles/repo_name b/profiles/repo_name index 83855914b2..674167d5f5 100644 --- a/profiles/repo_name +++ b/profiles/repo_name @@ -1 +1 @@ -guru +guru-dev From cc28fd6ab4cd4b19c8c7e3a900d77c8648212f7d Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Thu, 27 May 2021 16:03:37 +0200 Subject: [PATCH 07/18] dev-python/sanic-routing: initial import Signed-off-by: Alessandro Barbieri --- dev-python/sanic-routing/Manifest | 1 + dev-python/sanic-routing/metadata.xml | 11 +++++++ .../sanic-routing/sanic-routing-0.6.2.ebuild | 30 +++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 dev-python/sanic-routing/Manifest create mode 100644 dev-python/sanic-routing/metadata.xml create mode 100644 dev-python/sanic-routing/sanic-routing-0.6.2.ebuild diff --git a/dev-python/sanic-routing/Manifest b/dev-python/sanic-routing/Manifest new file mode 100644 index 0000000000..2a45ff5804 --- /dev/null +++ b/dev-python/sanic-routing/Manifest @@ -0,0 +1 @@ +DIST sanic-routing-0.6.2.tar.gz 14854 BLAKE2B c268244b18531b220eacaa4aa5d6b23612e9f3a27774df65c35b12645bcc18916142c304c07e59a64c950f1f1e7c8e0c34c9c605b1478293e22708c20ba3bc36 SHA512 8bbbae9424bd4e39c8549f70263f9a4847b5f81441152e671e7b8976372b4eecabfde90428bd4eb220f4a44e39239c63f3f2bf429b30ab0f649c80549966a65f diff --git a/dev-python/sanic-routing/metadata.xml b/dev-python/sanic-routing/metadata.xml new file mode 100644 index 0000000000..059ada3850 --- /dev/null +++ b/dev-python/sanic-routing/metadata.xml @@ -0,0 +1,11 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + sanic-org/sanic-routing + + diff --git a/dev-python/sanic-routing/sanic-routing-0.6.2.ebuild b/dev-python/sanic-routing/sanic-routing-0.6.2.ebuild new file mode 100644 index 0000000000..7306101e8b --- /dev/null +++ b/dev-python/sanic-routing/sanic-routing-0.6.2.ebuild @@ -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 From 598bfa396f7dd1bf566e7c26fed16c813764bbef Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Thu, 27 May 2021 16:25:27 +0200 Subject: [PATCH 08/18] dev-python/pytest-sanic: add 1.7.1 Signed-off-by: Alessandro Barbieri --- dev-python/pytest-sanic/Manifest | 1 + .../pytest-sanic/pytest-sanic-1.7.1.ebuild | 55 +++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild diff --git a/dev-python/pytest-sanic/Manifest b/dev-python/pytest-sanic/Manifest index b35148c500..2d751be0e1 100644 --- a/dev-python/pytest-sanic/Manifest +++ b/dev-python/pytest-sanic/Manifest @@ -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 diff --git a/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild b/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild new file mode 100644 index 0000000000..f45dbde92a --- /dev/null +++ b/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild @@ -0,0 +1,55 @@ +# 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}] + Date: Thu, 27 May 2021 16:28:33 +0200 Subject: [PATCH 09/18] dev-python/sanic-testing: initial import Signed-off-by: Alessandro Barbieri --- dev-python/sanic-testing/Manifest | 1 + dev-python/sanic-testing/metadata.xml | 14 ++++++++ .../sanic-testing/sanic-testing-0.4.0.ebuild | 34 +++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 dev-python/sanic-testing/Manifest create mode 100644 dev-python/sanic-testing/metadata.xml create mode 100644 dev-python/sanic-testing/sanic-testing-0.4.0.ebuild diff --git a/dev-python/sanic-testing/Manifest b/dev-python/sanic-testing/Manifest new file mode 100644 index 0000000000..ac83ad13e3 --- /dev/null +++ b/dev-python/sanic-testing/Manifest @@ -0,0 +1 @@ +DIST sanic-testing-0.4.0.tar.gz 7859 BLAKE2B 6f2473ed5f0ed4465816a78ebec45ec1624ce660508dde988fb1642d70ab2fd2992052efaae561fc9c845654f8862e43da2685884df19937836f6a82b3aeaac4 SHA512 25ac5421428d930dcb02fe88c046f75d568650cc262ae94bbea55303c58c1668a940176dcfcb8b2c9cf44f174c1dc47549d12c516db843cb86fc925302595057 diff --git a/dev-python/sanic-testing/metadata.xml b/dev-python/sanic-testing/metadata.xml new file mode 100644 index 0000000000..d346b31316 --- /dev/null +++ b/dev-python/sanic-testing/metadata.xml @@ -0,0 +1,14 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + +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. + + + sanic-org/sanic + + diff --git a/dev-python/sanic-testing/sanic-testing-0.4.0.ebuild b/dev-python/sanic-testing/sanic-testing-0.4.0.ebuild new file mode 100644 index 0000000000..68bf1194da --- /dev/null +++ b/dev-python/sanic-testing/sanic-testing-0.4.0.ebuild @@ -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 From 9fa3f60c38d0f215bf148b9be2d84348cd4b2afb Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Thu, 27 May 2021 16:47:31 +0200 Subject: [PATCH 10/18] dev-python/sanic: add 21.3.4 Signed-off-by: Alessandro Barbieri --- dev-python/sanic/Manifest | 1 + dev-python/sanic/sanic-21.3.4.ebuild | 57 ++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 dev-python/sanic/sanic-21.3.4.ebuild diff --git a/dev-python/sanic/Manifest b/dev-python/sanic/Manifest index c240b52dd5..ee74883b93 100644 --- a/dev-python/sanic/Manifest +++ b/dev-python/sanic/Manifest @@ -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 diff --git a/dev-python/sanic/sanic-21.3.4.ebuild b/dev-python/sanic/sanic-21.3.4.ebuild new file mode 100644 index 0000000000..bc79bf25f0 --- /dev/null +++ b/dev-python/sanic/sanic-21.3.4.ebuild @@ -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/sanic-routing-0.0.10[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + dev-python/uvloop[${PYTHON_USEDEP}] + >=dev-python/websockets-8.1[${PYTHON_USEDEP}] + Date: Fri, 28 May 2021 04:28:19 +0200 Subject: [PATCH 11/18] dev-python/atomiclong: bump python, tested Signed-off-by: Alessandro Barbieri --- dev-python/atomiclong/atomiclong-0.1.1-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/atomiclong/atomiclong-0.1.1-r1.ebuild b/dev-python/atomiclong/atomiclong-0.1.1-r1.ebuild index 2e7d916f5e..3902c1c977 100644 --- a/dev-python/atomiclong/atomiclong-0.1.1-r1.ebuild +++ b/dev-python/atomiclong/atomiclong-0.1.1-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" -PYTHON_COMPAT=( pypy3 python3_7 ) +PYTHON_COMPAT=( pypy3 python3_{7,8,9} ) inherit distutils-r1 From 75eb85bb4d00b67365939f597b75f130baace517 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Fri, 28 May 2021 04:28:49 +0200 Subject: [PATCH 12/18] dev-python/raven: bump python Signed-off-by: Alessandro Barbieri --- dev-python/raven/raven-6.10.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/raven/raven-6.10.0.ebuild b/dev-python/raven/raven-6.10.0.ebuild index 71cf5f3c2d..44e5526c5a 100644 --- a/dev-python/raven/raven-6.10.0.ebuild +++ b/dev-python/raven/raven-6.10.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7,8,9} ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 From 49de9e82a4dda88a17ff47db9b633a319b457f9d Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Fri, 28 May 2021 04:35:15 +0200 Subject: [PATCH 13/18] dev-python/atomiclong: treeclean Signed-off-by: Alessandro Barbieri --- dev-python/atomiclong/Manifest | 1 - .../atomiclong/atomiclong-0.1.1-r1.ebuild | 20 ------------------- dev-python/atomiclong/metadata.xml | 17 ---------------- 3 files changed, 38 deletions(-) delete mode 100644 dev-python/atomiclong/Manifest delete mode 100644 dev-python/atomiclong/atomiclong-0.1.1-r1.ebuild delete mode 100644 dev-python/atomiclong/metadata.xml diff --git a/dev-python/atomiclong/Manifest b/dev-python/atomiclong/Manifest deleted file mode 100644 index bfc8fec52c..0000000000 --- a/dev-python/atomiclong/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST atomiclong-0.1.1.tar.gz 5057 BLAKE2B 2583674eafd2e89c91629db69e6c118d22ae169df4131e3d63a584ed9857df47bb85c0764cd60b7df35eb8db5b4aedfe043bfcfb960909e2abcb97a27ba7567d SHA512 c275cff805df2275b6d9cfabed072c296019f1e7f6e2d718e0cec60ca40a99c6e8043a17a82f752096a1764cbc63e5681739da921ce1c89dfa8e5a6349e1772a diff --git a/dev-python/atomiclong/atomiclong-0.1.1-r1.ebuild b/dev-python/atomiclong/atomiclong-0.1.1-r1.ebuild deleted file mode 100644 index 3902c1c977..0000000000 --- a/dev-python/atomiclong/atomiclong-0.1.1-r1.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( pypy3 python3_{7,8,9} ) - -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 diff --git a/dev-python/atomiclong/metadata.xml b/dev-python/atomiclong/metadata.xml deleted file mode 100644 index 20f5297e31..0000000000 --- a/dev-python/atomiclong/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - lssndrbarbieri@gmail.com - Alessandro Barbieri - - - dreid/atomiclong - - -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. - - From 9abf86a464190ffc1a65ad179af35fd2b84863e9 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Fri, 28 May 2021 04:35:39 +0200 Subject: [PATCH 14/18] dev-python/raven: treeclean Signed-off-by: Alessandro Barbieri --- dev-python/raven/Manifest | 1 - dev-python/raven/files/no-coverage.patch | 10 ---- dev-python/raven/metadata.xml | 13 ----- dev-python/raven/raven-6.10.0.ebuild | 64 ------------------------ 4 files changed, 88 deletions(-) delete mode 100644 dev-python/raven/Manifest delete mode 100644 dev-python/raven/files/no-coverage.patch delete mode 100644 dev-python/raven/metadata.xml delete mode 100644 dev-python/raven/raven-6.10.0.ebuild diff --git a/dev-python/raven/Manifest b/dev-python/raven/Manifest deleted file mode 100644 index ffc242aa49..0000000000 --- a/dev-python/raven/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST raven-6.10.0.tar.gz 288902 BLAKE2B e72f48511347910d65cae9ba342a0a592bead9e848ec932b5efc361e7993ce77ce7213fce63c7cfb40534ace536c9ed55751928c991272ed123e12222047b096 SHA512 37ca6d5953dc92b57b3bf4e2edb3947d41f33711d9babfc9eafb8712dc5923829f8810e5123e63749710aeecceb66e56bf8b5b60868f61d750704e20add3c747 diff --git a/dev-python/raven/files/no-coverage.patch b/dev-python/raven/files/no-coverage.patch deleted file mode 100644 index 70a48d1426..0000000000 --- a/dev-python/raven/files/no-coverage.patch +++ /dev/null @@ -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 diff --git a/dev-python/raven/metadata.xml b/dev-python/raven/metadata.xml deleted file mode 100644 index 3abb195a1d..0000000000 --- a/dev-python/raven/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - comaintainers welcome - lssndrbarbieri@gmail.com - Alessandro Barbieri - - - raven - getsentry/raven-python - - diff --git a/dev-python/raven/raven-6.10.0.ebuild b/dev-python/raven/raven-6.10.0.ebuild deleted file mode 100644 index 44e5526c5a..0000000000 --- a/dev-python/raven/raven-6.10.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# 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="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 -} From 0bdd5eee429d8c90a6a2b1cb78d2437abf2d857c Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Fri, 28 May 2021 09:12:48 +0200 Subject: [PATCH 15/18] Reset repo_name to 'guru' The repository name got errornously set from 'guru' to 'guru-dev'. Fixes: e1c2137b100f ("app-editors/visual-studio-code-bin: move to ::gentoo as `app-editors/vscode`") Signed-off-by: Florian Schmaus --- profiles/repo_name | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/repo_name b/profiles/repo_name index 674167d5f5..83855914b2 100644 --- a/profiles/repo_name +++ b/profiles/repo_name @@ -1 +1 @@ -guru-dev +guru From 4ca823c0459c84e743c034933cfd9400a040bd80 Mon Sep 17 00:00:00 2001 From: "Ronny (tastytea) Gutbrod" Date: Fri, 28 May 2021 09:28:49 +0200 Subject: [PATCH 16/18] app-text/epubgrep: Version bump 0.3.1 Signed-off-by: Ronny (tastytea) Gutbrod --- app-text/epubgrep/Manifest | 1 + app-text/epubgrep/epubgrep-0.3.1.ebuild | 45 +++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 app-text/epubgrep/epubgrep-0.3.1.ebuild diff --git a/app-text/epubgrep/Manifest b/app-text/epubgrep/Manifest index c8a012e969..c93d50428c 100644 --- a/app-text/epubgrep/Manifest +++ b/app-text/epubgrep/Manifest @@ -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 diff --git a/app-text/epubgrep/epubgrep-0.3.1.ebuild b/app-text/epubgrep/epubgrep-0.3.1.ebuild new file mode 100644 index 0000000000..46a105b76e --- /dev/null +++ b/app-text/epubgrep/epubgrep-0.3.1.ebuild @@ -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 +} From 887554a80c38f67c0fba91064ec7823dce0fec82 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Fri, 28 May 2021 12:26:26 +0200 Subject: [PATCH 17/18] dev-python/pytest-sanic: remove blank line Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan --- dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild b/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild index f45dbde92a..ae354f58f8 100644 --- a/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild +++ b/dev-python/pytest-sanic/pytest-sanic-1.7.1.ebuild @@ -31,7 +31,6 @@ DEPEND=" 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 From 867c79eabf3015ad6043d24894b9542209d7ac0c Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Fri, 28 May 2021 12:28:13 +0200 Subject: [PATCH 18/18] licenses: clean up unused license Signed-off-by: Andrew Ammerlaan --- licenses/Microsoft-VSCode | 41 --------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 licenses/Microsoft-VSCode diff --git a/licenses/Microsoft-VSCode b/licenses/Microsoft-VSCode deleted file mode 100644 index 1103713231..0000000000 --- a/licenses/Microsoft-VSCode +++ /dev/null @@ -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.