Sync with portage [Tue Sep 14 23:52:03 MSK 2021].
This commit is contained in:
parent
8fa73f9da5
commit
6042586b6a
6876 changed files with 11553 additions and 7852 deletions
Binary file not shown.
Binary file not shown.
|
@ -10,7 +10,7 @@ SRC_URI="https://dev.gentoo.org/~dolsen/releases/keyrings/${P}.tar.xz"
|
|||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~x64-cygwin ~amd64-linux"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
|
|
|
@ -10,4 +10,7 @@
|
|||
configuring any YubiKey over all USB transports. It's a CLI
|
||||
successor of yubikey-neo-manager.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">Yubico/yubikey-manager</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
Binary file not shown.
80
app-office/kexi/files/kexi-3.2.0-fix-find-marble.patch
Normal file
80
app-office/kexi/files/kexi-3.2.0-fix-find-marble.patch
Normal file
|
@ -0,0 +1,80 @@
|
|||
From 3280c5ec9940f329dc75b2b8d9a52285b20209f0 Mon Sep 17 00:00:00 2001
|
||||
From: Johannes Zarl-Zierl <johannes@zarl-zierl.at>
|
||||
Date: Wed, 5 May 2021 00:09:49 +0200
|
||||
Subject: [PATCH] Use plain Marble package instead of KexiMarble
|
||||
|
||||
Marble has shipped with a MarbleConfig.cmake file since ~2016. Kexi
|
||||
already depends on KF5 versions that are much newer than that.
|
||||
|
||||
* asturm 2021-09-14: Backported to 3.2.0.
|
||||
- s/KEXI/Kexi/ in set_package_properties(Marble ...) to fix patch context
|
||||
- partially merging d09be29f56b94d6a522fa30a5b661926baca973c (drop MARBLE_MIN_VERSION)
|
||||
|
||||
---
|
||||
CMakeLists.txt | 8 +-
|
||||
src/plugins/forms/widgets/CMakeLists.txt | 2 +-
|
||||
.../forms/widgets/mapbrowser/CMakeLists.txt | 3 +-
|
||||
3 files changed, 5 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 97c58fa10..548b2708f 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -196,17 +196,14 @@ endif()
|
||||
##
|
||||
## Test for marble
|
||||
##
|
||||
-set(MARBLE_MIN_VERSION "0.19.2")
|
||||
-find_package(KexiMarble ${MARBLE_MIN_VERSION})
|
||||
-set_package_properties(KexiMarble PROPERTIES
|
||||
+find_package(Marble CONFIG)
|
||||
+set_package_properties(Marble PROPERTIES
|
||||
DESCRIPTION "KDE World Globe Widget library"
|
||||
URL "https://marble.kde.org"
|
||||
TYPE RECOMMENDED
|
||||
PURPOSE "Required by Kexi form map widget"
|
||||
)
|
||||
-if(NOT MARBLE_FOUND)
|
||||
- set(MARBLE_INCLUDE_DIR "")
|
||||
-else()
|
||||
+if(Marble_FOUND)
|
||||
set(HAVE_MARBLE TRUE)
|
||||
endif()
|
||||
set_package_properties(GLIB2 PROPERTIES TYPE RECOMMENDED PURPOSE "${_REQUIRED_BY_MDB}")
|
||||
diff --git a/src/plugins/forms/widgets/CMakeLists.txt b/src/plugins/forms/widgets/CMakeLists.txt
|
||||
index 107d578a8..109341fe0 100644
|
||||
--- a/src/plugins/forms/widgets/CMakeLists.txt
|
||||
+++ b/src/plugins/forms/widgets/CMakeLists.txt
|
||||
@@ -11,7 +11,7 @@ endmacro()
|
||||
# the main widgets plugin
|
||||
add_subdirectory(main)
|
||||
|
||||
-if(MARBLE_FOUND)
|
||||
+if(Marble_FOUND)
|
||||
#TODO add_subdirectory(mapbrowser)
|
||||
endif()
|
||||
|
||||
diff --git a/src/plugins/forms/widgets/mapbrowser/CMakeLists.txt b/src/plugins/forms/widgets/mapbrowser/CMakeLists.txt
|
||||
--- a/src/plugins/forms/widgets/mapbrowser/CMakeLists.txt
|
||||
+++ b/src/plugins/forms/widgets/mapbrowser/CMakeLists.txt
|
||||
@@ -1,7 +1,6 @@
|
||||
include_directories(
|
||||
${CMAKE_SOURCE_DIR}/src/formeditor
|
||||
${CMAKE_SOURCE_DIR}/src/core
|
||||
- ${MARBLE_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
set(kexiforms_mapwidgetplugin_SRCS
|
||||
@@ -20,8 +19,8 @@ target_link_libraries(kexiforms_mapwidgetplugin
|
||||
kexiextendedwidgets
|
||||
kexiformutils
|
||||
kexidataviewcommon
|
||||
- ${MARBLE_LIBRARIES}
|
||||
|
||||
+ Marble
|
||||
Qt5::Xml
|
||||
)
|
||||
|
||||
--
|
||||
GitLab
|
||||
|
|
@ -68,6 +68,7 @@ PATCHES=(
|
|||
"${FILESDIR}"/${P}-missing-header.patch
|
||||
"${FILESDIR}"/${P}-postgresql-9.12.patch
|
||||
"${FILESDIR}"/${P}-glib-2.68.patch # bug 784974
|
||||
"${FILESDIR}"/${P}-fix-find-marble.patch # bug 812392
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
@ -84,7 +85,7 @@ src_configure() {
|
|||
-DKEXI_MIGRATEMANAGER_DEBUG=$(usex debug)
|
||||
-DKEXI_AUTORISE_TABBED_TOOLBAR=$(usex experimental)
|
||||
-DKEXI_SCRIPTS_SUPPORT=$(usex experimental)
|
||||
$(cmake_use_find_package marble KexiMarble)
|
||||
$(cmake_use_find_package marble Marble)
|
||||
$(cmake_use_find_package mdb GLIB2)
|
||||
$(cmake_use_find_package mysql MySQL)
|
||||
$(cmake_use_find_package postgres PostgreSQL)
|
||||
|
|
|
@ -0,0 +1,53 @@
|
|||
From 45227d9b79dc4f2a2aa6874cd4e3c02b7934b197 Mon Sep 17 00:00:00 2001
|
||||
From: Stephan Bergmann <sbergman@redhat.com>
|
||||
Date: Tue, 14 Sep 2021 12:20:48 +0200
|
||||
Subject: Adapt to Bison 3.8 internal yyn -> yyrule rename
|
||||
|
||||
see
|
||||
<https://git.savannah.gnu.org/cgit/bison.git/commit/?id=f30067ed51f23802fc91761ede1506dfa72b2865>
|
||||
"glr2.cc: log the execution of deferred actions" including "Rename argument yyn
|
||||
as yyrule for clarity."
|
||||
|
||||
YYBISON was defined as 1 rather than as a representation of the Bison version
|
||||
prior to
|
||||
<https://git.savannah.gnu.org/cgit/bison.git/commit/?id=21c147b6e5372563b7c4741deadaddb9354f4b09>
|
||||
"yacc.c: provide the Bison version as an integral macro", which shouldn't be a
|
||||
problem here. And YYBISON is apparently completely undefined with
|
||||
/usr/bin/bison on macOS.
|
||||
|
||||
(The preceding comment always mentioned "yyi" and "yyrmap" in apparent mismatch
|
||||
with the actually used "yyn" and "yyr1" ever since
|
||||
c25ec0608a167bcf1d891043f02273761c351701 "initial import", so just leave it
|
||||
untouched.)
|
||||
|
||||
Change-Id: I4f901407aa21ed4abec84e661d813ee7599f02f0
|
||||
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122082
|
||||
Tested-by: Jenkins
|
||||
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
||||
---
|
||||
connectivity/source/parse/sqlbison.y | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y
|
||||
index d14f36e7794f..c4be0bc00bd0 100644
|
||||
--- a/connectivity/source/parse/sqlbison.y
|
||||
+++ b/connectivity/source/parse/sqlbison.y
|
||||
@@ -74,9 +74,15 @@ inline connectivity::OSQLInternalNode* newNode(const OUString& _newValue,
|
||||
|
||||
// yyi is the internal number of the rule that is currently being reduced
|
||||
// This can be mapped to external rule number via the yyrmap.
|
||||
+#if defined YYBISON && YYBISON >= 30800
|
||||
+#define SQL_NEW_RULE newNode("", SQLNodeType::Rule, yyr1[yyrule])
|
||||
+#define SQL_NEW_LISTRULE newNode("", SQLNodeType::ListRule, yyr1[yyrule])
|
||||
+#define SQL_NEW_COMMALISTRULE newNode("", SQLNodeType::CommaListRule, yyr1[yyrule])
|
||||
+#else
|
||||
#define SQL_NEW_RULE newNode("", SQLNodeType::Rule, yyr1[yyn])
|
||||
#define SQL_NEW_LISTRULE newNode("", SQLNodeType::ListRule, yyr1[yyn])
|
||||
#define SQL_NEW_COMMALISTRULE newNode("", SQLNodeType::CommaListRule, yyr1[yyn])
|
||||
+#endif
|
||||
|
||||
|
||||
extern connectivity::OSQLParser* xxx_pGLOBAL_SQLPARSER;
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
|
@ -295,6 +295,7 @@ PATCHES=(
|
|||
|
||||
# master branch
|
||||
"${FILESDIR}/${PN}-7.1.3.2-bashism.patch" # bug 780432
|
||||
"${FILESDIR}/${P}-bison-3.8.patch" # bug 812923
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
|
|
@ -107,10 +107,9 @@ SLOT="0"
|
|||
[[ ${MY_PV} == *9999* ]] || \
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux"
|
||||
|
||||
# Bison upper bound due to bug #812923
|
||||
BDEPEND="
|
||||
dev-util/intltool
|
||||
<sys-devel/bison-3.8.1
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
|
@ -302,6 +301,7 @@ PATCHES=(
|
|||
|
||||
# master branch
|
||||
"${FILESDIR}/${PN}-7.1.3.2-bashism.patch" # bug 780432
|
||||
"${FILESDIR}/${PN}-7.1.5.2-bison-3.8.patch" # bug 812923
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
|
Binary file not shown.
|
@ -15,7 +15,7 @@ SRC_URI="https://gitweb.gentoo.org/proj/g-sorcery.git/snapshot/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="bson git test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ if [[ ${PV} == *9999 ]] ; then
|
|||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Tool to manage Gentoo overlays"
|
||||
|
|
|
@ -14,7 +14,7 @@ if [[ ${PV} == *9999 ]] ; then
|
|||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Tool to manage Gentoo overlays"
|
||||
|
|
Binary file not shown.
|
@ -4,3 +4,4 @@ DIST timescaledb-2.1.0.tar.gz 2527250 BLAKE2B 6f257c4b1afc0869c8e309f9b3080dbcdd
|
|||
DIST timescaledb-2.1.1.tar.gz 2534361 BLAKE2B d0aa5b231cbc9a75bb65eae395ffc0063a94bd3d9c47fe2b1f80bdf59c7624c83e3d4343f3d4ea402654627b8396936614f105fc7d01612f3ea03124471b44a3 SHA512 53bd8f9006741af834cc2598efe95b94e6ebf00df770ac3a4e0a087af83c8ba5ac2b1f421fd108e6609fde6bea725f05e2d590c3f341030a0f31edb6a3cf6cd5
|
||||
DIST timescaledb-2.2.1.tar.gz 2637225 BLAKE2B 4ab37bb5c45a3f7550c2694c8757fff3e8dafe122aa9aea1e31d33931367b6b6bf8aa190444cd9472c3ba0aed087fa68d007ce52de24c78add3a53038a1d24ef SHA512 5dae0ed0b71309598bfc9605e838f2d8b4179ccf7098396315153c4044c7bdaaa411fd11ee70ca7807afde4b609faab281dcb1aa2f8d65330ca95e13fbe24582
|
||||
DIST timescaledb-2.3.1.tar.gz 2699256 BLAKE2B 5949245d4a2bf52558b3f646d3723b0571745226fcc0de236c21ad7f32316eaeb0780aa94f8ccacd420cd0b0e47c8e048172b9f9355cf01797398b7f2fc85a6a SHA512 431f716ecd98504ce8e5b85e6fd10bf87ed39aac0244b7e968383537caae965ece09f016fed8ea010f5d42b392aed2d75b012deafd807d107f3dc75cbde287ec
|
||||
DIST timescaledb-2.4.1.tar.gz 2401410 BLAKE2B 752d484b03a59cde22f295d47a90d05bfc0674428dd2d03152dbf6604e10c0fb6780815666f65f4d2df58075f7911636c13a671504eed78642e211ceda8aba3d SHA512 54baced28eb20aa14c78605ce7828f7c48210125d9193c3e1c88e9ae81616b2baf37a1eb97c5eb0ddc9b6820d534d134ad047f3c7ace374e29191a42142f35a1
|
||||
|
|
67
dev-db/timescaledb/timescaledb-2.4.1.ebuild
Normal file
67
dev-db/timescaledb/timescaledb-2.4.1.ebuild
Normal file
|
@ -0,0 +1,67 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
POSTGRES_COMPAT=( 11 12 13 )
|
||||
|
||||
inherit postgres-multi cmake
|
||||
|
||||
DESCRIPTION="Open-source time-series SQL database"
|
||||
HOMEPAGE="https://www.timescale.com/"
|
||||
SRC_URI="https://github.com/timescale/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
IUSE="proprietary-extensions"
|
||||
LICENSE="POSTGRESQL Apache-2.0 proprietary-extensions? ( timescale )"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
SLOT=0
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="${POSTGRES_DEP}
|
||||
dev-libs/openssl:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
CMAKE_IN_SOURCE_BUILD=yes
|
||||
CMAKE_BUILD_TYPE="RelWithDebInfo"
|
||||
BUILD_DIR=${WORKDIR}/${P}
|
||||
|
||||
src_prepare() {
|
||||
postgres-multi_src_prepare
|
||||
postgres-multi_foreach cmake_src_prepare
|
||||
}
|
||||
|
||||
timescale_configure() {
|
||||
local CMAKE_USE_DIR=$BUILD_DIR
|
||||
local mycmakeargs=( "-DPG_CONFIG=/usr/bin/pg_config${MULTIBUILD_VARIANT}" "-DREGRESS_CHECKS=OFF" )
|
||||
|
||||
# licensing is tied to features, this useflag disables the non-apache2 licensed bits
|
||||
if ! use proprietary-extensions ; then
|
||||
mycmakeargs+=("-DAPACHE_ONLY=ON")
|
||||
fi
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
postgres-multi_foreach timescale_configure
|
||||
}
|
||||
|
||||
timescale_src_compile() {
|
||||
local CMAKE_USE_DIR=$BUILD_DIR
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
postgres-multi_foreach timescale_src_compile
|
||||
}
|
||||
|
||||
timescale_src_install() {
|
||||
local CMAKE_USE_DIR=$BUILD_DIR
|
||||
cmake_src_install
|
||||
}
|
||||
|
||||
src_install() {
|
||||
postgres-multi_foreach timescale_src_install
|
||||
}
|
Binary file not shown.
|
@ -21,7 +21,7 @@ case ${PV} in
|
|||
case ${PV} in
|
||||
*_beta*|*_rc*) ;;
|
||||
*)
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="-* amd64 arm arm64 ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
|
|
Binary file not shown.
|
@ -2,3 +2,4 @@ DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3
|
|||
DIST llvmorg-11.1.0.tar.gz 122776532 BLAKE2B ca842ff4afff8f44c82b5e7383962a9c45ca1c93b64fa4c6ebcd70a1d3849dbad2b8e4e24fba02d144c6266d7fab3607ebc6999b28c229cb35256cf40f26a985 SHA512 9a8ce022a935eed42fa71a224f2a207122aadcbef58ee855fdb4825f879e7d028e4dcff22c19b9d336db1c8bf63fb84372d44981acf84615f757e54306c92b81
|
||||
DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1
|
||||
DIST llvmorg-13.0.0-rc2.tar.gz 147267736 BLAKE2B 153bf7320f2aa911112d366ffc79f7110cb04f135c2a8b176c263f0a75eb768206d9bd462893d45504b0e58aa9e127fdcafb02300eab1666e4616aa654d457dd SHA512 a01baf3eaa02f02af42bfcf6dcf24f166351bf1c09601495617c81e41def23210573bad40a344270f40c5deb881d06863536abac2a6481930766a6a56335fb44
|
||||
DIST llvmorg-13.0.0-rc3.tar.gz 147281901 BLAKE2B 640065a2f32dc48edf084d776cb6b950fae86c2a204999e2eec67f93b57615df40adec19785099b0ef2fe11837c3304794ec3585289a5b5051a557618c63c749 SHA512 1401d5a4d6bb5c930d74b9cfbc8e792872f721aab7d7f0c819e2ba5cf47fb818d160c1f71784fba69827f3c9b7414aa91a585d2b813c1851b4799f9d62cebc46
|
||||
|
|
124
dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc3.ebuild
Normal file
124
dev-ml/llvm-ocaml/llvm-ocaml-13.0.0_rc3.ebuild
Normal file
|
@ -0,0 +1,124 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit cmake llvm llvm.org python-any-r1
|
||||
|
||||
DESCRIPTION="OCaml bindings for LLVM"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
# Keep in sync with sys-devel/llvm
|
||||
ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC CSKY M68k VE )
|
||||
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430
|
||||
NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
|
||||
"${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" )
|
||||
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS=""
|
||||
IUSE="debug test ${ALL_LLVM_TARGETS[*]}"
|
||||
REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-4.00.0:0=
|
||||
dev-ml/ocaml-ctypes:=
|
||||
~sys-devel/llvm-${PV}:=[debug?]
|
||||
!sys-devel/llvm[ocaml(-)]"
|
||||
for x in "${ALL_LLVM_TARGETS[@]}"; do
|
||||
RDEPEND+="
|
||||
${x}? ( ~sys-devel/llvm-${PV}[${x}] )"
|
||||
done
|
||||
unset x
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-lang/perl
|
||||
dev-ml/findlib
|
||||
>=dev-util/cmake-3.16
|
||||
test? ( dev-ml/ounit2 )
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
LLVM_COMPONENTS=( llvm )
|
||||
llvm.org_set_globals
|
||||
|
||||
pkg_setup() {
|
||||
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local libdir=$(get_libdir)
|
||||
local mycmakeargs=(
|
||||
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
|
||||
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DLLVM_BUILD_LLVM_DYLIB=ON
|
||||
-DLLVM_LINK_LLVM_DYLIB=ON
|
||||
-DLLVM_OCAML_OUT_OF_TREE=ON
|
||||
|
||||
# cheap hack: LLVM combines both anyway, and the only difference
|
||||
# is that the former list is explicitly verified at cmake time
|
||||
-DLLVM_TARGETS_TO_BUILD=""
|
||||
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
|
||||
-DLLVM_BUILD_TESTS=$(usex test)
|
||||
|
||||
# disable various irrelevant deps and settings
|
||||
-DLLVM_ENABLE_FFI=OFF
|
||||
-DLLVM_ENABLE_TERMINFO=OFF
|
||||
-DHAVE_HISTEDIT_H=NO
|
||||
-DLLVM_ENABLE_ASSERTIONS=$(usex debug)
|
||||
-DLLVM_ENABLE_EH=ON
|
||||
-DLLVM_ENABLE_RTTI=ON
|
||||
|
||||
-DLLVM_HOST_TRIPLE="${CHOST}"
|
||||
|
||||
-DPython3_EXECUTABLE="${PYTHON}"
|
||||
|
||||
# disable go bindings
|
||||
-DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
|
||||
|
||||
# TODO: ocamldoc
|
||||
)
|
||||
|
||||
use test && mycmakeargs+=(
|
||||
-DLLVM_LIT_ARGS="$(get_lit_flags)"
|
||||
)
|
||||
|
||||
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
|
||||
# also: custom rules for OCaml do not work for CPPFLAGS
|
||||
use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
|
||||
cmake_src_configure
|
||||
|
||||
local llvm_libdir=$(llvm-config --libdir)
|
||||
# an ugly hack; TODO: figure out a way to pass -L to ocaml...
|
||||
cd "${BUILD_DIR}/${libdir}" || die
|
||||
ln -s "${llvm_libdir}"/*.so . || die
|
||||
|
||||
if use test; then
|
||||
local llvm_bindir=$(llvm-config --bindir)
|
||||
# Force using system-installed tools.
|
||||
sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
|
||||
"${BUILD_DIR}"/test/lit.site.cfg.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_build ocaml_all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# respect TMPDIR!
|
||||
local -x LIT_PRESERVES_TMP=1
|
||||
cmake_build check-llvm-bindings-ocaml
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" \
|
||||
cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
|
||||
|
||||
dodoc bindings/ocaml/README.txt
|
||||
}
|
Binary file not shown.
|
@ -2,3 +2,4 @@ DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3
|
|||
DIST llvmorg-11.1.0.tar.gz 122776532 BLAKE2B ca842ff4afff8f44c82b5e7383962a9c45ca1c93b64fa4c6ebcd70a1d3849dbad2b8e4e24fba02d144c6266d7fab3607ebc6999b28c229cb35256cf40f26a985 SHA512 9a8ce022a935eed42fa71a224f2a207122aadcbef58ee855fdb4825f879e7d028e4dcff22c19b9d336db1c8bf63fb84372d44981acf84615f757e54306c92b81
|
||||
DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1
|
||||
DIST llvmorg-13.0.0-rc2.tar.gz 147267736 BLAKE2B 153bf7320f2aa911112d366ffc79f7110cb04f135c2a8b176c263f0a75eb768206d9bd462893d45504b0e58aa9e127fdcafb02300eab1666e4616aa654d457dd SHA512 a01baf3eaa02f02af42bfcf6dcf24f166351bf1c09601495617c81e41def23210573bad40a344270f40c5deb881d06863536abac2a6481930766a6a56335fb44
|
||||
DIST llvmorg-13.0.0-rc3.tar.gz 147281901 BLAKE2B 640065a2f32dc48edf084d776cb6b950fae86c2a204999e2eec67f93b57615df40adec19785099b0ef2fe11837c3304794ec3585289a5b5051a557618c63c749 SHA512 1401d5a4d6bb5c930d74b9cfbc8e792872f721aab7d7f0c819e2ba5cf47fb818d160c1f71784fba69827f3c9b7414aa91a585d2b813c1851b4799f9d62cebc46
|
||||
|
|
41
dev-python/clang-python/clang-python-13.0.0_rc3.ebuild
Normal file
41
dev-python/clang-python/clang-python-13.0.0_rc3.ebuild
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..10} )
|
||||
inherit llvm.org python-r1
|
||||
|
||||
DESCRIPTION="Python bindings for sys-devel/clang"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# The module is opening libclang.so directly, and doing some blasphemy
|
||||
# on top of it.
|
||||
RDEPEND="
|
||||
>=sys-devel/clang-${PV}:*
|
||||
!sys-devel/llvm:0[clang(-),python(-)]
|
||||
!sys-devel/clang:0[python(-)]
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
LLVM_COMPONENTS=( clang/bindings/python )
|
||||
llvm.org_set_globals
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_foreach_impl python_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl python_domodule clang
|
||||
}
|
|
@ -1,8 +1,9 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">django-tagging</remote-id>
|
||||
<remote-id type="github">Fantomas42/django-tagging</remote-id>
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easy to use Python subprocess interface"
|
||||
HOMEPAGE="https://github.com/ponty/EasyProcess"
|
||||
SRC_URI="https://github.com/ponty/EasyProcess/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/EasyProcess-${PV}"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
|
@ -22,6 +23,4 @@ BDEPEND="test? (
|
|||
x11-base/xorg-server[xvfb]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/EasyProcess-${PV}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
|
|
@ -8,5 +8,6 @@
|
|||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">EasyProcess</remote-id>
|
||||
<remote-id type="github">ponty/EasyProcess</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
@ -8,5 +8,6 @@
|
|||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">entrypoint2</remote-id>
|
||||
<remote-id type="github">ponty/entrypoint2</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
@ -2,3 +2,4 @@ DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3
|
|||
DIST llvmorg-11.1.0.tar.gz 122776532 BLAKE2B ca842ff4afff8f44c82b5e7383962a9c45ca1c93b64fa4c6ebcd70a1d3849dbad2b8e4e24fba02d144c6266d7fab3607ebc6999b28c229cb35256cf40f26a985 SHA512 9a8ce022a935eed42fa71a224f2a207122aadcbef58ee855fdb4825f879e7d028e4dcff22c19b9d336db1c8bf63fb84372d44981acf84615f757e54306c92b81
|
||||
DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1
|
||||
DIST llvmorg-13.0.0-rc2.tar.gz 147267736 BLAKE2B 153bf7320f2aa911112d366ffc79f7110cb04f135c2a8b176c263f0a75eb768206d9bd462893d45504b0e58aa9e127fdcafb02300eab1666e4616aa654d457dd SHA512 a01baf3eaa02f02af42bfcf6dcf24f166351bf1c09601495617c81e41def23210573bad40a344270f40c5deb881d06863536abac2a6481930766a6a56335fb44
|
||||
DIST llvmorg-13.0.0-rc3.tar.gz 147281901 BLAKE2B 640065a2f32dc48edf084d776cb6b950fae86c2a204999e2eec67f93b57615df40adec19785099b0ef2fe11837c3304794ec3585289a5b5051a557618c63c749 SHA512 1401d5a4d6bb5c930d74b9cfbc8e792872f721aab7d7f0c819e2ba5cf47fb818d160c1f71784fba69827f3c9b7414aa91a585d2b813c1851b4799f9d62cebc46
|
||||
|
|
39
dev-python/lit/lit-13.0.0_rc3.ebuild
Normal file
39
dev-python/lit/lit-13.0.0_rc3.ebuild
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 llvm.org
|
||||
|
||||
DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Tests require 'FileCheck' and 'not' utilities (from llvm)
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
sys-devel/llvm )"
|
||||
|
||||
LLVM_COMPONENTS=( llvm/utils/lit )
|
||||
llvm.org_set_globals
|
||||
|
||||
# TODO: move the manpage generation here (from sys-devel/llvm)
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}" || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x LIT_PRESERVES_TMP=1
|
||||
local litflags=$(get_lit_flags)
|
||||
./lit.py ${litflags//;/ } tests || die
|
||||
}
|
|
@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]]; then
|
|||
EGIT_BRANCH="master"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~dolsen/releases/pyGPG/${P}.tar.gz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A python interface wrapper for gnupg's gpg command"
|
||||
|
|
|
@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]]; then
|
|||
EGIT_BRANCH="master"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~dolsen/releases/pyGPG/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A python interface wrapper for gnupg's gpg command"
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
DIST pypy3-exe-7.3.5-1.amd64.xpak 12030139 BLAKE2B f9a76a2304b3a29985209910b2082aeb07f08a22fce771aa7d548af6e662b88563f61b66582fe0ded21a00463725d4b21cb943c6dedba090cdcfcbf2754433f6 SHA512 d223095cc28f5fceb10196a172ddc2e363dd7e0c5e55b79c959d2ff3f84cb96c652e44bf8c2f7b4555d90289fa0768b18cc26a9212264ab397dd7308a14a93df
|
||||
DIST pypy3-exe-7.3.5-1.x86.xpak 9156096 BLAKE2B c3a3a329c2f8bd843fc4c882bbddc1ad124dc797d4915818769e79663e53e787b991b04b8006e8b8548249e4e76d8b68545b9d7470d8cf41bece2cd8e085066c SHA512 b58d48e1fde3ec12b497a30035b719a64a16de1292fb34df6a8e3ecddc277a477641d7781a3440ef2b73dfb1b50ca34cbdca702f27d6a5e00ad25e88bd8ebf34
|
||||
DIST pypy3-exe-7.3.6_rc1-1.amd64.xpak 12163491 BLAKE2B 0cdf8b2a4b7c740a9f8770a33df40969d8c1711e92b7673e7cd4c6916df59637740c80be0412b3c11ac3388c1d381d5e289e0d805c8e4e9933637fb1a0767d6c SHA512 fa471617e31b84601b94f40fc887a1f3870c18184a9d561dfc88e6f2bd694af1abaf48b9709c446720dd22a47801bb9b741bf6a7e16f603145e301b245ae532a
|
||||
DIST pypy3-exe-7.3.6_rc1-1.x86.xpak 9228355 BLAKE2B 4669af53c163a979e76ebbbae20897dde14f43bc261c67cfd43516c3f342cdd5c61f503599fadb8f2e7a1849d18d1d98d59030cf190cb70903bb741138cceb7d SHA512 a02ab10b18562b864d4b08e5891cad66aa5ec085edb22e5fb19ff5f7e1e863d3ac99041362c9bcdf46a62977e658c2d3aaf853f4dbf6eaf3eafd241edd6cad4e
|
||||
|
|
52
dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.6_rc1.ebuild
Normal file
52
dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.6_rc1.ebuild
Normal file
|
@ -0,0 +1,52 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit pax-utils
|
||||
|
||||
MY_P=pypy3-exe-${PV}-1
|
||||
DESCRIPTION="PyPy3 executable (pre-built version)"
|
||||
HOMEPAGE="https://www.pypy.org/"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy3-exe/${MY_P}.xpak
|
||||
-> ${MY_P}.amd64.xpak
|
||||
)
|
||||
x86? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy3-exe/${MY_P}.xpak
|
||||
-> ${MY_P}.x86.xpak
|
||||
)"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV%_p*}"
|
||||
KEYWORDS=""
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.1.3:0/1
|
||||
|| (
|
||||
dev-libs/libffi-compat:7
|
||||
dev-libs/libffi:0/7
|
||||
)
|
||||
virtual/libintl:0/0
|
||||
dev-libs/expat:0/0
|
||||
app-arch/bzip2:0/1
|
||||
sys-libs/ncurses:0/6
|
||||
!dev-python/pypy-exe:${SLOT}"
|
||||
|
||||
PYPY_PV=${SLOT%_p*}
|
||||
QA_PREBUILT="
|
||||
usr/bin/pypy3-c-${PYPY_PV}"
|
||||
|
||||
src_unpack() {
|
||||
ebegin "Unpacking ${MY_P}.${ARCH}.xpak"
|
||||
tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak")
|
||||
eend ${?} || die "Unpacking ${MY_P} failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /
|
||||
doins -r usr
|
||||
fperms +x "/usr/bin/pypy3-c-${PYPY_PV}"
|
||||
pax-mark m "${ED}/usr/bin/pypy3-c-${PYPY_PV}"
|
||||
}
|
|
@ -1,2 +1,4 @@
|
|||
DIST pypy3.7-gentoo-patches-7.3.5.tar.xz 8164 BLAKE2B 0f8707fda16c0358c1d3a2a60d83046bc5c6186906e07d0e2441d26da4c5d2e7978aa9013be211daf0a1bfddbb10f96745ba4be84b61903e177f4d906045ed67 SHA512 95d3acb11c811e4342ba3a56e925433614c5affb6a1fc873ecd2f2cfd55459424088b928f46bcb9a6f0e467fb77905af387ad04bad45a37b928fe0ea320ac33e
|
||||
DIST pypy3.7-v7.3.5-src.tar.bz2 25350766 BLAKE2B 34d5c83284271b184f71492dbd65b8760cc0fcdec71e41ef48b9561280dd67ef4c37fdd70759d0b95114d127446fc0ea5d04feb99022c1a725233862b2028834 SHA512 253d2efc81d55fb392ab810741e3a633f664e1908b2c26db7a8830c971655cca6be1b8d34581d13aa2d738a4a4c8ba23c2c90333b6e03d4608372e8013ea723b
|
||||
DIST pypy3.8-gentoo-patches-7.3.6rc1.tar.xz 4660 BLAKE2B 2a1fff331707a29dfb232ce4c2c6d3cada127b4452036172c3aac7579d89b8e0d4ea41300ffcadf0ec04b9cde32044371d55d225a477f2178dddb03642aa569b SHA512 bb781369d4e0dd387659fc474c7a23d8c54ab88477fdd007d3552c95e870a1896a0628dbba876e870956c5a1efeb52efbfd343a08f8a70a4515f41b1dc8ed60d
|
||||
DIST pypy3.8-v7.3.6rc1-src.tar.bz2 24320127 BLAKE2B 920738d1d9a346dca8e76602fc5a1502ff6f610897e1f5b841b5207a32f82c52770684ba4ea076209e18b664cb9ba5df555a21f838ae581b436cbff9e2adb506 SHA512 334baf973397f8068137382c29632afd1288b76b57f21047bef59397d2718d8c420ba68acc2f1082501aadf7fbf8ee6a9fa86405c2a54d720a9a02dd7a7371aa
|
||||
|
|
166
dev-python/pypy3-exe/pypy3-exe-7.3.6_rc1.ebuild
Normal file
166
dev-python/pypy3-exe/pypy3-exe-7.3.6_rc1.ebuild
Normal file
|
@ -0,0 +1,166 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# pypy3 needs to be built using python 2
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit check-reqs pax-utils python-any-r1 toolchain-funcs
|
||||
|
||||
PYPY_PV=${PV%_p*}
|
||||
MY_P=pypy3.8-v${PYPY_PV/_}
|
||||
PATCHSET="pypy3.8-gentoo-patches-${PV/_}"
|
||||
|
||||
DESCRIPTION="PyPy3 executable (build from source)"
|
||||
HOMEPAGE="https://www.pypy.org/"
|
||||
SRC_URI="https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
|
||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz"
|
||||
S="${WORKDIR}/${MY_P}-src"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PYPY_PV}"
|
||||
KEYWORDS=""
|
||||
IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.1.3:0=
|
||||
dev-libs/libffi:0=
|
||||
virtual/libintl:0=
|
||||
dev-libs/expat:0=
|
||||
bzip2? ( app-arch/bzip2:0= )
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
!dev-python/pypy3-exe-bin:${PYPY_PV}"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
low-memory? ( dev-python/pypy )
|
||||
!low-memory? (
|
||||
|| (
|
||||
dev-python/pypy
|
||||
dev-lang/python:2.7
|
||||
)
|
||||
)"
|
||||
|
||||
check_env() {
|
||||
if use low-memory; then
|
||||
CHECKREQS_MEMORY="1750M"
|
||||
use amd64 && CHECKREQS_MEMORY="3500M"
|
||||
else
|
||||
CHECKREQS_MEMORY="3G"
|
||||
use amd64 && CHECKREQS_MEMORY="6G"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && check_env
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
check_env
|
||||
|
||||
# unset to allow forcing pypy below :)
|
||||
use low-memory && EPYTHON=
|
||||
if [[ ! ${EPYTHON} || ${EPYTHON} == pypy ]] &&
|
||||
{ has_version -b dev-python/pypy ||
|
||||
has_version -b dev-python/pypy-bin; }
|
||||
then
|
||||
einfo "Using PyPy to perform the translation."
|
||||
EPYTHON=pypy
|
||||
else
|
||||
einfo "Using ${EPYTHON:-python2} to perform the translation. Please note that upstream"
|
||||
einfo "recommends using PyPy for that. If you wish to do so, please install"
|
||||
einfo "dev-python/pypy and ensure that EPYTHON variable is unset."
|
||||
python-any-r1_pkg_setup
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=(
|
||||
"${WORKDIR}/${PATCHSET}"
|
||||
)
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
|
||||
local jit_backend
|
||||
if use jit; then
|
||||
jit_backend='--jit-backend='
|
||||
|
||||
# We only need the explicit sse2 switch for x86.
|
||||
# On other arches we can rely on autodetection which uses
|
||||
# compiler macros. Plus, --jit-backend= doesn't accept all
|
||||
# the modern values...
|
||||
|
||||
if use x86; then
|
||||
if use cpu_flags_x86_sse2; then
|
||||
jit_backend+=x86
|
||||
else
|
||||
jit_backend+=x86-without-sse2
|
||||
fi
|
||||
else
|
||||
jit_backend+=auto
|
||||
fi
|
||||
fi
|
||||
|
||||
local args=(
|
||||
--no-shared
|
||||
$(usex jit -Ojit -O2)
|
||||
|
||||
${jit_backend}
|
||||
|
||||
pypy/goal/targetpypystandalone
|
||||
)
|
||||
|
||||
# Avoid linking against libraries disabled by use flags
|
||||
local opts=(
|
||||
bzip2:bz2
|
||||
ncurses:_minimal_curses
|
||||
)
|
||||
|
||||
local opt
|
||||
for opt in "${opts[@]}"; do
|
||||
local flag=${opt%:*}
|
||||
local mod=${opt#*:}
|
||||
|
||||
args+=(
|
||||
$(usex ${flag} --withmod --withoutmod)-${mod}
|
||||
)
|
||||
done
|
||||
|
||||
local interp=( "${EPYTHON}" )
|
||||
if use low-memory; then
|
||||
interp=( env PYPY_GC_MAX_DELTA=200MB
|
||||
"${EPYTHON}" --jit loop_longevity=300 )
|
||||
fi
|
||||
|
||||
if [[ ${EPYTHON} != pypy ]]; then
|
||||
# reuse bundled pycparser to avoid external dep
|
||||
mkdir -p "${T}"/pymod/cffi || die
|
||||
: > "${T}"/pymod/cffi/__init__.py || die
|
||||
cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/cffi/ || die
|
||||
local -x PYTHONPATH=${T}/pymod:${PYTHONPATH}
|
||||
fi
|
||||
|
||||
# translate into the C sources
|
||||
# we're going to build them ourselves since otherwise pypy does not
|
||||
# free up the unneeded memory before spawning the compiler
|
||||
set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}"
|
||||
echo -e "\033[1m${@}\033[0m"
|
||||
"${@}" || die "translation failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C "${T}"/usession*-0/testing_1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${T}"/usession*-0 || die
|
||||
newbin testing_1/pypy3-c pypy3-c-${PYPY_PV}
|
||||
insinto /usr/include/pypy3.8/${PYPY_PV}
|
||||
doins pypy_*.h
|
||||
pax-mark m "${ED}/usr/bin/pypy3-c-${PYPY_PV}"
|
||||
}
|
|
@ -1,2 +1,4 @@
|
|||
DIST pypy3.7-gentoo-patches-7.3.5_p1.tar.xz 9792 BLAKE2B c82869393c8a63462fa03c58822f95628093a64d2bb421aaa486ad8217d944ace641d9ea13f2b2a2c56ab16498824709fa35cf0a9704b728bac06646d8f2c15f SHA512 18643e28f137f62406ce4f2d448acb86329fd8566a31b90340c573e4205091ff5b15b77ac14796022968814f940cd9881fe4db9010609937b2a0a71d557531f2
|
||||
DIST pypy3.7-v7.3.5-src.tar.bz2 25350766 BLAKE2B 34d5c83284271b184f71492dbd65b8760cc0fcdec71e41ef48b9561280dd67ef4c37fdd70759d0b95114d127446fc0ea5d04feb99022c1a725233862b2028834 SHA512 253d2efc81d55fb392ab810741e3a633f664e1908b2c26db7a8830c971655cca6be1b8d34581d13aa2d738a4a4c8ba23c2c90333b6e03d4608372e8013ea723b
|
||||
DIST pypy3.8-gentoo-patches-7.3.6rc1.tar.xz 4660 BLAKE2B 2a1fff331707a29dfb232ce4c2c6d3cada127b4452036172c3aac7579d89b8e0d4ea41300ffcadf0ec04b9cde32044371d55d225a477f2178dddb03642aa569b SHA512 bb781369d4e0dd387659fc474c7a23d8c54ab88477fdd007d3552c95e870a1896a0628dbba876e870956c5a1efeb52efbfd343a08f8a70a4515f41b1dc8ed60d
|
||||
DIST pypy3.8-v7.3.6rc1-src.tar.bz2 24320127 BLAKE2B 920738d1d9a346dca8e76602fc5a1502ff6f610897e1f5b841b5207a32f82c52770684ba4ea076209e18b664cb9ba5df555a21f838ae581b436cbff9e2adb506 SHA512 334baf973397f8068137382c29632afd1288b76b57f21047bef59397d2718d8c420ba68acc2f1082501aadf7fbf8ee6a9fa86405c2a54d720a9a02dd7a7371aa
|
||||
|
|
188
dev-python/pypy3/pypy3-7.3.6_rc1.ebuild
Normal file
188
dev-python/pypy3/pypy3-7.3.6_rc1.ebuild
Normal file
|
@ -0,0 +1,188 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit pax-utils python-any-r1 toolchain-funcs
|
||||
|
||||
PYPY_PV=${PV%_p*}
|
||||
MY_P=pypy3.8-v${PYPY_PV/_rc/rc}
|
||||
PATCHSET="pypy3.8-gentoo-patches-${PV/_rc/rc}"
|
||||
|
||||
DESCRIPTION="A fast, compliant alternative implementation of the Python (3.8) language"
|
||||
HOMEPAGE="https://www.pypy.org/"
|
||||
SRC_URI="https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
|
||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz"
|
||||
S="${WORKDIR}/${MY_P}-src"
|
||||
|
||||
LICENSE="MIT"
|
||||
# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
|
||||
# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
|
||||
SLOT="0/pypy38-pp73"
|
||||
KEYWORDS=""
|
||||
IUSE="bzip2 gdbm +jit ncurses sqlite test tk"
|
||||
# pypy3.8 is in alpha state and many tests are failing
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
>=dev-python/pypy3-exe-${PYPY_PV}:${PYPY_PV}[bzip2?,ncurses?]
|
||||
>=dev-python/pypy3-exe-bin-${PYPY_PV}:${PYPY_PV}
|
||||
)
|
||||
dev-libs/openssl:0=
|
||||
gdbm? ( sys-libs/gdbm:0= )
|
||||
sqlite? ( dev-db/sqlite:3= )
|
||||
tk? (
|
||||
dev-lang/tk:0=
|
||||
dev-tcltk/tix:0=
|
||||
)
|
||||
!<dev-python/pypy3-bin-7.3.0:0"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
!!dev-python/pytest-forked
|
||||
)"
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=(
|
||||
"${WORKDIR}/${PATCHSET}"
|
||||
)
|
||||
default
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir bin || die
|
||||
# switch to the layout expected for cffi module builds
|
||||
mkdir include/pypy3.8 || die
|
||||
cp include/*.h include/pypy3.8/ || die
|
||||
# copy over to make sys.prefix happy
|
||||
cp -p "${BROOT}"/usr/bin/pypy3-c-${PYPY_PV} pypy3-c || die
|
||||
cp -p "${BROOT}"/usr/include/pypy3.8/${PYPY_PV}/* include/pypy3.8/ || die
|
||||
# (not installed by pypy-exe)
|
||||
rm pypy/module/cpyext/include/_numpypy/numpy/README || die
|
||||
mv pypy/module/cpyext/include/* include/pypy3.8/ || die
|
||||
mv pypy/module/cpyext/parse/*.h include/pypy3.8/ || die
|
||||
pax-mark m pypy3-c
|
||||
|
||||
# verify the subslot
|
||||
local soabi=$(./pypy3-c -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))')
|
||||
[[ ${soabi} == ${SLOT#*/} ]] || die "update subslot to ${soabi}"
|
||||
|
||||
einfo "Generating caches and CFFI modules ..."
|
||||
|
||||
# Generate Grammar and PatternGrammar pickles.
|
||||
./pypy3-c -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \
|
||||
|| die "Generation of Grammar and PatternGrammar pickles failed"
|
||||
|
||||
# Generate cffi modules
|
||||
# Please keep in sync with pypy/tool/build_cffi_imports.py!
|
||||
#cffi_build_scripts = collections.OrderedDict([
|
||||
# ("_ctypes._ctypes_cffi",
|
||||
# "_ctypes/_ctypes_build.py" if sys.platform == 'darwin' else None),
|
||||
# ("_blake2", "_blake2/_blake2_build.py"),
|
||||
# ("_ssl", "_ssl_build.py"),
|
||||
# ("sqlite3", "_sqlite3_build.py"),
|
||||
# ("audioop", "_audioop_build.py"),
|
||||
# ("_tkinter", "_tkinter/tklib_build.py"),
|
||||
# ("curses", "_curses_build.py" if sys.platform != "win32" else None),
|
||||
# ("syslog", "_syslog_build.py" if sys.platform != "win32" else None),
|
||||
# ("_gdbm", "_gdbm_build.py" if sys.platform != "win32" else None),
|
||||
# ("grp", "_pwdgrp_build.py" if sys.platform != "win32" else None),
|
||||
# ("resource", "_resource_build.py" if sys.platform != "win32" else None),
|
||||
# ("lzma", "_lzma_build.py"),
|
||||
# # ("_decimal", "_decimal_build.py"), # issue 3024
|
||||
# ("_sha3", "_sha3/_sha3_build.py"),
|
||||
# ("xx", None), # for testing: 'None' should be completely ignored
|
||||
# ("_posixshmem", "_posixshmem_build.py" if sys.platform != "win32" else None),
|
||||
# ])
|
||||
cffi_targets=( blake2/_blake2 sha3/_sha3 ssl
|
||||
audioop syslog pwdgrp resource lzma posixshmem )
|
||||
use gdbm && cffi_targets+=( gdbm )
|
||||
use ncurses && cffi_targets+=( curses )
|
||||
use sqlite && cffi_targets+=( sqlite3 )
|
||||
use tk && cffi_targets+=( tkinter/tklib )
|
||||
|
||||
local t
|
||||
# all modules except tkinter output to .
|
||||
# tkinter outputs to the correct dir ...
|
||||
cd lib_pypy || die
|
||||
for t in "${cffi_targets[@]}"; do
|
||||
# tkinter doesn't work via -m
|
||||
../pypy3-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}"
|
||||
done
|
||||
|
||||
# Cleanup temporary objects
|
||||
find -name "_cffi_*.[co]" -delete || die
|
||||
find -type d -empty -delete || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# (unset)
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
local -x COLUMNS=80
|
||||
|
||||
# Test runner requires Python 2 too. However, it spawns PyPy3
|
||||
# internally so that we end up testing the correct interpreter.
|
||||
# (--deselect for failing doctests)
|
||||
"${EPYTHON}" ./pypy/test_all.py --pypy=./pypy3-c -vv lib-python || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einfo "Installing PyPy ..."
|
||||
dodir /usr/bin
|
||||
dosym pypy3-c-${PYPY_PV} /usr/bin/pypy3
|
||||
insinto /usr/lib/pypy3.8
|
||||
# preserve mtimes to avoid obsoleting caches
|
||||
insopts -p
|
||||
doins -r lib_pypy lib-python/3/.
|
||||
insinto /usr/include
|
||||
doins -r include/pypy3.8
|
||||
|
||||
# replace copied headers with symlinks
|
||||
for x in "${BROOT}"/usr/include/pypy3.8/${PYPY_PV}/*; do
|
||||
dosym "${PYPY_PV}/${x##*/}" "/usr/include/pypy3.8/${x##*/}"
|
||||
done
|
||||
|
||||
dodoc README.rst
|
||||
|
||||
local dest=/usr/lib/pypy3.8
|
||||
if ! use gdbm; then
|
||||
rm -r "${ED}${dest}"/lib_pypy/_gdbm* || die
|
||||
fi
|
||||
if ! use sqlite; then
|
||||
rm -r "${ED}${dest}"/sqlite3 \
|
||||
"${ED}${dest}"/lib_pypy/_sqlite3* \
|
||||
"${ED}${dest}"/test/test_sqlite.py || die
|
||||
fi
|
||||
if ! use tk; then
|
||||
rm -r "${ED}${dest}"/{idlelib,tkinter} \
|
||||
"${ED}${dest}"/lib_pypy/_tkinter \
|
||||
"${ED}${dest}"/test/test_{tcl,tk,ttk*}.py || die
|
||||
fi
|
||||
|
||||
local -x EPYTHON=pypy3
|
||||
local -x PYTHON=${ED}/usr/bin/pypy3-c-${PYPY_PV}
|
||||
# temporarily copy to build tree to facilitate module builds
|
||||
cp -p "${BROOT}/usr/bin/pypy3-c-${PYPY_PV}" "${PYTHON}" || die
|
||||
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
||||
python_moduleinto "${dest}"/site-packages
|
||||
python_domodule epython.py
|
||||
|
||||
einfo "Byte-compiling Python standard library..."
|
||||
python_optimize "${ED}${dest}"
|
||||
|
||||
# remove to avoid collisions
|
||||
rm "${PYTHON}" || die
|
||||
}
|
|
@ -12,5 +12,6 @@
|
|||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pyscreenshot</remote-id>
|
||||
<remote-id type="github">ponty/pyscreenshot</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
|
|
|
@ -8,5 +8,6 @@
|
|||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pytest-xvfb</remote-id>
|
||||
<remote-id type="github">The-Compiler/pytest-xvfb</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
EAPI=7
|
||||
|
||||
PYTHON_REQ_USE="tk"
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
@ -22,13 +22,4 @@ RDEPEND="
|
|||
x11-base/xorg-server[xvfb]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local -x PYTHONPATH="${BUILD_DIR}/install/lib"
|
||||
esetup.py install \
|
||||
--root="${BUILD_DIR}/install" \
|
||||
--install-lib=lib
|
||||
|
||||
pytest -vv || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
distutils_enable_tests --install pytest
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
diff --git a/src/_pytest/pytester.py b/src/_pytest/pytester.py
|
||||
index f1d739c99..72406b85d 100644
|
||||
--- a/src/_pytest/pytester.py
|
||||
+++ b/src/_pytest/pytester.py
|
||||
@@ -1209,7 +1209,7 @@ class Testdir(object):
|
||||
args = self._getpytestargs() + args
|
||||
return self.run(*args, timeout=timeout)
|
||||
|
||||
- def spawn_pytest(self, string, expect_timeout=10.0):
|
||||
+ def spawn_pytest(self, string, expect_timeout=60.0):
|
||||
"""Run pytest using pexpect.
|
||||
|
||||
This makes sure to use the right pytest and sets up the temporary
|
||||
@@ -1223,7 +1223,7 @@ class Testdir(object):
|
||||
cmd = "%s --basetemp=%s %s" % (invoke, basetemp, string)
|
||||
return self.spawn(cmd, expect_timeout=expect_timeout)
|
||||
|
||||
- def spawn(self, cmd, expect_timeout=10.0):
|
||||
+ def spawn(self, cmd, expect_timeout=60.0):
|
||||
"""Run a command using pexpect.
|
||||
|
||||
The pexpect child is returned.
|
||||
diff --git a/testing/test_terminal.py b/testing/test_terminal.py
|
||||
index 1b2e46c7c..52ba80f46 100644
|
||||
--- a/testing/test_terminal.py
|
||||
+++ b/testing/test_terminal.py
|
||||
@@ -138,7 +138,7 @@ class TestTerminal(object):
|
||||
"""
|
||||
def test_1():
|
||||
import time
|
||||
- time.sleep(20)
|
||||
+ time.sleep(120)
|
||||
"""
|
||||
)
|
||||
child = testdir.spawn_pytest("")
|
|
@ -12,5 +12,6 @@
|
|||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">PyVirtualDisplay</remote-id>
|
||||
<remote-id type="github">ponty/PyVirtualDisplay</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
@ -26,8 +26,9 @@ RESTRICT="test"
|
|||
RDEPEND="dev-python/easyprocess[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
$(python_gen_cond_dep \
|
||||
'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_7 python3_8 )
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/backports-tempfile[${PYTHON_USEDEP}]
|
||||
' python3_8 )
|
||||
dev-python/entrypoint2[${PYTHON_USEDEP}]
|
||||
dev-python/path-py[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
|
|
|
@ -8,5 +8,6 @@
|
|||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">vncdotool</remote-id>
|
||||
<remote-id type="github">sibson/vncdotool</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
@ -1,11 +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,9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Command line VNC client"
|
||||
|
@ -16,8 +14,9 @@ LICENSE="MIT"
|
|||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
# No clue why this happens:
|
||||
# A lot of errors such as the following appear
|
||||
# pexpect.exceptions.ExceptionPexpect: The command was not found or was not executable: vncev.
|
||||
# to install those, a manual compile and install of examples from net-libs/libvncserver is needed
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND="test? (
|
||||
|
@ -30,8 +29,7 @@ BDEPEND="test? (
|
|||
dev-python/tox[${PYTHON_USEDEP}]
|
||||
dev-python/virtualenv[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DEPEND="
|
||||
RDEPEND="
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/twisted[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]
|
||||
|
|
|
@ -3,9 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..10} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Command line VNC client"
|
||||
|
@ -16,8 +14,9 @@ LICENSE="MIT"
|
|||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
# No clue why this happens:
|
||||
# A lot of errors such as the following appear
|
||||
# pexpect.exceptions.ExceptionPexpect: The command was not found or was not executable: vncev.
|
||||
# to install those, a manual compile and install of examples from net-libs/libvncserver is needed
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND="test? (
|
||||
|
@ -30,8 +29,7 @@ BDEPEND="test? (
|
|||
dev-python/tox[${PYTHON_USEDEP}]
|
||||
dev-python/virtualenv[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DEPEND="
|
||||
RDEPEND="
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/twisted[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,72 @@
|
|||
From 78b1bcff4d9b977313e9ea15068168e1b11f5ba1 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
Date: Wed, 4 Aug 2021 19:08:03 +0200
|
||||
Subject: [PATCH] chromium: abseil-cpp: fix build with glibc-2.34
|
||||
|
||||
* backport a fix from upstream abseil-cpp:
|
||||
https://github.com/abseil/abseil-cpp/commit/a9831f1cbf93fb18dd951453635f488037454ce9
|
||||
|
||||
to fix:
|
||||
|
||||
[97/24505] CXX obj/third_party/abseil-cpp/absl/debugging/failure_signal_handler/failure_signal_handler.o
|
||||
FAILED: obj/third_party/abseil-cpp/absl/debugging/failure_signal_handler/failure_signal_handler.o
|
||||
/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.15.4+gitAUTOINC+dd7f7a9166_555f348ae8-r0/recipe-sysroot-native/usr/bin/x86_64-webos-linux/x86_64-webos-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wdate-time --sysroot=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.15.4+gitAUTOINC+dd7f7a9166_555f348ae8-r0/recipe-sysroot -MMD -MF obj/third_party/abseil-cpp/absl/debugging/failure_signal_handler/failure_signal_handler.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DCR_SYSROOT_HASH=5f64b417e1018dcf8fcc81dc2714e0f264b9b911 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DABSL_ALLOCATOR_NOTHROW=1 -Igen -I../../../../git/src/3rdparty/chromium -I../../../../git/src/3rdparty/chromium/third_party/abseil-cpp -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g1 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu++14 -fno-exceptions -fno-rtti --sysroot=../../../../recipe-sysroot -fvisibility-inlines-hidden -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -c ../../../../git/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc -o obj/third_party/abseil-cpp/absl/debugging/failure_signal_handler/failure_signal_handler.o
|
||||
../../../../git/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc: In function 'bool absl::SetupAlternateStackOnce()':
|
||||
../../../../git/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc:138:32: error: no matching function for call to 'max(long int, int)'
|
||||
138 | size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask;
|
||||
| ~~~~~~~~^~~~~~~~~~~~~~~~~
|
||||
In file included from ../../../../recipe-sysroot/usr/include/c++/11.2.0/algorithm:61,
|
||||
from ../../../../git/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc:35:
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algobase.h:254:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
|
||||
254 | max(const _Tp& __a, const _Tp& __b)
|
||||
| ^~~
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algobase.h:254:5: note: template argument deduction/substitution failed:
|
||||
../../../../git/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc:138:32: note: deduced conflicting types for parameter 'const _Tp' ('long int' and 'int')
|
||||
138 | size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask;
|
||||
| ~~~~~~~~^~~~~~~~~~~~~~~~~
|
||||
In file included from ../../../../recipe-sysroot/usr/include/c++/11.2.0/algorithm:61,
|
||||
from ../../../../git/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc:35:
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algobase.h:300:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
|
||||
300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp)
|
||||
| ^~~
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algobase.h:300:5: note: template argument deduction/substitution failed:
|
||||
../../../../git/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc:138:32: note: deduced conflicting types for parameter 'const _Tp' ('long int' and 'int')
|
||||
138 | size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask;
|
||||
| ~~~~~~~~^~~~~~~~~~~~~~~~~
|
||||
In file included from ../../../../recipe-sysroot/usr/include/c++/11.2.0/algorithm:62,
|
||||
from ../../../../git/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc:35:
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algo.h:3461:5: note: candidate: 'template<class _Tp> constexpr _Tp std::max(std::initializer_list<_Tp>)'
|
||||
3461 | max(initializer_list<_Tp> __l)
|
||||
| ^~~
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algo.h:3461:5: note: template argument deduction/substitution failed:
|
||||
../../../../git/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc:138:32: note: mismatched types 'std::initializer_list<_Tp>' and 'long int'
|
||||
138 | size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask;
|
||||
| ~~~~~~~~^~~~~~~~~~~~~~~~~
|
||||
In file included from ../../../../recipe-sysroot/usr/include/c++/11.2.0/algorithm:62,
|
||||
from ../../../../git/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc:35:
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algo.h:3467:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::max(std::initializer_list<_Tp>, _Compare)'
|
||||
3467 | max(initializer_list<_Tp> __l, _Compare __comp)
|
||||
| ^~~
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algo.h:3467:5: note: template argument deduction/substitution failed:
|
||||
../../../../git/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc:138:32: note: mismatched types 'std::initializer_list<_Tp>' and 'long int'
|
||||
138 | size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask;
|
||||
| ~~~~~~~~^~~~~~~~~~~~~~~~~
|
||||
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
---
|
||||
.../abseil-cpp/absl/debugging/failure_signal_handler.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc b/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc
|
||||
index 5d13bdbbbd1..150a43f2660 100644
|
||||
--- a/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc
|
||||
+++ b/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc
|
||||
@@ -135,7 +135,7 @@ static bool SetupAlternateStackOnce() {
|
||||
#else
|
||||
const size_t page_mask = sysconf(_SC_PAGESIZE) - 1;
|
||||
#endif
|
||||
- size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask;
|
||||
+ size_t stack_size = (std::max<size_t>(SIGSTKSZ, 65536) + page_mask) & ~page_mask;
|
||||
#if defined(ABSL_HAVE_ADDRESS_SANITIZER) || \
|
||||
defined(ABSL_HAVE_MEMORY_SANITIZER) || defined(ABSL_HAVE_THREAD_SANITIZER)
|
||||
// Account for sanitizer instrumentation requiring additional stack space.
|
|
@ -0,0 +1,72 @@
|
|||
From a3bc792bdc116806a50e022d9102914c8daf6210 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
Date: Wed, 4 Aug 2021 19:11:06 +0200
|
||||
Subject: [PATCH] chromium: breakpad: fix build with glibc-2.34
|
||||
|
||||
* fixes:
|
||||
[218/24061] CXX obj/third_party/breakpad/client/exception_handler.o
|
||||
FAILED: obj/third_party/breakpad/client/exception_handler.o
|
||||
/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.15.4+gitAUTOINC+dd7f7a9166_555f348ae8-r0/recipe-sysroot-native/usr/bin/x86_64-webos-linux/x86_64-webos-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wdate-time --sysroot=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.15.4+gitAUTOINC+dd7f7a9166_555f348ae8-r0/recipe-sysroot -MMD -MF obj/third_party/breakpad/client/exception_handler.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DCR_SYSROOT_HASH=5f64b417e1018dcf8fcc81dc2714e0f264b9b911 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../../../git/src/3rdparty/chromium/third_party/breakpad -I../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src -I../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client -I../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/third_party/linux/include -Igen -I../../../../git/src/3rdparty/chromium -I../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g1 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu++14 -fno-exceptions -fno-rtti --sysroot=../../../../recipe-sysroot -fvisibility-inlines-hidden -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -c ../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc -o obj/third_party/breakpad/client/exception_handler.o
|
||||
../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc: In function 'void google_breakpad::{anonymous}::InstallAlternateStackLocked()':
|
||||
../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:141:49: error: no matching function for call to 'max(int, long int)'
|
||||
141 | static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
|
||||
| ~~~~~~~~^~~~~~~~~~~~~~~~~
|
||||
In file included from ../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/char_traits.h:39,
|
||||
from ../../../../recipe-sysroot/usr/include/c++/11.2.0/string:40,
|
||||
from ../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h:38,
|
||||
from ../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:66:
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algobase.h:254:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
|
||||
254 | max(const _Tp& __a, const _Tp& __b)
|
||||
| ^~~
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algobase.h:254:5: note: template argument deduction/substitution failed:
|
||||
../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:141:49: note: deduced conflicting types for parameter 'const _Tp' ('int' and 'long int')
|
||||
141 | static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
|
||||
| ~~~~~~~~^~~~~~~~~~~~~~~~~
|
||||
In file included from ../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/char_traits.h:39,
|
||||
from ../../../../recipe-sysroot/usr/include/c++/11.2.0/string:40,
|
||||
from ../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h:38,
|
||||
from ../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:66:
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algobase.h:300:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
|
||||
300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp)
|
||||
| ^~~
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algobase.h:300:5: note: template argument deduction/substitution failed:
|
||||
../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:141:49: note: deduced conflicting types for parameter 'const _Tp' ('int' and 'long int')
|
||||
141 | static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
|
||||
| ~~~~~~~~^~~~~~~~~~~~~~~~~
|
||||
In file included from ../../../../recipe-sysroot/usr/include/c++/11.2.0/algorithm:62,
|
||||
from ../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:85:
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algo.h:3461:5: note: candidate: 'template<class _Tp> constexpr _Tp std::max(std::initializer_list<_Tp>)'
|
||||
3461 | max(initializer_list<_Tp> __l)
|
||||
| ^~~
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algo.h:3461:5: note: template argument deduction/substitution failed:
|
||||
../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:141:49: note: mismatched types 'std::initializer_list<_Tp>' and 'int'
|
||||
141 | static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
|
||||
| ~~~~~~~~^~~~~~~~~~~~~~~~~
|
||||
In file included from ../../../../recipe-sysroot/usr/include/c++/11.2.0/algorithm:62,
|
||||
from ../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:85:
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algo.h:3467:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::max(std::initializer_list<_Tp>, _Compare)'
|
||||
3467 | max(initializer_list<_Tp> __l, _Compare __comp)
|
||||
| ^~~
|
||||
../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algo.h:3467:5: note: template argument deduction/substitution failed:
|
||||
../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:141:49: note: mismatched types 'std::initializer_list<_Tp>' and 'int'
|
||||
141 | static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
|
||||
| ~~~~~~~~^~~~~~~~~~~~~~~~~
|
||||
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
---
|
||||
.../breakpad/src/client/linux/handler/exception_handler.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc b/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
|
||||
index ca353c40997..2e43ba6fc04 100644
|
||||
--- a/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
|
||||
+++ b/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
|
||||
@@ -138,7 +138,7 @@ void InstallAlternateStackLocked() {
|
||||
// SIGSTKSZ may be too small to prevent the signal handlers from overrunning
|
||||
// the alternative stack. Ensure that the size of the alternative stack is
|
||||
// large enough.
|
||||
- static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
|
||||
+ static const unsigned kSigStackSize = std::max<size_t>(16384, SIGSTKSZ);
|
||||
|
||||
// Only set an alternative stack if there isn't already one, or if the current
|
||||
// one is too small.
|
|
@ -104,6 +104,8 @@ PATCHES=(
|
|||
"${FILESDIR}/${PN}-5.15.2_p20210224-disable-git.patch" # downstream snapshot fix
|
||||
"${FILESDIR}/${PN}-5.15.2_p20210406-glibc-2.33.patch" # by Fedora, bug 769989
|
||||
"${FILESDIR}/${PN}-5.15.2_p20210521-gcc11.patch" # by Fedora, bug 768261
|
||||
"${FILESDIR}/${PN}-5.15.2_p20210824-abseil-cpp-glibc-2.34.patch" # bug 811312
|
||||
"${FILESDIR}/${PN}-5.15.2_p20210824-breakpad-glibc-2.34.patch" # bug 811312
|
||||
)
|
||||
|
||||
pkg_preinst() {
|
||||
|
|
Binary file not shown.
|
@ -1,2 +1,2 @@
|
|||
DIST linux-5.12.tar.xz 118112412 BLAKE2B 842d921b9a73d2aaade763dbd2ec67bdfe0275baa6d628b775f5c87574ad7dc86f0419afcd48c10c1235f4bffa16084243f2cf4556e6afcd391e975fe8ba530b SHA512 be03b6fee1d1ea8087b09874d27c0a602c0b04fd90ad38b975bd2c8455a07e83c29b56814aaf1389e82305fae0e4c2d1701075a7f0a7295dd28149f967ec5b3d
|
||||
DIST patch-5.12.xz 6263608 BLAKE2B cc46642f352e579b073695e8ca23ede26ec84c7f8f79b969aa334a49879d2d5838bb1e3411dae7c1c0584193a4b08aed031eda33b6f38fea4c9b36ed236045d5 SHA512 68f4832e07c152e2df097097720c6adb9103b6a56f5056af67ffa9afbca66ab7c1a94968f638de14d4cd93a077c820f58ffc32952a87721004714339b9d18487
|
||||
DIST linux-5.14.tar.xz 120669872 BLAKE2B 0047f5aaa3940dff97f4055ef544faafbbb5282128e6afe21d2f47d8dc8c395806a17016febfa050117d16f59e74b882cb8b9c5011d68f119c230d0a4d120524 SHA512 8e4f3ec3d36f774280f75dc7b004a43e09417af58f12e9c9f8348976659d4cfda7ad905f306f43fed66a27922e5c45db22e46bbfa7a0b9f365012380de3b6f64
|
||||
DIST patch-5.14.1.xz 4708 BLAKE2B 334d56ba26abc0d29432c27a31fefff332d9b134899b6f0d5fdeadaf68c3bf95eaeba37a9500eb3c245ae2eea70786c55056586ce747277e9f2be16697ceab73 SHA512 409108139ba2842d100d69e47d88eee87bea58c210a84e242c82aae48fe4bc57ccd0a507c4a0ecb791d0a2962f46cda3ba900f728a9b6856e986bff018a2d19c
|
||||
|
|
|
@ -87,7 +87,7 @@ src_prepare() {
|
|||
fi
|
||||
|
||||
# dev-python/docutils installs rst2man.py, not rst2man
|
||||
sed -i -e 's/rst2man/rst2man.py/g' Documentation/Makefile ../Makefile.helpers || die
|
||||
sed -i -e 's/rst2man/rst2man.py/g' Documentation/Makefile || die
|
||||
}
|
||||
|
||||
bpftool_make() {
|
||||
|
@ -105,15 +105,11 @@ bpftool_make() {
|
|||
src_compile() {
|
||||
bpftool_make
|
||||
bpftool_make -C Documentation
|
||||
rm Documentation/bpf-helpers* || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
bpftool_make DESTDIR="${D}" install
|
||||
bpftool_make mandir="${ED}"/usr/share/man -C Documentation install
|
||||
|
||||
# bpf-helpers man is already provided by sys-apps/man-pages
|
||||
rm -r "${ED}"/usr/share/man/man7 || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
|
@ -2,3 +2,4 @@ DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3
|
|||
DIST llvmorg-11.1.0.tar.gz 122776532 BLAKE2B ca842ff4afff8f44c82b5e7383962a9c45ca1c93b64fa4c6ebcd70a1d3849dbad2b8e4e24fba02d144c6266d7fab3607ebc6999b28c229cb35256cf40f26a985 SHA512 9a8ce022a935eed42fa71a224f2a207122aadcbef58ee855fdb4825f879e7d028e4dcff22c19b9d336db1c8bf63fb84372d44981acf84615f757e54306c92b81
|
||||
DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1
|
||||
DIST llvmorg-13.0.0-rc2.tar.gz 147267736 BLAKE2B 153bf7320f2aa911112d366ffc79f7110cb04f135c2a8b176c263f0a75eb768206d9bd462893d45504b0e58aa9e127fdcafb02300eab1666e4616aa654d457dd SHA512 a01baf3eaa02f02af42bfcf6dcf24f166351bf1c09601495617c81e41def23210573bad40a344270f40c5deb881d06863536abac2a6481930766a6a56335fb44
|
||||
DIST llvmorg-13.0.0-rc3.tar.gz 147281901 BLAKE2B 640065a2f32dc48edf084d776cb6b950fae86c2a204999e2eec67f93b57615df40adec19785099b0ef2fe11837c3304794ec3585289a5b5051a557618c63c749 SHA512 1401d5a4d6bb5c930d74b9cfbc8e792872f721aab7d7f0c819e2ba5cf47fb818d160c1f71784fba69827f3c9b7414aa91a585d2b813c1851b4799f9d62cebc46
|
||||
|
|
101
dev-util/lldb/lldb-13.0.0_rc3.ebuild
Normal file
101
dev-util/lldb/lldb-13.0.0_rc3.ebuild
Normal file
|
@ -0,0 +1,101 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit cmake llvm llvm.org python-single-r1
|
||||
|
||||
DESCRIPTION="The LLVM debugger"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="+libedit lzma ncurses +python test"
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
libedit? ( dev-libs/libedit:0= )
|
||||
lzma? ( app-arch/xz-utils:= )
|
||||
ncurses? ( >=sys-libs/ncurses-5.9-r3:0= )
|
||||
python? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
')
|
||||
${PYTHON_DEPS}
|
||||
)
|
||||
~sys-devel/clang-${PV}[xml]
|
||||
~sys-devel/llvm-${PV}"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
>=dev-util/cmake-3.16
|
||||
python? ( >=dev-lang/swig-3.0.11 )
|
||||
test? (
|
||||
$(python_gen_cond_dep "
|
||||
~dev-python/lit-${PV}[\${PYTHON_USEDEP}]
|
||||
dev-python/psutil[\${PYTHON_USEDEP}]
|
||||
")
|
||||
sys-devel/lld
|
||||
)
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
LLVM_COMPONENTS=( lldb )
|
||||
LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support llvm/utils/unittest )
|
||||
llvm.org_set_globals
|
||||
|
||||
pkg_setup() {
|
||||
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLLDB_ENABLE_CURSES=$(usex ncurses)
|
||||
-DLLDB_ENABLE_LIBEDIT=$(usex libedit)
|
||||
-DLLDB_ENABLE_PYTHON=$(usex python)
|
||||
-DLLDB_ENABLE_LZMA=$(usex lzma)
|
||||
-DLLDB_USE_SYSTEM_SIX=1
|
||||
-DLLVM_ENABLE_TERMINFO=$(usex ncurses)
|
||||
|
||||
-DLLDB_INCLUDE_TESTS=$(usex test)
|
||||
|
||||
-DCLANG_LINK_CLANG_DYLIB=ON
|
||||
# TODO: fix upstream to detect this properly
|
||||
-DHAVE_LIBDL=ON
|
||||
-DHAVE_LIBPTHREAD=ON
|
||||
|
||||
# normally we'd have to set LLVM_ENABLE_TERMINFO, HAVE_TERMINFO
|
||||
# and TERMINFO_LIBS... so just force FindCurses.cmake to use
|
||||
# ncurses with complete library set (including autodetection
|
||||
# of -ltinfo)
|
||||
-DCURSES_NEED_NCURSES=ON
|
||||
|
||||
-DLLDB_EXTERNAL_CLANG_RESOURCE_DIR="${BROOT}/usr/lib/clang/${PV%_*}"
|
||||
|
||||
-DPython3_EXECUTABLE="${PYTHON}"
|
||||
)
|
||||
use test && mycmakeargs+=(
|
||||
-DLLVM_BUILD_TESTS=$(usex test)
|
||||
-DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
|
||||
-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
|
||||
-DLLVM_LIT_ARGS="$(get_lit_flags)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x LIT_PRESERVES_TMP=1
|
||||
cmake_build check-lldb-{shell,unit}
|
||||
# failures + hangs
|
||||
#use python && cmake_build check-lldb-api
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
find "${D}" -name '*.a' -delete || die
|
||||
|
||||
use python && python_optimize
|
||||
}
|
Binary file not shown.
|
@ -19,7 +19,7 @@ SRC_URI="https://github.com/ctmarinas/stgit/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-vcs/git-1.6.3.3"
|
||||
|
|
Binary file not shown.
|
@ -460,7 +460,7 @@ distutils_enable_tests() {
|
|||
esetup.py() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
[[ -n ${EPYTHON} ]] || die "EPYTHON unset, invalid call context"
|
||||
_python_check_EPYTHON
|
||||
|
||||
[[ ${BUILD_DIR} ]] && _distutils-r1_create_setup_cfg
|
||||
|
||||
|
@ -743,6 +743,8 @@ _distutils-r1_copy_egg_info() {
|
|||
distutils-r1_python_compile() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
_python_check_EPYTHON
|
||||
|
||||
_distutils-r1_copy_egg_info
|
||||
|
||||
# distutils is parallel-capable since py3.5
|
||||
|
@ -821,6 +823,8 @@ distutils-r1_python_test() {
|
|||
die "${FUNCNAME} can be only used after calling distutils_enable_tests"
|
||||
fi
|
||||
|
||||
_python_check_EPYTHON
|
||||
|
||||
if [[ ${_DISTUTILS_TEST_INSTALL} ]]; then
|
||||
distutils_install_for_testing
|
||||
fi
|
||||
|
@ -860,6 +864,8 @@ distutils-r1_python_test() {
|
|||
distutils-r1_python_install() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
_python_check_EPYTHON
|
||||
|
||||
local root=${D%/}/_${EPYTHON}
|
||||
[[ ${DISTUTILS_SINGLE_IMPL} ]] && root=${D%/}
|
||||
|
||||
|
|
|
@ -1250,6 +1250,16 @@ build_sphinx() {
|
|||
HTML_DOCS+=( "${dir}/_build/html/." )
|
||||
}
|
||||
|
||||
# @FUNCTION: _python_check_EPYTHON
|
||||
# @INTERNAL
|
||||
# @DESCRIPTION:
|
||||
# Check if EPYTHON is set, die if not.
|
||||
_python_check_EPYTHON() {
|
||||
if [[ -z ${EPYTHON} ]]; then
|
||||
die "EPYTHON unset, invalid call context"
|
||||
fi
|
||||
}
|
||||
|
||||
# @VARIABLE: EPYTEST_DESELECT
|
||||
# @DEFAULT_UNSET
|
||||
# @DESCRIPTION:
|
||||
|
@ -1279,7 +1289,7 @@ build_sphinx() {
|
|||
epytest() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
[[ -n ${EPYTHON} ]] || die "EPYTHON unset, invalid call context"
|
||||
_python_check_EPYTHON
|
||||
|
||||
local args=(
|
||||
# verbose progress reporting and tracebacks
|
||||
|
@ -1322,7 +1332,7 @@ epytest() {
|
|||
eunittest() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
[[ -n ${EPYTHON} ]] || die "EPYTHON unset, invalid call context"
|
||||
_python_check_EPYTHON
|
||||
|
||||
set -- "${EPYTHON}" -m unittest_or_fail discover -v "${@}"
|
||||
|
||||
|
|
Binary file not shown.
|
@ -12,7 +12,7 @@ DESCRIPTION="KDE library for mathematical features"
|
|||
|
||||
LICENSE="GPL-2" # TODO: CHECK
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
IUSE="eigen nls"
|
||||
|
||||
BDEPEND="
|
||||
|
|
|
@ -13,7 +13,7 @@ HOMEPAGE="https://apps.kde.org/artikulate/"
|
|||
|
||||
LICENSE="GPL-2" # TODO: CHECK
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
|
|
|
@ -13,7 +13,7 @@ DESCRIPTION="kioslave for accessing audio CDs"
|
|||
|
||||
LICENSE="GPL-2+ handbook? ( FDL-1.2 )"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="flac vorbis"
|
||||
|
||||
DEPEND="
|
||||
|
|
|
@ -13,7 +13,7 @@ HOMEPAGE="https://apps.kde.org/blinken/ https://edu.kde.org/blinken/"
|
|||
|
||||
LICENSE="GPL-2" # TODO: CHECK
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
|
|
|
@ -13,7 +13,7 @@ HOMEPAGE="https://apps.kde.org/dragonplayer/"
|
|||
|
||||
LICENSE="GPL-2+ || ( GPL-2 GPL-3 ) handbook? ( FDL-1.2 )"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="
|
||||
|
|
|
@ -15,7 +15,7 @@ HOMEPAGE="https://apps.kde.org/gwenview/ https://userbase.kde.org/Gwenview"
|
|||
|
||||
LICENSE="GPL-2+ handbook? ( FDL-1.2 )"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="activities fits kipi +mpris raw semantic-desktop share X"
|
||||
|
||||
# requires running environment
|
||||
|
|
|
@ -14,7 +14,7 @@ HOMEPAGE="https://apps.kde.org/juk/"
|
|||
|
||||
LICENSE="GPL-2" # TODO: CHECK
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
|
|
|
@ -13,7 +13,7 @@ HOMEPAGE="https://apps.kde.org/kamera/"
|
|||
|
||||
LICENSE="GPL-2+ handbook? ( FDL-1.2 )"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="
|
||||
|
|
|
@ -14,7 +14,7 @@ HOMEPAGE="https://apps.kde.org/kipi_plugins/ https://userbase.kde.org/KIPI"
|
|||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="mediawiki +remotestorage"
|
||||
|
||||
RDEPEND="
|
||||
|
|
|
@ -13,7 +13,7 @@ DESCRIPTION="KDE library for CDDB"
|
|||
|
||||
LICENSE="GPL-2+ handbook? ( FDL-1.2 )"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="musicbrainz"
|
||||
|
||||
DEPEND="
|
||||
|
|
|
@ -12,7 +12,7 @@ DESCRIPTION="Library for playing & ripping CDs"
|
|||
|
||||
LICENSE="GPL-2+ LGPL-2+"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="alsa"
|
||||
|
||||
DEPEND="
|
||||
|
|
|
@ -10,7 +10,7 @@ DESCRIPTION="Digital camera raw image library wrapper"
|
|||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
|
|
|
@ -11,7 +11,7 @@ DESCRIPTION="A library for image plugins accross KDE applications"
|
|||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="5/32"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
|
|
Binary file not shown.
|
@ -11,7 +11,7 @@ inherit ecm kde.org
|
|||
|
||||
DESCRIPTION="Framework providing additional format plugins for Qt's image I/O system"
|
||||
LICENSE="LGPL-2+"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="avif eps heif openexr"
|
||||
|
||||
DEPEND="
|
||||
|
|
|
@ -19,9 +19,11 @@ DEPEND="
|
|||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_test() {
|
||||
# bug 623938 - needs internet connection
|
||||
local myctestargs=(
|
||||
-E "(convertertest)"
|
||||
# convertertest: bug 623938 - needs internet connection
|
||||
# categorytest: bug 808216 - needs internet connection
|
||||
# currencytableinittest: bug 808216 - unknown, reported upstream
|
||||
-E "(convertertest|categorytest|currencytableinittest)"
|
||||
)
|
||||
|
||||
LC_NUMERIC="C" ecm_src_test # bug 694804
|
||||
|
|
|
@ -30,7 +30,7 @@ src_configure() {
|
|||
}
|
||||
|
||||
src_test() {
|
||||
# bug 650216, 653186, 697866
|
||||
local myctestargs=( -E "(kdatecomboboxtest|ksqueezedtextlabelautotest)" )
|
||||
# bug 650216, 653186, 697866, 808216
|
||||
local myctestargs=( -E "(kdatecomboboxtest|ksqueezedtextlabelautotest|ktwofingertaptest|ktwofingerswipetest)" )
|
||||
ecm_src_test
|
||||
}
|
||||
|
|
|
@ -37,9 +37,9 @@ DEPEND="
|
|||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_test() {
|
||||
# Files are missing; whatever. Bugs 650290, 668198
|
||||
# Files are missing; whatever. Bugs 650290, 668198, 808216
|
||||
local myctestargs=(
|
||||
-E "(ktoolbar_unittest|kxmlgui_unittest)"
|
||||
-E "(ktoolbar_unittest|kxmlgui_unittest|ktooltiphelper_unittest)"
|
||||
)
|
||||
|
||||
ecm_src_test
|
||||
|
|
Binary file not shown.
|
@ -1,3 +1,2 @@
|
|||
DIST latte-dock-0.10.1.tar.xz 983932 BLAKE2B ebd565a2ec45048fe2578bd39554455843d0f8099701d8ab88d47588ff5e97b55754e51bdb78e092591772c4e04e84c1c1c4d70004cec442084bcc0b1f2813e4 SHA512 bed37de00ea58a7984351daa89b5def537f7504a108d0bd9683cf56852bde90f9b7ff6ce62db0fdba1a7bcd4cd7a3fe6d524fbfcd2c6655a364f7ebd67ba560f
|
||||
DIST latte-dock-0.10.2.tar.xz 985060 BLAKE2B 539f41623aa4aa780bd16295d4e94ba93521109abbc9a0f21606e17f62e9ded0a9cf0a09ea8e70fb168aa46afbd4382a11c895b72002acacfc03ee0bdd82c6a5 SHA512 2ed621a39f0e7e783197e16b91fe99bb19c23f942f35f5dc8ff8d5dc1b5dbb17544b2396c975b8d26d8980819232ba8450789b69e585beeadb50da5edcd906e4
|
||||
DIST latte-dock-0.9.12.tar.xz 741208 BLAKE2B 634805e78c618e0958d0d2d071fd6f262bee34f4aeb0106e42ba9cef0ba245a0382c2930e7e947df99bc93574721f6d5fc035c7eab3ac761cefd51c829ad409b SHA512 11538e90b110522bfc6a56737f7c2ef22e0a0aff1153a2d85413dae3e643b3b660c36cb4d2162b902b61c55b50d798b070f3c47da0c3709dcaefa09c3eeafd7f
|
||||
|
|
|
@ -1,61 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
KFMIN=5.82.0
|
||||
QTMIN=5.15.2
|
||||
inherit ecm kde.org
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Elegant dock, based on KDE Frameworks"
|
||||
HOMEPAGE="https://apps.kde.org/latte-dock/"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtdbus-${QTMIN}:5
|
||||
>=dev-qt/qtdeclarative-${QTMIN}:5
|
||||
>=dev-qt/qtgraphicaleffects-${QTMIN}:5
|
||||
>=dev-qt/qtgui-${QTMIN}:5[X]
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=dev-qt/qtx11extras-${QTMIN}:5
|
||||
>=kde-frameworks/kactivities-${KFMIN}:5
|
||||
>=kde-frameworks/karchive-${KFMIN}:5
|
||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kcrash-${KFMIN}:5
|
||||
>=kde-frameworks/kdbusaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kdeclarative-${KFMIN}:5
|
||||
>=kde-frameworks/kglobalaccel-${KFMIN}:5
|
||||
>=kde-frameworks/kguiaddons-${KFMIN}:5
|
||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||
>=kde-frameworks/kiconthemes-${KFMIN}:5
|
||||
>=kde-frameworks/kio-${KFMIN}:5
|
||||
>=kde-frameworks/kirigami-${KFMIN}:5
|
||||
>=kde-frameworks/knewstuff-${KFMIN}:5
|
||||
>=kde-frameworks/knotifications-${KFMIN}:5
|
||||
>=kde-frameworks/kpackage-${KFMIN}:5
|
||||
>=kde-frameworks/kwayland-${KFMIN}:5
|
||||
>=kde-frameworks/kwindowsystem-${KFMIN}:5
|
||||
>=kde-frameworks/kxmlgui-${KFMIN}:5
|
||||
>=kde-frameworks/plasma-${KFMIN}:5[X]
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/xcb-util
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-qt/qtquickcontrols-${QTMIN}:5
|
||||
>=dev-qt/qtquickcontrols2-${QTMIN}:5
|
||||
"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-dont-hide-warnings.patch" )
|
Binary file not shown.
|
@ -0,0 +1,96 @@
|
|||
# SPDX-FileCopyrightText: 2006, 2007 Laurent Montel <montel@kde.org>
|
||||
# SPDX-FileCopyrightText: 2018 Volker Krause <vkrause@kde.org>
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#[=======================================================================[.rst:
|
||||
FindFontconfig
|
||||
--------------
|
||||
|
||||
Try to find Fontconfig.
|
||||
Once done this will define the following variables:
|
||||
|
||||
``Fontconfig_FOUND``
|
||||
True if Fontconfig is available
|
||||
``Fontconfig_INCLUDE_DIRS``
|
||||
The include directory to use for the Fontconfig headers
|
||||
``Fontconfig_LIBRARIES``
|
||||
The Fontconfig libraries for linking
|
||||
``Fontconfig_DEFINITIONS``
|
||||
Compiler switches required for using Fontconfig
|
||||
``Fontconfig_VERSION``
|
||||
The version of Fontconfig that has been found
|
||||
|
||||
If ``Fontconfig_FOUND`` is TRUE, it will also define the following
|
||||
imported target:
|
||||
|
||||
``Fontconfig::Fontconfig``
|
||||
|
||||
Since 5.57.0.
|
||||
#]=======================================================================]
|
||||
|
||||
# use pkg-config to get the directories and then use these values
|
||||
# in the FIND_PATH() and FIND_LIBRARY() calls
|
||||
find_package(PkgConfig QUIET)
|
||||
pkg_check_modules(PC_FONTCONFIG QUIET fontconfig)
|
||||
|
||||
set(Fontconfig_DEFINITIONS ${PC_FONTCONFIG_CFLAGS_OTHER})
|
||||
|
||||
find_path(Fontconfig_INCLUDE_DIRS fontconfig/fontconfig.h
|
||||
PATHS
|
||||
${PC_FONTCONFIG_INCLUDE_DIRS}
|
||||
/usr/X11/include
|
||||
)
|
||||
|
||||
find_library(Fontconfig_LIBRARIES NAMES fontconfig
|
||||
PATHS
|
||||
${PC_FONTCONFIG_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
set(Fontconfig_VERSION ${PC_FONTCONFIG_VERSION})
|
||||
if (NOT Fontconfig_VERSION)
|
||||
find_file(Fontconfig_VERSION_HEADER
|
||||
NAMES "fontconfig/fontconfig.h"
|
||||
HINTS ${Fontconfig_INCLUDE_DIRS}
|
||||
)
|
||||
mark_as_advanced(Fontconfig_VERSION_HEADER)
|
||||
if (Fontconfig_VERSION_HEADER)
|
||||
file(READ ${Fontconfig_VERSION_HEADER} _fontconfig_version_header_content)
|
||||
string(REGEX MATCH "#define FC_MAJOR[ \t]+[0-9]+" Fontconfig_MAJOR_VERSION_MATCH ${_fontconfig_version_header_content})
|
||||
string(REGEX MATCH "#define FC_MINOR[ \t]+[0-9]+" Fontconfig_MINOR_VERSION_MATCH ${_fontconfig_version_header_content})
|
||||
string(REGEX MATCH "#define FC_REVISION[ \t]+[0-9]+" Fontconfig_PATCH_VERSION_MATCH ${_fontconfig_version_header_content})
|
||||
string(REGEX REPLACE ".*FC_MAJOR[ \t]+(.*)" "\\1" Fontconfig_MAJOR_VERSION ${Fontconfig_MAJOR_VERSION_MATCH})
|
||||
string(REGEX REPLACE ".*FC_MINOR[ \t]+(.*)" "\\1" Fontconfig_MINOR_VERSION ${Fontconfig_MINOR_VERSION_MATCH})
|
||||
string(REGEX REPLACE ".*FC_REVISION[ \t]+(.*)" "\\1" Fontconfig_PATCH_VERSION ${Fontconfig_PATCH_VERSION_MATCH})
|
||||
set(Fontconfig_VERSION "${Fontconfig_MAJOR_VERSION}.${Fontconfig_MINOR_VERSION}.${Fontconfig_PATCH_VERSION}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(Fontconfig
|
||||
FOUND_VAR Fontconfig_FOUND
|
||||
REQUIRED_VARS Fontconfig_LIBRARIES Fontconfig_INCLUDE_DIRS
|
||||
VERSION_VAR Fontconfig_VERSION
|
||||
)
|
||||
mark_as_advanced(Fontconfig_LIBRARIES Fontconfig_INCLUDE_DIRS)
|
||||
|
||||
if(Fontconfig_FOUND AND NOT TARGET Fontconfig::Fontconfig)
|
||||
add_library(Fontconfig::Fontconfig UNKNOWN IMPORTED)
|
||||
set_target_properties(Fontconfig::Fontconfig PROPERTIES
|
||||
IMPORTED_LOCATION "${Fontconfig_LIBRARIES}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${Fontconfig_INCLUDE_DIRS}"
|
||||
INTERFACE_COMPILER_DEFINITIONS "${Fontconfig_DEFINITIONS}"
|
||||
)
|
||||
endif()
|
||||
|
||||
# backward compatibility, remove in kf6
|
||||
set(FONTCONFIG_INCLUDE_DIR "${Fontconfig_INCLUDE_DIRS}")
|
||||
set(FONTCONFIG_LIBRARIES "${Fontconfig_LIBRARIES}")
|
||||
set(FONTCONFIG_DEFINITIONS "${Fontconfig_DEFINITIONS}")
|
||||
mark_as_advanced(FONTCONFIG_INCLUDE_DIR FONTCONFIG_LIBRARIES FONTCONFIG_DEFINITIONS)
|
||||
|
||||
include(FeatureSummary)
|
||||
set_package_properties(Fontconfig PROPERTIES
|
||||
URL "https://www.fontconfig.org/"
|
||||
DESCRIPTION "Fontconfig is a library for configuring and customizing font access"
|
||||
)
|
|
@ -170,6 +170,8 @@ src_prepare() {
|
|||
# KDE-bug: 433730
|
||||
use calculator ||
|
||||
cmake_run_in runners cmake_comment_add_subdirectory calculator
|
||||
|
||||
cp "${FILESDIR}"/${P}-FindFontconfig.cmake cmake/FindFontconfig.cmake || die # bug 813041
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
|
Binary file not shown.
|
@ -1 +1,2 @@
|
|||
DIST chafa-1.6.1.tar.xz 418720 BLAKE2B 5f6c42311d81bf508f5ec890d72508fd2255e226102b8a7c5c71a9bc1293cd75b08c6b640ca4e6fe9ae34ad47e4e408e25a1aeed7057a5bd823550bea4526f4a SHA512 96cf772638e1a6874d94636a69d6c76d1040d956a16be851ea818292f5b2252867acd0891fede3e030de591b5567d820cf062c5a103a0943a0ea2f2ba34eea77
|
||||
DIST chafa-1.8.0.tar.xz 435712 BLAKE2B 15a6e64fff13ac32b2f828a68fb12c96856e175eae83c0396b07cbb2ce71d8c1c8eee67db00880372026fe91eaefac2b34376dee597108ffc07c706cf8c98682 SHA512 15ff08a0df82ae8517ac7744b81a39e1ae1eff8c9848128341cc25da94864e89b7101aabcff2d532bf11ea293bfc4c9e48b01f85388dafadbce2d2b2c8b7439d
|
||||
|
|
36
media-gfx/chafa/chafa-1.8.0.ebuild
Normal file
36
media-gfx/chafa/chafa-1.8.0.ebuild
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="versatile and fast Unicode/ASCII/ANSI graphics renderer"
|
||||
HOMEPAGE="https://hpjansson.org/chafa/ https://github.com/hpjansson/chafa"
|
||||
SRC_URI="https://hpjansson.org/chafa/releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="+tools"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
media-gfx/imagemagick:0=
|
||||
tools? ( >=media-libs/freetype-2.0.0 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-man \
|
||||
$(use_with tools)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( AUTHORS NEWS README TODO )
|
||||
default
|
||||
|
||||
use tools && doman docs/chafa.1
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
Binary file not shown.
|
@ -1 +1,2 @@
|
|||
DIST kodi-game-libretro-19.0.0.tar.gz 114815 BLAKE2B c18236f2cd96b57b665a191a42932d17e086233de23de2d4227397f110075288d5b5de314edf4e62fa7567fab39a3c95cc1d437fdc1a95a9966ee6a636402e1a SHA512 a746b3b1e962e01af6b26a8f5c35c673f28e1248115a266528c1cd333ec132075948d0ca8d6ac0a5fcc07f80c4f881b0d819d59768b572f93f47daf43bbeff5b
|
||||
DIST kodi-game-libretro-2.2.0.tar.gz 110443 BLAKE2B b68c51a0fbe9a61ce9ac5c3582fd317abbc6ef69b5da4a529a7a73201c49f4fe8fba56f73635da213dd02c53af7b3d69dbfafc9a60afecbbef3c451cc32d568c SHA512 f1a5671b468ebf0ea3a86b757ae2481115bfb38082043757aa94d6f193b6eea560b37ccafafe63e686b729d80aa89ac58640899900894d0a72472badadbf27ac
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake kodi-addon
|
||||
|
||||
DESCRIPTION="Libretro compatibility layer for the Kodi Game API"
|
||||
HOMEPAGE="https://github.com/kodi-game/game.libretro"
|
||||
SRC_URI=""
|
||||
|
||||
case ${PV} in
|
||||
9999)
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://github.com/kodi-game/game.libretro.git"
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
CODENAME="Matrix"
|
||||
SRC_URI="https://github.com/kodi-game/game.libretro/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/game.libretro-${PV}-${CODENAME}"
|
||||
;;
|
||||
esac
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
=media-tv/kodi-19*
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
|
@ -1,6 +1 @@
|
|||
DIST kodi-inputstream-adaptive-2.6.17.tar.gz 752293 BLAKE2B f6b2c5d512bd5222e9e7bf1d5b06cb174c804bd24e12ef3b01c56e47db41eed4adbbc1bf46a777c8dc60d01367745b82cf59e4b09a138461c925e489379056e3 SHA512 512a299d5711012c0396c2b84c68a364122b52d5e75f14a4de9e1f5767d652f8d992436c54970c2f5f141207f926b4d4112ff61f3414862456a212a2f77f2c3d
|
||||
DIST kodi-inputstream-adaptive-2.6.18.tar.gz 754089 BLAKE2B 8dcff383fb77c35f64523f86d915620daef813f7b0d12d254cbb8eab05c9c9fe4e60e738b0815dbfad1b0385dcd6b46ad5a2ee1d4e609b43d1f4867584b83f43 SHA512 66a5c1338f80c4d9307b075f0e932e2b97f1ffa8734f5644794c26cff9b610a1be6c2f02ab095dad6d2155b12f37106e950685b607c5fc6251005897bdd68786
|
||||
DIST kodi-inputstream-adaptive-2.6.20.tar.gz 761163 BLAKE2B d7659e85b20b09702ce0d0eebbf05b0aedd3e54ed9234c968f11a0a7a4d8c485cc9ce3a74ff9b654c7f8c8bae78281527ed5f9dd26e0f75dbde6e4cdf61df3c9 SHA512 1af27e40193eed17e1556eb40749827a7436cbc3528a00e1df0398bab5712a988d2761852ef1ed096f6c3a2ac81ded0698c85a125f6317ab537b2eb2da344a8e
|
||||
DIST kodi-inputstream-adaptive-2.6.21.tar.gz 761311 BLAKE2B 3d9ca58f52d10e7b4fc2c1bb6b761a7adde47802146723cdae56770a748e1454a3953816b9a151608ad65dd92107b209fca073180d35bfedc86f05a90275a6b3 SHA512 d808abaa961f7e5f21ae59c87cd379f771714102932791e50b4374ce07bbf747c00c75728858577589e9fc82f8811b509e03a79441d3a3ba2f7e8313a83596c0
|
||||
DIST kodi-inputstream-adaptive-2.6.22.tar.gz 761392 BLAKE2B b325eef1113f33572c8a8cbc75f7ac85d38d4bb7a2a9d12340bec0b0c03a24cdb795de2af712f9effb474469bf98f853f2a543df4aa8b98fed9ee1422066b9a9 SHA512 e8ff725351548604bdbc0f6cac02696a64dfeb608edbed13eed50cd639679a125f5a5fa133e93e90b010ea0fde34e21a6cdea130cfaca26f9c4fd543ab94c1fe
|
||||
DIST kodi-inputstream-adaptive-2.6.23.tar.gz 764094 BLAKE2B d3eca4f34f812ddb78b255cb40f081bd0fe106657938b5161fa83aabe5032e176ca300c9a3c2653ca4c4fa769cc04c4866e349b295a7fded850bfe1f314af5e1 SHA512 8aa33acf1c4658d6d515bc92972e42c6a32c3a03a2e51f381b19452f7d214b5f5e770c6a62b78618cf8800157c20767629f9de3fa5920a800c559f720a36f808
|
||||
DIST kodi-inputstream-adaptive-19.0.0.tar.gz 768987 BLAKE2B eaf5141e8d5cde73f2d6109f09fe7bf266413ab09ae3f286c72f9fabe76bb897a1c1ede9137b05d8db86c0e91a400f3d86cee8b9b355f0ef8cc7d2f22229b23c SHA512 dca318f434e87242857af672db4b6edc27e37bc202cce0ea3ff549af0894d27ab73adc084703d04dc2d8dde6219d00ae83209fd61f62916deaf65486feb8e74f
|
||||
|
|
|
@ -1,54 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake kodi-addon
|
||||
|
||||
DESCRIPTION="Kodi's Adaptive inputstream addon"
|
||||
HOMEPAGE="https://github.com/peak3d/inputstream.adaptive.git"
|
||||
SRC_URI=""
|
||||
|
||||
case ${PV} in
|
||||
9999)
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://github.com/peak3d/inputstream.adaptive.git"
|
||||
EGIT_BRANCH="Matrix"
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
CODENAME="Matrix"
|
||||
SRC_URI="https://github.com/peak3d/inputstream.adaptive/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/inputstream.adaptive-${PV}-${CODENAME}"
|
||||
;;
|
||||
esac
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
RESTRICT="!test? ( test )"
|
||||
IUSE="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/expat
|
||||
=media-tv/kodi-19*
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
[ -d depends ] && rm -rf depends || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
|
@ -1,54 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake kodi-addon
|
||||
|
||||
DESCRIPTION="Kodi's Adaptive inputstream addon"
|
||||
HOMEPAGE="https://github.com/peak3d/inputstream.adaptive.git"
|
||||
SRC_URI=""
|
||||
|
||||
case ${PV} in
|
||||
9999)
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://github.com/peak3d/inputstream.adaptive.git"
|
||||
EGIT_BRANCH="Matrix"
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
CODENAME="Matrix"
|
||||
SRC_URI="https://github.com/peak3d/inputstream.adaptive/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/inputstream.adaptive-${PV}-${CODENAME}"
|
||||
;;
|
||||
esac
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
RESTRICT="!test? ( test )"
|
||||
IUSE="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/expat
|
||||
=media-tv/kodi-19*
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
[ -d depends ] && rm -rf depends || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue