Merge updates from master

This commit is contained in:
Repository mirror & CI
2023-11-16 16:16:55 +00:00
6 changed files with 83 additions and 39 deletions

View File

@@ -1 +1 @@
DIST gentoo_update-0.2.1.gh.tar.gz 20719 BLAKE2B c69c1920b41c52b4e85a8669c18ad82e2c9e135ffb39cc4acfddc95659f4e2068e624d73734d31067524a12f485b79618cd2badfa2bb08089d4f133281e5b37c SHA512 6b599c1ad28d1dc0006d71ca05b06123bccb87dfc813c6e10aa5b093d2044b35e3d752d890e78a7c01be18f97f45d1ad9162b8cb49f0e25ce1e186c7a156ea72
DIST gentoo_update-0.2.2.gh.tar.gz 24757 BLAKE2B f6c8b0732f08af8ebe32ffd44a0331b71f8150107f6a66918f09fdd4987a4ee4e687ab807b100df879395cee1de4e26c9c99f6a7622500118d128887379cb2d7 SHA512 e3cc34e668de955389ca0b0b39eee3db31715e0f65c445fac7ee355b82c0ed9ab224cb9cff60cc170aa1632426566f6202bcea7d4bf9078c3faf3229f21007b8

View File

@@ -24,4 +24,10 @@ python_test() {
pkg_postinst() {
optfeature "--clean support" app-portage/gentoolkit
optfeature "--daemon-restart support" app-admin/needrestart
elog ""
elog "Important Update: Version 0.2.2 introduces breaking changes."
elog "The CLI has been completely rewritten and now features a "
elog "subcommands structure. Please review the updated README "
elog "to understand the changes and ensure a smooth transition."
}

View File

@@ -1 +1,2 @@
DIST svgelements-1.9.3.gh.tar.gz 132345 BLAKE2B 63e433f99fd0adc3f9512fd1457ace8c12d7f922960ae4cbc1b84ffda27ba1bf00e3dd12e88dabb70235227969298e4e6bedad450f29dda20afcaf9a342f0441 SHA512 9a3bc3c665566662859996ba06ac4c5bb5ee425b008b9312a44d07aaca64fb7bd6e3f7d614cdfd709944efdf74fb7da3cc0ab8ecd0c812dff3dcf16305ae8f22
DIST svgelements-1.9.6.gh.tar.gz 134884 BLAKE2B c6b5c3e3b7a27b0972c78e8ad290c2880b7418d11cded3769d3c591ddcefa85d5e4ddcd5df186e181178cc6ca2054d1a48ea4a715f3506fcd16d53d5baed206f SHA512 c92004a103cb0073f91e0d4f2710a841855ba5079924d106db33df8994c482656a7c3358336c3fcae3127f2b6e668595b2339913e7c8f8364277fedbe0b854c3

View File

@@ -0,0 +1,43 @@
# Copyright 2023 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 optfeature
DESCRIPTION="SVG Parsing for Elements, Paths, and other SVG Objects."
HOMEPAGE="https://github.com/meerk40t/svgelements https://pypi.org/project/svgelements"
SRC_URI="https://github.com/meerk40t/svgelements/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BDEPEND="
test? (
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
)
"
DEPEND="${BDEPEND}"
distutils_enable_tests pytest
src_prepare() {
default
mv "${S}/test" "${S}_tests"
}
python_test() {
cd "${T}" || die
epytest "${S}_tests"
}
pkg_postinst() {
optfeature "getting exact value for arc lenght computation" dev-python/scipy
optfeature "loading images" dev-python/pillow
optfeature "speeding up linearization for Shapes" dev-python/numpy
}

View File

@@ -233,6 +233,8 @@ REQUIRED_USE="?? ( x11 gnome kde wlroots )"
RDEPEND="x11? ( x11-libs/libX11 )"
QA_FLAGS_IGNORED=".*"
src_configure() {
local myfeatures=(
$(usev x11)
@@ -247,3 +249,11 @@ src_install() {
cargo_src_install
udev_newrules "${FILESDIR}"/xremap-input.rules 99-xremap-input.rules
}
pkg_postinst() {
udev_reload
}
pkg_postrm() {
udev_reload
}

View File

@@ -29,32 +29,15 @@ fi
LICENSE="MEGA"
SLOT="0"
IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus nemo php python readline threads thunar"
IUSE="dolphin freeimage nautilus nemo threads thunar"
RDEPEND="
app-arch/xz-utils
DEPEND="
dev-db/sqlite:3
dev-libs/crypto++
dev-libs/libgcrypt
dev-libs/libsodium
dev-libs/libuv
dev-libs/openssl:0=
media-libs/libpng
net-dns/c-ares
x11-themes/hicolor-icon-theme
cryptopp? ( dev-libs/crypto++ )
curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
dolphin? ( kde-apps/dolphin )
freeimage? ( media-libs/freeimage )
nautilus? ( >=gnome-base/nautilus-43 )
nemo? ( gnome-extra/nemo )
readline? ( sys-libs/readline:0 )
sqlite? ( dev-db/sqlite:3 )
thunar? ( xfce-base/thunar )
zlib? ( sys-libs/zlib )
"
DEPEND="
${RDEPEND}
media-libs/libmediainfo
media-libs/libraw
dev-qt/qtcore:5
dev-qt/qtwidgets:5
dev-qt/qtgui:5
@@ -64,10 +47,24 @@ DEPEND="
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
dev-qt/qtx11extras:5
media-libs/libmediainfo
media-libs/libpng
media-libs/libraw
net-dns/c-ares
net-misc/curl[ssl,curl_ssl_openssl(-)]
sys-libs/zlib
dolphin? ( kde-apps/dolphin )
freeimage? ( media-libs/freeimage )
nautilus? ( >=gnome-base/nautilus-43 )
nemo? ( gnome-extra/nemo )
thunar? ( xfce-base/thunar )
"
RDEPEND="
${DEPEND}
x11-themes/hicolor-icon-theme
"
BDEPEND="
dev-lang/swig
dev-qt/linguist-tools
dev-qt/linguist-tools:5
dolphin? ( kde-frameworks/extra-cmake-modules )
"
@@ -97,23 +94,10 @@ src_prepare() {
src_configure() {
cd "${S}/src/MEGASync/mega"
econf \
"--disable-silent-rules" \
"--disable-curl-checks" \
"--disable-megaapi" \
$(use_with zlib) \
$(use_with sqlite) \
$(use_with cryptopp) \
"--with-cares" \
$(use_with curl) \
"--without-termcap" \
"--disable-examples" \
$(use_enable threads posix-threads) \
"--with-sodium" \
$(use_with freeimage) \
$(use_with readline) \
$(use_enable examples) \
$(use_enable java) \
$(use_enable php) \
$(use_enable python)
$(use_with freeimage)
cd "${S}/src"
local myeqmakeargs=(