parent
e3b01be247
commit
18a767dd02
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST kontrast-1.0.2.tar.xz 35300 BLAKE2B dbcf66706d707d2e277ab8a551533495c4005556421321b0a2a03fc046c193a931c00ed9a82160f51b44cf081550c86c8933e849158f5f1e63dd0c85c4506b96 SHA512 637b2fb65e42b208b26349e6d971827d616f647db53b5d2b5e5c7264388e723912fecb130138693060c9ec877e8a6d4dd1478f68942b6b10db024e8a4d66173c
|
|
||||||
DIST kontrast-20.12.3.tar.xz 122468 BLAKE2B 4e29c034ba87781ffef03a37ecc7219eed488585bc47b0b3420950cdfe8fa92e9f4fd2a35dea76ac296318cb8c8be38fcf92061bca105fcfafa9dc9121afbabe SHA512 d6a4b60416f43bc1e9ba2539b13f33233c988417c7e8f05dd295d7e4946301943db9493123a07c48b0844c7aa55a22a3f1b898c3a00cccc6f6aae295d89d90c8
|
DIST kontrast-20.12.3.tar.xz 122468 BLAKE2B 4e29c034ba87781ffef03a37ecc7219eed488585bc47b0b3420950cdfe8fa92e9f4fd2a35dea76ac296318cb8c8be38fcf92061bca105fcfafa9dc9121afbabe SHA512 d6a4b60416f43bc1e9ba2539b13f33233c988417c7e8f05dd295d7e4946301943db9493123a07c48b0844c7aa55a22a3f1b898c3a00cccc6f6aae295d89d90c8
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
KFMIN=5.70.0
|
|
||||||
QTMIN=5.14.2
|
|
||||||
inherit ecm kde.org
|
|
||||||
|
|
||||||
DESCRIPTION="Tool to check contrast for colors to verify they are correctly accessible"
|
|
||||||
HOMEPAGE="https://apps.kde.org/en/kontrast"
|
|
||||||
|
|
||||||
if [[ ${KDE_BUILD_TYPE} == release ]]; then
|
|
||||||
SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
|
|
||||||
KEYWORDS="amd64 arm64 x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="5"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=dev-qt/qtdeclarative-${QTMIN}:5
|
|
||||||
>=dev-qt/qtgui-${QTMIN}:5
|
|
||||||
>=dev-qt/qtquickcontrols2-${QTMIN}:5
|
|
||||||
>=dev-qt/qtsql-${QTMIN}:5
|
|
||||||
>=dev-qt/qtsvg-${QTMIN}:5
|
|
||||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
|
||||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kdeclarative-${KFMIN}:5
|
|
||||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kirigami-${KFMIN}:5
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST dolphin-plugins-20.08.3.tar.xz 230272 BLAKE2B 1978ffebe88d95350cac0892c56e127507b6ddd6d5675bca8f420990552e20ff271e6f5742a2bdeff685c82464e70177ac83e5e9368547eb175a3e8133d77624 SHA512 2010be567ef025375caac92e90c0259faea1eb58bdbc55e441e42a10af68b6313391707a7f6b6b10285ba80dcbdee92468fa5088970eb98d4ea8afea145976d9
|
|
||||||
DIST dolphin-plugins-20.12.3.tar.xz 239340 BLAKE2B 141e5d2bb6190edaef98cec2a271e41b916966118300d69f4eb5e7da15e51730476f23a20312b76fca0fc1490501e83528b4f0cb62f9f6c64e4caf5ac5b2cd37 SHA512 1d5303e92d912bc80c5260263b081205d36372f1f15205ebd3e705697a114f8481edd1ad31004d7906c3088d43a74cb1e33dac6e1196c247e702a544d67db11b
|
DIST dolphin-plugins-20.12.3.tar.xz 239340 BLAKE2B 141e5d2bb6190edaef98cec2a271e41b916966118300d69f4eb5e7da15e51730476f23a20312b76fca0fc1490501e83528b4f0cb62f9f6c64e4caf5ac5b2cd37 SHA512 1d5303e92d912bc80c5260263b081205d36372f1f15205ebd3e705697a114f8481edd1ad31004d7906c3088d43a74cb1e33dac6e1196c247e702a544d67db11b
|
||||||
|
@ -1,65 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
ECM_HANDBOOK="false"
|
|
||||||
KDE_RELEASE_SERVICE="true"
|
|
||||||
KDE_ORG_CATEGORY="sdk"
|
|
||||||
KDE_ORG_NAME="dolphin-plugins"
|
|
||||||
MY_PLUGIN_NAME="mountiso"
|
|
||||||
KFMIN=5.74.0
|
|
||||||
PVCUT=$(ver_cut 1-3)
|
|
||||||
QTMIN=5.15.1
|
|
||||||
inherit ecm kde.org
|
|
||||||
|
|
||||||
DESCRIPTION="Dolphin plugin for ISO loopback device mounting"
|
|
||||||
HOMEPAGE="https://apps.kde.org/en/dolphin_plugins"
|
|
||||||
|
|
||||||
LICENSE="GPL-2" # TODO: CHECK
|
|
||||||
SLOT="5"
|
|
||||||
KEYWORDS="amd64 arm64 ~ppc64 x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=dev-qt/qtdbus-${QTMIN}:5
|
|
||||||
>=dev-qt/qtgui-${QTMIN}:5
|
|
||||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
|
||||||
>=kde-apps/dolphin-${PVCUT}:5
|
|
||||||
>=kde-frameworks/kcompletion-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
|
||||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kio-${KFMIN}:5
|
|
||||||
>=kde-frameworks/ktextwidgets-${KFMIN}:5
|
|
||||||
>=kde-frameworks/solid-${KFMIN}:5
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
ecm_src_prepare
|
|
||||||
# kxmlgui, qtnetwork only required by dropbox
|
|
||||||
ecm_punt_bogus_dep Qt5 Network
|
|
||||||
ecm_punt_bogus_dep KF5 XmlGui
|
|
||||||
# delete non-${PN} translations
|
|
||||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
|
||||||
find po -type f -name "*po" -and -not -name "*${MY_PLUGIN_NAME}plugin" -delete || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DBUILD_${MY_PLUGIN_NAME}=ON
|
|
||||||
-DBUILD_bazaar=OFF
|
|
||||||
-DBUILD_dropbox=OFF
|
|
||||||
-DBUILD_git=OFF
|
|
||||||
-DBUILD_hg=OFF
|
|
||||||
-DBUILD_svn=OFF
|
|
||||||
)
|
|
||||||
ecm_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
ecm_src_install
|
|
||||||
rm "${D}"/usr/share/metainfo/org.kde.dolphin-plugins.metainfo.xml || die
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1,2 @@
|
|||||||
DIST okteta-0.26.4.tar.xz 969572 BLAKE2B 37f3a0c83c3a922030816813de9a66edff0f4a1ae9f3450f9fe195b52d1b053c23f37c8fb2a06b08ef8df47061123536f202809b3d4954d824103dfb1b912559 SHA512 2410fc73d2685405cef7d3d639ae202632f8781885803aed5e2e5e4ff8b48f7cdf4f8b9565edbc1b5fa3db4bb22ae90019f8cfdf4bda09def7badc559ebe02a7
|
|
||||||
DIST okteta-0.26.5.tar.xz 971940 BLAKE2B 44313d9603b15e9b9c4355b34d3d3b778c6530de7bfb2ab2589716c5123a5c66116d1cc8aa8197fb55135fb4dd6eca89155ec3c5f18b14e5f88c664f2197de4b SHA512 9a4934f8f4508bd858f8ed13f02174b211453ec5b38aa0fcc62d1173e3a0e0101754d23f53ce4bddcfe9106eeaed687f1141d2a1a65efc3ea8478e5d1840dc09
|
DIST okteta-0.26.5.tar.xz 971940 BLAKE2B 44313d9603b15e9b9c4355b34d3d3b778c6530de7bfb2ab2589716c5123a5c66116d1cc8aa8197fb55135fb4dd6eca89155ec3c5f18b14e5f88c664f2197de4b SHA512 9a4934f8f4508bd858f8ed13f02174b211453ec5b38aa0fcc62d1173e3a0e0101754d23f53ce4bddcfe9106eeaed687f1141d2a1a65efc3ea8478e5d1840dc09
|
||||||
|
DIST okteta-0.26.6.tar.xz 975720 BLAKE2B e9eaf258e9285dfcbf41cd0fcd3fa31e01a9d3b57b7d5c305d644aaeba2588351d0e212c7a6df7f06ab54da47728a916169dc2670772d445f5d34427fbf18946 SHA512 f489ddf1be6fe369b564b11cf8234c7a291b63101a00fb43163a1019609d1152735750946b2bd876080eff1697903ba02ada1ea641293a59f31d5edf34604b1a
|
||||||
|
Binary file not shown.
@ -0,0 +1,73 @@
|
|||||||
|
# Copyright 2018-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
|
||||||
|
inherit bash-completion-r1 distutils-r1
|
||||||
|
|
||||||
|
MY_PV=${PV/_/-}
|
||||||
|
DESCRIPTION="Multi-container orchestration for Docker"
|
||||||
|
HOMEPAGE="https://github.com/docker/compose"
|
||||||
|
SRC_URI="https://github.com/docker/compose/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/distro-1.5.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/docker-py-5[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/dockerpty-0.4.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/python-dotenv-0.13.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jsonschema-2.5.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/PySocks-1.6.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/texttable-0.9.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
test? (
|
||||||
|
>=dev-python/pytest-5[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/ddt-1.2.2[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
S="${WORKDIR}/compose-${MY_PV}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
# Bug #679968 -- https://bugs.gentoo.org/679968
|
||||||
|
# Bug #681002 -- https://bugs.gentoo.org/681002
|
||||||
|
"${FILESDIR}"/${PN}-1.29.0-setup-py.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
DOCS=( CHANGELOG.md README.md )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Address QA issue "docker-compose.exe: missing alias (symlink) for completed command."
|
||||||
|
sed 's,^\(complete.*\) docker-compose\.exe\(.*\),\1\2,' -i contrib/completion/bash/docker-compose || die
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
distutils_install_for_testing
|
||||||
|
${PYTHON} -m pytest tests/unit/ || die "tests failed under ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
newbashcomp contrib/completion/bash/docker-compose ${PN}
|
||||||
|
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
doins contrib/completion/zsh/*
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
@ -0,0 +1,66 @@
|
|||||||
|
From 6829b2c1885b3a0ff758751db2c936ef384d00f9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Sebastian Pipping <sebastian@pipping.org>
|
||||||
|
Date: Wed, 7 Apr 2021 00:46:38 +0200
|
||||||
|
Subject: [PATCH] setup.py: Drop generic upper version boundaries
|
||||||
|
|
||||||
|
---
|
||||||
|
setup.py | 32 ++++++++++++++++----------------
|
||||||
|
1 file changed, 16 insertions(+), 16 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index aaf33f7..74be464 100644
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -25,33 +25,33 @@ def find_version(*file_paths):
|
||||||
|
|
||||||
|
|
||||||
|
install_requires = [
|
||||||
|
- 'docopt >= 0.6.1, < 1',
|
||||||
|
- 'PyYAML >= 3.10, < 6',
|
||||||
|
- 'requests >= 2.20.0, < 3',
|
||||||
|
- 'texttable >= 0.9.0, < 2',
|
||||||
|
- 'websocket-client >= 0.32.0, < 1',
|
||||||
|
- 'distro >= 1.5.0, < 2',
|
||||||
|
+ 'docopt >= 0.6.1',
|
||||||
|
+ 'PyYAML >= 3.10',
|
||||||
|
+ 'requests >= 2.20.0',
|
||||||
|
+ 'texttable >= 0.9.0',
|
||||||
|
+ 'websocket-client >= 0.32.0',
|
||||||
|
+ 'distro >= 1.5.0',
|
||||||
|
'docker[ssh] >= 5',
|
||||||
|
- 'dockerpty >= 0.4.1, < 1',
|
||||||
|
- 'jsonschema >= 2.5.1, < 4',
|
||||||
|
- 'python-dotenv >= 0.13.0, < 1',
|
||||||
|
+ 'dockerpty >= 0.4.1',
|
||||||
|
+ 'jsonschema >= 2.5.1',
|
||||||
|
+ 'python-dotenv >= 0.13.0',
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
tests_require = [
|
||||||
|
- 'ddt >= 1.2.2, < 2',
|
||||||
|
- 'pytest < 6',
|
||||||
|
+ 'ddt >= 1.2.2',
|
||||||
|
+ 'pytest',
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
if sys.version_info[:2] < (3, 4):
|
||||||
|
- tests_require.append('mock >= 1.0.1, < 4')
|
||||||
|
+ tests_require.append('mock >= 1.0.1')
|
||||||
|
|
||||||
|
extras_require = {
|
||||||
|
- ':python_version < "3.5"': ['backports.ssl_match_hostname >= 3.5, < 4'],
|
||||||
|
- ':python_version < "3.8"': ['cached-property >= 1.2.0, < 2'],
|
||||||
|
- ':sys_platform == "win32"': ['colorama >= 0.4, < 1'],
|
||||||
|
- 'socks': ['PySocks >= 1.5.6, != 1.5.7, < 2'],
|
||||||
|
+ ':python_version < "3.5"': ['backports.ssl_match_hostname >= 3.5'],
|
||||||
|
+ ':python_version < "3.8"': ['cached-property >= 1.2.0'],
|
||||||
|
+ ':sys_platform == "win32"': ['colorama >= 0.4'],
|
||||||
|
+ 'socks': ['PySocks >= 1.5.6, != 1.5.7'],
|
||||||
|
'tests': tests_require,
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
Binary file not shown.
Binary file not shown.
@ -1,72 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
inherit linux-info readme.gentoo systemd
|
|
||||||
|
|
||||||
DESCRIPTION="IBM ThinkPad Hard Drive Active Protection System (HDAPS) daemon"
|
|
||||||
HOMEPAGE="https://github.com/evgeni/hdapsd/"
|
|
||||||
SRC_URI="https://github.com/evgeni/${PN}/releases/download/${PV}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE="libconfig"
|
|
||||||
|
|
||||||
DEPEND="libconfig? ( dev-libs/libconfig:= )"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# We require the hdaps module which can either come from either the
|
|
||||||
# kernel itself (CONFIG_SENSORS_HDAPS) or from the tp_smapi package.
|
|
||||||
if ! has_version app-laptop/tp_smapi[hdaps]; then
|
|
||||||
CONFIG_CHECK="~SENSORS_HDAPS"
|
|
||||||
ERROR_SENSORS_HDAPS="${P} requires app-laptop/tp_smapi[hdaps] or "
|
|
||||||
ERROR_SENSORS_HDAPS+="kernel support for CONFIG_SENSORS_HDAPS enabled"
|
|
||||||
linux-info_pkg_setup
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_enable libconfig) \
|
|
||||||
--with-systemdsystemunitdir=$(systemd_get_unitdir) \
|
|
||||||
--docdir="/usr/share/doc/${PF}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
newconfd "${FILESDIR}/hdapsd.conf-20141024" hdapsd
|
|
||||||
newinitd "${FILESDIR}/hdapsd.init-20141024" hdapsd
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
[[ -z $(ls "${ROOT}"sys/block/*/queue/protect 2>/dev/null) ]] && \
|
|
||||||
[[ -z $(ls "${ROOT}"sys/block/*/device/unload_heads 2>/dev/null) ]] && \
|
|
||||||
ewarn "Your kernel does NOT support shock protection."
|
|
||||||
|
|
||||||
readme.gentoo_print_elog
|
|
||||||
}
|
|
||||||
|
|
||||||
DISABLE_AUTOFORMATTING=1
|
|
||||||
DOC_CONTENTS="
|
|
||||||
${PN} requires a kernel module to function properly. The recommended
|
|
||||||
approach is to install app-laptop/tp_smapi[hdaps], but the in-tree
|
|
||||||
module provided by CONFIG_SENSORS_HDAPS may work as well.
|
|
||||||
|
|
||||||
Common daemon parameters can be set in ${EROOT}etc/conf.d/${PN}. If the
|
|
||||||
package was installed with USE=libconfig, then the parameters can also
|
|
||||||
be set in ${EROOT}etc/${PN}.conf, although the former will take
|
|
||||||
precedence over the latter if both are used.
|
|
||||||
|
|
||||||
You can change the default sampling rate by modifing
|
|
||||||
|
|
||||||
/sys/devices/platform/hdaps/sampling_rate
|
|
||||||
|
|
||||||
and you may need to enable shock protection manually by running
|
|
||||||
|
|
||||||
# echo -1 > /sys/block/<disk>/device/unload_heads
|
|
||||||
|
|
||||||
as root.
|
|
||||||
"
|
|
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST alkimia-8.0.4.tar.xz 221108 BLAKE2B 90a89bfc76998aeec95989455d62b2a46e06e86f01b96d0a28e3226ec4228108b35a9ca9f8d50f95a32130e39b4954515e205f40d6aad6346bc9310fd31dff75 SHA512 49b771ac28ec76143cf1237a21a834fa38689c91c773a472cc090e94f49287a79ad7790ef068cd6bebc4e64aa97e5026a9ea5be841bbdb3ca89b00b6ca7acc27
|
|
||||||
DIST alkimia-8.1.0.tar.xz 230804 BLAKE2B 9cc005f8550181b4bf5dd945ac22592d711f0e9689758d56c62272d4879181f73faeaebecab24d74a790f6c6d1a59c42295ceb2c23d09195a76f7e6b6b4e53c0 SHA512 c3d0851ec6e5af7f690059f2c80942bbe69c6bde946898ba4a124c344dd47e0fba4e6ed0a5320e36385c060c49d5eeaaca35bc0a41410ef4ad849a4f9541d4d3
|
DIST alkimia-8.1.0.tar.xz 230804 BLAKE2B 9cc005f8550181b4bf5dd945ac22592d711f0e9689758d56c62272d4879181f73faeaebecab24d74a790f6c6d1a59c42295ceb2c23d09195a76f7e6b6b4e53c0 SHA512 c3d0851ec6e5af7f690059f2c80942bbe69c6bde946898ba4a124c344dd47e0fba4e6ed0a5320e36385c060c49d5eeaaca35bc0a41410ef4ad849a4f9541d4d3
|
||||||
|
@ -1,54 +0,0 @@
|
|||||||
From d413b91839ca0e66beb56a71625e3194df1a6599 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Andreas Sturmlechner <asturm@gentoo.org>
|
|
||||||
Date: Wed, 12 Jun 2019 19:44:12 +0200
|
|
||||||
Subject: [PATCH 1/2] Use non-deprecated KDE_INSTALL_TARGETS_DEFAULT_ARGS for
|
|
||||||
alkimia target
|
|
||||||
|
|
||||||
---
|
|
||||||
src/CMakeLists.txt | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
||||||
index 7c0f0f7..0774032 100644
|
|
||||||
--- a/src/CMakeLists.txt
|
|
||||||
+++ b/src/CMakeLists.txt
|
|
||||||
@@ -147,7 +147,7 @@ set(INCLUDE_INSTALL_DIR include/alkimia/${ALKIMIA_INCLUDE_SUFFIX})
|
|
||||||
|
|
||||||
install(TARGETS alkimia
|
|
||||||
EXPORT alkimiaTargets
|
|
||||||
- ${INSTALL_TARGETS_DEFAULT_ARGS}
|
|
||||||
+ ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}
|
|
||||||
)
|
|
||||||
|
|
||||||
if(BUILD_QT4)
|
|
||||||
--
|
|
||||||
2.23.0
|
|
||||||
|
|
||||||
|
|
||||||
From 1fd611bcc060e779ac62f5f69d956c6dee2b3383 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Andreas Sturmlechner <asturm@gentoo.org>
|
|
||||||
Date: Wed, 12 Jun 2019 16:43:54 +0200
|
|
||||||
Subject: [PATCH 2/2] Fix pkgconfig libdir path
|
|
||||||
|
|
||||||
---
|
|
||||||
src/libalkimia.pc.in | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/libalkimia.pc.in b/src/libalkimia.pc.in
|
|
||||||
index c2087c9..6ada277 100644
|
|
||||||
--- a/src/libalkimia.pc.in
|
|
||||||
+++ b/src/libalkimia.pc.in
|
|
||||||
@@ -4,8 +4,8 @@
|
|
||||||
# General installation directories
|
|
||||||
prefix=@CMAKE_INSTALL_PREFIX@
|
|
||||||
exec_prefix=@CMAKE_INSTALL_PREFIX@
|
|
||||||
-libdir=@KDE4_LIB_DIR@
|
|
||||||
-includedir=@INCLUDE_INSTALL_DIR@
|
|
||||||
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
||||||
+includedir=${prefix}/@INCLUDE_INSTALL_DIR@
|
|
||||||
|
|
||||||
# Human-readable name
|
|
||||||
Name: Alkimia
|
|
||||||
--
|
|
||||||
2.23.0
|
|
||||||
|
|
@ -1,78 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
ECM_TEST="forceoptional"
|
|
||||||
KDE_ORG_NAME="alkimia"
|
|
||||||
KFMIN=5.74.0
|
|
||||||
QTMIN=5.15.1
|
|
||||||
VIRTUALX_REQUIRED="test"
|
|
||||||
inherit ecm kde.org
|
|
||||||
|
|
||||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
|
||||||
SRC_URI="mirror://kde/stable/${KDE_ORG_NAME}/${PV}/${KDE_ORG_NAME}-${PV}.tar.xz"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Library with common classes and functionality used by KDE finance applications"
|
|
||||||
HOMEPAGE="https://www.linux-apps.com/content/show.php/libalkimia?content=137323
|
|
||||||
https://community.kde.org/Alkimia"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0/8"
|
|
||||||
IUSE="doc gmp plasma webengine"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
doc? ( app-doc/doxygen )
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
>=dev-qt/qtdbus-${QTMIN}:5
|
|
||||||
>=dev-qt/qtdeclarative-${QTMIN}:5
|
|
||||||
>=dev-qt/qtgui-${QTMIN}:5
|
|
||||||
>=dev-qt/qtnetwork-${QTMIN}:5
|
|
||||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
|
||||||
>=kde-frameworks/kcompletion-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kcodecs-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kdelibs4support-${KFMIN}:5
|
|
||||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kiconthemes-${KFMIN}:5
|
|
||||||
>=kde-frameworks/knewstuff-${KFMIN}:5
|
|
||||||
>=kde-frameworks/ktextwidgets-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kxmlgui-${KFMIN}:5
|
|
||||||
!gmp? ( sci-libs/mpir:=[cxx] )
|
|
||||||
gmp? ( dev-libs/gmp:0=[cxx] )
|
|
||||||
plasma? (
|
|
||||||
>=kde-frameworks/kpackage-${KFMIN}:5
|
|
||||||
>=kde-frameworks/plasma-${KFMIN}:5
|
|
||||||
)
|
|
||||||
webengine? ( >=dev-qt/qtwebengine-${QTMIN}:5 )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${PN}-8.0.3-cmake.patch" )
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DENABLE_FINANCEQUOTE=OFF
|
|
||||||
-DBUILD_TOOLS=ON
|
|
||||||
-DBUILD_WITH_WEBKIT=OFF
|
|
||||||
-DBUILD_DOXYGEN_DOCS=$(usex doc)
|
|
||||||
$(cmake_use_find_package !gmp MPIR)
|
|
||||||
-DBUILD_APPLETS=$(usex plasma)
|
|
||||||
-DBUILD_WITH_WEBENGINE=$(usex webengine)
|
|
||||||
)
|
|
||||||
ecm_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Depends on BUILD_WITH_WEBKIT, bug 736128
|
|
||||||
local myctestargs=(
|
|
||||||
-E "(alkonlinequotestest)"
|
|
||||||
)
|
|
||||||
ecm_src_test
|
|
||||||
}
|
|
@ -0,0 +1,27 @@
|
|||||||
|
From c62844064cd6d85802d21e188b0f479463e22095 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jean Ghali <jghali@libertysurf.fr>
|
||||||
|
Date: Sun, 4 Apr 2021 21:37:04 +0000
|
||||||
|
Subject: [PATCH] #16536: Page::getFormWidgets() returns unique_ptr in poppler
|
||||||
|
21.04.0
|
||||||
|
|
||||||
|
git-svn-id: svn://scribus.net/trunk/Scribus@24599 11d20701-8431-0410-a711-e3c959e3b870
|
||||||
|
---
|
||||||
|
scribus/plugins/import/pdf/slaoutput.h | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/scribus/plugins/import/pdf/slaoutput.h b/scribus/plugins/import/pdf/slaoutput.h
|
||||||
|
index 66c34203ae..cb191b1023 100644
|
||||||
|
--- a/scribus/plugins/import/pdf/slaoutput.h
|
||||||
|
+++ b/scribus/plugins/import/pdf/slaoutput.h
|
||||||
|
@@ -379,7 +379,11 @@ class SlaOutputDev : public OutputDev
|
||||||
|
Catalog *catalog {nullptr};
|
||||||
|
SplashFontEngine *m_fontEngine {nullptr};
|
||||||
|
SplashFont *m_font {nullptr};
|
||||||
|
+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(21, 4, 0)
|
||||||
|
+ std::unique_ptr<FormPageWidgets> m_formWidgets;
|
||||||
|
+#else
|
||||||
|
FormPageWidgets *m_formWidgets {nullptr};
|
||||||
|
+#endif
|
||||||
|
QHash<QString, QList<int> > m_radioMap;
|
||||||
|
QHash<int, PageItem*> m_radioButtons;
|
||||||
|
int m_actPage;
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,3 @@
|
|||||||
DIST poppler-20.11.0.tar.xz 1648432 BLAKE2B 373464ba60ed84863b40eca2e4f99ebc1625ea06f68a1621165675cf46e70713b649f90630049d15c5c2bc59bd0befb437a4039b47e17509d4fcc4fed8586d53 SHA512 c8237e931ef20d939656e2600453fffb12a2beeafb273782b2069aec6e5915d8cc85136982b7eaf5956af30ce00da2faf84d86ffab47f725447dfbb9d6ffe335
|
|
||||||
DIST poppler-21.02.0.tar.xz 1684496 BLAKE2B f62399a70baa0af36abd9bf7f5bc69003fcdc9b668a64475a6373dbdd9885092a8beb42f887eafdafac5ee17e9aac5b610bad1c9a64af8112e72c82f47e6a304 SHA512 3964990749f38f4468b244c579ff1f2dab7357dfddecb3035d14d3aaeac6ee4be42e76b4a1cc1a8cf53715518def9e92cc59d08c1e22592ced00a9c948989035
|
DIST poppler-21.02.0.tar.xz 1684496 BLAKE2B f62399a70baa0af36abd9bf7f5bc69003fcdc9b668a64475a6373dbdd9885092a8beb42f887eafdafac5ee17e9aac5b610bad1c9a64af8112e72c82f47e6a304 SHA512 3964990749f38f4468b244c579ff1f2dab7357dfddecb3035d14d3aaeac6ee4be42e76b4a1cc1a8cf53715518def9e92cc59d08c1e22592ced00a9c948989035
|
||||||
DIST poppler-21.03.0.tar.xz 1690848 BLAKE2B 60aef92bdfdc603b38dfb2a1aebd59c9085e6d51a2e22864edb3b0fd535421f47fb8041241e321d44cd8539538b61c6e19fe2d99a8a2d21fd85c3757ccadb5d2 SHA512 0eea1b5f32d79c3a497351a6491b5f617b089bef0a9a446723e87185acadba535e3146c0c141f4c2165ced1aa6fa853b54760a322d0932cfe3049c0ad94d64fa
|
DIST poppler-21.03.0.tar.xz 1690848 BLAKE2B 60aef92bdfdc603b38dfb2a1aebd59c9085e6d51a2e22864edb3b0fd535421f47fb8041241e321d44cd8539538b61c6e19fe2d99a8a2d21fd85c3757ccadb5d2 SHA512 0eea1b5f32d79c3a497351a6491b5f617b089bef0a9a446723e87185acadba535e3146c0c141f4c2165ced1aa6fa853b54760a322d0932cfe3049c0ad94d64fa
|
||||||
DIST poppler-21.04.0.tar.xz 1694132 BLAKE2B 759a22b175ca8b64fa666d61e394cb7b6baa34a3dbc9c6cceb24c7ad4b0892ee34faea90278d9889d72d7b9558fc9abf52ab74fd739dc12e7314c3a755661350 SHA512 c3391787456e8a4a3bd6e57f96faa25051bb5e15ae7eeb7072ad6fbc25e3f8a34818945cc49d90a0e6ebc3d38dd4e70d3c60ba0a5cb42c4000bd8c15c947e5bc
|
DIST poppler-21.04.0.tar.xz 1694132 BLAKE2B 759a22b175ca8b64fa666d61e394cb7b6baa34a3dbc9c6cceb24c7ad4b0892ee34faea90278d9889d72d7b9558fc9abf52ab74fd739dc12e7314c3a755661350 SHA512 c3391787456e8a4a3bd6e57f96faa25051bb5e15ae7eeb7072ad6fbc25e3f8a34818945cc49d90a0e6ebc3d38dd4e70d3c60ba0a5cb42c4000bd8c15c947e5bc
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index 7178d25..934f38f 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -119,6 +119,18 @@ else(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} VERSIO
|
|
||||||
message("-- CMake >= 2.8.8 is needed to enable Qt5")
|
|
||||||
endif(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} VERSION_GREATER 2.8.7)
|
|
||||||
|
|
||||||
+#
|
|
||||||
+# Ugly workaround: Manually patch library paths for Qt4 and Qt5:
|
|
||||||
+#
|
|
||||||
+IF( "${CMAKE_CXX_FLAGS}" MATCHES "-m32")
|
|
||||||
+ GET_CMAKE_PROPERTY(_res VARIABLES)
|
|
||||||
+ FOREACH(_var ${_res})
|
|
||||||
+ IF(_var MATCHES "^QT" AND ${_var} MATCHES "lib64")
|
|
||||||
+ STRING(REPLACE "lib64" "lib32" ${_var} "${${_var}}")
|
|
||||||
+ ENDIF()
|
|
||||||
+ ENDFOREACH()
|
|
||||||
+ENDIF()
|
|
||||||
+
|
|
||||||
macro_optional_find_package(Cairo ${CAIRO_VERSION})
|
|
||||||
if(CAIRO_FOUND)
|
|
||||||
set(HAVE_CAIRO ${CAIRO_FOUND})
|
|
@ -1,29 +0,0 @@
|
|||||||
From af70882d85999b1912f9909f506ee7d22cc58ca7 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Johannes Huber <johu@gentoo.org>
|
|
||||||
Date: Fri, 6 Oct 2017 08:52:10 +0200
|
|
||||||
Subject: [PATCH] [Qt5] Drop unused dependencies
|
|
||||||
|
|
||||||
---
|
|
||||||
CMakeLists.txt | 6 ++----
|
|
||||||
1 file changed, 2 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index 7485b2ad..04327568 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -147,10 +147,8 @@ if (ENABLE_QT5)
|
|
||||||
find_package(Qt5Core)
|
|
||||||
find_package(Qt5Gui)
|
|
||||||
find_package(Qt5Xml)
|
|
||||||
- find_package(Qt5Widgets)
|
|
||||||
- find_package(Qt5Test)
|
|
||||||
- if (NOT (Qt5Core_FOUND AND Qt5Gui_FOUND AND Qt5Xml_FOUND AND Qt5Widgets_FOUND AND Qt5Test_FOUND))
|
|
||||||
- message("-- Package Qt5Core or Qt5Gui or Qt5Xml or Qt5Widgets or Qt5Test not found")
|
|
||||||
+ if (NOT (Qt5Core_FOUND AND Qt5Gui_FOUND AND Qt5Xml_FOUND))
|
|
||||||
+ message("-- Package Qt5Core or Qt5Gui or Qt5Xml not found")
|
|
||||||
set(ENABLE_QT5 OFF)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
--
|
|
||||||
2.14.2
|
|
||||||
|
|
@ -1,55 +0,0 @@
|
|||||||
--- poppler-0.61.0/cmake/modules/PopplerMacros.cmake
|
|
||||||
+++ poppler-0.61.0/cmake/modules/PopplerMacros.cmake
|
|
||||||
@@ -98,8 +98,6 @@
|
|
||||||
set(CMAKE_BUILD_TYPE RelWithDebInfo)
|
|
||||||
endif(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
|
||||||
|
|
||||||
-if(CMAKE_COMPILER_IS_GNUCXX)
|
|
||||||
- # set the default compile warnings
|
|
||||||
set(_warn "-Wall -Wextra -Wpedantic")
|
|
||||||
set(_warn "${_warn} -Wno-unused-parameter -Wno-missing-field-initializers")
|
|
||||||
set(_warn "${_warn} -Wcast-align")
|
|
||||||
@@ -124,39 +122,6 @@
|
|
||||||
set(DEFAULT_COMPILE_WARNINGS "${_warn}")
|
|
||||||
set(DEFAULT_COMPILE_WARNINGS_EXTRA "${_warn} ${_warnx}")
|
|
||||||
|
|
||||||
- set(_save_cxxflags "${CMAKE_CXX_FLAGS}")
|
|
||||||
- set(CMAKE_CXX_FLAGS "-fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE")
|
|
||||||
- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cxxflags}")
|
|
||||||
- set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cxxflags}")
|
|
||||||
- set(CMAKE_CXX_FLAGS_DEBUG "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline ${_save_cxxflags}")
|
|
||||||
- set(CMAKE_CXX_FLAGS_DEBUGFULL "-g3 -fno-inline ${_save_cxxflags}")
|
|
||||||
- set(CMAKE_CXX_FLAGS_PROFILE "-g3 -fno-inline -ftest-coverage -fprofile-arcs ${_save_cxxflags}")
|
|
||||||
- set(_save_cflags "${CMAKE_C_FLAGS}")
|
|
||||||
- set(CMAKE_C_FLAGS "-std=c99 -D_DEFAULT_SOURCE")
|
|
||||||
- set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cflags}")
|
|
||||||
- set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cflags}")
|
|
||||||
- set(CMAKE_C_FLAGS_DEBUG "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline ${_save_cflags}")
|
|
||||||
- set(CMAKE_C_FLAGS_DEBUGFULL "-g3 -fno-inline ${_save_cflags}")
|
|
||||||
- set(CMAKE_C_FLAGS_PROFILE "-g3 -fno-inline -ftest-coverage -fprofile-arcs ${_save_cflags}")
|
|
||||||
-
|
|
||||||
- poppler_check_link_flag("-Wl,--as-needed" GCC_HAS_AS_NEEDED)
|
|
||||||
- if(GCC_HAS_AS_NEEDED)
|
|
||||||
- set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--as-needed")
|
|
||||||
- set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--as-needed")
|
|
||||||
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--as-needed")
|
|
||||||
- endif(GCC_HAS_AS_NEEDED)
|
|
||||||
-endif (CMAKE_COMPILER_IS_GNUCXX)
|
|
||||||
-
|
|
||||||
-if(CMAKE_C_COMPILER MATCHES "icc")
|
|
||||||
- set(_save_cxxflags "${CMAKE_CXX_FLAGS}")
|
|
||||||
- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cxxflags}")
|
|
||||||
- set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cxxflags}")
|
|
||||||
- set(CMAKE_CXX_FLAGS_DEBUG "-O2 -g -0b0 -noalign ${_save_cxxflags}")
|
|
||||||
- set(CMAKE_CXX_FLAGS_DEBUGFULL "-g -Ob0 -noalign ${_save_cxxflags}")
|
|
||||||
- set(_save_cflags "${CMAKE_C_FLAGS}")
|
|
||||||
- set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cflags}")
|
|
||||||
- set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cflags}")
|
|
||||||
- set(CMAKE_C_FLAGS_DEBUG "-O2 -g -Ob0 -noalign ${_save_cflags}")
|
|
||||||
- set(CMAKE_C_FLAGS_DEBUGFULL "-g -Ob0 -noalign ${_save_cflags}")
|
|
||||||
-endif(CMAKE_C_COMPILER MATCHES "icc")
|
|
||||||
-
|
|
||||||
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Woverloaded-virtual")
|
|
||||||
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
|
|
||||||
+
|
|
||||||
\ Kein Zeilenumbruch am Dateiende.
|
|
@ -1,64 +0,0 @@
|
|||||||
From 083bc159ce35e21ab5bb942e91e98a95ce1f8f99 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Lars Wendler <polynomial-c@gentoo.org>
|
|
||||||
Date: Mon, 2 Nov 2020 14:30:22 +0100
|
|
||||||
Subject: [PATCH] build: respect cflags
|
|
||||||
|
|
||||||
---
|
|
||||||
cmake/modules/PopplerMacros.cmake | 41 -------------------------------
|
|
||||||
1 file changed, 41 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/cmake/modules/PopplerMacros.cmake b/cmake/modules/PopplerMacros.cmake
|
|
||||||
index 6e5f0050..1a3d0f9f 100644
|
|
||||||
--- a/cmake/modules/PopplerMacros.cmake
|
|
||||||
+++ b/cmake/modules/PopplerMacros.cmake
|
|
||||||
@@ -145,47 +145,6 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
|
||||||
endif(GCC_HAS_AS_NEEDED)
|
|
||||||
endif (CMAKE_COMPILER_IS_GNUCXX)
|
|
||||||
|
|
||||||
-if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
|
||||||
-# set the default compile warnings
|
|
||||||
- set(_warn "-Wall -Wextra -Wpedantic")
|
|
||||||
- set(_warn "${_warn} -Wno-unused-parameter")
|
|
||||||
- set(_warn "${_warn} -Wcast-align")
|
|
||||||
- set(_warn "${_warn} -Wformat-security")
|
|
||||||
- set(_warn "${_warn} -Wframe-larger-than=65536")
|
|
||||||
- set(_warn "${_warn} -Wmissing-format-attribute")
|
|
||||||
- set(_warn "${_warn} -Wnon-virtual-dtor")
|
|
||||||
- set(_warn "${_warn} -Woverloaded-virtual")
|
|
||||||
- set(_warn "${_warn} -Wmissing-declarations")
|
|
||||||
- set(_warn "${_warn} -Wundef")
|
|
||||||
- set(_warn "${_warn} -Wzero-as-null-pointer-constant")
|
|
||||||
- set(_warn "${_warn} -Wshadow")
|
|
||||||
- set(_warn "${_warn} -Wweak-vtables")
|
|
||||||
-
|
|
||||||
- # set extra warnings
|
|
||||||
- set(_warnx "${_warnx} -Wconversion")
|
|
||||||
-
|
|
||||||
- set(DEFAULT_COMPILE_WARNINGS "${_warn}")
|
|
||||||
- set(DEFAULT_COMPILE_WARNINGS_EXTRA "${_warn} ${_warnx}")
|
|
||||||
-
|
|
||||||
- set(_save_cxxflags "${CMAKE_CXX_FLAGS}")
|
|
||||||
- set(CMAKE_CXX_FLAGS "-fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE")
|
|
||||||
- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cxxflags}")
|
|
||||||
- set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cxxflags}")
|
|
||||||
- # clang does not support -fno-reorder-blocks -fno-schedule-insns, so do not use -O2
|
|
||||||
- set(CMAKE_CXX_FLAGS_DEBUG "-g ${_save_cxxflags}")
|
|
||||||
- set(CMAKE_CXX_FLAGS_DEBUGFULL "-g3 -fno-inline ${_save_cxxflags}")
|
|
||||||
- set(CMAKE_CXX_FLAGS_PROFILE "-g3 -fno-inline -ftest-coverage -fprofile-arcs ${_save_cxxflags}")
|
|
||||||
- set(_save_cflags "${CMAKE_C_FLAGS}")
|
|
||||||
- set(CMAKE_C_FLAGS "-std=c99 -D_DEFAULT_SOURCE")
|
|
||||||
- set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cflags}")
|
|
||||||
- set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cflags}")
|
|
||||||
- # clang does not support -fno-reorder-blocks -fno-schedule-insns, so do not use -O2
|
|
||||||
- set(CMAKE_C_FLAGS_DEBUG "-g ${_save_cflags}")
|
|
||||||
- set(CMAKE_C_FLAGS_DEBUGFULL "-g3 -fno-inline ${_save_cflags}")
|
|
||||||
- set(CMAKE_C_FLAGS_PROFILE "-g3 -fno-inline -ftest-coverage -fprofile-arcs ${_save_cflags}")
|
|
||||||
-
|
|
||||||
-endif()
|
|
||||||
-
|
|
||||||
if(CMAKE_C_COMPILER MATCHES "icc")
|
|
||||||
set(_save_cxxflags "${CMAKE_CXX_FLAGS}")
|
|
||||||
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cxxflags}")
|
|
||||||
--
|
|
||||||
2.29.2
|
|
||||||
|
|
@ -1,124 +0,0 @@
|
|||||||
# Copyright 2005-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit cmake toolchain-funcs xdg-utils
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/poppler/poppler.git"
|
|
||||||
SLOT="0/9999"
|
|
||||||
else
|
|
||||||
SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
SLOT="0/104" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
|
||||||
HOMEPAGE="https://poppler.freedesktop.org/"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
IUSE="cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils"
|
|
||||||
|
|
||||||
# No test data provided
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
dev-util/glib-utils
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype
|
|
||||||
sys-libs/zlib
|
|
||||||
cairo? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
x11-libs/cairo
|
|
||||||
introspection? ( dev-libs/gobject-introspection:= )
|
|
||||||
)
|
|
||||||
curl? ( net-misc/curl )
|
|
||||||
jpeg? ( virtual/jpeg:0 )
|
|
||||||
jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= )
|
|
||||||
lcms? ( media-libs/lcms:2 )
|
|
||||||
nss? ( >=dev-libs/nss-3.19:0 )
|
|
||||||
png? ( media-libs/libpng:0= )
|
|
||||||
qt5? (
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5
|
|
||||||
dev-qt/qtxml:5
|
|
||||||
)
|
|
||||||
tiff? ( media-libs/tiff:0 )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
cjk? ( app-text/poppler-data )
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=( AUTHORS NEWS README.md README-XPDF )
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-0.60.1-qt5-dependencies.patch"
|
|
||||||
"${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch"
|
|
||||||
"${FILESDIR}/${PN}-20.11.0-respect-cflags.patch"
|
|
||||||
"${FILESDIR}/${PN}-0.61.0-respect-cflags.patch"
|
|
||||||
"${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake_src_prepare
|
|
||||||
|
|
||||||
# Clang doesn't grok this flag, the configure nicely tests that, but
|
|
||||||
# cmake just uses it, so remove it if we use clang
|
|
||||||
if [[ ${CC} == clang ]] ; then
|
|
||||||
sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
|
|
||||||
sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
|
|
||||||
-i CMakeLists.txt || die
|
|
||||||
else
|
|
||||||
einfo "policy(SET CMP0002 OLD) - workaround can be removed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
xdg_environment_reset
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DBUILD_GTK_TESTS=OFF
|
|
||||||
-DBUILD_QT5_TESTS=OFF
|
|
||||||
-DBUILD_CPP_TESTS=OFF
|
|
||||||
-DRUN_GPERF_IF_PRESENT=OFF
|
|
||||||
-DENABLE_SPLASH=ON
|
|
||||||
-DENABLE_ZLIB=ON
|
|
||||||
-DENABLE_ZLIB_UNCOMPRESS=OFF
|
|
||||||
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON
|
|
||||||
-DUSE_FLOAT=OFF
|
|
||||||
-DWITH_Cairo=$(usex cairo)
|
|
||||||
-DENABLE_LIBCURL=$(usex curl)
|
|
||||||
-DENABLE_CPP=$(usex cxx)
|
|
||||||
-DWITH_JPEG=$(usex jpeg)
|
|
||||||
-DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
|
|
||||||
-DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
|
|
||||||
-DENABLE_CMS=$(usex lcms lcms2 none)
|
|
||||||
-DWITH_NSS3=$(usex nss)
|
|
||||||
-DWITH_PNG=$(usex png)
|
|
||||||
$(cmake_use_find_package qt5 Qt5Core)
|
|
||||||
-DWITH_TIFF=$(usex tiff)
|
|
||||||
-DENABLE_UTILS=$(usex utils)
|
|
||||||
-DENABLE_QT6=OFF
|
|
||||||
)
|
|
||||||
use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
|
|
||||||
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake_src_install
|
|
||||||
|
|
||||||
# live version doesn't provide html documentation
|
|
||||||
if use cairo && use doc && [[ ${PV} != *9999* ]]; then
|
|
||||||
# For now install gtk-doc there
|
|
||||||
insinto /usr/share/gtk-doc/html/poppler
|
|
||||||
doins -r "${S}"/glib/reference/html/*
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,8 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<maintainer type="person">
|
||||||
<use>
|
<email>sam@gentoo.org</email>
|
||||||
<flag name="text">Support conversion from XML to plain text</flag>
|
<name>Sam James</name>
|
||||||
</use>
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="text">Support conversion from XML to plain text</flag>
|
||||||
|
</use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
JAVA_PKG_IUSE="doc examples source test"
|
|
||||||
|
|
||||||
inherit java-pkg-2 java-ant-2
|
|
||||||
|
|
||||||
DESCRIPTION="cglib is a powerful, high performance and quality Code Generation Library"
|
|
||||||
HOMEPAGE="https://github.com/cglib/cglib"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.jar"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="3"
|
|
||||||
KEYWORDS="amd64 ~arm64 ppc64 x86"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
COMMON_DEP="dev-java/asm:4
|
|
||||||
dev-java/ant-core:0"
|
|
||||||
RDEPEND=">=virtual/jre-1.6
|
|
||||||
${COMMON_DEP}"
|
|
||||||
DEPEND=">=virtual/jdk-1.6
|
|
||||||
test? ( dev-java/junit:4 )
|
|
||||||
${COMMON_DEP}"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
|
||||||
EANT_GENTOO_CLASSPATH="asm-4 ant-core"
|
|
||||||
|
|
||||||
java_prepare() {
|
|
||||||
find . -iname '*.jar' -delete || die
|
|
||||||
|
|
||||||
# Get rid of some parts in XML.
|
|
||||||
epatch "${FILESDIR}"/${P}-build.xml.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
java-pkg_newjar dist/${P}.jar ${PN}.jar
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
java-pkg_dojavadoc docs
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use source; then
|
|
||||||
java-pkg_dosrc src/proxy/net
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
java-pkg_doexamples --subdir samples src/proxy/samples
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
java-pkg-2_src_test
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
--- build.xml.orig 2015-04-11 20:26:25.459688628 +0200
|
|
||||||
+++ build.xml 2015-04-11 20:28:41.930026892 +0200
|
|
||||||
@@ -73,7 +73,7 @@
|
|
||||||
<target depends="prepare" description="Compile shareable components"
|
|
||||||
name="compile">
|
|
||||||
<javac debug="${compile.debug}" deprecation="${compile.deprecation}" destdir="${build.home}/classes" optimize="${compile.optimize}" srcdir="${source.home}"
|
|
||||||
- target="${compile.target}" bootclasspath="${compile.bootclasspath}" extdirs="${compile.extdirs}" source="${compile.source}">
|
|
||||||
+ target="${compile.target}" extdirs="${compile.extdirs}" source="${compile.source}">
|
|
||||||
<classpath refid="compile.classpath"/>
|
|
||||||
<compilerarg compiler="jikes" value="-nowarn"/>
|
|
||||||
</javac>
|
|
||||||
@@ -123,15 +123,6 @@
|
|
||||||
<include name="**/*"/>
|
|
||||||
<exclude name="samples/**" />
|
|
||||||
</jar>
|
|
||||||
-
|
|
||||||
- <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpathref="compile.classpath"/>
|
|
||||||
- <jarjar basedir="${build.home}/classes" jarfile="${dist.home}/${component.name}-nodep-${component.version}.jar" >
|
|
||||||
- <zipfileset dir="lib" includes="asm*.txt"/>
|
|
||||||
- <zipfileset src="lib/asm-4.2.jar" excludes="META-INF"/>
|
|
||||||
- <rule pattern="org.objectweb.asm.**" result="net.sf.cglib.asm.@1"/>
|
|
||||||
- <include name="**/*"/>
|
|
||||||
- <exclude name="samples/**"/>
|
|
||||||
- </jarjar>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target depends="compile,javadoc" description="Create docs and source distribution" name="srcjar">
|
|
||||||
@@ -246,7 +237,7 @@
|
|
||||||
<!-- <jvmarg value="-verbose:class"/> -->
|
|
||||||
<!-- <jvmarg value="-Xprof"/> -->
|
|
||||||
<!-- <jvmarg value="-server"/> -->
|
|
||||||
- <!-- <sysproperty key="cglib.debugLocation" value="debug"/> -->
|
|
||||||
+ <sysproperty key="cglib.debugLocation" value="debug"/>
|
|
||||||
<!-- <jvmarg value="-Djava.security.policy==java.policy" /> -->
|
|
||||||
<!-- <jvmarg value="-Djava.security.manager" /> -->
|
|
||||||
|
|
@ -1 +1,2 @@
|
|||||||
|
DIST asomov-snakeyaml-b28f0b4d87c6.tar.gz 397832 BLAKE2B 054c228cd739e0d7ae89227cba7ae1aba76e5b6a7aae4915a765816d916ab3a47e80d6c2795a5e9bcaee96a70c1751fb9e67523e7faed2db5a6d2123d773d04a SHA512 2d19aee8c3aef2c4c300382451c1241dd2452180fe28c39eb9fe1bbc9d6c615bb8504535d3cf1cf5fe2ad55def8c43b709e8ecd97f760403cfaee7db977f074c
|
||||||
DIST snakeyaml-1.16.tar.bz2 234954 BLAKE2B dea06c3501ceab4e92b4d125dc882ce7b7773d67ac5526fdf39fafb421f339fe892cfd3f8e80e413aa080fecbc94425842ccabd099d97e1c705eab7025c489e9 SHA512 77ef0b1fa2ebe7ab1618745c407436ac6965159e29e1271b0d571006b967bcd94658eb3a8047180ea7c3160eb66ecbac1f24414537a24a81c11fb735ce65e3a4
|
DIST snakeyaml-1.16.tar.bz2 234954 BLAKE2B dea06c3501ceab4e92b4d125dc882ce7b7773d67ac5526fdf39fafb421f339fe892cfd3f8e80e413aa080fecbc94425842ccabd099d97e1c705eab7025c489e9 SHA512 77ef0b1fa2ebe7ab1618745c407436ac6965159e29e1271b0d571006b967bcd94658eb3a8047180ea7c3160eb66ecbac1f24414537a24a81c11fb735ce65e3a4
|
||||||
|
@ -0,0 +1,86 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# Skeleton command:
|
||||||
|
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://bitbucket.org/asomov/snakeyaml/get/snakeyaml-1.28.tar.gz --slot 0 --keywords "~amd64 ~x86" --ebuild snakeyaml-1.28-r1.ebuild
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
JAVA_PKG_IUSE="doc source test"
|
||||||
|
MAVEN_ID="org.yaml:snakeyaml:1.28"
|
||||||
|
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||||
|
|
||||||
|
inherit java-pkg-2 java-pkg-simple
|
||||||
|
|
||||||
|
MY_COMMIT="b28f0b4d87c6"
|
||||||
|
MY_P="asomov-snakeyaml-${MY_COMMIT}"
|
||||||
|
|
||||||
|
DESCRIPTION="YAML 1.1 parser and emitter for Java"
|
||||||
|
HOMEPAGE="https://bitbucket.org/asomov/snakeyaml"
|
||||||
|
SRC_URI="https://bitbucket.org/asomov/${PN}/get/${P}.tar.gz -> ${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
# Compile dependencies
|
||||||
|
# POM: pom.xml
|
||||||
|
# test? commons-io:commons-io:2.5 -> >=dev-java/commons-io-2.4:1
|
||||||
|
# test? joda-time:joda-time:2.10.1 -> >=dev-java/joda-time-2.10.10:0
|
||||||
|
# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.1:4
|
||||||
|
# test? org.apache.commons:commons-lang3:3.4 -> >=dev-java/commons-lang-3.4:3.4
|
||||||
|
# test? org.apache.velocity:velocity:1.6.2 -> >=dev-java/velocity-1.7:0
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=virtual/jdk-1.8:*
|
||||||
|
test? (
|
||||||
|
>=dev-java/commons-io-2.4:1
|
||||||
|
>=dev-java/commons-lang-3.4:3.4
|
||||||
|
>=dev-java/joda-time-2.10.10:0
|
||||||
|
>=dev-java/velocity-1.7:0
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=virtual/jre-1.8:*
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
JAVA_SRC_DIR="src/main/java"
|
||||||
|
|
||||||
|
JAVA_TEST_GENTOO_CLASSPATH="commons-io-1,joda-time,junit-4,commons-lang-3.4,velocity"
|
||||||
|
JAVA_TEST_SRC_DIR="src/test/java"
|
||||||
|
JAVA_TEST_RESOURCE_DIRS="src/test/resources"
|
||||||
|
|
||||||
|
JAVA_TEST_EXCLUDES=(
|
||||||
|
"examples.spring.TestEntityDescription" # Invalid test class
|
||||||
|
"org.yaml.snakeyaml.constructor.TestBean1" # Invalid test class
|
||||||
|
"org.yaml.snakeyaml.introspector.TestAnnotation" # Invalid test class
|
||||||
|
"org.yaml.snakeyaml.introspector.TestBean" # Invalid test class
|
||||||
|
"org.yaml.snakeyaml.ruby.TestObject" # Invalid test class
|
||||||
|
"org.yaml.snakeyaml.issues.issue154.TestBean" # Invalid test class
|
||||||
|
"org.yaml.snakeyaml.issues.issue193.TestYaml" # Invalid test class
|
||||||
|
|
||||||
|
# initializationError(org.yaml.snakeyaml.constructor.TestBean)
|
||||||
|
# java.lang.IllegalArgumentException: Test class can only have one constructor
|
||||||
|
"org.yaml.snakeyaml.constructor.TestBean"
|
||||||
|
|
||||||
|
# testTemplate1(org.yaml.snakeyaml.emitter.template.VelocityTest)
|
||||||
|
# java.lang.NullPointerException
|
||||||
|
"org.yaml.snakeyaml.emitter.template.VelocityTest"
|
||||||
|
|
||||||
|
# yamlClassInYAMLCL(org.yaml.snakeyaml.issues.issue318.ContextClassLoaderTest)
|
||||||
|
# java.lang.ClassNotFoundException: org.yaml.snakeyaml.Yaml
|
||||||
|
"org.yaml.snakeyaml.issues.issue318.ContextClassLoaderTest"
|
||||||
|
|
||||||
|
"examples.spring.TestEntity" # Invalid test class
|
||||||
|
|
||||||
|
"org.pyyaml.PyImportTest" # No tests found in org.pyyaml.PyImportTest
|
||||||
|
)
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
export EnvironmentKey1="EnvironmentValue1"
|
||||||
|
export EnvironmentEmpty=""
|
||||||
|
java-pkg-simple_src_test
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,350 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
WANT_LIBTOOL="none"
|
||||||
|
|
||||||
|
inherit autotools check-reqs flag-o-matic multiprocessing pax-utils \
|
||||||
|
python-utils-r1 toolchain-funcs verify-sig
|
||||||
|
|
||||||
|
MY_PV=${PV/_alpha/a}
|
||||||
|
MY_P="Python-${MY_PV%_p*}"
|
||||||
|
PYVER=$(ver_cut 1-2)
|
||||||
|
PATCHSET="python-gentoo-patches-${MY_PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
||||||
|
HOMEPAGE="https://www.python.org/"
|
||||||
|
SRC_URI="https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz
|
||||||
|
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
|
||||||
|
verify-sig? (
|
||||||
|
https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc
|
||||||
|
)"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
LICENSE="PSF-2"
|
||||||
|
SLOT="${PYVER}"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
IUSE="bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline +sqlite +ssl test tk wininst +xml"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
# Do not add a dependency on dev-lang/python to this ebuild.
|
||||||
|
# If you need to apply a patch which requires python for bootstrapping, please
|
||||||
|
# run the bootstrap code on your dev box and include the results in the
|
||||||
|
# patchset. See bug 447752.
|
||||||
|
|
||||||
|
RDEPEND="app-arch/bzip2:=
|
||||||
|
app-arch/xz-utils:=
|
||||||
|
dev-libs/libffi:=
|
||||||
|
sys-apps/util-linux:=
|
||||||
|
>=sys-libs/zlib-1.1.3:=
|
||||||
|
virtual/libcrypt:=
|
||||||
|
virtual/libintl
|
||||||
|
gdbm? ( sys-libs/gdbm:=[berkdb] )
|
||||||
|
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
||||||
|
readline? ( >=sys-libs/readline-4.1:= )
|
||||||
|
sqlite? ( >=dev-db/sqlite-3.3.8:3= )
|
||||||
|
ssl? (
|
||||||
|
!libressl? ( dev-libs/openssl:= )
|
||||||
|
libressl? ( dev-libs/libressl:= )
|
||||||
|
)
|
||||||
|
tk? (
|
||||||
|
>=dev-lang/tcl-8.0:=
|
||||||
|
>=dev-lang/tk-8.0:=
|
||||||
|
dev-tcltk/blt:=
|
||||||
|
dev-tcltk/tix
|
||||||
|
)
|
||||||
|
xml? ( >=dev-libs/expat-2.1:= )
|
||||||
|
!!<sys-apps/sandbox-2.21"
|
||||||
|
# bluetooth requires headers from bluez
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
bluetooth? ( net-wireless/bluez )
|
||||||
|
test? ( app-arch/xz-utils[extra-filters(+)] )"
|
||||||
|
# autoconf-archive needed to eautoreconf
|
||||||
|
BDEPEND="
|
||||||
|
sys-devel/autoconf-archive
|
||||||
|
virtual/pkgconfig
|
||||||
|
verify-sig? ( app-crypt/openpgp-keys-python )
|
||||||
|
!sys-devel/gcc[libffi(-)]"
|
||||||
|
PDEPEND="app-eselect/eselect-python"
|
||||||
|
RDEPEND+=" !build? ( app-misc/mime-types )"
|
||||||
|
|
||||||
|
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc
|
||||||
|
|
||||||
|
# large file tests involve a 2.5G file being copied (duplicated)
|
||||||
|
CHECKREQS_DISK_BUILD=5500M
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
use test && check-reqs_pkg_pretend
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use test && check-reqs_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if use verify-sig; then
|
||||||
|
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
|
||||||
|
fi
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Ensure that internal copies of expat, libffi and zlib are not used.
|
||||||
|
rm -fr Modules/expat || die
|
||||||
|
rm -fr Modules/_ctypes/libffi* || die
|
||||||
|
rm -fr Modules/zlib || die
|
||||||
|
|
||||||
|
local PATCHES=(
|
||||||
|
"${WORKDIR}/${PATCHSET}"
|
||||||
|
)
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
||||||
|
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
||||||
|
|
||||||
|
# force correct number of jobs
|
||||||
|
# https://bugs.gentoo.org/737660
|
||||||
|
local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
|
||||||
|
sed -i -e "s:-j0:-j${jobs}:" Makefile.pre.in || die
|
||||||
|
sed -i -e "/self\.parallel/s:True:${jobs}:" setup.py || die
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local disable
|
||||||
|
# disable automagic bluetooth headers detection
|
||||||
|
use bluetooth || export ac_cv_header_bluetooth_bluetooth_h=no
|
||||||
|
use gdbm || disable+=" gdbm"
|
||||||
|
use ncurses || disable+=" _curses _curses_panel"
|
||||||
|
use readline || disable+=" readline"
|
||||||
|
use sqlite || disable+=" _sqlite3"
|
||||||
|
use ssl || export PYTHON_DISABLE_SSL="1"
|
||||||
|
use tk || disable+=" _tkinter"
|
||||||
|
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
||||||
|
export PYTHON_DISABLE_MODULES="${disable}"
|
||||||
|
|
||||||
|
if ! use xml; then
|
||||||
|
ewarn "You have configured Python without XML support."
|
||||||
|
ewarn "This is NOT a recommended configuration as you"
|
||||||
|
ewarn "may face problems parsing any XML documents."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
||||||
|
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
||||||
|
append-flags -fwrapv
|
||||||
|
fi
|
||||||
|
|
||||||
|
filter-flags -malign-double
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
||||||
|
if is-flagq -O3; then
|
||||||
|
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
||||||
|
use hardened && replace-flags -O3 -O2
|
||||||
|
fi
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/700012
|
||||||
|
if is-flagq -flto || is-flagq '-flto=*'; then
|
||||||
|
append-cflags $(test-flags-CC -ffat-lto-objects)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
|
||||||
|
tc-export CXX
|
||||||
|
|
||||||
|
# Fix implicit declarations on cross and prefix builds. Bug #674070.
|
||||||
|
use ncurses && append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
|
||||||
|
|
||||||
|
local dbmliborder
|
||||||
|
if use gdbm; then
|
||||||
|
dbmliborder+="${dbmliborder:+:}gdbm"
|
||||||
|
fi
|
||||||
|
|
||||||
|
local myeconfargs=(
|
||||||
|
# glibc-2.30 removes it; since we can't cleanly force-rebuild
|
||||||
|
# Python on glibc upgrade, remove it proactively to give
|
||||||
|
# a chance for users rebuilding python before glibc
|
||||||
|
ac_cv_header_stropts_h=no
|
||||||
|
|
||||||
|
--enable-shared
|
||||||
|
--without-static-libpython
|
||||||
|
$(use_enable ipv6)
|
||||||
|
--infodir='${prefix}/share/info'
|
||||||
|
--mandir='${prefix}/share/man'
|
||||||
|
--with-computed-gotos
|
||||||
|
--with-dbmliborder="${dbmliborder}"
|
||||||
|
--with-libc=
|
||||||
|
--enable-loadable-sqlite-extensions
|
||||||
|
--without-ensurepip
|
||||||
|
--with-system-expat
|
||||||
|
--with-system-ffi
|
||||||
|
)
|
||||||
|
|
||||||
|
OPT="" econf "${myeconfargs[@]}"
|
||||||
|
|
||||||
|
if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
|
||||||
|
eerror "configure has detected that the sem_open function is broken."
|
||||||
|
eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
|
||||||
|
die "Broken sem_open function (bug 496328)"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# Ensure sed works as expected
|
||||||
|
# https://bugs.gentoo.org/594768
|
||||||
|
local -x LC_ALL=C
|
||||||
|
|
||||||
|
emake CPPFLAGS= CFLAGS= LDFLAGS=
|
||||||
|
|
||||||
|
# Work around bug 329499. See also bug 413751 and 457194.
|
||||||
|
if has_version dev-libs/libffi[pax_kernel]; then
|
||||||
|
pax-mark E python
|
||||||
|
else
|
||||||
|
pax-mark m python
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# Tests will not work when cross compiling.
|
||||||
|
if tc-is-cross-compiler; then
|
||||||
|
elog "Disabling tests due to crosscompiling."
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Skip failing tests.
|
||||||
|
local skipped_tests="gdb"
|
||||||
|
|
||||||
|
for test in ${skipped_tests}; do
|
||||||
|
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
||||||
|
done
|
||||||
|
|
||||||
|
# bug 660358
|
||||||
|
local -x COLUMNS=80
|
||||||
|
local -x PYTHONDONTWRITEBYTECODE=
|
||||||
|
# workaround https://bugs.gentoo.org/775416
|
||||||
|
addwrite /usr/lib/python3.10/site-packages
|
||||||
|
|
||||||
|
local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
|
||||||
|
|
||||||
|
emake test EXTRATESTOPTS="-u-network -j${jobs}" \
|
||||||
|
CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
|
||||||
|
local result=$?
|
||||||
|
|
||||||
|
for test in ${skipped_tests}; do
|
||||||
|
mv "${T}/test_${test}.py" "${S}"/Lib/test
|
||||||
|
done
|
||||||
|
|
||||||
|
elog "The following tests have been skipped:"
|
||||||
|
for test in ${skipped_tests}; do
|
||||||
|
elog "test_${test}.py"
|
||||||
|
done
|
||||||
|
|
||||||
|
elog "If you would like to run them, you may:"
|
||||||
|
elog "cd '${EPREFIX}/usr/lib/python${PYVER}/test'"
|
||||||
|
elog "and run the tests separately."
|
||||||
|
|
||||||
|
if [[ ${result} -ne 0 ]]; then
|
||||||
|
die "emake test failed"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local libdir=${ED}/usr/lib/python${PYVER}
|
||||||
|
|
||||||
|
emake DESTDIR="${D}" altinstall
|
||||||
|
|
||||||
|
sed \
|
||||||
|
-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
|
||||||
|
-e "s/\(PY_LDFLAGS=\).*/\1/" \
|
||||||
|
-i "${libdir}/config-${PYVER}"*/Makefile || die "sed failed"
|
||||||
|
|
||||||
|
# Fix collisions between different slots of Python.
|
||||||
|
rm "${ED}/usr/$(get_libdir)/libpython3.so" || die
|
||||||
|
|
||||||
|
# Cheap hack to get version with ABIFLAGS
|
||||||
|
local abiver=$(cd "${ED}/usr/include"; echo python*)
|
||||||
|
if [[ ${abiver} != python${PYVER} ]]; then
|
||||||
|
# Replace python3.X with a symlink to python3.Xm
|
||||||
|
rm "${ED}/usr/bin/python${PYVER}" || die
|
||||||
|
dosym "${abiver}" "/usr/bin/python${PYVER}"
|
||||||
|
# Create python3.X-config symlink
|
||||||
|
dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
|
||||||
|
# Create python-3.5m.pc symlink
|
||||||
|
dosym "python-${PYVER}.pc" "/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# python seems to get rebuilt in src_install (bug 569908)
|
||||||
|
# Work around it for now.
|
||||||
|
if has_version dev-libs/libffi[pax_kernel]; then
|
||||||
|
pax-mark E "${ED}/usr/bin/${abiver}"
|
||||||
|
else
|
||||||
|
pax-mark m "${ED}/usr/bin/${abiver}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
|
||||||
|
use tk || rm -r "${ED}/usr/bin/idle${PYVER}" "${libdir}/"{idlelib,tkinter,test/test_tk*} || die
|
||||||
|
|
||||||
|
dodoc Misc/{ACKS,HISTORY,NEWS}
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
docinto examples
|
||||||
|
find Tools -name __pycache__ -exec rm -fr {} + || die
|
||||||
|
dodoc -r Tools
|
||||||
|
fi
|
||||||
|
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
||||||
|
local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
|
||||||
|
emake --no-print-directory -s -f - 2>/dev/null)
|
||||||
|
newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
|
||||||
|
|
||||||
|
newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
|
||||||
|
newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
|
||||||
|
sed \
|
||||||
|
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
|
||||||
|
-e "s:@PYDOC@:pydoc${PYVER}:" \
|
||||||
|
-i "${ED}/etc/conf.d/pydoc-${PYVER}" \
|
||||||
|
"${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed"
|
||||||
|
|
||||||
|
local -x EPYTHON=python${PYVER}
|
||||||
|
# if not using a cross-compiler, use the fresh binary
|
||||||
|
if ! tc-is-cross-compiler; then
|
||||||
|
local -x PYTHON=./python
|
||||||
|
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${PWD}
|
||||||
|
else
|
||||||
|
local -x PYTHON=${EPREFIX}/usr/bin/${EPYTHON}
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
||||||
|
python_domodule epython.py
|
||||||
|
|
||||||
|
# python-exec wrapping support
|
||||||
|
local pymajor=${PYVER%.*}
|
||||||
|
local scriptdir=${D}$(python_get_scriptdir)
|
||||||
|
mkdir -p "${scriptdir}" || die
|
||||||
|
# python and pythonX
|
||||||
|
ln -s "../../../bin/${abiver}" \
|
||||||
|
"${scriptdir}/python${pymajor}" || die
|
||||||
|
ln -s "python${pymajor}" "${scriptdir}/python" || die
|
||||||
|
# python-config and pythonX-config
|
||||||
|
# note: we need to create a wrapper rather than symlinking it due
|
||||||
|
# to some random dirname(argv[0]) magic performed by python-config
|
||||||
|
cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die
|
||||||
|
#!/bin/sh
|
||||||
|
exec "${abiver}-config" "\${@}"
|
||||||
|
EOF
|
||||||
|
chmod +x "${scriptdir}/python${pymajor}-config" || die
|
||||||
|
ln -s "python${pymajor}-config" \
|
||||||
|
"${scriptdir}/python-config" || die
|
||||||
|
# 2to3, pydoc
|
||||||
|
ln -s "../../../bin/2to3-${PYVER}" \
|
||||||
|
"${scriptdir}/2to3" || die
|
||||||
|
ln -s "../../../bin/pydoc${PYVER}" \
|
||||||
|
"${scriptdir}/pydoc" || die
|
||||||
|
# idle
|
||||||
|
if use tk; then
|
||||||
|
ln -s "../../../bin/idle${PYVER}" \
|
||||||
|
"${scriptdir}/idle" || die
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -1,55 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
|
|
||||||
inherit python-r1 verify-sig
|
|
||||||
|
|
||||||
DESCRIPTION="Spell checking, hyphenation and morphological analysis tool for Finnish language"
|
|
||||||
HOMEPAGE="https://voikko.puimula.org/"
|
|
||||||
SRC_URI="https://www.puimula.org/voikko-sources/${PN}/${P}.tar.gz
|
|
||||||
verify-sig? ( https://www.puimula.org/voikko-sources/libvoikko/${P}.tar.gz.asc )"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
IUSE="+expvfst +hfst verify-sig"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
DEPEND="${PYTHON_DEPS}
|
|
||||||
hfst? ( >=dev-util/hfstospell-0.5.0 )"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
BDEPEND="verify-sig? ( app-crypt/openpgp-keys-voikko )"
|
|
||||||
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/voikko.asc
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}"/${P}-disable-wall-werror.patch )
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf=(
|
|
||||||
--prefix=/usr
|
|
||||||
--with-dictionary-path=/usr/share/voikko
|
|
||||||
$(use_enable expvfst)
|
|
||||||
)
|
|
||||||
|
|
||||||
if ! use hfst ; then
|
|
||||||
myconf+=( --disable-hfst )
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
python_setup
|
|
||||||
default
|
|
||||||
|
|
||||||
python_foreach_impl python_domodule python/libvoikko.py
|
|
||||||
|
|
||||||
find "${D}" -name '*.la' -delete -o -name '*.a' -delete || die
|
|
||||||
}
|
|
@ -1,2 +1,2 @@
|
|||||||
DIST plasma-wayland-protocols-1.1.1.tar.xz 38380 BLAKE2B 0dfeb13455932d0853084d87c8b385c7d4d51bf7de05325c0c26221dbb9c8966287146cbff6c4fe1ae45ce7bcb86bbb572852e53ca10c1aa8d00dcc012224f66 SHA512 82244fd9a6c25d8faa8aa64f57cb64ac8e589908cc3b0665ca9c8ce98bd42a8e9cae0f40484bacf3a05107c9e14613d1c9be80b363ba690d36c676ca62da8b9c
|
DIST plasma-wayland-protocols-1.1.1.tar.xz 38380 BLAKE2B 0dfeb13455932d0853084d87c8b385c7d4d51bf7de05325c0c26221dbb9c8966287146cbff6c4fe1ae45ce7bcb86bbb572852e53ca10c1aa8d00dcc012224f66 SHA512 82244fd9a6c25d8faa8aa64f57cb64ac8e589908cc3b0665ca9c8ce98bd42a8e9cae0f40484bacf3a05107c9e14613d1c9be80b363ba690d36c676ca62da8b9c
|
||||||
DIST plasma-wayland-protocols-1.2.0.tar.xz 38692 BLAKE2B d1d301160db714741d344932a6ae055ab59f1a850d11b3000dae3e615a072047dc6f123664f5fea3cf2a8e919c6f49617cce4161f9652e75d66e837595a102bc SHA512 a28a469e9bb895ca3660d6a0f1cc97638804a207c2e5cb450deca8a16d3f2f0ba9813fe66ccd0c97a262cdb532fffc1174bdb3f5c58e78b04e584b92e068e1d9
|
DIST plasma-wayland-protocols-v1.2.1.tar.xz 38716 BLAKE2B cf651ae6511ac8c2c00c71cc9d3cfd3f76132adc29d143cbd71fd0d22b5cebe221aeeff1db534e62515a297b07cbd6b705752a0da0498b12635455cfba8f06b0 SHA512 7c94ec6e1a6e47651ea3194a238b2a2e28452c541095c17b0d7cf240a939bebb854c2acbff1ca56cc5a737ba2c802bd04674c7a3b0be623e3bd4328741374306
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
From e4bc4e0d60484507d2808a8d271b7e0b3675f098 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Aleix Pol <aleixpol@kde.org>
|
|
||||||
Date: Sat, 27 Mar 2021 12:29:14 +0100
|
|
||||||
Subject: [PATCH] Bump version to 1.2.0
|
|
||||||
|
|
||||||
---
|
|
||||||
CMakeLists.txt | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index 32534c5c..0228c329 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
cmake_minimum_required(VERSION 3.5)
|
|
||||||
|
|
||||||
-project(PlasmaWaylandProtocols VERSION 1.1.1)
|
|
||||||
+project(PlasmaWaylandProtocols VERSION 1.2.0)
|
|
||||||
|
|
||||||
include(FeatureSummary)
|
|
||||||
include(CMakePackageConfigHelpers)
|
|
||||||
--
|
|
||||||
GitLab
|
|
||||||
|
|
@ -1 +1 @@
|
|||||||
DIST tree-sitter-0.19.4.tar.gz 2869774 BLAKE2B 4f39a565d12f2fa0cb3a68c2015fd83a3445e5951a2293e1b37ac6c98c430aaeb1e219d33b11691de2c198b0039dd2319df53ab3be8c136c25a744f1c355d48c SHA512 269a9022f11c153c2dc09446273cc65de3f4fbab7ce2c42605b1b41abc5c98368660f6f10a5fd2deb751d6b9f21cf52a4351fcfec21bd6459be681e16eb2efc0
|
DIST tree-sitter-0.19.4-r1.tar.gz 2869856 BLAKE2B ae010a66f5fd51175b474e1418d36965cea8ed87edb5d186c9a554cc2a193233046148ffd8f7764b61c166e75eb94866115d948b2a367a5e1140f5d41c9f8505 SHA512 cc6adba489f4bbf3348b24f6d0d4039ae8bd80164d6e6bd5ee313bea064ef978d43aa78f7294601f65a95501b4fa0a914af879fdc362e54f429ca2255f70ae2b
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
DIST userspace-rcu-0.11.1.tar.bz2 527799 BLAKE2B b81ab5b3fd23e5666d422c1f627bc3c2cd095770f4f054f5d0d4ea6bc0007f12a4c6b05446e179b7a33775f7603e3be8ebf2c844be77b47ed80305da208151ea SHA512 112f7be1b72edfbad61582bb9962e2cf3c83415d12886cecb8239ab3263d1d07310b097813ac206aa9d4622953099100f0f54375d5ba345a3c87159c4b27bdc3
|
DIST userspace-rcu-0.11.1.tar.bz2 527799 BLAKE2B b81ab5b3fd23e5666d422c1f627bc3c2cd095770f4f054f5d0d4ea6bc0007f12a4c6b05446e179b7a33775f7603e3be8ebf2c844be77b47ed80305da208151ea SHA512 112f7be1b72edfbad61582bb9962e2cf3c83415d12886cecb8239ab3263d1d07310b097813ac206aa9d4622953099100f0f54375d5ba345a3c87159c4b27bdc3
|
||||||
DIST userspace-rcu-0.12.1.tar.bz2 527626 BLAKE2B 56fcea0fb81573dc55a0a80064e92ea837efdbd8743879d599424b4f6b140c0e9b0a88ff9a42d9643fa25e914a5fc67e1a26e101c25aa5c67582caa5da4d746d SHA512 c0c14eede77358904dfb10774390fd86b4fa9e0ab25d278c869728d40eb263bfa7e489b20ce7198169e71d74fe41bb5018fc1553a5e0654840c9765e088c83db
|
|
||||||
DIST userspace-rcu-0.12.2.tar.bz2 529440 BLAKE2B 808cc088e0c16098e1b99bad00f599a01ed9b4a02ffccfe5b8020f56a616fc9af3e0c830f788c44d6c89fc1acdb444659ea6ac713736d38d226bdc5a1170f511 SHA512 97031a0b5fe30e75e54f50d2170fdb2618e6d9b526aa5f6fa53e59251a548dee95e85c909aafb3989175c7306a32fa9e104beb12adf0710f5f1eec924fa177aa
|
DIST userspace-rcu-0.12.2.tar.bz2 529440 BLAKE2B 808cc088e0c16098e1b99bad00f599a01ed9b4a02ffccfe5b8020f56a616fc9af3e0c830f788c44d6c89fc1acdb444659ea6ac713736d38d226bdc5a1170f511 SHA512 97031a0b5fe30e75e54f50d2170fdb2618e6d9b526aa5f6fa53e59251a548dee95e85c909aafb3989175c7306a32fa9e104beb12adf0710f5f1eec924fa177aa
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A pure-Python memory-efficient packed representation for bit arrays"
|
|
||||||
HOMEPAGE="https://engineering.purdue.edu/kak/dist/ https://pypi.org/project/BitVector/"
|
|
||||||
SRC_URI="https://engineering.purdue.edu/kak/dist/${P}.tar.gz"
|
|
||||||
LICENSE="PSF-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
"${PYTHON}" TestBitVector/Test.py || die "Tests fail with ${EPYTHON}"
|
|
||||||
}
|
|
@ -1,30 +0,0 @@
|
|||||||
# Copyright 2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="a Python package that generates fake data for you"
|
|
||||||
HOMEPAGE="https://github.com/joke2k/faker"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}]
|
|
||||||
!dev-ruby/faker"
|
|
||||||
DEPEND=""
|
|
||||||
BDEPEND="test? (
|
|
||||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
|
||||||
dev-python/random2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/validators[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
# Specific test dependency for one country post code tests
|
|
||||||
PATCHES=( "${FILESDIR}"/${PN}-5.6.5-ukposttest.patch )
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
@ -1,27 +0,0 @@
|
|||||||
# Copyright 2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="a Python package that generates fake data for you"
|
|
||||||
HOMEPAGE="https://github.com/joke2k/faker"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}]
|
|
||||||
!dev-ruby/faker"
|
|
||||||
DEPEND=""
|
|
||||||
BDEPEND="test? (
|
|
||||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
|
||||||
dev-python/random2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/validators[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright 2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A Python package that generates fake data for you"
|
|
||||||
HOMEPAGE="https://github.com/joke2k/faker"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}]
|
|
||||||
!dev-ruby/faker"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
|
||||||
dev-python/random2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/validators[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright 2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A Python package that generates fake data for you"
|
|
||||||
HOMEPAGE="https://github.com/joke2k/faker"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}]
|
|
||||||
!dev-ruby/faker"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
|
||||||
dev-python/random2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/validators[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright 2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A Python package that generates fake data for you"
|
|
||||||
HOMEPAGE="https://github.com/joke2k/faker"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}]
|
|
||||||
!dev-ruby/faker"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
|
||||||
dev-python/random2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/validators[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright 2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A Python package that generates fake data for you"
|
|
||||||
HOMEPAGE="https://github.com/joke2k/faker"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}]
|
|
||||||
!dev-ruby/faker"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
|
||||||
dev-python/random2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/validators[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
@ -1,8 +1,2 @@
|
|||||||
DIST Faker-5.6.5.tar.gz 1058615 BLAKE2B 2a730b79ca11a80b33f5249541e2de68e5c53832fcd06891ce2e074dbca8aa21c657147e55725d37954cb997a2b1854b5c853449e7d58a71358b69fd2a36584f SHA512 1806eded3534602eb5c463ad030564edfe7c663952e62e943b809dd5d7c4e485b26c612e45f481b6125f6462d48215df065f2d3f30df67ab19699b6386a65b7b
|
|
||||||
DIST Faker-6.4.1.tar.gz 1073921 BLAKE2B 1434375b8341ad3143e5977b26fd22af69aee2e30da92072937308341f22151764c8a72361c93112b5818dc9858e8e565ab2b45bd0fabc9e59613c1015e6ea63 SHA512 8ae2014b27f07b41afc67dc9a3d65e39f1073987c0c4bac6da5d625145e1d43783e4134bafdfe4e94035be9ff4367e5a19ab63635bf8ce7ff353a8745cf96269
|
|
||||||
DIST Faker-6.5.1.tar.gz 1074618 BLAKE2B dfcd80c170ae1f68c4eb541804b4f91c5c2821669e51d3231daa92c6b2818b30e6ff6a6328e5836f534a7d1ddd24d4b089adffc461e785642d7663088ba47251 SHA512 7681e9afa48f39c3a7dd41ef48e70025a4a225de3cbb6b8272279f353df7d4b956a2398ae0d84926fc1e72530accda4b2407e1b0cee116494bccfbaaf21bc38d
|
|
||||||
DIST Faker-6.6.0.tar.gz 1114719 BLAKE2B 2e3639eba6ad74784ef30e2e7e6aa8b9fdc61c1d64babb256994068e1f54133841225b6549b4edde3539c3888acdcacf3029fe7daa414fd1142e2c1df8ac201d SHA512 1e72fa5672e310ff846f0945481d60db3749d916b37cd4e267c8ca4ffc5a2eab067622f618e9b4c8bc704155be413424f197b5796a86975b86219556116e0d47
|
|
||||||
DIST Faker-6.6.1.tar.gz 1115484 BLAKE2B b5c99a61cf0937c10bf2eab0e34c51f38eb1aa7e87f47bbd8618874a24278bc7c2230acaffbea69f51cca760e3f3de73d32ccc487201c3bae7a544511aadac94 SHA512 a15c42291656d32f962ee50217e67cfd4038e39a6c4ba4cca6708d4ad9b4698a2b946d899e53968f4a9c2fee02c494ba756cbcc4014b16a8adeb73c83b9b428a
|
|
||||||
DIST Faker-6.6.2.tar.gz 1115505 BLAKE2B 40bc09cafa1dfdda05bbf6c78380c5c3c0de85157dae856251063b0f099e32a08009a223dff70e3b3c037d572e4249cfee942b8749f78bd52506191dc180a13c SHA512 b6b75fd1891644e49d47acacfab9e705540003f18a8df413683e7ff0a3fb1283ede9f6020b19aee1a242a4a002ac1a34713701f283aae2089ee52d84c00764f4
|
|
||||||
DIST Faker-6.6.3.tar.gz 1142318 BLAKE2B 7708b5fe576adee33bdd86076bd3bbf6ec785822183ac070ac8dad045e238291cb42367342b2d8ccb9bec4e36fda77680cfd08adedc7caf165e682d96ad833cf SHA512 d846e2a51f5b40d067abf4baa36aca3a8dfbaad585ca61c7146a33fb42e255a1a8ce173f74a379c5701b5aee02987bb89e0670287347ca866cacba93d0936dbf
|
|
||||||
DIST Faker-7.0.1.tar.gz 1143226 BLAKE2B 0c5db5c718cb9d32e3c87d44e7fa66c8cf89a99f69988935f94a64460852d6c1f1ccb6c069795a6ea807c8de067cc3808121da7e07d8fdb326e27cb345141c42 SHA512 9a1aefaacd727bbf2e94239620948900e8bd33d5c3fa9cc30814850433cc5bbd4392d1f1d9f2c51d10e77cd1645d2d6919254663b438a45a7e1694988c58ac92
|
DIST Faker-7.0.1.tar.gz 1143226 BLAKE2B 0c5db5c718cb9d32e3c87d44e7fa66c8cf89a99f69988935f94a64460852d6c1f1ccb6c069795a6ea807c8de067cc3808121da7e07d8fdb326e27cb345141c42 SHA512 9a1aefaacd727bbf2e94239620948900e8bd33d5c3fa9cc30814850433cc5bbd4392d1f1d9f2c51d10e77cd1645d2d6919254663b438a45a7e1694988c58ac92
|
||||||
|
DIST Faker-8.0.0.tar.gz 1143250 BLAKE2B 594b21ab72016cda550e27d53b032b4e7fffa2554ae81da7291f0d1ad1c63c54a5f849a5c528af1d8357d60bfc92235020c459cd025e0f5cda4b6fd4eab50320 SHA512 612ac59d2c88584243f9b7ff69c92d0dfb69394d419eedc18829641d53ebceca2ab5598a60500428453043a53c53d7716a1ac265ecc5e3a423fcbaa6d69f375e
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
diff -Naur Faker-5.6.5.orig/tests/providers/test_address.py Faker-5.6.5/tests/providers/test_address.py
|
|
||||||
--- Faker-5.6.5.orig/tests/providers/test_address.py 2021-01-20 16:16:43.000000000 +0100
|
|
||||||
+++ Faker-5.6.5/tests/providers/test_address.py 2021-01-23 10:12:35.826357768 +0100
|
|
||||||
@@ -4,8 +4,6 @@
|
|
||||||
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
-from ukpostcodeparser.parser import parse_uk_postcode
|
|
||||||
-
|
|
||||||
from faker.providers.address.cs_CZ import Provider as CsCzAddressProvider
|
|
||||||
from faker.providers.address.da_DK import Provider as DaDkAddressProvider
|
|
||||||
from faker.providers.address.de_AT import Provider as DeAtAddressProvider
|
|
||||||
@@ -377,20 +375,6 @@
|
|
||||||
assert re.fullmatch(r'(?:Apt\.|Suite) \d{3}', secondary_address)
|
|
||||||
|
|
||||||
|
|
||||||
-class TestEnGb:
|
|
||||||
- """Test en_GB address provider methods"""
|
|
||||||
-
|
|
||||||
- def test_postcode(self, faker, num_samples):
|
|
||||||
- for _ in range(num_samples):
|
|
||||||
- assert isinstance(parse_uk_postcode(faker.postcode()), tuple)
|
|
||||||
-
|
|
||||||
- def test_county(self, faker, num_samples):
|
|
||||||
- for _ in range(num_samples):
|
|
||||||
- county = faker.county()
|
|
||||||
- assert isinstance(county, str)
|
|
||||||
- assert county in EnGbAddressProvider.counties
|
|
||||||
-
|
|
||||||
-
|
|
||||||
class TestEnIe:
|
|
||||||
"""Test en_IE address provider methods"""
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue