parent
385013adb1
commit
12d2f432f6
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST fastfetch-2.2.3.tar.gz 901203 BLAKE2B d6d097b72ce2f252e42b3e59cbd26b43a4f17ae974382f986270fbf91b457cf3c49e78a3c775e713d9302d536fb5a363e809005b9174d1a27622e6b6ed666709 SHA512 81e051b7555d56415c723606c0b6dfc3ad7ed91fb2c7b36c07465f4dfbdb91da5c8d216e46df36863888448de0a7bd63e28c6aa701995bf1165e0d7c33c4f724
|
||||
DIST fastfetch-2.6.1.tar.gz 996318 BLAKE2B 88cfb756a6898b1e007e0a45a94b8746af6f0dccb2c5d1f39a10b08e838b5d8261d77ea25f003dd1c8b9e0364b4d5db4177777f5c635fb50965a1612f8d2da7d SHA512 164720061f1949d673296db684b6d3674e02788c916d52a73a0a646bcd8c1fffcd2862a5860bc8dd8eace56bcc8b2d48cf938cf67f6dcdbe7476d1359dfb08e9
|
||||
DIST fastfetch-2.6.3.tar.gz 996379 BLAKE2B f449abfe4b2cb75a04d7259957ae9c9da951123ad3a3e6b2178cb4dd04c4a42462ab77413446c7b23657e7c5a2da95f01e84dfd8299280e53e4bd563036bf7a7 SHA512 d32a9a2e80f8138af3ec5467d44ab89a8f34adfccf97480f28d947eb21a05178c8f3719c8a78d6f63027cd2b783a3f04ab9c3534f791f069000f726d7eca4e7d
|
||||
|
Binary file not shown.
@ -0,0 +1,134 @@
|
||||
From 1883014daa5ae1dedf4d9356dbdaafd4d9d3014f Mon Sep 17 00:00:00 2001
|
||||
From: Nicolas Fella <nicolas.fella@gmx.de>
|
||||
Date: Sat, 17 Sep 2022 17:11:05 +0200
|
||||
Subject: [PATCH] Port away from deprecated kinit
|
||||
|
||||
(cherry picked from commit d0c9c05bfb1d1eae6b1d92ac7d5a22ed5238329f)
|
||||
---
|
||||
CMakeLists.txt | 1 -
|
||||
src/CMakeLists.txt | 11 ++++-------
|
||||
src/main.cpp | 2 +-
|
||||
src/workpackage/CMakeLists.txt | 10 +++-------
|
||||
src/workpackage/main.cpp | 2 +-
|
||||
5 files changed, 9 insertions(+), 17 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 70025827..a354e4a0 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -112,7 +112,6 @@ set(REQUIRED_KF5_VERSION "5.45.0")
|
||||
|
||||
find_package(KF5 ${REQUIRED_KF5_VERSION} REQUIRED
|
||||
COMPONENTS
|
||||
- Init
|
||||
Archive
|
||||
# Codecs
|
||||
# Completion
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 3c77e9f4..755863a2 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -207,7 +207,7 @@ install(TARGETS calligraplanpart DESTINATION ${PLUGIN_INSTALL_DIR}/calligraplan/
|
||||
|
||||
########### KPlato executable ###############
|
||||
|
||||
-set(calligraplan_KDEINIT_SRCS main.cpp )
|
||||
+set(calligraplan_SRCS main.cpp )
|
||||
|
||||
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/pics/*-apps-calligraplan.png")
|
||||
ecm_add_app_icon(kdeinit_app_ICONS_SRCS ICONS ${ICONS_SRCS})
|
||||
@@ -215,20 +215,17 @@ if(WIN32)
|
||||
set(_resourcefile "${CMAKE_CURRENT_BINARY_DIR}/kdeinit_app_ICONS_SRCS.rc")
|
||||
endif()
|
||||
|
||||
-kf5_add_kdeinit_executable( calligraplan ${calligraplan_KDEINIT_SRCS})
|
||||
+add_executable( calligraplan ${calligraplan_SRCS})
|
||||
|
||||
if (APPLE)
|
||||
set_target_properties(calligraplan PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.template)
|
||||
set_target_properties(calligraplan PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "org.calligra.plan")
|
||||
set_target_properties(calligraplan PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Plan")
|
||||
- install( FILES ${CMAKE_CURRENT_BINARY_DIR}/calligraplan_KDEINIT_SRCS.icns DESTINATION ${BUNDLE_INSTALL_DIR}/calligraplan.app/Contents/Resources)
|
||||
+ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/calligraplan_SRCS.icns DESTINATION ${BUNDLE_INSTALL_DIR}/calligraplan.app/Contents/Resources)
|
||||
endif ()
|
||||
|
||||
-target_link_libraries(kdeinit_calligraplan planmain)
|
||||
+target_link_libraries(calligraplan planmain)
|
||||
|
||||
-install(TARGETS kdeinit_calligraplan ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
-
|
||||
-target_link_libraries(calligraplan kdeinit_calligraplan planmain)
|
||||
install(TARGETS calligraplan ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
|
||||
########### install files ###############
|
||||
diff --git a/src/main.cpp b/src/main.cpp
|
||||
index 3b807381..64ae2e8f 100644
|
||||
--- a/src/main.cpp
|
||||
+++ b/src/main.cpp
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <QApplication>
|
||||
#include <QLoggingCategory>
|
||||
|
||||
-extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
|
||||
+int main(int argc, char **argv)
|
||||
{
|
||||
/**
|
||||
* Disable debug output by default, only log warnings.
|
||||
diff --git a/src/workpackage/CMakeLists.txt b/src/workpackage/CMakeLists.txt
|
||||
index 9072ebad..808646d9 100644
|
||||
--- a/src/workpackage/CMakeLists.txt
|
||||
+++ b/src/workpackage/CMakeLists.txt
|
||||
@@ -77,7 +77,7 @@ install(TARGETS calligraplanworkpart DESTINATION ${PLUGIN_INSTALL_DIR})
|
||||
|
||||
########### Calligra PlanWork executable ###############
|
||||
|
||||
-set(calligraplanwork_KDEINIT_SRCS main.cpp commandlineparser.cpp)
|
||||
+set(calligraplanwork_SRCS main.cpp commandlineparser.cpp)
|
||||
|
||||
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/pics/*-apps-calligraplanwork.png")
|
||||
ecm_add_app_icon(kdeinit_app_ICONS_SRCS ICONS ${ICONS_SRCS})
|
||||
@@ -85,7 +85,7 @@ if(WIN32)
|
||||
set(_resourcefile "${CMAKE_CURRENT_BINARY_DIR}/kdeinit_app_ICONS_SRCS.rc")
|
||||
endif()
|
||||
|
||||
-kf5_add_kdeinit_executable(calligraplanwork ${calligraplanwork_KDEINIT_SRCS})
|
||||
+add_executable(calligraplanwork ${calligraplanwork_SRCS})
|
||||
|
||||
if (APPLE)
|
||||
set_target_properties(calligraplanwork PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.template)
|
||||
@@ -94,7 +94,7 @@ if (APPLE)
|
||||
endif ()
|
||||
|
||||
target_link_libraries(
|
||||
- kdeinit_calligraplanwork
|
||||
+ calligraplanwork
|
||||
|
||||
planworkfactory
|
||||
plankernel
|
||||
@@ -105,10 +105,6 @@ target_link_libraries(
|
||||
KF5::DBusAddons
|
||||
)
|
||||
|
||||
-install(TARGETS kdeinit_calligraplanwork ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
-
|
||||
-target_link_libraries( calligraplanwork kdeinit_calligraplanwork )
|
||||
-
|
||||
install(TARGETS calligraplanwork ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
|
||||
########### install files ###############
|
||||
diff --git a/src/workpackage/main.cpp b/src/workpackage/main.cpp
|
||||
index 12af06e1..56c0be4f 100644
|
||||
--- a/src/workpackage/main.cpp
|
||||
+++ b/src/workpackage/main.cpp
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
#include <Calligra2Migration.h>
|
||||
|
||||
-extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
|
||||
+int main(int argc, char **argv)
|
||||
{
|
||||
QApplication app(argc, argv);
|
||||
#ifdef Q_OS_MACOS
|
||||
--
|
||||
2.43.0
|
||||
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST tesseract-5.3.0.tar.gz 1913678 BLAKE2B 975b3a50dc2c9ec7ded82caaa068d2d9d362ee0bc6d51b41a52c692ac7f51231d4c64a9dda9e7b850297d4c1f13eb40a709e59eebe143df4f5e2a060cfbbfd3a SHA512 fc0cfda980059390b7d6d3d8e475b4ecc9dcfee1abc3b16fc9ffc8904db0a0847a5f6f1b32bd2e1f6f5a714a8c4df0fb3dc7c6aa25ece6162bf52fe86b4d0f34
|
||||
DIST tesseract-5.3.2.tar.gz 1916850 BLAKE2B d900f7e21a53a4ca77ab820359cf8b528ac0114816029c257dffa141ae9fdecfe4ddb97160b598d1f144c139f3fbceea080fb050802d6d3fa7ac8bc8e1353d72 SHA512 92db2a513f00b931a0207cc705020bee9fea4ff7fa93c57a6f446b5777713864cce19121b316ef8b78b6bd625ee7e6fd473352515f98c4a2187569cbd0a9713a
|
||||
DIST tesseract-5.3.3.tar.gz 1918172 BLAKE2B 84676368e23d5d51462bbdaa5723d582cdcec3958e4224c6147ef35d260c933f0a217f1ddca2f71b37aa3045714d3a9f31980f02b8ff7a85fed5db072e0827cf SHA512 c04ae68ac4ecf85243c54feb4233e282cd420522588fd4b3eaa87619cb236a575052e3667a806c2f56de06dc013b88926c2dbea4cb4ee02f0119c032598169f2
|
||||
DIST tesseract-5.3.4.tar.gz 1918319 BLAKE2B f4becd425594be132df2c206847faa91daf9bc58d83eac31096f92cf7d7b6c9234ae224ee94ed1f3099414bde393bb86f94d1f76fdc05b4310b415b0d7eb05af SHA512 a81c98c3754a71093df7b51390ccd43d05f661352b4cb564e403b96d81909664c2ecbf2eb6f37614c4639e6dadbf2329b926d09271dbbdaa302f2d7b6b0d628a
|
||||
|
@ -0,0 +1,92 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="An OCR Engine, originally developed at HP, now open source"
|
||||
HOMEPAGE="https://github.com/tesseract-ocr"
|
||||
SRC_URI="https://github.com/tesseract-ocr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/5"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="doc float32 jpeg opencl openmp png static-libs tiff training webp"
|
||||
|
||||
COMMON_DEPEND=">=media-libs/leptonica-1.74:=[${MULTILIB_USEDEP},zlib,tiff?,jpeg?,png?,webp?]
|
||||
opencl? (
|
||||
virtual/opencl[${MULTILIB_USEDEP}]
|
||||
media-libs/tiff:=[${MULTILIB_USEDEP}]
|
||||
media-libs/leptonica:=[tiff]
|
||||
)
|
||||
training? (
|
||||
dev-libs/icu:=
|
||||
x11-libs/pango:=
|
||||
x11-libs/cairo:=
|
||||
)"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
|| (
|
||||
>=app-text/tessdata_fast-4.0.0
|
||||
>=app-text/tessdata_best-4.0.0
|
||||
>=app-text/tessdata_legacy-4.0.0
|
||||
)"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/asciidoc
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
doc? ( app-text/doxygen )"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# scrollview disabled for now, see bug #686944
|
||||
local myeconfargs=(
|
||||
--enable-shared
|
||||
--disable-graphics
|
||||
$(use_enable float32)
|
||||
$(use_enable opencl)
|
||||
$(use_enable openmp)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
if multilib_is_native_abi; then
|
||||
use doc && emake doc
|
||||
use training && emake training
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi; then
|
||||
DOCS=( "${S}"/AUTHORS "${S}"/ChangeLog "${S}"/README.md )
|
||||
if use doc; then
|
||||
HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
einstalldocs
|
||||
|
||||
if use training; then
|
||||
emake DESTDIR="${D}" training-install
|
||||
fi
|
||||
fi
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
Binary file not shown.
@ -1,8 +1,4 @@
|
||||
DIST SCons-4.5.2.tar.gz 3194724 BLAKE2B c27d00e4bc319e3b8d5d35d50d5f03df15e2b72256e26000299ac95c5bdaffbe850942df9e3c23a6b0dbf55ea000f768a7938cfedc451cc7bd3e2a521292d49e SHA512 a9675f4b4dbedf8c7375d4d099216cd935c38944d57b0a08de2b9c133bb53184de0d5803edf5cb9f800f205b1252ceca3aaf33a10bf5d8b48eacd58866cf776c
|
||||
DIST SCons-4.6.0.tar.gz 3230138 BLAKE2B adef2ad5394404ae48d85e8c2a91b5af29e4f9bfa7455504ac1cb8d22d9a05c9ace823e02c8e7a32b34dee281635987487ad43ca94c6adea8e287b086a0732f0 SHA512 c7dc952117c23ac30b8cf1f70ef0c4ad1c0a86c9865fd255fde1a29ea2fbf9e26573b73430f6adc8c545dab753077f380d29d77ac4eede7fce959c86576d2354
|
||||
DIST scons-4.5.2-user.html 1655168 BLAKE2B dab0b29ae7bdadc96b9081d1d9e1d8b29cc62afb39f3161e4b7694b3e58a31e82446319f3efc560fdbe2c3a37b902c79c74d15a790c865ec3c6d27811f0443fe SHA512 6f2c74d15dca903d500bebe33f0af6b90ca1458c3796048077d411b2c269013696036c7e9ae8b1f300f37c05dd6246f8b12d35b503f9018f002b9d01fea22ba9
|
||||
DIST scons-4.5.2-user.pdf 3023818 BLAKE2B b67e2ca3326b5e9ec2cdb530b22d347072e9c906678509a21aae1622487054d4aa3446beb599dd52cd93ad769a5b325dd101356ea88baedba907c931e0acc792 SHA512 172f494fd5e73f654adf9c137bd09f74f57bd2ef17dbd0f02c66aea49798a3fb136f176ee85fc7432378af49e28cbb498e830e519df74652533ecb9f3e52ecf9
|
||||
DIST scons-4.5.2.gh.tar.gz 5844800 BLAKE2B c0f42994a178bb0fb329cfa05328bdae89b374a33a7806276e7529a81b37a4ea9f52d07fb2afc55adbe3c1e00661ea3c3d53e981be4a8a095079fc35403328f1 SHA512 aa788d9365a8b5119fef404869562f61cb854be7ceadb5f5d47523e262c07f93ea7476166b577edec25339a64dc6a1f4a6f391fa5aeeab3f086a6659fc72e1ce
|
||||
DIST scons-4.6.0-user.html 1670870 BLAKE2B 0c84248791bdce093cce4d45b525357aeb3ae69835337000d753b007dc77053d63e70363b3d73c3e7c8157b24d50f0a0216ea9993d90bb298ba2591d6fce4cb4 SHA512 5b8a2626bca361dbce1b0b40f6009752b2dbde7e1f5886b449b9015514951b2e998ede0582876411e7cde56b4ea05546e2db8a8fdcada349c39a126c2e50be1a
|
||||
DIST scons-4.6.0-user.pdf 3058220 BLAKE2B 3a04e1c0fab47f2a1327f20d3ee500d7861599dc31b0007dd196173af5b880d9737ff528b419896e905cae5a5744c74ef38c2b29bc7945ef4157a79c1c6dabe9 SHA512 6a5ca9cdede81ec9536bb32d7df157fd1efd4b3e3f5afa386b7ecaa45d1fc212015673ccec5ab3283475ab0ee6ef001c111f51b7d3bb64dda664e61d11cbaec0
|
||||
DIST scons-4.6.0.gh.tar.gz 5891032 BLAKE2B 9aeda2ef899dcaf5bc7ca3bc77c0615544f2308f56ef095ad835d5cc748355b467a905ec737eef61a4afd183ff0f041dc244bdd58858ba3abc4f3a4efd9f8dc7 SHA512 d7dd30bbc94ec014b12b37a106aa536dd5c8b16e9f1605b68cad6721cf6e3959add1f75a42693fd8499734ca19eb76f648800d7cc8081fe334282841cd406954
|
||||
|
@ -1,157 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
MY_P="SCons-${PV}"
|
||||
DESCRIPTION="Extensible Python-based build utility"
|
||||
HOMEPAGE="
|
||||
https://www.scons.org/
|
||||
https://github.com/SCons/scons/
|
||||
https://pypi.org/project/SCons/
|
||||
"
|
||||
SRC_URI="
|
||||
https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${MY_P}.tar.gz
|
||||
doc? (
|
||||
https://www.scons.org/doc/${PV}/PDF/${PN}-user.pdf
|
||||
-> ${P}-user.pdf
|
||||
https://www.scons.org/doc/${PV}/HTML/${PN}-user.html
|
||||
-> ${P}-user.html
|
||||
)
|
||||
test? (
|
||||
https://github.com/SCons/scons/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
# use the git directory structure, then unpack the pypi tarball
|
||||
# on top of it to make our life easier
|
||||
if use test; then
|
||||
unpack "${P}.gh.tar.gz"
|
||||
else
|
||||
mkdir -p "${P}" || die
|
||||
fi
|
||||
|
||||
tar -C "${P}" --strip-components=1 --no-same-owner \
|
||||
-xzf "${DISTDIR}/${MY_P}.tar.gz" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# TODO: rebase the patches <4.5.1-r2 is gone
|
||||
# support env passthrough for Gentoo ebuilds
|
||||
eapply -p2 "${FILESDIR}"/scons-4.1.0-env-passthrough.patch
|
||||
# respect CC, CXX, C*FLAGS, LDFLAGS by default
|
||||
eapply -p2 "${FILESDIR}"/scons-4.2.0-respect-cc-etc.patch
|
||||
|
||||
if use test; then
|
||||
local remove_tests=(
|
||||
# TODO: does not respect PATH?
|
||||
test/Clang
|
||||
# broken
|
||||
test/DVIPDF/DVIPDFFLAGS.py
|
||||
test/Java/swig-dependencies.py
|
||||
test/Java/multi-step.py
|
||||
test/TEX/newglossary.py
|
||||
test/TEX/variant_dir_newglossary.py
|
||||
test/Configure/option--config.py
|
||||
# broken by commas in date, sic!
|
||||
test/option/option-v.py
|
||||
test/Interactive/version.py
|
||||
# warnings from new binutils?
|
||||
test/AS/as-live.py
|
||||
test/AS/nasm.py
|
||||
# hangs
|
||||
test/KeyboardInterrupt.py
|
||||
# requires f77 executable
|
||||
test/Fortran/F77PATH.py
|
||||
test/Fortran/FORTRANPATH.py
|
||||
test/Fortran/gfortran.py
|
||||
# TODO, these seem to be caused by our patches
|
||||
test/Repository/include.py
|
||||
test/Repository/multi-dir.py
|
||||
test/Repository/variants.py
|
||||
test/virtualenv/activated/option/ignore-virtualenv.py
|
||||
# broken by CC being set? *facepalm*
|
||||
test/LINK/applelink.py
|
||||
test/ToolSurrogate.py
|
||||
# no clue but why would we care about rpm?
|
||||
test/packaging/option--package-type.py
|
||||
test/packaging/rpm/cleanup.py
|
||||
test/packaging/rpm/internationalization.py
|
||||
test/packaging/rpm/multipackage.py
|
||||
test/packaging/rpm/package.py
|
||||
test/packaging/rpm/tagging.py
|
||||
# apparently fragile to... limits?
|
||||
# https://bugs.gentoo.org/908347#c7
|
||||
test/builderrors.py
|
||||
)
|
||||
|
||||
if ! use amd64 && ! use x86 ; then
|
||||
# These tests are currently broken on arm and other non-amd64/x86 platforms
|
||||
# Work seems to be ongoing in e.g. https://github.com/SCons/scons/pull/4022 to
|
||||
# better plumb up the MSVC tests for alternative arches.
|
||||
# Try again after 4.2.0.
|
||||
# See also: https://pairlist4.pair.net/pipermail/scons-users/2020-November/008452.html
|
||||
# bug #757534
|
||||
remove_tests+=(
|
||||
test/MSVS/vs-7.0-scc-files.py
|
||||
test/MSVS/vs-7.0-scc-legacy-files.py
|
||||
test/MSVS/vs-7.1-scc-files.py
|
||||
test/MSVS/vs-7.1-scc-legacy-files.py
|
||||
test/MSVS/vs-scc-files.py
|
||||
test/MSVS/vs-scc-legacy-files.py
|
||||
)
|
||||
fi
|
||||
|
||||
rm -r "${remove_tests[@]}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x COLUMNS=80
|
||||
# set variable from escons() of scons-util.eclass to make env-passthrough patch work within test env
|
||||
local -x GENTOO_SCONS_ENV_PASSTHROUGH=1
|
||||
# unset some env variables to pass appropriate tests
|
||||
unset AR AS ASFLAGS CC CXX CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
|
||||
cd "${WORKDIR}/${P}" || die
|
||||
"${EPYTHON}" runtest.py -a --passed \
|
||||
-j "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
|
||||
# runtest.py script returns "0" if all tests are passed
|
||||
# and returns "2" if there are any tests with "no result"
|
||||
# (i.e. in case if some tools are not installed or it's Windows specific tests)
|
||||
[[ ${?} == [02] ]] || die "Tests fail with ${EPYTHON}"
|
||||
|
||||
# sigh
|
||||
rm "${BUILD_DIR}/install/usr/bin/.sconsign" || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
rm "${ED}"/usr/*.1 || die
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman *.1
|
||||
use doc && dodoc "${DISTDIR}/${P}"-user.{pdf,html}
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST rqlite-7.17.0-vendor.tar.gz 7267193 BLAKE2B c9957c3d00960842b56e18829f87b03a8f44176652a4e6b578fafa7c58816014acee2fe96876c8112279085ed7331fb5c32e783b59e73f9db694c091757ee437 SHA512 9631f36179491abf7e81edea0ff73ea6322afd32836631d3d46dff996072eef92c3d3de929cec94b622d46cd8e0340089026cdfb3c228b04640cc917f15eee86
|
||||
DIST rqlite-8.16.8-vendor.tar.gz 7715303 BLAKE2B 50660bdfb8ce9fa8238ae028916d822e9f5d8e027ee4865f543f97f8a49b92a13e549deb07a5b79e7a52c2c9e994cf6891562a15873b09398c74773f82ffc3d2 SHA512 987c9dbe91766f4847233949cd4251aa3d0a56d23b850bbb552d8f9bb255de3908c4fa440c45e730e861e6f4f60e559a41353659ab9d953b978c45ff986ee9b5
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module
|
||||
EGIT_COMMIT=10a5c9bd0e89e05c61e6de1a012470c432ee3591
|
||||
|
||||
DESCRIPTION="Replicated SQLite using the Raft consensus protocol"
|
||||
HOMEPAGE="https://github.com/rqlite/rqlite https://www.philipotoole.com/tag/rqlite/"
|
||||
SRC_URI="https://github.com/zmedico/rqlite/archive/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
LICENSE+=" Apache-2.0 BSD CC0-1.0 MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S=${WORKDIR}/${P}-vendor
|
||||
|
||||
src_compile() {
|
||||
GOBIN="${S}/bin" \
|
||||
go install \
|
||||
-ldflags="-X main.version=v${PV}
|
||||
-X main.branch=master
|
||||
-X main.commit=${EGIT_COMMIT}
|
||||
-X main.buildtime=$(date +%Y-%m-%dT%T%z)" \
|
||||
./cmd/... || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOBIN="${S}/bin" \
|
||||
go test ./... || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
dodoc -r *.md DOC
|
||||
}
|
Binary file not shown.
@ -0,0 +1,191 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DOTNET_PKG_COMPAT=8.0
|
||||
NUGETS="
|
||||
argu@6.1.1
|
||||
castle.core@5.1.1
|
||||
coverlet.collector@3.0.3
|
||||
dotnet.reproduciblebuilds@1.1.1
|
||||
fsharp.core@6.0.0
|
||||
fsharp.core@8.0.100
|
||||
humanizer.core@2.14.1
|
||||
icsharpcode.decompiler@8.1.1.7464
|
||||
ionide.keepachangelog.tasks@0.1.8
|
||||
messagepack.annotations@2.5.108
|
||||
messagepack@2.5.108
|
||||
microsoft.bcl.asyncinterfaces@7.0.0
|
||||
microsoft.build.framework@17.7.2
|
||||
microsoft.build.locator@1.6.10
|
||||
microsoft.build.tasks.git@1.1.1
|
||||
microsoft.build@17.7.2
|
||||
microsoft.codeanalysis.analyzers@3.3.4
|
||||
microsoft.codeanalysis.analyzerutilities@3.3.0
|
||||
microsoft.codeanalysis.common@4.7.0
|
||||
microsoft.codeanalysis.csharp.features@4.7.0
|
||||
microsoft.codeanalysis.csharp.workspaces@4.7.0
|
||||
microsoft.codeanalysis.csharp@4.7.0
|
||||
microsoft.codeanalysis.elfie@1.0.0
|
||||
microsoft.codeanalysis.features@4.7.0
|
||||
microsoft.codeanalysis.scripting.common@4.7.0
|
||||
microsoft.codeanalysis.visualbasic.workspaces@4.7.0
|
||||
microsoft.codeanalysis.visualbasic@4.7.0
|
||||
microsoft.codeanalysis.workspaces.common@4.7.0
|
||||
microsoft.codeanalysis.workspaces.msbuild@4.7.0
|
||||
microsoft.codeanalysis@4.7.0
|
||||
microsoft.codecoverage@16.10.0
|
||||
microsoft.csharp@4.0.1
|
||||
microsoft.diasymreader@2.0.0
|
||||
microsoft.net.stringtools@17.4.0
|
||||
microsoft.net.stringtools@17.7.2
|
||||
microsoft.net.test.sdk@16.10.0
|
||||
microsoft.netcore.platforms@1.0.1
|
||||
microsoft.netcore.platforms@1.1.0
|
||||
microsoft.netcore.platforms@2.0.0
|
||||
microsoft.netcore.platforms@5.0.0
|
||||
microsoft.netcore.targets@1.0.1
|
||||
microsoft.sourcelink.azurerepos.git@1.1.1
|
||||
microsoft.sourcelink.bitbucket.git@1.1.1
|
||||
microsoft.sourcelink.common@1.1.1
|
||||
microsoft.sourcelink.github@1.1.1
|
||||
microsoft.sourcelink.gitlab@1.1.1
|
||||
microsoft.testplatform.objectmodel@16.10.0
|
||||
microsoft.testplatform.testhost@16.10.0
|
||||
microsoft.visualstudio.threading.analyzers@17.6.40
|
||||
microsoft.visualstudio.threading@17.6.40
|
||||
microsoft.visualstudio.validation@17.6.11
|
||||
microsoft.win32.registry@5.0.0
|
||||
microsoft.win32.systemevents@7.0.0
|
||||
nerdbank.streams@2.10.66
|
||||
netstandard.library@2.0.0
|
||||
netstandard.library@2.0.3
|
||||
newtonsoft.json@13.0.1
|
||||
newtonsoft.json@13.0.3
|
||||
newtonsoft.json@9.0.1
|
||||
nuget.frameworks@5.0.0
|
||||
nunit3testadapter@4.0.0
|
||||
nunit@3.13.2
|
||||
streamjsonrpc@2.16.36
|
||||
system.buffers@4.5.1
|
||||
system.collections.immutable@6.0.0
|
||||
system.collections.immutable@7.0.0
|
||||
system.collections@4.0.11
|
||||
system.composition.attributedmodel@7.0.0
|
||||
system.composition.convention@7.0.0
|
||||
system.composition.hosting@7.0.0
|
||||
system.composition.runtime@7.0.0
|
||||
system.composition.typedparts@7.0.0
|
||||
system.composition@7.0.0
|
||||
system.configuration.configurationmanager@4.4.0
|
||||
system.configuration.configurationmanager@4.5.0
|
||||
system.configuration.configurationmanager@7.0.0
|
||||
system.data.datasetextensions@4.5.0
|
||||
system.diagnostics.debug@4.0.11
|
||||
system.diagnostics.diagnosticsource@7.0.2
|
||||
system.diagnostics.eventlog@6.0.0
|
||||
system.diagnostics.eventlog@7.0.0
|
||||
system.diagnostics.tools@4.0.1
|
||||
system.drawing.common@7.0.0
|
||||
system.dynamic.runtime@4.0.11
|
||||
system.globalization@4.0.11
|
||||
system.io.filesystem.primitives@4.0.1
|
||||
system.io.filesystem@4.0.1
|
||||
system.io.pipelines@7.0.0
|
||||
system.io@4.1.0
|
||||
system.linq.expressions@4.1.0
|
||||
system.linq@4.1.0
|
||||
system.memory@4.5.4
|
||||
system.memory@4.5.5
|
||||
system.numerics.vectors@4.4.0
|
||||
system.numerics.vectors@4.5.0
|
||||
system.objectmodel@4.0.12
|
||||
system.reflection.emit.ilgeneration@4.0.1
|
||||
system.reflection.emit.ilgeneration@4.7.0
|
||||
system.reflection.emit.lightweight@4.0.1
|
||||
system.reflection.emit.lightweight@4.7.0
|
||||
system.reflection.emit@4.0.1
|
||||
system.reflection.emit@4.7.0
|
||||
system.reflection.extensions@4.0.1
|
||||
system.reflection.metadata@1.6.0
|
||||
system.reflection.metadata@6.0.0
|
||||
system.reflection.metadata@7.0.0
|
||||
system.reflection.metadataloadcontext@7.0.0
|
||||
system.reflection.primitives@4.0.1
|
||||
system.reflection.typeextensions@4.1.0
|
||||
system.reflection@4.1.0
|
||||
system.resources.resourcemanager@4.0.1
|
||||
system.runtime.compilerservices.unsafe@4.5.3
|
||||
system.runtime.compilerservices.unsafe@6.0.0
|
||||
system.runtime.extensions@4.1.0
|
||||
system.runtime.handles@4.0.1
|
||||
system.runtime.interopservices@4.1.0
|
||||
system.runtime.serialization.primitives@4.1.1
|
||||
system.runtime@4.1.0
|
||||
system.security.accesscontrol@4.5.0
|
||||
system.security.accesscontrol@5.0.0
|
||||
system.security.cryptography.protecteddata@4.4.0
|
||||
system.security.cryptography.protecteddata@4.5.0
|
||||
system.security.cryptography.protecteddata@7.0.0
|
||||
system.security.permissions@4.5.0
|
||||
system.security.permissions@7.0.0
|
||||
system.security.principal.windows@4.5.0
|
||||
system.security.principal.windows@5.0.0
|
||||
system.text.encoding.extensions@4.0.11
|
||||
system.text.encoding@4.0.11
|
||||
system.text.encodings.web@7.0.0
|
||||
system.text.json@7.0.0
|
||||
system.text.json@7.0.3
|
||||
system.text.regularexpressions@4.1.0
|
||||
system.threading.channels@7.0.0
|
||||
system.threading.tasks.dataflow@7.0.0
|
||||
system.threading.tasks.extensions@4.0.0
|
||||
system.threading.tasks.extensions@4.5.4
|
||||
system.threading.tasks@4.0.11
|
||||
system.threading@4.0.11
|
||||
system.windows.extensions@7.0.0
|
||||
system.xml.readerwriter@4.0.11
|
||||
system.xml.xdocument@4.0.11
|
||||
"
|
||||
|
||||
inherit dotnet-pkg
|
||||
|
||||
DESCRIPTION="Roslyn-based LSP language server for C#"
|
||||
HOMEPAGE="https://github.com/razzmatazz/csharp-language-server/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/razzmatazz/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/razzmatazz/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
SRC_URI+=" ${NUGET_URIS} "
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
DOTNET_PKG_PROJECTS=( src/CSharpLanguageServer/CSharpLanguageServer.fsproj )
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
src_unpack() {
|
||||
dotnet-pkg_src_unpack
|
||||
|
||||
if [[ -n "${EGIT_REPO_URI}" ]] ; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dotnet-pkg-base_install
|
||||
dotnet-pkg-base_dolauncher "/usr/share/${P}/CSharpLanguageServer" csharp-ls
|
||||
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST checker-framework-3.41.0.tar.gz 8271094 BLAKE2B 804e0b03872f4b6d9311ddba83bc2ae1e6f167fd62330d2461ee54338e592c84b4d94200f6e0d1de6ed0258343ab0b081f3e8108efce62f396c7c753cadae471 SHA512 4d0f82269a521c498b2e54bfaed1513c708e538fc42b5bb22ae176a368c7f409548820f8fa56009997e341f1b716c184bdbadf4d3b5b9e2f3d2ee4148eb6c433
|
||||
DIST checker-framework-3.42.0.tar.gz 8280060 BLAKE2B c2f7c192eb9a7a26b66e46f0c22c18a05ec8cc3c4c01d444e7f14e41c89db83b5d2738f78e3b16eea9cd9ebf3138171bbc6fabb195bdd9776defa06d75e516d6 SHA512 310578593509674b2d36353b2044009ac98b50906d715f1168a96490a1b87aa8227c1713f64adeabd98e370fb1a6a25dd148a5700ff6f4f28ba6b69ba505c149
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="org.checkerframework:checker-qual:${PV}"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Annotations for type-checking by the Checker Framework"
|
||||
HOMEPAGE="https://checkerframework.org/"
|
||||
SRC_URI="https://github.com/typetools/checker-framework/archive/checker-framework-${PV}.tar.gz"
|
||||
S="${WORKDIR}/checker-framework-checker-framework-${PV}/checker-qual"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java/org/checkerframework/"
|
@ -1,2 +1 @@
|
||||
DIST error-prone-2.23.0.tar.gz 2798856 BLAKE2B e6f9782700c54829cf0b99a1f2d8b6d0bdbb3a92b5ceb385a971b7b11fdccb8ecd0b042e163c6b66602626150681954cd1926e4dde1df7d01247dcdbbf3bf6d5 SHA512 7d45376b974090754d1bff7b749e5e1d060e9c901a7a9a12f28fffa3dcd2abcb29e82761c9b8eafaa43479cf390afe3a17ee21823a036aefdff3040ade313243
|
||||
DIST error-prone-2.24.0.tar.gz 2808121 BLAKE2B a112cb2c2699b2522321c89f7875cf5978748f653225db2ce89dbca16eacb357689db79c1d584c034f987178e523baa07cedd43ecb96a53941cb2ebd3c26fe63 SHA512 9c3626c7d9e05a3dacf190c6e463b66ef5cb7b0de3b049884e243502ef7bb325c92433f2ac65dfcd72ddc0edada88dde0822c4fe91043de552d69f3b06611c26
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="com.google.errorprone:error_prone_annotations:${PV}"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Java annotations for the Error Prone static analysis tool"
|
||||
HOMEPAGE="https://errorprone.info"
|
||||
SRC_URI="https://github.com/google/error-prone/archive/v${PV}.tar.gz -> error-prone-${PV}.tar.gz"
|
||||
S="${WORKDIR}/error-prone-${PV}/annotations"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
JAVA_AUTOMATIC_MODULE_NAME="com.google.errorprone.annotations"
|
||||
JAVA_SRC_DIR="src/main/java"
|
@ -1,3 +1,2 @@
|
||||
DIST guava-32.1.3.tar.gz 5757923 BLAKE2B 6bba8f721399f3d346410f1d00f0f5d97e14e347cdcab70465b449c7d7226fc5d194c25f257029eca15d426ec23e5907632a526120387eb465b3132571855862 SHA512 8efd8072e0aafaa851e18a69af011cbaeba207a7ee2dbe2daee9f70729c1c785d054197e6bf032d30065245070088f9f2d7f1a01f244b00325a3ede9d00fb9ec
|
||||
DIST guava-33.0.0.tar.gz 5779322 BLAKE2B b7790f4207e2061b364f3dfac8d3f6f0de180f33f1f1c24078c40b6e69d3a372fc7f681bdd51a670a4b913c0e537731ecbff849a08411c250de4dc6b255e70cf SHA512 4f97aca4621a703b69535c1d56c0b09b3b4ed893e3f136ae5622fe727ce43f920dcdf39a6e8c9667d4f51eccc7f8297c088bc3c34e1f8d6e84a0b7164855ce7c
|
||||
DIST truth-1.1.5.jar 244558 BLAKE2B c6a0889c9b50334d16cedff3974a1526b190b56a082d986dbcfce40c902a1d0e8689e387edc5b5f54f6b1ae079f2efd1e785398711b7b9363ed4dc6c1fe297f8 SHA512 b840a4ff9bd44189b0ada2770e53669b6368ad06b40a182d7ddb497866df872892f8ee5139f707f53b83cf0b860073f9d24a0f711dfb15b2f64b63e3f5013749
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="com.google.guava:guava-testlib:${PV}-jre"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="A set of java classes to assist the tests for Guava itself"
|
||||
HOMEPAGE="https://github.com/google/guava"
|
||||
# Currently we bundle the binary version of truth.jar used only for tests, we don't install it.
|
||||
SRC_URI="https://github.com/google/guava/archive/v${PV}.tar.gz -> guava-${PV}.tar.gz
|
||||
test? ( https://repo1.maven.org/maven2/com/google/truth/truth/1.1.5/truth-1.1.5.jar )"
|
||||
S="${WORKDIR}/guava-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
|
||||
|
||||
CP_DEPEND="
|
||||
dev-java/error-prone-annotations:0
|
||||
~dev-java/guava-${PV}:0
|
||||
dev-java/jsr305:0
|
||||
dev-java/junit:4
|
||||
"
|
||||
|
||||
DEPEND="${CP_DEPEND}
|
||||
dev-java/checker-framework-qual:0
|
||||
dev-java/j2objc-annotations:0
|
||||
>=virtual/jdk-1.8:*"
|
||||
|
||||
RDEPEND="${CP_DEPEND}
|
||||
>=virtual/jre-1.8:*"
|
||||
|
||||
JAVA_CLASSPATH_EXTRA="checker-framework-qual j2objc-annotations"
|
||||
JAVA_SRC_DIR="${PN}/src"
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
JAVA_TEST_SRC_DIR="${PN}/test"
|
||||
|
||||
src_test() {
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA="${DISTDIR}/truth-1.1.5.jar:testdata.jar"
|
||||
java-pkg-simple_src_test
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST guava-32.1.3.tar.gz 5757923 BLAKE2B 6bba8f721399f3d346410f1d00f0f5d97e14e347cdcab70465b449c7d7226fc5d194c25f257029eca15d426ec23e5907632a526120387eb465b3132571855862 SHA512 8efd8072e0aafaa851e18a69af011cbaeba207a7ee2dbe2daee9f70729c1c785d054197e6bf032d30065245070088f9f2d7f1a01f244b00325a3ede9d00fb9ec
|
||||
DIST guava-33.0.0.tar.gz 5779322 BLAKE2B b7790f4207e2061b364f3dfac8d3f6f0de180f33f1f1c24078c40b6e69d3a372fc7f681bdd51a670a4b913c0e537731ecbff849a08411c250de4dc6b255e70cf SHA512 4f97aca4621a703b69535c1d56c0b09b3b4ed893e3f136ae5622fe727ce43f920dcdf39a6e8c9667d4f51eccc7f8297c088bc3c34e1f8d6e84a0b7164855ce7c
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="com.google.guava:guava:${PV}-jre"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="A collection of Google's core Java libraries"
|
||||
HOMEPAGE="https://github.com/google/guava"
|
||||
SRC_URI="https://github.com/google/guava/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
|
||||
|
||||
CP_DEPEND="
|
||||
dev-java/error-prone-annotations:0
|
||||
~dev-java/failureaccess-${PV}:0
|
||||
dev-java/j2objc-annotations:0
|
||||
dev-java/jsr305:0
|
||||
"
|
||||
|
||||
DEPEND="${CP_DEPEND}
|
||||
dev-java/checker-framework-qual:0
|
||||
>=virtual/jdk-1.8:*"
|
||||
RDEPEND="${CP_DEPEND}
|
||||
>=virtual/jre-1.8:*"
|
||||
|
||||
JAVA_AUTOMATIC_MODULE_NAME="com.google.common"
|
||||
JAVA_CLASSPATH_EXTRA="checker-framework-qual"
|
||||
JAVA_SRC_DIR="guava/src"
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST kotlin-compiler-1.9.22.zip 91026092 BLAKE2B 2fc776b27e30a9d75640dc8fc004bfec5207b1b79c2742aa6a8a75971a8b41310cc16712d6d0921e1fa7545031a75ca8256c48f5c1e13f4e36d82df2574d5699 SHA512 d0e1bdfb1918f007444b1cef6e0c29c2c1846819edd60d016ed62327ea6d2cb505aa18658f916f88b91d9fbdfe0b155ad3361728d6a7a9062806d982bc9b8c6c
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit java-pkg-2 wrapper
|
||||
|
||||
DESCRIPTION="Statically typed language that targets the JVM and JavaScript"
|
||||
HOMEPAGE="https://kotlinlang.org/
|
||||
https://github.com/JetBrains/kotlin/"
|
||||
SRC_URI="https://github.com/JetBrains/kotlin/releases/download/v${PV}/kotlin-compiler-${PV}.zip"
|
||||
S="${WORKDIR}/kotlinc"
|
||||
|
||||
LICENSE="Apache-2.0 BSD MIT NPL-1.1"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
"
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
"
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm bin/*.bat || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar lib/*
|
||||
|
||||
# Follow the Java eclass JAR installation path.
|
||||
local app_home="/usr/share/${PN}"
|
||||
|
||||
exeinto "${app_home}/bin"
|
||||
doexe bin/*
|
||||
|
||||
local -a exes=(
|
||||
kapt
|
||||
kotlin
|
||||
kotlinc
|
||||
kotlinc-js
|
||||
kotlinc-jvm
|
||||
kotlin-dce-js
|
||||
)
|
||||
local exe
|
||||
for exe in "${exes[@]}" ; do
|
||||
make_wrapper "${exe}" "${app_home}/bin/${exe}"
|
||||
done
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@gentoo.org</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Kotlin is a statically typed language that targets the JVM and JavaScript.
|
||||
It is a general-purpose language intended for industry use. It is developed
|
||||
by a team at JetBrains although it is an OSS language and has external
|
||||
contributors.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/JetBrains/kotlin/issues/</bugs-to>
|
||||
<remote-id type="github">JetBrains/kotlin</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST glib-2.76.4.tar.xz 5274356 BLAKE2B c9ceb514ea81e1e6ab2d0efc82c48c0d8ae6c997fd0e3c56d47a5174b027f785b58266fff73b1d1132e272305126fbff22e3c65d47de46224cd12fa49796d5bc SHA512 f76932dc5090a44880373228e2b162f338415d06f7c90f2950eab1a43bb191c56a1797da4d377594f6a999197fef4defb848039259cfa4105bb68288a928f5b7
|
||||
DIST glib-2.78.3.tar.xz 5321388 BLAKE2B 6ef754b15e1ce4377eafdfc317025ac65c3d8010a8816a0cef786cec9da2af9f7d7d1da735c971ab8c848b2dcec050330e5b0fdceb156a36d739848e6160cd19 SHA512 9c1af75fb973d23ce0286d5b7836eea45f9628c148ced5ac10e10abceda05024ae4c57f01439824d3287d986527500b7b959828b630b6e4a3314b5224f4d7246
|
||||
DIST glib-2.78.4.tar.xz 5331892 BLAKE2B ada7134597d7d863e581a2bb1097ac07a63b27b53309aadab5b1d3686327ee718ad8c5c07af3fce5cc12328e728fc2c4df5fd9e69f431fa00dc634062ef7f926 SHA512 6f3a06e10e7373a2dbf0688512de4126472fb73cbec488b7983b5ffecff09c64d7e1ca462f892e8f215d3d277d103ca802bad7ef0bd0f91edf26fc6ce67187b6
|
||||
|
@ -0,0 +1,36 @@
|
||||
https://bugs.gentoo.org/922654
|
||||
https://gitlab.gnome.org/GNOME/glib/-/issues/3134
|
||||
https://gitlab.gnome.org/GNOME/glib/-/commit/6ef967a0f930ce37a8c9b5aff969693b34714291
|
||||
|
||||
[sam: Trimmed the CI changes.]
|
||||
|
||||
From 6ef967a0f930ce37a8c9b5aff969693b34714291 Mon Sep 17 00:00:00 2001
|
||||
From: Jordan Williams <jordan@jwillikers.com>
|
||||
Date: Fri, 1 Dec 2023 09:53:50 -0600
|
||||
Subject: [PATCH] Switch from the deprecated distutils module to the packaging
|
||||
module
|
||||
|
||||
The distutils module was removed in Python 3.12.
|
||||
---
|
||||
|
||||
--- a/gio/gdbus-2.0/codegen/utils.py
|
||||
+++ b/gio/gdbus-2.0/codegen/utils.py
|
||||
@@ -19,7 +19,7 @@
|
||||
#
|
||||
# Author: David Zeuthen <davidz@redhat.com>
|
||||
|
||||
-import distutils.version
|
||||
+import packaging.version
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -166,4 +166,4 @@ def version_cmp_key(key):
|
||||
v = str(key[0])
|
||||
else:
|
||||
v = "0"
|
||||
- return (distutils.version.LooseVersion(v), key[1])
|
||||
+ return (packaging.version.Version(v), key[1])
|
||||
--
|
||||
GitLab
|
||||
|
||||
|
@ -0,0 +1,320 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit gnome.org gnome2-utils linux-info meson-multilib multilib python-any-r1 toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="The GLib library of C routines"
|
||||
HOMEPAGE="https://www.gtk.org/"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="2"
|
||||
IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test utils xattr"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
# * elfutils (via libelf) does not build on Windows. gresources are not embedded
|
||||
# within ELF binaries on that platform anyway and inspecting ELF binaries from
|
||||
# other platforms is not that useful so exclude the dependency in this case.
|
||||
# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
|
||||
# these are used by GIO, which glib[static-libs] consumers don't really seem
|
||||
# to need at all, thus not imposing the deps for now and once some consumers
|
||||
# are actually found to static link libgio-2.0.a, we can revisit and either add
|
||||
# them or just put the (build) deps in that rare consumer instead of recursive
|
||||
# RDEPEND here (due to lack of recursive DEPEND).
|
||||
RDEPEND="
|
||||
!<dev-util/gdbus-codegen-${PV}
|
||||
>=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
|
||||
>=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
|
||||
>=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
|
||||
kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
|
||||
selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
|
||||
xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] ) )
|
||||
elf? ( virtual/libelf:0= )
|
||||
sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# libxml2 used for optional tests that get automatically skipped
|
||||
BDEPEND="
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
>=sys-devel/gettext-0.19.8
|
||||
gtk-doc? ( >=dev-util/gtk-doc-1.33
|
||||
app-text/docbook-xml-dtd:4.2
|
||||
app-text/docbook-xml-dtd:4.5 )
|
||||
systemtap? ( >=dev-debug/systemtap-1.3 )
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep '
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
')
|
||||
test? ( >=sys-apps/dbus-1.2.14 )
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify gio/tests/meson.build to use external gdbus-codegen
|
||||
|
||||
PDEPEND="
|
||||
dbus? ( gnome-base/dconf )
|
||||
mime? ( x11-misc/shared-mime-info )
|
||||
"
|
||||
# shared-mime-info needed for gio/xdgmime, bug #409481
|
||||
# dconf is needed to be able to save settings, bug #498436
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/gio-querymodules$(get_exeext)
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
|
||||
"${FILESDIR}"/${PN}-2.78.4-distutils.patch
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version "dev-python/packaging[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use kernel_linux ; then
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
if use test ; then
|
||||
CONFIG_CHECK="~IPV6"
|
||||
WARNING_IPV6="Your kernel needs IPV6 support for running some tests, skipping them."
|
||||
fi
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use test; then
|
||||
# TODO: Review the test exclusions, especially now with meson
|
||||
# Disable tests requiring dev-util/desktop-file-utils when not installed, bug #286629, upstream bug #629163
|
||||
if ! has_version dev-util/desktop-file-utils ; then
|
||||
ewarn "Some tests will be skipped due dev-util/desktop-file-utils not being present on your system,"
|
||||
ewarn "think on installing it to get these tests run."
|
||||
sed -i -e "/appinfo\/associations/d" gio/tests/appinfo.c || die
|
||||
sed -i -e "/g_test_add_func/d" gio/tests/desktop-app-info.c || die
|
||||
fi
|
||||
|
||||
# gdesktopappinfo requires existing terminal (gnome-terminal or any
|
||||
# other), falling back to xterm if one doesn't exist
|
||||
#if ! has_version x11-terms/xterm && ! has_version x11-terms/gnome-terminal ; then
|
||||
# ewarn "Some tests will be skipped due to missing terminal program"
|
||||
# These tests seem to sometimes fail even with a terminal; skip for now and reevulate with meson
|
||||
# Also try https://gitlab.gnome.org/GNOME/glib/issues/1601 once ready
|
||||
# for backport (or in a bump) and file new issue if still fails
|
||||
sed -i -e "/appinfo\/launch/d" gio/tests/appinfo.c || die
|
||||
# desktop-app-info/launch* might fail similarly
|
||||
sed -i -e "/desktop-app-info\/launch-as-manager/d" gio/tests/desktop-app-info.c || die
|
||||
#fi
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=722604
|
||||
sed -i -e "/timer\/stop/d" glib/tests/timer.c || die
|
||||
sed -i -e "/timer\/basic/d" glib/tests/timer.c || die
|
||||
|
||||
ewarn "Tests for search-utils have been skipped"
|
||||
sed -i -e "/search-utils/d" glib/tests/meson.build || die
|
||||
|
||||
# Play nice with network-sandbox, but this approach would defeat the purpose of the test
|
||||
#sed -i -e "s/localhost/127.0.0.1/g" gio/tests/gsocketclient-slow.c || die
|
||||
else
|
||||
# Don't build tests, also prevents extra deps, bug #512022
|
||||
sed -i -e '/subdir.*tests/d' {.,gio,glib}/meson.build || die
|
||||
fi
|
||||
|
||||
# Don't build fuzzing binaries - not used
|
||||
sed -i -e '/subdir.*fuzzing/d' meson.build || die
|
||||
|
||||
# gdbus-codegen is a separate package
|
||||
sed -i -e '/install_dir/d' gio/gdbus-2.0/codegen/meson.build || die
|
||||
|
||||
# Same kind of meson-0.50 issue with some installed-tests files; will likely be fixed upstream soon
|
||||
sed -i -e '/install_dir/d' gio/tests/meson.build || die
|
||||
|
||||
cat > "${T}/glib-test-ld-wrapper" <<-EOF
|
||||
#!/usr/bin/env sh
|
||||
exec \${LD:-ld} "\$@"
|
||||
EOF
|
||||
chmod a+x "${T}/glib-test-ld-wrapper" || die
|
||||
sed -i -e "s|'ld'|'${T}/glib-test-ld-wrapper'|g" gio/tests/meson.build || die
|
||||
|
||||
# make default sane for us
|
||||
if use prefix ; then
|
||||
sed -i -e "s:/usr/local:${EPREFIX}/usr:" gio/xdgmime/xdgmime.c || die
|
||||
# bug #308609, without path, bug #314057
|
||||
export PERL=perl
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
# fix standards conflicts
|
||||
sed -i \
|
||||
-e 's/\<\(_XOPEN_SOURCE_EXTENDED\)\>/_POSIX_PTHREAD_SEMANTICS/' \
|
||||
-e '/\<_XOPEN_SOURCE\>/s/\<2\>/600/' \
|
||||
meson.build || die
|
||||
sed -i -e '/#define\s\+_POSIX_SOURCE/d' \
|
||||
glib/giounix.c || die
|
||||
fi
|
||||
|
||||
# disable native macOS integrations
|
||||
sed -i -e '/glib_conf.set(.HAVE_\(CARBON\|COCOA\).,/s/true/false/' \
|
||||
meson.build || die
|
||||
sed -i \
|
||||
-e '/AvailabilityMacros.h/d' \
|
||||
gio/giomodule.c || die
|
||||
|
||||
default
|
||||
gnome2_environment_reset
|
||||
# TODO: python_name sedding for correct python shebang? Might be relevant mainly for glib-utils only
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# TODO: figure a way to pass appropriate values for all cross properties
|
||||
# that glib uses (search for get_cross_property)
|
||||
#if tc-is-cross-compiler ; then
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=756473
|
||||
# TODO-meson: This should be in meson cross file as 'growing_stack'
|
||||
# property; and more, look at get_cross_property
|
||||
#case ${CHOST} in
|
||||
#hppa*|metag*) export glib_cv_stack_grows=yes ;;
|
||||
#*) export glib_cv_stack_grows=no ;;
|
||||
#esac
|
||||
#fi
|
||||
|
||||
local emesonargs=(
|
||||
--buildtype $(usex debug debug plain)
|
||||
-Ddefault_library=$(usex static-libs both shared)
|
||||
-Druntime_dir="${EPREFIX}"/run
|
||||
$(meson_feature selinux)
|
||||
$(meson_use xattr)
|
||||
-Dlibmount=enabled # only used if host_system == 'linux'
|
||||
-Dman=true
|
||||
$(meson_use systemtap dtrace)
|
||||
$(meson_use systemtap)
|
||||
$(meson_feature sysprof)
|
||||
$(meson_native_use_bool gtk-doc gtk_doc)
|
||||
$(meson_use test tests)
|
||||
-Dinstalled_tests=false
|
||||
-Dnls=enabled
|
||||
-Doss_fuzz=disabled
|
||||
$(meson_native_use_feature elf libelf)
|
||||
-Dmultiarch=false
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
export XDG_CONFIG_DIRS=/etc/xdg
|
||||
export XDG_DATA_DIRS=/usr/local/share:/usr/share
|
||||
export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp"
|
||||
export LC_TIME=C # bug #411967
|
||||
export TZ=UTC
|
||||
unset GSETTINGS_BACKEND # bug #596380
|
||||
python_setup
|
||||
|
||||
# https://bugs.gentoo.org/839807
|
||||
local -x SANDBOX_PREDICT=${SANDBOX_PREDICT}
|
||||
addpredict /usr/b
|
||||
|
||||
# Related test is a bit nitpicking
|
||||
mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
|
||||
chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
|
||||
|
||||
meson_src_test --timeout-multiplier 2 --no-suite flaky
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
meson_src_install
|
||||
keepdir /usr/$(get_libdir)/gio/modules
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
# These are installed by dev-util/glib-utils
|
||||
# TODO: With patching we might be able to get rid of the python-any deps
|
||||
# and removals, and test depend on glib-utils instead; revisit now with
|
||||
# meson
|
||||
rm "${ED}/usr/bin/glib-genmarshal" || die
|
||||
rm "${ED}/usr/share/man/man1/glib-genmarshal.1" || die
|
||||
rm "${ED}/usr/bin/glib-mkenums" || die
|
||||
rm "${ED}/usr/share/man/man1/glib-mkenums.1" || die
|
||||
rm "${ED}/usr/bin/gtester-report" || die
|
||||
rm "${ED}/usr/share/man/man1/gtester-report.1" || die
|
||||
# gdbus-codegen manpage installed by dev-util/gdbus-codegen
|
||||
rm "${ED}/usr/share/man/man1/gdbus-codegen.1" || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
xdg_pkg_preinst
|
||||
|
||||
# Make gschemas.compiled belong to glib alone
|
||||
local cache="/usr/share/glib-2.0/schemas/gschemas.compiled"
|
||||
|
||||
if [[ -e ${EROOT}${cache} ]]; then
|
||||
cp "${EROOT}"${cache} "${ED}"/${cache} || die
|
||||
else
|
||||
touch "${ED}"${cache} || die
|
||||
fi
|
||||
|
||||
multilib_pkg_preinst() {
|
||||
# Make giomodule.cache belong to glib alone
|
||||
local cache="/usr/$(get_libdir)/gio/modules/giomodule.cache"
|
||||
|
||||
if [[ -e ${EROOT}${cache} ]]; then
|
||||
cp "${EROOT}"${cache} "${ED}"${cache} || die
|
||||
else
|
||||
touch "${ED}"${cache} || die
|
||||
fi
|
||||
}
|
||||
|
||||
# Don't run the cache ownership when cross-compiling, as it would end up with an empty cache
|
||||
# file due to inability to create it and GIO might not look at any of the modules there
|
||||
if ! tc-is-cross-compiler ; then
|
||||
multilib_foreach_abi multilib_pkg_preinst
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
# glib installs no schemas itself, but we force update for fresh install in case
|
||||
# something has dropped in a schemas file without direct glib dep; and for upgrades
|
||||
# in case the compiled schema format could have changed
|
||||
gnome2_schemas_update
|
||||
|
||||
multilib_pkg_postinst() {
|
||||
gnome2_giomodule_cache_update \
|
||||
|| die "Update GIO modules cache failed (for ${ABI})"
|
||||
}
|
||||
if ! tc-is-cross-compiler ; then
|
||||
multilib_foreach_abi multilib_pkg_postinst
|
||||
else
|
||||
ewarn "Updating of GIO modules cache skipped due to cross-compilation."
|
||||
ewarn "You might want to run gio-querymodules manually on the target for"
|
||||
ewarn "your final image for performance reasons and re-run it when packages"
|
||||
ewarn "installing GIO modules get upgraded or added to the image."
|
||||
fi
|
||||
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
if ver_test "$v" "-lt" "2.63.6"; then
|
||||
ewarn "glib no longer installs the gio-launch-desktop binary. You may need"
|
||||
ewarn "to restart your session for \"Open With\" dialogs to work."
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
|
||||
if [[ -z ${REPLACED_BY_VERSION} ]]; then
|
||||
multilib_pkg_postrm() {
|
||||
rm -f "${EROOT}"/usr/$(get_libdir)/gio/modules/giomodule.cache
|
||||
}
|
||||
multilib_foreach_abi multilib_pkg_postrm
|
||||
rm -f "${EROOT}"/usr/share/glib-2.0/schemas/gschemas.compiled
|
||||
fi
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
MyPN=secp256k1
|
||||
DESCRIPTION="Optimized C library for EC operations on curve secp256k1"
|
||||
HOMEPAGE="https://github.com/bitcoin-core/secp256k1"
|
||||
SRC_URI="https://github.com/bitcoin-core/secp256k1/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/2" # subslot is "$((_LIB_VERSION_CURRENT-_LIB_VERSION_AGE))" from configure.ac
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+asm +ecdh +ellswift experimental +extrakeys lowmem +recovery +schnorr test valgrind"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="
|
||||
asm? ( || ( amd64 arm ) arm? ( experimental ) )
|
||||
schnorr? ( extrakeys )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-build/autoconf-archive
|
||||
virtual/pkgconfig
|
||||
valgrind? ( dev-debug/valgrind )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/0.2.0-fix-cross-compile.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MyPN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
|
||||
# Generate during build
|
||||
rm -f src/precomputed_ecmult.c src/precomputed_ecmult_gen.c || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-benchmark
|
||||
$(use_enable experimental)
|
||||
$(use_enable test tests)
|
||||
$(use_enable test exhaustive-tests)
|
||||
$(use_enable {,module-}ecdh)
|
||||
$(use_enable {,module-}ellswift)
|
||||
$(use_enable {,module-}extrakeys)
|
||||
$(use_enable {,module-}recovery)
|
||||
$(use_enable schnorr module-schnorrsig)
|
||||
$(use_with asm asm "$(usex arm arm32 auto)")
|
||||
$(usev lowmem '--with-ecmult-window=4 --with-ecmult-gen-precision=2')
|
||||
$(use_with valgrind)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST skalibs-2.14.0.1.tar.gz 236327 BLAKE2B 6f95bfbdbb78ebf66f3b1d5bd7be2609194302d201d4e731f99feb1c9aaff459dfa4ddc4eb71e2b950b273547a4d0202cb55b348ef6e8556fe1c13133febe615 SHA512 6236b5a37209fb13fa643faf3fc71b2593168dd32be869f7d4c118b38fb37bc0728eea2bd9e9e4277d37eda81fcc85a43731934da06a7a6cf1e756b7973cd4ab
|
||||
DIST skalibs-2.14.1.0.tar.gz 237166 BLAKE2B a787bd5aab7e22f1c49422a3010ff186a3324bcf97b32b954ef05cd8609bc19a48b06e1e14c58481f0507bad5c3bbf294121826e9fdd3f895cf5d2735ca01fe7 SHA512 41e76a52e49d8bf9458f7feee6cc85b8168a346e5688261293fc556462695b573b70c51b67d85aa0a788db1d6ecc1dfc450f8e8e9807812d149dab88028d98c0
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="General-purpose libraries from skarnet.org"
|
||||
HOMEPAGE="https://www.skarnet.org/software/skalibs/"
|
||||
SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 ~mips ~riscv x86"
|
||||
|
||||
HTML_DOCS=( doc/. )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Avoid QA warning for LDFLAGS addition
|
||||
sed -i -e 's/.*-Wl,--hash-style=both$/:/' configure || die
|
||||
|
||||
sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC RANLIB
|
||||
|
||||
local myconf=(
|
||||
--dynlibdir="/$(get_libdir)"
|
||||
--libdir="/usr/$(get_libdir)/${PN}"
|
||||
--sysdepdir="/usr/$(get_libdir)/${PN}"
|
||||
--sysconfdir=/etc
|
||||
|
||||
--disable-static
|
||||
--enable-clock
|
||||
--enable-ipv6
|
||||
--enable-shared
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST wayland-protocols-1.32.tar.xz 90452 BLAKE2B 80e38270526c9da13c39263a60e7d2c330a1a4b1dfecec03fadda747f1a2e3dff95b30373aa19e133ae999fa15bdcdd64aa9ebbb54acf571f980a3f6088ea9be SHA512 90bbd52daf342b98823ddeed04e349ae242d2eaf925ab8d603cceb36c980c83b5681bb890961e0d49584cb5c2e60a33abf8821770c6ab87956383630bd5b7966
|
||||
DIST wayland-protocols-1.33.tar.xz 91504 BLAKE2B aee870dd5877b0fce05eac396bd1a8cd0bc5ef1ac014c54f3eb0096ac1ea3425d1e66891db29ba2f020586418500163bfe451c4078a86d1d19d0b1548318cc85 SHA512 4584f6ac86367655f9db5d0c0ed0681efa31e73f984e4b620fbe5317df21790927f4f5317ecbbc194ac31eaf88caebc431bcc52c23d9dc0098c71de3cb4a9fef
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="Wayland protocol files"
|
||||
HOMEPAGE="https://wayland.freedesktop.org/"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/${PN}.git/"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://gitlab.freedesktop.org/wayland/${PN}/-/releases/${PV}/downloads/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
test? ( dev-libs/wayland )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/wayland-scanner
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use test tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST ansi-0.3.6.tar.gz 6668 BLAKE2B a2bd492aa5c68041feeb04e798ce301ae50ba217c695f4500b033911a719a9e91dc6213d81361e36819a1d46ddeef82e4684ee0c395ec70fc93c6957e2a410b2 SHA512 6b7512013db18436f5982175d82c9f333eef7655eece12454f4731c7f2ed675ab39986e813560d1621b365b7541a5ca6c37d88f2ca5be4460f1ae86cb27d1911
|
||||
DIST ansi-ansi-0.3.7.gh.tar.gz 7396 BLAKE2B f8b18b4a8609c8e633261c9b7a28ebc10260059c15a48dd680a22847557335b7aaee50bf522c1e28583e740c0d8c4127da8627c72e13ac641bb5d4634467a8e5 SHA512 651d7d9c665dc18fd43614710b80ab143e6b4bb8b6570b25456f47bc5d1c37602474c049833f996581b19f73f8138c4b4a5b981afcc0319ffdb7141da40744ec
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${PN}-${P}
|
||||
DESCRIPTION="ANSI cursor movement and graphics in Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/tehmaze/ansi/
|
||||
https://pypi.org/project/ansi/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/tehmaze/ansi/archive/${P}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1 +1,2 @@
|
||||
DIST mistletoe-1.2.1.gh.tar.gz 118396 BLAKE2B 0b8d442b9dce20f8b5f7619969761693a5c2a04cf99d35a9771ce7b4e073d993705ba4ddedd929c0535b526ef0dea64824fac82403e7b1743b3b80d4292c1772 SHA512 a6dc5dc021d001a0b34a4d6cb5007ef55958b93d143937ecde07602aaf25e3a9c3116be2ed8f8cd90353524cf8d4058239f4018b726bec007b13d917e6deefac
|
||||
DIST mistletoe-1.3.0.gh.tar.gz 121653 BLAKE2B 32c106e349cbbb4f9f197df30bb42b108228fecb021d8482a18e4e859936bce250960a39ec02c98aac53dc75b9315dac1db052647417a3fdaa99f7cefafa49de SHA512 44094989ee95445c8330223bf095808e755eb2f59ce6984362f0b6c293a72397f7d340430aac618f635f1042466b6d48171a406ecc3ea17c69435f4b254d77ab
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A fast, extensible Markdown parser in pure Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/miyuchina/mistletoe/
|
||||
https://pypi.org/project/mistletoe/
|
||||
"
|
||||
# pypi has incomplete test suite
|
||||
SRC_URI="
|
||||
https://github.com/miyuchina/mistletoe/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# NB: pygments is technically optional but we like syntax highlighting
|
||||
RDEPEND="
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/parameterized[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,2 +1,3 @@
|
||||
DIST nest_asyncio-1.5.8.tar.gz 6105 BLAKE2B 549c5b8663a7fcb928e6cb97408aa4291129d043f8e5a55f5ba66c6b6cdbe21b1c2dd65959fd806d0badc1be561cda8b11a097fb522156d2d41eabce66318be3 SHA512 b454ad77381e6eb2bfa34528a26f342ba66b8edbb648c6b5aa69fbdd3142537db4ae53f91c2b88a5f88f16ecbe1e3346cec5a7bca4ca5c065a4e5f3daa0bb7e2
|
||||
DIST nest_asyncio-1.5.9.tar.gz 7496 BLAKE2B c7a86321699d06e2befdfd5576a10b57bbdbb75d6a411af4374a633becd350e5128fdc224853f9cfa876d3b66f4f1ad8be15a347046c6d615033069e1a04f9e6 SHA512 8b99b1bd51463f0639c602995e68d1aa520e287ec3bd92dafd3a13b8c3359e04fc6823c78fc9b862618b491cd3b5599ba4453da6388a651875fc71b7243f57ef
|
||||
DIST nest_asyncio-1.6.0.tar.gz 7418 BLAKE2B 35073a931f5a3e3cda8f702233a5d3a4a027bf9a22fd75f699b43fa587de69e867e94d114fb6029ec30bf1d791dd083cf9d5cb8462d79020e56ecbe4a4f10379 SHA512 19addd99ed548393b7fa6da2eab77d94ab33c6378003a50f6731c29ef873d4227ac6a1633b15931ab100f0c8c033c8332762d30e8921e241e72cfcd83bfbc481
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Patch asyncio to allow nested event loops"
|
||||
HOMEPAGE="
|
||||
https://github.com/erdewit/nest_asyncio/
|
||||
https://pypi.org/project/nest-asyncio/
|
||||
"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,5 +1,2 @@
|
||||
DIST pandas-1.5.3.tar.gz 5203060 BLAKE2B 846a6caa8ead6a2556303494f92e2091582d8fcde2aee424fa172c4e29c189a7305261f6a931a20249e969668646ff4a3d605ee1b57785fa3677dfbd137b3602 SHA512 3c725c33dcaf78b952d2eb966ced73ff0073162a01d3cbcb722d58d8f12a82163e6e684c27284c735bdfb32dea263b960f70f6a80ff93e6b316316d40835ae35
|
||||
DIST pandas-2.1.1.tar.gz 4266250 BLAKE2B 9d8256300db65b606e34b16d7f3884b602794fe3c14d66115056db4a4658603fbe7a7a3082dfc781760517d643d6e21a6d4d43441131ec6aed5965b6fa8a0e9c SHA512 346e13e06805948c569712028c9b8d756c67ca2fab040999a51a4e759206d50d8ee25be38ac3c7cb3d2e692a02d85c1ec198841311fe43cb04b64f2741627a4e
|
||||
DIST pandas-2.1.3.tar.gz 4272855 BLAKE2B 73717926bb0af44acb9a2d12964df7bf70affd61ca19468b3af4376f9c8084d3612895a9ac5117be97658fd5b7ff0275cd7b2c6f1b9b0e00afb951fd50a1f103 SHA512 71012b47b76444e19507e444c8ef88497e3b286856690216886cbb67ad70786c2f5014a7cf6c89f8378769560109fb5593a8c82c21a034a1059769e15c843b92
|
||||
DIST pandas-2.1.4.tar.gz 4274800 BLAKE2B 71cd374964d5e751a9ea0b29cb341d7de521de8de3bbe0963fc821eb6fa2babf2a5cb87c0f49fab88fd451bd331d83fd216f199c75876d7c1ea367ba53c20178 SHA512 de02944829ea4df6a3913788c2ae30683504d70a1cef5789c927245dab8700981edd50de18af3619d30ac97f4658fce67f6c7637acf496bd464ad3a4109bfd1c
|
||||
DIST pandas-2.2.0.tar.gz 4390211 BLAKE2B 205410d02d1295bfb68403685fb9247ca361c80233e762b8d798ff4a04fd1ca39e22bc3beb3f701490dbaf0a2d69a1afebbfe142ef646506c1d19aba88a1b5c6 SHA512 6de7f6941f08d412d5e6e3b33e7ad569afce4ade2eda9a68f2883e8ccefe8373212a1b80ac384e68522fb5a9c043de0b944b3920d07131ed6625363f2a4b0b5b
|
||||
|
@ -1,222 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
VIRTUALX_REQUIRED="manual"
|
||||
|
||||
inherit distutils-r1 multiprocessing optfeature virtualx
|
||||
|
||||
DESCRIPTION="Powerful data structures for data analysis and statistics"
|
||||
HOMEPAGE="
|
||||
https://pandas.pydata.org/
|
||||
https://github.com/pandas-dev/pandas/
|
||||
https://pypi.org/project/pandas/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/pandas-dev/pandas/releases/download/v${PV}/${P}.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${P/_/}
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
IUSE="doc full-support minimal test X"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RECOMMENDED_DEPEND="
|
||||
>=dev-python/bottleneck-1.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/numexpr-2.7.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
# TODO: add pandas-gbq to the tree
|
||||
# TODO: Re-add dev-python/statsmodel[python3_11] dep once it supports python3_11
|
||||
# https://github.com/statsmodels/statsmodels/issues/8287
|
||||
OPTIONAL_DEPEND="
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/blosc[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
)
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
dev-python/openpyxl[${PYTHON_USEDEP}]
|
||||
dev-python/xlsxwriter[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/tables-3.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/xarray-0.12.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/xlrd-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}]
|
||||
!x86? ( !hppa? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/statsmodels[${PYTHON_USEDEP}]
|
||||
' python3_{8..10} )
|
||||
>=dev-python/scipy-1.1[${PYTHON_USEDEP}]
|
||||
) )
|
||||
X? (
|
||||
|| (
|
||||
dev-python/PyQt5[${PYTHON_USEDEP}]
|
||||
x11-misc/xclip
|
||||
x11-misc/xsel
|
||||
)
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
>=dev-python/numpy-1.21.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
COMMON_DEPEND="
|
||||
${DEPEND}
|
||||
>=dev-python/python-dateutil-2.8.1-r3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
# <cython-3: bug #898706
|
||||
BDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
<dev-python/cython-3[${PYTHON_USEDEP}]
|
||||
>=dev-python/cython-0.29.32[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
${VIRTUALX_DEPEND}
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/nbsphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpydoc-0.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/tables-3.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/rpy[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/xlrd[${PYTHON_USEDEP}]
|
||||
dev-python/xlwt[${PYTHON_USEDEP}]
|
||||
dev-python/scipy[${PYTHON_USEDEP}]
|
||||
virtual/pandoc
|
||||
x11-misc/xclip
|
||||
)
|
||||
test? (
|
||||
${VIRTUALX_DEPEND}
|
||||
${RECOMMENDED_DEPEND}
|
||||
${OPTIONAL_DEPEND}
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
>=dev-python/hypothesis-5.5.3[${PYTHON_USEDEP}]
|
||||
dev-python/openpyxl[${PYTHON_USEDEP}]
|
||||
dev-python/pymysql[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-6[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-xdist-1.31[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg:2[${PYTHON_USEDEP}]
|
||||
dev-python/xlsxwriter[${PYTHON_USEDEP}]
|
||||
x11-misc/xclip
|
||||
x11-misc/xsel
|
||||
)
|
||||
"
|
||||
# dev-python/statsmodels invokes a circular dep
|
||||
# hence rm from doc? ( ), again
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
!minimal? ( ${RECOMMENDED_DEPEND} )
|
||||
full-support? ( ${OPTIONAL_DEPEND} )
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent un-needed download during build
|
||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" \
|
||||
-i doc/source/conf.py || die
|
||||
|
||||
# requires package installed
|
||||
sed -e '/extra_compile_args =/s:"-Werror"::' \
|
||||
-i setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile -j1
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# To build docs the need be located in $BUILD_DIR,
|
||||
# else PYTHONPATH points to unusable modules.
|
||||
if use doc; then
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
cp -ar "${S}"/doc . && cd doc || die
|
||||
LANG=C PYTHONPATH=. virtx ${EPYTHON} make.py html
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# test for rounding errors, fails if we have better precision
|
||||
# e.g. on amd64 with FMA or on arm64
|
||||
# https://github.com/pandas-dev/pandas/issues/38921
|
||||
pandas/tests/window/test_rolling.py::test_rolling_var_numerical_issues
|
||||
|
||||
# TODO
|
||||
pandas/tests/api/test_api.py::TestTesting::test_util_testing_deprecated
|
||||
pandas/tests/api/test_api.py::TestTesting::test_util_testing_deprecated_direct
|
||||
pandas/tests/io/test_clipboard.py::TestClipboard::test_raw_roundtrip
|
||||
pandas/tests/copy_view/test_internals.py::test_switch_options
|
||||
|
||||
# TODO: xdist?
|
||||
pandas/tests/test_expressions.py::TestExpressions::test_run_binary
|
||||
|
||||
# TODO: these require a running db server
|
||||
pandas/tests/io/test_sql.py::TestMySQLAlchemy
|
||||
pandas/tests/io/test_sql.py::TestMySQLAlchemyConn
|
||||
pandas/tests/io/test_sql.py::TestPostgreSQLAlchemy
|
||||
pandas/tests/io/test_sql.py::TestPostgreSQLAlchemyConn
|
||||
|
||||
# OOMs
|
||||
pandas/tests/io/parser/test_c_parser_only.py::test_bytes_exceed_2gb
|
||||
|
||||
# xarray version incompatibility
|
||||
pandas/tests/test_downstream.py::test_xarray_cftimeindex_nearest
|
||||
|
||||
# warning from dask
|
||||
pandas/tests/test_downstream.py::test_construct_dask_float_array_int_dtype_match_ndarray
|
||||
)
|
||||
|
||||
local -x LC_ALL=C.UTF-8
|
||||
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
|
||||
"${EPYTHON}" -c "import pandas; pandas.show_versions()" || die
|
||||
epytest pandas --skip-slow --skip-network -m "not single" \
|
||||
-n "$(makeopts_jobs)" || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
dodoc -r "${BUILD_DIR}"/lib/doc/build/html
|
||||
einfo "An initial build of docs is absent of references to statsmodels"
|
||||
einfo "due to circular dependency. To have them included, emerge"
|
||||
einfo "statsmodels next and re-emerge pandas with USE doc"
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck
|
||||
optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1"
|
||||
optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup4 dev-python/html5lib dev-python/lxml
|
||||
optfeature "for msgpack compression using blosc" dev-python/blosc
|
||||
optfeature "Template engine for conditional HTML formatting" dev-python/jinja
|
||||
optfeature "Plotting support" dev-python/matplotlib
|
||||
optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.0" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt
|
||||
optfeature "necessary for HDF5-based storage" ">=dev-python/tables-3.2.1"
|
||||
optfeature "R I/O support" dev-python/rpy
|
||||
optfeature "Needed for parts of pandas.stats" dev-python/statsmodels
|
||||
optfeature "SQL database support" ">=dev-python/sqlalchemy-1.3.0"
|
||||
optfeature "miscellaneous statistical functions" dev-python/scipy
|
||||
optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/pygtk x11-misc/xclip x11-misc/xsel
|
||||
}
|
@ -1,203 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=meson-python
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
VIRTUALX_REQUIRED="manual"
|
||||
|
||||
inherit distutils-r1 multiprocessing optfeature pypi virtualx
|
||||
|
||||
DESCRIPTION="Powerful data structures for data analysis and statistics"
|
||||
HOMEPAGE="
|
||||
https://pandas.pydata.org/
|
||||
https://github.com/pandas-dev/pandas/
|
||||
https://pypi.org/project/pandas/
|
||||
"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86 ~arm64-macos ~x64-macos"
|
||||
IUSE="full-support minimal test X"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RECOMMENDED_DEPEND="
|
||||
>=dev-python/bottleneck-1.3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/numexpr-2.8.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
# TODO: add pandas-gbq to the tree
|
||||
# TODO: Re-add dev-python/statsmodel[python3_11] dep once it supports python3_11
|
||||
# https://github.com/statsmodels/statsmodels/issues/8287
|
||||
OPTIONAL_DEPEND="
|
||||
>=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}]
|
||||
dev-python/blosc[${PYTHON_USEDEP}]
|
||||
>=dev-python/html5lib-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-4.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.4.36[${PYTHON_USEDEP}]
|
||||
>=dev-python/tables-3.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/xarray-2022.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}]
|
||||
!x86? ( !hppa? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/statsmodels[${PYTHON_USEDEP}]
|
||||
' python3_{8..10} )
|
||||
>=dev-python/scipy-1.8.1[${PYTHON_USEDEP}]
|
||||
) )
|
||||
X? (
|
||||
|| (
|
||||
>=dev-python/PyQt5-5.15.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/QtPy-2.2.0[${PYTHON_USEDEP}]
|
||||
x11-misc/xclip
|
||||
x11-misc/xsel
|
||||
)
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
>=dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
COMMON_DEPEND="
|
||||
${DEPEND}
|
||||
>=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=dev-build/meson-1.2.1
|
||||
>=dev-python/cython-0.29.33[${PYTHON_USEDEP}]
|
||||
>=dev-python/versioneer-0.28[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${VIRTUALX_DEPEND}
|
||||
${RECOMMENDED_DEPEND}
|
||||
${OPTIONAL_DEPEND}
|
||||
>=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/hypothesis-6.46.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/openpyxl-3.0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymysql-1.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-7.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-asyncio-0.17.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-xdist-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/psycopg-2.9.3:2[${PYTHON_USEDEP}]
|
||||
>=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}]
|
||||
x11-misc/xclip
|
||||
x11-misc/xsel
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-python/tzdata[${PYTHON_USEDEP}]
|
||||
!minimal? ( ${RECOMMENDED_DEPEND} )
|
||||
full-support? ( ${OPTIONAL_DEPEND} )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# a quick hack, it's already fixed in main
|
||||
"${FILESDIR}/pandas-2.1.1-which.patch"
|
||||
)
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# test for rounding errors, fails if we have better precision
|
||||
# e.g. on amd64 with FMA or on arm64
|
||||
# https://github.com/pandas-dev/pandas/issues/38921
|
||||
tests/window/test_rolling.py::test_rolling_var_numerical_issues
|
||||
|
||||
# TODO; unhappy about DISPLAY?
|
||||
tests/test_downstream.py::test_seaborn
|
||||
|
||||
# OOMs
|
||||
tests/io/parser/test_c_parser_only.py::test_bytes_exceed_2gb
|
||||
|
||||
# TODO: numexpr says "forbidden control characters"
|
||||
tests/computation/test_eval.py::TestOperations::test_multi_line_expression_local_variable
|
||||
'tests/computation/test_eval.py::test_query_token[numexpr-Temp(\xb0C)]'
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_lots_of_operators_string
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_multiple_spaces
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_parenthesis
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_start_with_spaces
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_syntax
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_variable_with_in
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_nested_scope
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_query_scope
|
||||
|
||||
# TODO: missing data not covered by --no-strict-data-files?
|
||||
tests/io/xml/test_xml.py::test_empty_stylesheet
|
||||
tests/io/xml/test_xml.py::test_wrong_file_path
|
||||
|
||||
# TODO
|
||||
tests/frame/test_arithmetic.py::TestFrameFlexArithmetic::test_floordiv_axis0_numexpr_path
|
||||
|
||||
# deprecation warning
|
||||
tests/io/pytables/test_retain_attributes.py::test_retain_index_attributes2
|
||||
|
||||
# Needs 64-bit time_t (TODO: split into 32-bit arch only section)
|
||||
tests/tseries/offsets/test_year.py::test_add_out_of_pydatetime_range
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessDay]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessHour]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthEnd]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthBegin]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterEnd]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterBegin]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessDay]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessHour]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthEnd]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthBegin]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthEnd]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthBegin]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthBegin]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthEnd]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-QuarterEnd]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-LastWeekOfMonth]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-WeekOfMonth]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-Week]'
|
||||
|
||||
# hdf / pytables have alignment problems: bug #911660
|
||||
# https://github.com/pandas-dev/pandas/issues/54396
|
||||
tests/io/pytables/test_append.py::test_append_frame_column_oriented
|
||||
tests/io/pytables/test_store.py::test_select_filter_corner
|
||||
)
|
||||
|
||||
local -x LC_ALL=C.UTF-8
|
||||
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
|
||||
"${EPYTHON}" -c "import pandas; pandas.show_versions()" || die
|
||||
# --no-strict-data-files is necessary since upstream prevents data
|
||||
# files from even being included in GitHub archives, sigh
|
||||
# https://github.com/pandas-dev/pandas/issues/54907
|
||||
epytest pandas/tests \
|
||||
--no-strict-data-files \
|
||||
--maxfail=32 \
|
||||
-m "not single and not slow and not network" \
|
||||
-n "$(makeopts_jobs)" --dist=worksteal ||
|
||||
die "Tests failed with ${EPYTHON}"
|
||||
rm test-data.xml || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck
|
||||
optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1"
|
||||
optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup4 dev-python/html5lib dev-python/lxml
|
||||
optfeature "for msgpack compression using blosc" dev-python/blosc
|
||||
optfeature "Template engine for conditional HTML formatting" dev-python/jinja
|
||||
optfeature "Plotting support" dev-python/matplotlib
|
||||
optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.10" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt
|
||||
optfeature "necessary for HDF5-based storage" ">=dev-python/tables-3.7.0"
|
||||
optfeature "R I/O support" dev-python/rpy
|
||||
optfeature "Needed for parts of pandas.stats" dev-python/statsmodels
|
||||
optfeature "SQL database support" ">=dev-python/sqlalchemy-1.4.36"
|
||||
optfeature "miscellaneous statistical functions" dev-python/scipy
|
||||
optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/QtPy dev-python/pygtk x11-misc/xclip x11-misc/xsel
|
||||
}
|
@ -1,216 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=meson-python
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
VIRTUALX_REQUIRED="manual"
|
||||
|
||||
inherit distutils-r1 multiprocessing optfeature pypi virtualx
|
||||
|
||||
DESCRIPTION="Powerful data structures for data analysis and statistics"
|
||||
HOMEPAGE="
|
||||
https://pandas.pydata.org/
|
||||
https://github.com/pandas-dev/pandas/
|
||||
https://pypi.org/project/pandas/
|
||||
"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
|
||||
IUSE="full-support minimal test X"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RECOMMENDED_DEPEND="
|
||||
>=dev-python/bottleneck-1.3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/numexpr-2.8.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
# TODO: add pandas-gbq to the tree
|
||||
# TODO: Re-add dev-python/statsmodel[python3_11] dep once it supports python3_11
|
||||
# https://github.com/statsmodels/statsmodels/issues/8287
|
||||
OPTIONAL_DEPEND="
|
||||
>=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}]
|
||||
dev-python/blosc[${PYTHON_USEDEP}]
|
||||
>=dev-python/html5lib-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-4.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.4.36[${PYTHON_USEDEP}]
|
||||
>=dev-python/tables-3.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/xarray-2022.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}]
|
||||
!x86? ( !hppa? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/statsmodels[${PYTHON_USEDEP}]
|
||||
' python3_{8..10} )
|
||||
>=dev-python/scipy-1.8.1[${PYTHON_USEDEP}]
|
||||
) )
|
||||
X? (
|
||||
|| (
|
||||
>=dev-python/PyQt5-5.15.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/QtPy-2.2.0[${PYTHON_USEDEP}]
|
||||
x11-misc/xclip
|
||||
x11-misc/xsel
|
||||
)
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
>=dev-python/numpy-1.23.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
COMMON_DEPEND="
|
||||
${DEPEND}
|
||||
>=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=dev-build/meson-1.2.1
|
||||
>=dev-python/cython-0.29.33[${PYTHON_USEDEP}]
|
||||
>=dev-python/versioneer-0.28[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${VIRTUALX_DEPEND}
|
||||
${RECOMMENDED_DEPEND}
|
||||
${OPTIONAL_DEPEND}
|
||||
>=dev-python/beautifulsoup4-4.11.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/hypothesis-6.46.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/openpyxl-3.0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymysql-1.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-7.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-xdist-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/psycopg-2.9.3:2[${PYTHON_USEDEP}]
|
||||
>=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}]
|
||||
x11-misc/xclip
|
||||
x11-misc/xsel
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-python/tzdata[${PYTHON_USEDEP}]
|
||||
!minimal? ( ${RECOMMENDED_DEPEND} )
|
||||
full-support? ( ${OPTIONAL_DEPEND} )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# a quick hack, it's already fixed in main
|
||||
"${FILESDIR}/pandas-2.1.1-which.patch"
|
||||
)
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# test for rounding errors, fails if we have better precision
|
||||
# e.g. on amd64 with FMA or on arm64
|
||||
# https://github.com/pandas-dev/pandas/issues/38921
|
||||
tests/window/test_rolling.py::test_rolling_var_numerical_issues
|
||||
|
||||
# TODO; unhappy about DISPLAY?
|
||||
tests/test_downstream.py::test_seaborn
|
||||
|
||||
# OOMs
|
||||
tests/io/parser/test_c_parser_only.py::test_bytes_exceed_2gb
|
||||
|
||||
# TODO: numexpr says "forbidden control characters"
|
||||
tests/computation/test_eval.py::TestOperations::test_multi_line_expression_local_variable
|
||||
'tests/computation/test_eval.py::test_query_token[numexpr-Temp(\xb0C)]'
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_lots_of_operators_string
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_multiple_spaces
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_parenthesis
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryBacktickQuoting::test_start_with_spaces
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_syntax
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_local_variable_with_in
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_nested_scope
|
||||
tests/frame/test_query_eval.py::TestDataFrameQueryNumExprPandas::test_query_scope
|
||||
|
||||
# TODO: missing data not covered by --no-strict-data-files?
|
||||
tests/io/xml/test_xml.py::test_empty_stylesheet
|
||||
tests/io/xml/test_xml.py::test_wrong_file_path
|
||||
|
||||
# TODO
|
||||
tests/frame/test_arithmetic.py::TestFrameFlexArithmetic::test_floordiv_axis0_numexpr_path
|
||||
|
||||
# deprecation warning
|
||||
tests/io/pytables/test_retain_attributes.py::test_retain_index_attributes2
|
||||
|
||||
# Needs 64-bit time_t (TODO: split into 32-bit arch only section)
|
||||
tests/tseries/offsets/test_year.py::test_add_out_of_pydatetime_range
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessDay]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessHour]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthEnd]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthBegin]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterEnd]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterBegin]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessDay]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessHour]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthEnd]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthBegin]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthEnd]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthBegin]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthBegin]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthEnd]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-QuarterEnd]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-LastWeekOfMonth]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-WeekOfMonth]'
|
||||
'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-Week]'
|
||||
|
||||
# hdf / pytables have alignment problems: bug #911660
|
||||
# https://github.com/pandas-dev/pandas/issues/54396
|
||||
tests/io/pytables/test_append.py::test_append_frame_column_oriented
|
||||
tests/io/pytables/test_store.py::test_select_filter_corner
|
||||
|
||||
# blosc2 version
|
||||
tests/io/pytables/test_file_handling.py::test_complibs\[blosc2-{1..9}\]
|
||||
)
|
||||
|
||||
case ${EPYTHON} in
|
||||
python3.12)
|
||||
EPYTEST_DESELECT+=(
|
||||
tests/io/pytables/test_select.py::test_select_dtypes
|
||||
tests/io/pytables/test_select.py::test_frame_select
|
||||
# deprecation warnings
|
||||
tests/io/excel/test_writers.py::TestRoundTrip::test_read_excel_parse_dates
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
local -x LC_ALL=C.UTF-8
|
||||
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
|
||||
"${EPYTHON}" -c "import pandas; pandas.show_versions()" || die
|
||||
# --no-strict-data-files is necessary since upstream prevents data
|
||||
# files from even being included in GitHub archives, sigh
|
||||
# https://github.com/pandas-dev/pandas/issues/54907
|
||||
epytest pandas/tests \
|
||||
--no-strict-data-files \
|
||||
--maxfail=32 \
|
||||
-m "not single and not slow and not network" \
|
||||
-n "$(makeopts_jobs)" --dist=worksteal ||
|
||||
die "Tests failed with ${EPYTHON}"
|
||||
rm test-data.xml || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck
|
||||
optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1"
|
||||
optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup4 dev-python/html5lib dev-python/lxml
|
||||
optfeature "for msgpack compression using blosc" dev-python/blosc
|
||||
optfeature "Template engine for conditional HTML formatting" dev-python/jinja
|
||||
optfeature "Plotting support" dev-python/matplotlib
|
||||
optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.10" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt
|
||||
optfeature "necessary for HDF5-based storage" ">=dev-python/tables-3.7.0"
|
||||
optfeature "R I/O support" dev-python/rpy
|
||||
optfeature "Needed for parts of pandas.stats" dev-python/statsmodels
|
||||
optfeature "SQL database support" ">=dev-python/sqlalchemy-1.4.36"
|
||||
optfeature "miscellaneous statistical functions" dev-python/scipy
|
||||
optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/QtPy dev-python/pygtk x11-misc/xclip x11-misc/xsel
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST pyrqlite-2.2.0.gh.tar.gz 19766 BLAKE2B ba71638d2e94a9210d778884d96f32121ee19ac481b7f0bf8f750350fe03cf34857fcd5bd618c29965aa26b8c2e8371909e6ef75d9471e222e4003912977adec SHA512 b5374cd95c116ed4555ed84aaa13c6cfb913d80e416ecdbd014cf21d79c593e197dafdf1b34d7cd26bb7d0076a6fe2aaef5cad803c6430a908cb2f994881c71f
|
||||
DIST pyrqlite-2.2.1.gh.tar.gz 20065 BLAKE2B ecdd90a3e1f21fddab774a0764bfb70a0d3d171e0ea970af8831ae3bfb71e135bdffaa13c4b0d4c5ea20e1b553338edf4912b4c9b58dfce3b31b3daf8a887960 SHA512 c423b1a6991f93bbe459e0f748ee870cbfafe8d5ba62b43cf72ffceec77da4f9ec44a6fe70f93739adc2f29b95d40edb2d22d7bfd136832dcf1f018888a343f6
|
||||
DIST pyrqlite-2.2.2.gh.tar.gz 21302 BLAKE2B 8a16155287f4a4698ca63d4643c9fde0dbf4fc8238b4259f194b66a30846bab9b6420df0cc8049b2ea16d8ffdcd8c99f2b7e49a135af458e2b239b52e3ac4f5b SHA512 6faf6d5b1a264a85247ee5a790bc4e718d0632ee4d4bcd16aed2bce65216f23c0cb44d7c367ae73874bdb618d9c56bbefdaeebb40322f228e0ee50d78e03b91b
|
||||
|
@ -1 +1,2 @@
|
||||
DIST python-lsp-server-1.10.0.tar.gz 112917 BLAKE2B 2429e136ea2732d3bdfc2c77424a864364a7eb98bd447273d514fa53238b1ec276d46a51e558be8d959f100cd4dcfadf3a3eac996aa49b6b011babea84e8e3a8 SHA512 342452a5e3b1ae448a993f64501b2162b286f009026f1b5d306621c4befd0188699fc682206d50d06a93d8780862c8476186f8d0e4bb20592ddbbade1276445c
|
||||
DIST python-lsp-server-1.9.0.tar.gz 111176 BLAKE2B 8143e7e294e820114d2752ef2a3afe3d0494aab7a3bbc785cf543585531bdb5e7df681f446f2db7d2c05271d06fad94e6850fa0eef244c6ed5d36efeb7606597 SHA512 052ee7b9cf042afc64df34592b4daa2fb4113d78fe538a72db0426618f13ce6a453173a343b62fefeefb47ffa5a026ae0e7d029d65a5a1b235f52dd4b44c6067
|
||||
|
@ -0,0 +1,107 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
|
||||
inherit distutils-r1 optfeature pypi
|
||||
|
||||
DESCRIPTION="Python Language Server for the Language Server Protocol"
|
||||
HOMEPAGE="
|
||||
https://github.com/python-lsp/python-lsp-server/
|
||||
https://pypi.org/project/python-lsp-server/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
IUSE="all-plugins"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/docstring-to-markdown[${PYTHON_USEDEP}]
|
||||
>=dev-python/jedi-0.17.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-lsp-jsonrpc-1.1.0[${PYTHON_USEDEP}]
|
||||
dev-python/pluggy[${PYTHON_USEDEP}]
|
||||
all-plugins? (
|
||||
>=dev-python/autopep8-2.0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/flake8-7[${PYTHON_USEDEP}]
|
||||
>=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyflakes-3.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pylint-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/yapf-0.33.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/rope-1.11.0[${PYTHON_USEDEP}]
|
||||
' 'python*')
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/flaky[${PYTHON_USEDEP}]
|
||||
>=dev-python/flake8-5.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pylint-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/yapf-0.33.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}]
|
||||
>=dev-python/rope-1.2.0[${PYTHON_USEDEP}]
|
||||
' 'python*')
|
||||
)
|
||||
"
|
||||
|
||||
# Note: xdist breaks some tests
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# remove pytest-cov dep
|
||||
sed -i -e '/addopts =/d' pyproject.toml || die
|
||||
# unpin all the deps
|
||||
sed -i -e 's:,<[0-9.]*::' pyproject.toml || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# broken by presence of pathlib2
|
||||
'test/plugins/test_autoimport.py'
|
||||
)
|
||||
local EPYTEST_IGNORE=(
|
||||
# pydocstyle is archived upstream and broken with py3.12
|
||||
test/plugins/test_pydocstyle_lint.py
|
||||
)
|
||||
|
||||
if [[ ${EPYTHON} == pypy3 ]] ; then
|
||||
# Not all plugins are available for pypy3
|
||||
EPYTEST_IGNORE+=(
|
||||
test/plugins/test_autoimport.py
|
||||
test/plugins/test_completion.py
|
||||
test/plugins/test_rope_rename.py
|
||||
)
|
||||
fi
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Automatically format Python code to conform to the PEP 8 style guide" dev-python/autopep8
|
||||
optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8
|
||||
optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe
|
||||
optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle
|
||||
optfeature "Python docstring style checker" dev-python/pydocstyle
|
||||
optfeature "Passive checker for Python programs" dev-python/pyflakes
|
||||
optfeature "Python code static checker" dev-python/pylint
|
||||
optfeature "Python refactoring library" dev-python/rope
|
||||
optfeature "A formatter for Python files" dev-python/yapf
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST sphinx-tabs-3.4.4.gh.tar.gz 524297 BLAKE2B 5361006ca99be157f01a7efd6ea50bbd87c1672caf0badbbde11ef832dddfd40232723fc5900a37fdb18112c5e4ddd9717829e96fd6e3afad8205c11c209d439 SHA512 365c472e88016e5c2d83a509d617ff13fc2c8c0a35fa9626244de9af2a242c2bbc4941241b3d1d863d261b15967a5694a0edb6c1d5614dce9d72531ea5138e03
|
||||
DIST sphinx-tabs-3.4.5.gh.tar.gz 524298 BLAKE2B 64f7a9e470e35e4e0c2e80c5207fcaa920adbf198c3bcd501d316282bf1c0f052effc6e885fcbd1385395f4ac9e5721c0904b673e8975ef8aa3bd68ebe9ae415 SHA512 530b6929733385a42ef3f1828f0d7aa4b442eb9ced0befe9adeaf4b559a62cb2a1865443e554493b8fa2c6a9d2dd5dfdbf55078ee63d21f1c22afd8275a690b9
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Tabbed views for Sphinx"
|
||||
HOMEPAGE="
|
||||
https://github.com/executablebooks/sphinx-tabs/
|
||||
https://pypi.org/project/sphinx-tabs/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/executablebooks/sphinx-tabs/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-regressions[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# Unpackaged rinohtype
|
||||
tests/test_build.py::test_rinohtype_pdf
|
||||
)
|
@ -1,2 +1,3 @@
|
||||
DIST ytmusicapi-1.3.2.tar.gz 71732 BLAKE2B 957c2b88ea2c9e59c81401762e4dfd4a52a2f5d3ba59653d2556c3d29225ab4bd92155070e75812f302430b453a5c32a2f44fb508b24905a8f0d16c6fe51299b SHA512 c9ccf7999d668502549e4b5393682192d1db2851660444b6255d5bfb2c0c994ab4715800b669bf57d60866aef7c5529ece374c1eda8d945c7008477438dd0fdd
|
||||
DIST ytmusicapi-1.4.2.tar.gz 97077 BLAKE2B fe54fa253dec464b5112eb209b3b16929d87a93c360aded5d7ddd5598614f3c5a6c53be973a0c209d32b185effba81522fb17bed565511c3d7db0517f2bf5f8f SHA512 2fb87aa287c38fc1c5d6709bbcf0385205d2becdf1067ee7f8e50b57c9b8e974b457ab34039b1477e6890f0fc7e79b6291f4f2945dbde09294bb1f8c4822be3d
|
||||
DIST ytmusicapi-1.5.0.tar.gz 101082 BLAKE2B 682936a7e896cfe229945024a24370595f3e1c269bf15476e03224a62bf17ff38aa21ac9c940a7b2c9ab0dca69d51d560ba28d269489bb1bf3a831e384b79c5d SHA512 64fbac9a8600e86b046f210d677ec2b11349bd2ad9859eb0e67ea3c2b4f664e4087dcf51911911e249af957374fffb05997fc9863c1cbeb15958627e62716548
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Unofficial API for YouTube Music"
|
||||
HOMEPAGE="https://ytmusicapi.readthedocs.io/
|
||||
https://github.com/sigma67/ytmusicapi/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
dev-python/sphinx-rtd-theme
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue