Merge updates from master

This commit is contained in:
Repository mirror & CI
2023-02-27 22:46:53 +00:00
38 changed files with 8 additions and 1099 deletions

View File

@@ -1 +0,0 @@
DIST fbthrift-2022.04.11.00.tar.gz 7475837 BLAKE2B 27e035296d7c73562824a192f2bdc8789aa9ff674f9693e991b71b4543b417ad41aaf186681bdddbe494557fe0a3a4471751111e667e98348c763321e9343412 SHA512 e45088151e9de051e30b5ac34b07c35b965092ea0ad8075029fce57de5df44c908d0c30663ce35b455ad96f277d8935e08e3ecba331708b1835333cf90e87ce1

View File

@@ -1,47 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} pypy3 )
inherit cmake python-single-r1
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/${PV}"
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/boost-1.79.0
dev-libs/libfmt
dev-libs/openssl:0=
sys-libs/zlib
${PYTHON_DEPS}
"
DEPEND="
${RDEPEND}
$(python_gen_cond_dep 'dev-python/six[${PYTHON_USEDEP}]')
"
BDEPEND="
sys-devel/bison
sys-devel/flex
"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_configure() {
local mycmakeargs=(
-DLIB_INSTALL_DIR=$(get_libdir)
)
cmake_src_configure
}

View File

@@ -1,19 +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>
<longdescription lang="en">
Thrift is a serialization and RPC framework for service communication. Thrift enables these features in all major languages, and there is strong support for C++, Python, Hack, and Java. Most services at Facebook are written using Thrift for RPC, and some storage systems use Thrift for serializing records on disk.
Facebook Thrift is not a distribution of Apache Thrift. This is an evolved internal branch of Thrift that Facebook re-released to open source community in February 2014. Facebook Thrift was originally released closely tracking Apache Thrift but is now evolving in new directions. In particular, the compiler was rewritten from scratch and the new implementation features a fully asynchronous Thrift server. Read more about these improvements in the ThriftServer documentation.
You can also learn more about this project in the original Facebook Code blog post.
</longdescription>
<upstream>
<bugs-to>https://github.com/facebook/fbthrift/issues</bugs-to>
<remote-id type="github">facebook/fbthrift</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST fizz-2022.04.11.00.tar.gz 591060 BLAKE2B 5d773af07c70244f54b46927cf28677ef7eb7a9a822a47d497c0ddc9ee4abac34a13462cbcae5372dae5bb3370b7eafc3528c3b63c7b50c564d88c59d6a878f9 SHA512 94278ccda36c0781512a3f9245637573891c8b51d35e5b991d62aad86f2883a9a85406e004e88fd342f0a4020365a19e068ba975e0bf826bf7c360916862a1c8

View File

@@ -1,48 +0,0 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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/${PV}"
KEYWORDS="~amd64"
IUSE="examples test"
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=
"
DEPEND="
${RDEPEND}
test? ( >=dev-cpp/gtest-1.8.0 )
"
RESTRICT="!test? ( test )"
CMAKE_USE_DIR="${S}/fizz"
src_prepare() {
cmake_src_prepare
sed -i '/Sodium/d' fizz/cmake/fizz-config.cmake.in || die
}
src_configure() {
local mycmakeargs=(
-DBUILD_EXAMPLES=$(usex examples)
-DBUILD_TESTS=$(usex test)
-DLIB_INSTALL_DIR=$(get_libdir)
)
cmake_src_configure
}

View File

@@ -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>
<longdescription lang="en">
The core protocol implementations are in ClientProtocol and ServerProtocol. FizzClientContext and FizzServerContext provide configuration options. FizzClient and FizzServer (which both inherit from FizzBase) provide applications with an interface to interact with the state machine. FizzClient/FizzServer receives events from the application layer, invokes the correct event handler, and invokes the application ActionVisitor to process the actions.
AsyncFizzClient and AsyncFizzServer provide implementations of the folly AsyncTransportWrapper interface. They own an underlying transport (for example AsyncSocket) and perform the TLS handshake and encrypt/decrypt application data.
</longdescription>
<upstream>
<bugs-to>https://github.com/facebookincubator/fizz/issues</bugs-to>
<remote-id type="github">facebookincubator/fizz</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST wangle-2022.04.11.00.tar.gz 355228 BLAKE2B 1a86d03b0b6518a1b83d59d88ec5fd5f3a2265f951e2d1415e090b6dbdf92842f4726f7aef7e52ed4cb5923ff319051405cf9ef5ecf7eb4db19cce4d54471bff SHA512 8c908f5efcf8315f6779c2a5c5ac0a8de7a9257f661e35b72f6a9e33fe840056c56e1234fc0fc87224f68022b79080ca5360c256d426e5672f2aa2d5e2479371

View File

@@ -1,46 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<longdescription lang="en">
Client / Server abstraction
You're probably familiar with Java's Netty, or Python's twisted, or similar libraries.
It is built on top of folly/async/io, so it's one level up the stack from that (or similar abstractions like boost::asio)
ServerBootstrap - easily manage creation of threadpools and pipelines
ClientBootstrap - the same for clients
Pipeline - set up a series of handlers that modify your socket data
Request / Response abstraction
This is roughly equivalent to the Finagle library.
Aims to provide easy testing, load balancing, client pooling, retry logic, etc. for any request/response type service - i.e. thrift, http, etc.
Service - a matched interface between client/server. A server will implement this interface, and a client will call in to it. These are protocol-specific
ServiceFilter - a generic filter on a service. Examples: stats, request timeouts, rate limiting
ServiceFactory - A factory that creates client connections. Any protocol specific setup code goes here
ServiceFactoryFilter - Generic filters that control how connections are created. Client examples: load balancing, pooling, idle timeouts, markdowns, etc.
ServerBootstrap
Easily create a new server
ServerBootstrap does the work to set up one or multiple acceptor threads, and one or multiple sets of IO threads. The thread pools can be the same. SO_REUSEPORT is automatically supported for multiple accept threads. tcp is most common, although udp is also supported.
</longdescription>
<upstream>
<bugs-to>https://github.com/facebook/wangle/issues</bugs-to>
<remote-id type="github">facebook/wangle</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,43 +0,0 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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/${PV}"
KEYWORDS="~amd64"
IUSE="examples test"
RDEPEND="
~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=
"
DEPEND="
${RDEPEND}
dev-cpp/gtest
"
RESTRICT="!test? ( test )"
CMAKE_USE_DIR="${S}/wangle"
src_configure() {
local mycmakeargs=(
-DBUILD_EXAMPLES=$(usex examples)
-DBUILD_TESTS=$(usex test)
-DLIB_INSTALL_DIR=$(get_libdir)
)
cmake_src_configure
}

View File

@@ -1 +0,0 @@
DIST WSME-0.11.0.tar.gz 89863 BLAKE2B 3dfb9bbb2cce48eca47ec2498db8f69f1a4e9466cd6370f49fe874d640c244ae2e9cddbba1f3f5e1701612c80baaa2d3dd3f3a1309c9559c9da3b5f8dbdf4919 SHA512 5bbf2179a7efa413981ffcb360868875a1283a9cfde02626eb715fe9c61ff05367c62a346011a6d681b8c269c18e115e763f7bf589b456ec81a707bd102f913e

View File

@@ -1,44 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Simplify the writing of REST APIs, and extend them with additional protocols"
HOMEPAGE="
https://opendev.org/x/wsme
https://pypi.org/project/WSME/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/webob-1.8.0[${PYTHON_USEDEP}]
dev-python/simplegeneric[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
>=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
dev-python/pbr[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/transaction[${PYTHON_USEDEP}]
dev-python/pecan[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/flask-restful[${PYTHON_USEDEP}]
dev-python/webtest[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
)
"
distutils_enable_tests nose

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">WSME</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1

View File

@@ -1,2 +0,0 @@
DIST pypandoc-1.8.1.tar.gz 30374 BLAKE2B 864ab8d4db8857adcbd13fd72b1ef6d4d1857a5ff6e7511b5d8269c183d80e6c8f391f2982097e592e3a1417c2ee6a5b068956b76218ae13842f1a881ecb4047 SHA512 527de67fb4a329642a69422e6237a6f3b1df0d089fbeeb118c9fd2d54878d7d0565c161b0e8fd6aa864bd63498ed65b07d69f14c3976ffc079f31c12ebbe7c04
DIST pypandoc-1.8.tar.gz 31218 BLAKE2B 8eabcfa76b3022f0f8ed03dc2bb351d159018f63aa4a656d2b44d20ee59c0c6863fdc5ac168a86a70bf099c5c82c97451de97057a3e40c74c9b8af3eedb3c71c SHA512 a8b0e3656788cdf43af214c75ecc4f4bd27620ead00a7ce4c32ca44b4f30d7e2196164162eb12470db25c17e9b2f26868149a7b29549b0b9ebbedfc8e470bdb1

View File

@@ -1,23 +0,0 @@
From 44fa67fc92993301ec3e446d342a74c49d58334c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Anna=20=E2=80=9CCyberTailor=E2=80=9D?= <cyber@sysrq.in>
Date: Fri, 18 Mar 2022 08:41:08 +0500
Subject: [PATCH] Don't install examples
See Gentoo Bugzilla: https://bugs.gentoo.org/835475
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -32,14 +32,6 @@ packages = [
{ include = "pypandoc" },
]
-include = [
-"examples/*",
-"LICENSE",
-"README.md",
-"tests.py",
-"filter_test.md",
-]
-
[tool.poetry.dependencies]
python = "^2.7 || ^3.6"

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">bebraw/pypandoc</remote-id>
<remote-id type="pypi">pypandoc</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Pypandoc provides a thin wrapper for pandoc, a universal document converter"
HOMEPAGE="
https://github.com/NicklasTegner/pypandoc
https://pypi.org/project/pypandoc/
"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND="
app-text/pandoc
dev-haskell/pandoc-citeproc
dev-texlive/texlive-latex
"
DEPEND="
${RDEPEND}
>=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
"
PROPERTIES="test_network"
RESTRICT="test"
python_test() {
"${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}"
}

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Pypandoc provides a thin wrapper for pandoc, a universal document converter"
HOMEPAGE="
https://github.com/NicklasTegner/pypandoc
https://pypi.org/project/pypandoc/
"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND="
app-text/pandoc
dev-haskell/pandoc-citeproc
dev-texlive/texlive-latex
"
DEPEND="
${RDEPEND}
>=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
"
PROPERTIES="test_network"
RESTRICT="test"
python_test() {
"${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}"
}

View File

@@ -1,3 +0,0 @@
DIST spotify_dl-8.3.0.tar.gz 319579 BLAKE2B d61efe74a84704fef028df4d585b249eafdfbd2d48911f7fa36b72a33edf1a94eedb21b498bd53f4e53ce8a2b4b1b0f7e39caadf320485011717221e7c2eaef5 SHA512 739657d0f2f1bea741de8a2e51bc5be70dbb276d83d0e4555a7767d8c359dfd570c9348eaeccaac30d3097be1214648e798fc6c1de8deab3f346e2e0b89bb04a
DIST spotify_dl-8.4.0.tar.gz 874109 BLAKE2B 832eae3b8c5a943cd35bfa0161fbc67a527e81b70f49274bf11ff1e11a67e19116de44f1e28823060b35f665b702b288cf94a39fa4749b4a7a023edf985a0c77 SHA512 d0a42cc3f28701a72fecb80ce9ffacd14c90edded1f0ea252b6955bf55540568ba559ce78e456b651e1750de52f6cedc8d232a62fdfde708c242d990ba0a76c4
DIST spotify_dl-8.5.0.tar.gz 874387 BLAKE2B 6c55a428c6c1551f50e11401a675ecb48b6f6f63d84ab262b9f36035268192c257fc93d19b959d13d2583e7704e43c91a49889b8640cda62b5b92e641eee0078 SHA512 afae0ba1a291c91d6bf66d7dad38a4ccda36dfbe1d86b5a239aeebf380e817c58be4041b36eea096efaa5bb2d0abc3460d8f08f4e39923a4644218b1cce20387

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>smaniotto.nicola@gmail.com</email>
<name>Nicola Smaniotto</name>
</maintainer>
</pkgmetadata>

View File

@@ -1,42 +0,0 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
MY_PN="${PN/_/-}"
DESCRIPTION="Downloads songs from a Spotify Playlist/Track/Album that you provide"
HOMEPAGE="https://github.com/SathyaBhat/spotify-dl/"
SRC_URI="https://github.com/SathyaBhat/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
PROPERTIES="test_network"
RESTRICT="test"
S="${WORKDIR}/${MY_PN}-${PV}"
RDEPEND="
>=dev-python/sentry-sdk-1.5[${PYTHON_USEDEP}]
<dev-python/sentry-sdk-2[${PYTHON_USEDEP}]
>=net-misc/yt-dlp-2022.1.21[${PYTHON_USEDEP}]
>=dev-python/spotipy-2.19[${PYTHON_USEDEP}]
<dev-python/spotipy-3[${PYTHON_USEDEP}]
>=media-libs/mutagen-1.45[${PYTHON_USEDEP}]
<media-libs/mutagen-2[${PYTHON_USEDEP}]
>=dev-python/rich-12.0[${PYTHON_USEDEP}]
<dev-python/rich-13[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
src_prepare() {
default
sed -i "s/\.0$//" requirements.txt || die "Could not patch requrements"
}

View File

@@ -1,37 +0,0 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
MY_PN="${PN/_/-}"
DESCRIPTION="Downloads songs from a Spotify Playlist/Track/Album that you provide"
HOMEPAGE="https://github.com/SathyaBhat/spotify-dl/"
SRC_URI="https://github.com/SathyaBhat/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
PROPERTIES="test_network"
RESTRICT="test"
S="${WORKDIR}/${MY_PN}-${PV}"
RDEPEND="
>=dev-python/sentry-sdk-1.5[${PYTHON_USEDEP}]
<dev-python/sentry-sdk-2[${PYTHON_USEDEP}]
>=net-misc/yt-dlp-2022.1.21[${PYTHON_USEDEP}]
>=dev-python/spotipy-2.19[${PYTHON_USEDEP}]
<dev-python/spotipy-3[${PYTHON_USEDEP}]
>=media-libs/mutagen-1.45[${PYTHON_USEDEP}]
<media-libs/mutagen-2[${PYTHON_USEDEP}]
>=dev-python/rich-12.0[${PYTHON_USEDEP}]
<dev-python/rich-13[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest

View File

@@ -1,38 +0,0 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
MY_PN="${PN/_/-}"
DESCRIPTION="Downloads songs from a Spotify Playlist/Track/Album that you provide"
HOMEPAGE="https://github.com/SathyaBhat/spotify-dl/"
SRC_URI="https://github.com/SathyaBhat/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
PROPERTIES="test_network"
RESTRICT="test"
S="${WORKDIR}/${MY_PN}-${PV}"
RDEPEND="
>=dev-python/sentry-sdk-1.5[${PYTHON_USEDEP}]
<dev-python/sentry-sdk-2[${PYTHON_USEDEP}]
>=net-misc/yt-dlp-2022.1.21[${PYTHON_USEDEP}]
>=dev-python/spotipy-2.19[${PYTHON_USEDEP}]
<dev-python/spotipy-3[${PYTHON_USEDEP}]
>=media-libs/mutagen-1.45[${PYTHON_USEDEP}]
<media-libs/mutagen-2[${PYTHON_USEDEP}]
>=dev-python/rich-12.0[${PYTHON_USEDEP}]
<dev-python/rich-13[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest

View File

@@ -14,7 +14,13 @@
# New entries go on top.
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2023-02-02)
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2023-02-28)
# Python libraries with no consumers left in tree.
# Masked for removal in 30 days.
dev-python/injector
dev-python/py3nvml
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2023-02-27)
# Python libraries with no consumers left in tree.
# Masked for removal in 30 days.
dev-python/SQLAlchemy-Utils
@@ -61,21 +67,6 @@ sys-cluster/scalasca
# See also this discussion: https://github.com/gentoo/guru/commit/10a1f43a0ebe867718744de54cb17fde32e4c329
sys-apps/paludis
# Julien Roy <julien@jroy.ca> (2023-01-28)
# Depends on <dev-python/rich-13, which is no longer available in ::gentoo
# Masked for removal in 30 days
media-sound/spotify_dl
# Julien Roy <julien@jroy.ca> (2023-01-27)
# Tests require dev-python/flask-restful, which is no longer available in ::gentoo.
# Masked for removal in 30 days.
dev-python/WSME
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2023-01-25)
# Broken and has no maintainers. Bug #891773.
# Masked for removal in 30 days.
www-client/torbrowser-launcher
# Julien Roy <julien@jroy.ca> (2023-01-25)
# Requires <dev-python/coverage-7, which is no longer available in ::gentoo.
# Upstream bug: https://github.com/TheKevJames/coveralls-python/issues/377
@@ -86,27 +77,12 @@ dev-python/coveralls
# Upstream bug: https://github.com/iamkroot/trakt-scrobbler/issues/240
media-video/trakt-scrobbler
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2022-11-18)
# Depends on masked dev-python/Rx (can be restored here after treeclean)
sys-power/gwe
# Torokhov Sergey <torokhov-s-a@yandex.ru> (2022-10-30)
# Masked due to failed tests with sys-cluster/openmpi;
# failed tests with sys-devel/gcc-12.2.1_p20221008
# (Bug: https://bugs.gentoo.org/877463)
=sys-cluster/opencoarrays-2.10.1
# Andrew Ammerlaan <andrewammerlaan@gentoo.org> (2022-09-26)
# Depends on removed ~dev-cpp/folly-2022.04.11.00:=
dev-cpp/fbthrift
dev-cpp/fizz
dev-cpp/wangle
sys-fs/dwarfs
# Andrew Ammerlaan <andrewammerlaan@gentoo.org> (2022-09-08)
# depends on removed dev-haskell/pandoc-citeproc
dev-python/pypandoc
# Viorel Munteanu <ceamac.paragon@gmail.com> (2022-08-03)
# depends on dev-python/PyQt6, which is currently masked with all of qt6
>=net-misc/maestral-qt-1.6.0

View File

@@ -7,18 +7,10 @@
# Masked due to infinite run of tests with USE="openmp"
~sci-physics/SU2-7.2.0 openmp
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2022-11-25)
# Depends on masked dev-python/zake
dev-python/tooz test
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2022-11-18)
# Depends on masked dev-python/gevent
sys-apps/intel-cmt-cat appqos
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2022-11-16)
# Depends on masked dev-python/pytest-html
dev-python/pyinquirer test
# Alessandro Barbieri <lssndrbarbieri@gmail.com> (2022-06-26)
# depend on masked dev-python/python-binary-memcached
dev-python/oslo-cache test
@@ -32,10 +24,6 @@ sci-libs/mfem netcdf
# build failure
media-libs/skia ffmpeg
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2021-12-29)
# build failure, needs patching
app-crypt/pgp bindist
# Alessandro Barbieri <lssndrbarbieri@gmail.com> (2021-10-09)
# build failure with metis
# https://public.gitlab.polimi.it/DAER/mbdyn/-/issues/101

View File

@@ -1 +0,0 @@
DIST dwarfs-0.5.6.tar.bz2 12146379 BLAKE2B 6d570de65358238eb8207297529f7cb632533eb6e63b5c27349add978d765e462fbeeb123962695b8092c919425454e7ef7cce6b2247ca46586b9732297ee1d1 SHA512 0b57f0ca5295d9b450cb0b9fd8086a87e29f0b010f70437374043689eb009f7ce10c2b862d7da3cc5613c305486c91866abe7840eb1fb09d00cde0d46f194ef6

View File

@@ -1,100 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8,9,10} )
inherit check-reqs cmake flag-o-matic python-single-r1
DESCRIPTION="A fast very high compression read-only FUSE file system"
HOMEPAGE="https://github.com/mhx/dwarfs"
SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="python +jemalloc test"
RDEPEND="
${PYTHON_DEPS}
app-arch/libarchive
app-arch/lz4
app-arch/snappy
app-arch/xz-utils
app-arch/zstd
dev-cpp/fbthrift:=
>=dev-cpp/folly-2021.04.19.00-r1:=
dev-cpp/gflags
dev-cpp/glog[gflags]
dev-cpp/parallel-hashmap:=
dev-cpp/sparsehash
dev-libs/boost[context,threads(+),python?]
dev-libs/double-conversion
dev-libs/fsst:=
dev-libs/libevent
dev-libs/libfmt
dev-libs/xxhash
sys-fs/fuse:3
sys-libs/binutils-libs
sys-libs/libunwind
sys-libs/zlib
jemalloc? ( >=dev-libs/jemalloc-5.2.1 )
"
DEPEND="
${RDEPEND}
sys-devel/flex
"
BDEPEND="
app-text/ronn
sys-devel/bison
virtual/pkgconfig
test? ( dev-cpp/gtest )
"
DOCS=( "README.md" "CHANGES.md" "TODO" )
RESTRICT="!test? ( test )"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
PATCHES=( "${FILESDIR}/${P}-unbundle.patch" "${FILESDIR}/${P}-mutex.patch" )
CHECKREQS_DISK_BUILD="1300M"
CMAKE_IN_SOURCE_BUILD=1
CMAKE_WARN_UNUSED_CLI=0
src_prepare(){
rm -r fsst zstd fbthrift/* folly xxHash parallel-hashmap || die
cmake_src_prepare
sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
}
src_configure(){
append-cxxflags "-I/usr/include"
mycmakeargs=(
-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-DWITH_PYTHON=$(usex python ON OFF)
-DWITH_TESTS=$(usex test ON OFF)
-DPREFER_SYSTEM_ZSTD=1
-DPREFER_SYSTEM_XXHASH=1
-DPREFER_SYSTEM_GTEST=1
-DWITH_LEGACY_FUSE=0
)
use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
cmake_src_configure
}
src_install(){
cmake_src_install
dolib.so libdwarfs.so
}
pkg_postinst(){
elog "Suggest to enable USE 'threads' globally if you have multicore machine"
elog "Since version 0.4.1 GGC builds has been fixed. Now both Clang and GCC are working very well"
elog "You may find more information in the"
elog "${HOMEPAGE}"
elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
}

View File

@@ -1,12 +0,0 @@
diff --git a/src/dwarfs/block_compressor.cpp b/src/dwarfs/block_compressor.cpp
index 9cdcdb9..c2219c5 100644
--- a/src/dwarfs/block_compressor.cpp
+++ b/src/dwarfs/block_compressor.cpp
@@ -26,6 +26,7 @@
#include <cstring>
#include <iterator>
#include <memory>
+#include <mutex>
#include <unordered_map>
#include <sys/types.h>

View File

@@ -1,161 +0,0 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -151,8 +151,6 @@
ON
CACHE BOOL "only build thrift compiler")
-add_subdirectory(folly EXCLUDE_FROM_ALL)
-add_subdirectory(fbthrift EXCLUDE_FROM_ALL)
if(NOT (ZSTD_FOUND AND PREFER_SYSTEM_ZSTD))
add_subdirectory(zstd/build/cmake EXCLUDE_FROM_ALL)
endif()
@@ -383,23 +381,6 @@
list(
APPEND
- FROZEN_THRIFT_SRC
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_data.h
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_data.cpp
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_types.h
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_types.tcc
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_types.cpp
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_types_custom_protocol.h
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_constants.h
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_constants.cpp
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_metadata.h
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_metadata.cpp
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_visitation.h
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_for_each_field.h
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_visit_union.h)
-
-list(
- APPEND
METADATA_THRIFT_SRC
${CMAKE_CURRENT_BINARY_DIR}/thrift/dwarfs/gen-cpp2/metadata_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/thrift/dwarfs/gen-cpp2/metadata_constants.h
@@ -418,35 +399,20 @@
${CMAKE_CURRENT_BINARY_DIR}/thrift/dwarfs/gen-cpp2/metadata_visitation.h)
add_custom_command(
- OUTPUT ${FROZEN_THRIFT_SRC}
- COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift
- COMMAND
- cp ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/thrift/frozen.thrift
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/
- COMMAND cd ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift &&
- ${CMAKE_CURRENT_BINARY_DIR}/bin/thrift1 --gen mstch_cpp2 frozen.thrift
- DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/bin/thrift1
- ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/thrift/frozen.thrift)
-
-add_custom_command(
OUTPUT ${METADATA_THRIFT_SRC}
COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/thrift/dwarfs
COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/thrift/metadata.thrift
thrift/dwarfs/metadata.thrift
COMMAND
cd ${CMAKE_CURRENT_BINARY_DIR}/thrift/dwarfs &&
- ${CMAKE_CURRENT_BINARY_DIR}/bin/thrift1 --gen mstch_cpp2:frozen2
+ thrift1 --gen mstch_cpp2:frozen2
metadata.thrift
- DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/bin/thrift1
- ${CMAKE_CURRENT_SOURCE_DIR}/thrift/metadata.thrift)
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/thrift/metadata.thrift)
list(
APPEND
INCLUDE_DIRS
- ${CMAKE_CURRENT_BINARY_DIR}/folly
${CMAKE_CURRENT_BINARY_DIR}/thrift
- ${CMAKE_CURRENT_SOURCE_DIR}/folly
- ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift
${CMAKE_CURRENT_BINARY_DIR})
if(NOT (ZSTD_FOUND AND PREFER_SYSTEM_ZSTD))
@@ -472,43 +438,24 @@
endif()
add_library(
- thrift_light
- ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/FieldRef.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/protocol/CompactProtocol.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/protocol/BinaryProtocol.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/protocol/DebugProtocol.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/protocol/JSONProtocolCommon.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/protocol/JSONProtocol.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp/protocol/TProtocolException.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp/util/VarintUtils.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/gen/module_types_cpp.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/frozen/Frozen.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/frozen/FrozenUtil.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/frozen/schema/MemorySchema.cpp
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_data.cpp
- ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_types.cpp)
-
-set_property(TARGET thrift_light PROPERTY CXX_STANDARD 17)
-
-target_include_directories(thrift_light PRIVATE ${INCLUDE_DIRS})
-
-add_library(
metadata_thrift
+ STATIC
${CMAKE_CURRENT_BINARY_DIR}/thrift/dwarfs/gen-cpp2/metadata_layouts.cpp
${CMAKE_CURRENT_BINARY_DIR}/thrift/dwarfs/gen-cpp2/metadata_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/thrift/dwarfs/gen-cpp2/metadata_data.cpp)
set_property(TARGET metadata_thrift PROPERTY CXX_STANDARD 17)
-
+set_property(TARGET metadata_thrift PROPERTY POSITION_INDEPENDENT_CODE ON)
+set_property(TARGET metadata_thrift PROPERTY CXX_VISIBILITY_PRESET hidden)
+set_property(TARGET metadata_thrift PROPERTY VISIBILITY_INLINES_HIDDEN 1)
target_include_directories(metadata_thrift PRIVATE ${INCLUDE_DIRS})
-
-add_dependencies(metadata_thrift thrift_light)
+target_link_libraries(metadata_thrift fmt glog folly)
foreach(tgt dwarfs ${BINARY_TARGETS})
target_include_directories(
${tgt} SYSTEM
PRIVATE ${Boost_INCLUDE_DIRS} ${Python3_INCLUDE_DIRS} ${INCLUDE_DIRS}
- ${CMAKE_CURRENT_SOURCE_DIR}/parallel-hashmap)
+ )
target_include_directories(${tgt} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
@@ -565,23 +512,11 @@
endif()
endforeach()
-# not sure why exactly, copied from fsst/CMakeLists.txt
-if(CMAKE_BUILD_TYPE STREQUAL Release)
- set_source_files_properties(fsst/fsst_avx512.cpp PROPERTIES COMPILE_FLAGS -O1)
-endif()
-
-add_library(
- fsst
- fsst/libfsst.cpp fsst/fsst_avx512.cpp fsst/fsst_avx512_unroll1.inc
- fsst/fsst_avx512_unroll2.inc fsst/fsst_avx512_unroll3.inc
- fsst/fsst_avx512_unroll4.inc)
-
-target_include_directories(dwarfs PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/fsst)
-
target_link_libraries(
dwarfs
+ thriftprotocol
+ thriftfrozen2
metadata_thrift
- thrift_light
folly
fsst
${Boost_LIBRARIES}
@@ -612,11 +547,6 @@
if(USE_JEMALLOC)
target_link_libraries(${tgt} ${Jemalloc_LIBRARIES})
endif()
- if(DWARFS_USE_EXCEPTION_TRACER)
- target_link_libraries(
- ${tgt} -Wl,--whole-archive folly_exception_tracer_base
- folly_exception_tracer -Wl,--no-whole-archive)
- endif()
endforeach()
if(STATIC_BUILD_DO_NOT_USE)

View File

@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription lang="en">
DwarFS is a read-only file system with a focus on achieving very high compression ratios in particular for very redundant data.
This probably doesn't sound very exciting, because if it's redundant, it should compress well. However, I found that other read-only, compressed file systems don't do a very good job at making use of this redundancy. See here for a comparison with other compressed file systems.
DwarFS also doesn't compromise on speed and for my use cases I've found it to be on par with or perform better than SquashFS. For my primary use case, DwarFS compression is an order of magnitude better than SquashFS compression, it's 4 times faster to build the file system, it's typically faster to access files on DwarFS and it uses less CPU resources.
Distinct features of DwarFS are:
* Clustering of files by similarity using a similarity hash function. This makes it easier to exploit the redundancy across file boundaries.
* Segmentation analysis across file system blocks in order to reduce the size of the uncompressed file system. This saves memory when using the compressed file system and thus potentially allows for higher cache hit rates as more data can be kept in the cache.
* Highly multi-threaded implementation. Both the file system creation tool as well as the FUSE driver are able to make good use of the many cores of your system.
* Optional experimental Lua support to provide custom filtering and ordering functionality.
</longdescription>
</pkgmetadata>

View File

@@ -1,2 +0,0 @@
DIST gwe-0.15.3.tar.gz 365945 BLAKE2B da0ecb0d407b2745452b59dd638b0ca2e41c873b2534f83074662607826c65aa9ff54a2fb06695accd3ca98f67266d13f2cf4d441ff5d7a03af22f32b75a7239 SHA512 f3577ed2afd647167d0d933cb8ccfb4b3308c35cf5bb3858b1a7dd084148c3594c7112523480e433250c8626001e68f9d6f1b21744eba19672b7b55c6eded754
DIST gwe-0.15.5.tar.gz 366020 BLAKE2B 7a95b4065b5862edee070931417d8fcd848dc02ab6098a95b53e138325840c8b3920f28d6b93a1018562bad8c47f9cc7d2267b26012b33f0cbbd5e1e7777367d SHA512 380b96a664be7a0bdbe36906a8aff29e229445cec23c10cd14b22c31fe06c86163fa45ab1e165f91218f2ed58302eb5ac65ec5f7f7bf4548b06501a6eac9fc5f

View File

@@ -1,56 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..9} )
inherit xdg meson python-single-r1
DESCRIPTION="NVIDIA settings alternative with overclocking, fan control, and information"
HOMEPAGE="https://gitlab.com/leinardi/gwe"
SRC_URI="https://gitlab.com/leinardi/gwe/-/archive/${PV}/${P}.tar.gz"
KEYWORDS="~amd64"
SLOT="0"
LICENSE="GPL-3"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
dev-libs/gobject-introspection
dev-libs/libappindicator:3
dev-libs/libdazzle
$(python_gen_cond_dep '
dev-python/injector[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/peewee[${PYTHON_USEDEP}]
dev-python/py3nvml[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
dev-python/python-xlib[${PYTHON_USEDEP}]
dev-python/pyxdg[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/Rx[${PYTHON_USEDEP}]
')
"
DEPEND="${RDEPEND}"
BDEPEND="
${RDEPEND}
dev-libs/appstream-glib
virtual/pkgconfig
"
src_prepare() {
# Disable post-inst script let the ebuild handle it
sed -i meson.build \
-e "s:meson.add_install_script('scripts/meson_post_install.py')::g" \
|| die
default
}
src_install() {
meson_src_install
python_optimize
}

View File

@@ -1,56 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
inherit xdg meson python-single-r1
DESCRIPTION="NVIDIA settings alternative with overclocking, fan control, and information"
HOMEPAGE="https://gitlab.com/leinardi/gwe"
SRC_URI="https://gitlab.com/leinardi/gwe/-/archive/${PV}/${P}.tar.gz"
KEYWORDS="~amd64"
SLOT="0"
LICENSE="GPL-3"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
dev-libs/gobject-introspection
dev-libs/libappindicator:3
dev-libs/libdazzle
$(python_gen_cond_dep '
dev-python/injector[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/peewee[${PYTHON_USEDEP}]
dev-python/py3nvml[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
dev-python/python-xlib[${PYTHON_USEDEP}]
dev-python/pyxdg[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/Rx[${PYTHON_USEDEP}]
')
"
DEPEND="${RDEPEND}"
BDEPEND="
${RDEPEND}
dev-libs/appstream-glib
virtual/pkgconfig
"
src_prepare() {
# Disable post-inst script let the ebuild handle it
sed -i meson.build \
-e "s:meson.add_install_script('scripts/meson_post_install.py')::g" \
|| die
default
}
src_install() {
meson_src_install
python_optimize
}

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>myrvogna@electrosphe.re</email>
<name>Octiabrina Terrien-Puig</name>
</maintainer>
<upstream>
<remote-id type="gitlab">leinardi/gwe</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST torbrowser-launcher-0.3.6.tar.gz 196292 BLAKE2B 32ec935d80f254fa069e57876e84bb108a5ca09d68c7f0e747228157de5166fc5e2106e6a544faf656c202f90fa0d5a051bdeaf4b398c24b7e17fbf5b9ba4543 SHA512 75afff4e1c0a258abdf72948ab33a8542c4624d66ae5f06f3bbd5505128b32692747c04d57a5aaaf6084ce3950ec931236171c7195a05a1b8867aa22563f35a8

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">micahflee/torbrowser-launcher</remote-id>
</upstream>
<use>
<flag name="apparmor">Enable AppArmor support</flag>
</use>
</pkgmetadata>

View File

@@ -1,51 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=no
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1 optfeature xdg
DESCRIPTION="A program to download, update, and run the Tor Browser Bundle"
HOMEPAGE="https://github.com/micahflee/torbrowser-launcher"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/micahflee/${PN}.git"
else
SRC_URI="https://github.com/micahflee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="test"
LICENSE="MIT"
SLOT="0"
IUSE="apparmor"
RDEPEND="
app-crypt/gpgme[python,${PYTHON_USEDEP}]
dev-python/PyQt5[${PYTHON_USEDEP},widgets]
dev-python/PySocks[${PYTHON_USEDEP}]
dev-python/distro[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
apparmor? ( sys-libs/libapparmor )
"
python_install_all() {
distutils-r1_python_install_all
# delete apparmor profiles
if ! use apparmor; then
rm -r "${D}/etc/apparmor.d" || die "Failed to remove apparmor profiles"
rmdir "${D}/etc" || die "Failed to remove empty directory"
fi
}
pkg_postinst() {
xdg_pkg_postinst
optfeature "updating over system TOR" net-vpn/tor dev-python/txsocksx
}

View File

@@ -1,51 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=no
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1 optfeature xdg
DESCRIPTION="A program to download, update, and run the Tor Browser Bundle"
HOMEPAGE="https://github.com/micahflee/torbrowser-launcher"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/micahflee/${PN}.git"
else
SRC_URI="https://github.com/micahflee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="test"
LICENSE="MIT"
SLOT="0"
IUSE="apparmor"
RDEPEND="
app-crypt/gpgme[python,${PYTHON_USEDEP}]
dev-python/PyQt5[${PYTHON_USEDEP},widgets]
dev-python/PySocks[${PYTHON_USEDEP}]
dev-python/distro[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
apparmor? ( sys-libs/libapparmor )
"
python_install_all() {
distutils-r1_python_install_all
# delete apparmor profiles
if ! use apparmor; then
rm -r "${D}/etc/apparmor.d" || die "Failed to remove apparmor profiles"
rmdir "${D}/etc" || die "Failed to remove empty directory"
fi
}
pkg_postinst() {
xdg_pkg_postinst
optfeature "updating over system TOR" net-vpn/tor dev-python/txsocksx
}