parent
ead7d21638
commit
4b9dcfe326
Binary file not shown.
Binary file not shown.
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit bash-completion-r1 distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||||
|
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||||
|
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/aws-cli-${PV}"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
# botocore is x.(y+1).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||||
|
dev-python/colorama[${PYTHON_USEDEP}]
|
||||||
|
dev-python/docutils[${PYTHON_USEDEP}]
|
||||||
|
dev-python/rsa[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
# strip overzealous upper bounds on requirements
|
||||||
|
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
epytest tests/{functional,unit}
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
newbashcomp bin/aws_bash_completer aws
|
||||||
|
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
newins bin/aws_zsh_completer.sh _aws
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||||
|
}
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST honggfuzz-2.4.tar.gz 65224128 BLAKE2B b584b0f143fe64c8f64f134d7dc3116ec88232ec4a7b635d1cee2c8c5e7253524a8559c0b89fac11b67c1c3566891f189efc2201a1bf42410c78f211b2bc376e SHA512 bdb172e6e1f694ba8c200fb37ba84c4dd88875c9412fc26a45b7be302d234ac503c108eadb0c14fafbf8494ffaf70450975cf205e8a71b8b3b8902fdf455b4f6
|
DIST honggfuzz-2.4.tar.gz 65224128 BLAKE2B b584b0f143fe64c8f64f134d7dc3116ec88232ec4a7b635d1cee2c8c5e7253524a8559c0b89fac11b67c1c3566891f189efc2201a1bf42410c78f211b2bc376e SHA512 bdb172e6e1f694ba8c200fb37ba84c4dd88875c9412fc26a45b7be302d234ac503c108eadb0c14fafbf8494ffaf70450975cf205e8a71b8b3b8902fdf455b4f6
|
||||||
|
DIST honggfuzz-2.5.tar.gz 65224877 BLAKE2B 610a15a674cfa928eb4b4d9fda91e5494fe08be4b01857f390c36925872479c77b5424c06ed4df87ad791de29598d848d88eb5437d6f5f9bf9521ff67aaa5ded SHA512 d1ff23471372a3d9d62de768bda8beba0e75c49f9550bc106efb4ab49ea626c1ccc078f7a9950051a99fbc841615a81faae2c3b39270facd6c0064e28956c419
|
||||||
|
@ -0,0 +1,56 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="A general purpose fuzzer with feedback support"
|
||||||
|
HOMEPAGE="https://honggfuzz.dev/"
|
||||||
|
SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="clang"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=sys-libs/binutils-libs-2.29:=
|
||||||
|
sys-libs/libunwind:=
|
||||||
|
app-arch/xz-utils
|
||||||
|
clang? ( sys-libs/blocksruntime )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
elibc_musl? ( sys-libs/queue-standalone )"
|
||||||
|
|
||||||
|
DOCS=(
|
||||||
|
CHANGELOG
|
||||||
|
COPYING
|
||||||
|
CONTRIBUTING.md
|
||||||
|
README.md
|
||||||
|
)
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-2.0-no-werror.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
if tc-is-clang; then
|
||||||
|
use clang || die "${P}: to use clang enable USE=clang for ${P} (bug #729256)."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
tc-export AR CC
|
||||||
|
export CFLAGS
|
||||||
|
export LDFLAGS
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin ${PN}
|
||||||
|
dobin hfuzz_cc/hfuzz-cc
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
}
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST skrooge-2.26.1.tar.xz 22138584 BLAKE2B 15328406763c69a1a746dc099be815e8c49163c5e99e5d8c985a368b1d629759c519b261b2f06b27e83bb538f6ccbf4a2a2d25ca31262f0e407805639bab7d8d SHA512 03263689310e1c7538acdd133f7b6cfcd67c51a4d426ee4512609408c91968a1369f2ef09da851958c210b4399c706ad35af5b384fcea8ec7a25705a548ae537
|
DIST skrooge-2.26.1.tar.xz 22138584 BLAKE2B 15328406763c69a1a746dc099be815e8c49163c5e99e5d8c985a368b1d629759c519b261b2f06b27e83bb538f6ccbf4a2a2d25ca31262f0e407805639bab7d8d SHA512 03263689310e1c7538acdd133f7b6cfcd67c51a4d426ee4512609408c91968a1369f2ef09da851958c210b4399c706ad35af5b384fcea8ec7a25705a548ae537
|
||||||
|
DIST skrooge-2.27.0.tar.xz 22185204 BLAKE2B 803281a5a5c491d696a43e046d28d9e846a1c8fa3456a5f93da1a2697d6d3a3181311eff50a06fa0190a99561f72afababa0d623bd8b93b22b8704106c48a8ba SHA512 d97ecb852c212d880b2ffc441e1a31915318800c06c386773cf9845f88e7ff4c8cefc72508e5d6c46f6bd1fdd93c0e9f2d2249c3ed05a878fd843a0c6c358d51
|
||||||
|
@ -0,0 +1,99 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
ECM_HANDBOOK="optional"
|
||||||
|
ECM_TEST="forceoptional"
|
||||||
|
KFMIN=5.82.0
|
||||||
|
QTMIN=5.15.2
|
||||||
|
VIRTUALX_REQUIRED="test"
|
||||||
|
inherit ecm kde.org
|
||||||
|
|
||||||
|
DESCRIPTION="Personal finances manager, aiming at being simple and intuitive"
|
||||||
|
HOMEPAGE="https://skrooge.org/"
|
||||||
|
|
||||||
|
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||||
|
SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="5"
|
||||||
|
IUSE="activities kde ofx"
|
||||||
|
|
||||||
|
# hangs + installs files (also requires KF5DesignerPlugin)
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
>=app-crypt/qca-2.3.0:2
|
||||||
|
dev-db/sqlcipher
|
||||||
|
dev-libs/grantlee:5
|
||||||
|
>=dev-qt/qtconcurrent-${QTMIN}:5
|
||||||
|
>=dev-qt/qtdbus-${QTMIN}:5
|
||||||
|
>=dev-qt/qtdeclarative-${QTMIN}:5[widgets]
|
||||||
|
>=dev-qt/qtgui-${QTMIN}:5
|
||||||
|
>=dev-qt/qtnetwork-${QTMIN}:5
|
||||||
|
>=dev-qt/qtprintsupport-${QTMIN}:5
|
||||||
|
>=dev-qt/qtscript-${QTMIN}:5
|
||||||
|
>=dev-qt/qtsql-${QTMIN}:5=
|
||||||
|
>=dev-qt/qtsvg-${QTMIN}:5
|
||||||
|
>=dev-qt/qtwebengine-${QTMIN}:5[widgets]
|
||||||
|
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||||
|
>=dev-qt/qtxml-${QTMIN}:5
|
||||||
|
>=kde-frameworks/karchive-${KFMIN}:5
|
||||||
|
>=kde-frameworks/kcompletion-${KFMIN}:5
|
||||||
|
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||||
|
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
|
||||||
|
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||||
|
>=kde-frameworks/kdbusaddons-${KFMIN}:5
|
||||||
|
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||||
|
>=kde-frameworks/kiconthemes-${KFMIN}:5
|
||||||
|
>=kde-frameworks/kio-${KFMIN}:5
|
||||||
|
>=kde-frameworks/kitemviews-${KFMIN}:5
|
||||||
|
>=kde-frameworks/knewstuff-${KFMIN}:5
|
||||||
|
>=kde-frameworks/knotifications-${KFMIN}:5
|
||||||
|
>=kde-frameworks/knotifyconfig-${KFMIN}:5
|
||||||
|
>=kde-frameworks/kparts-${KFMIN}:5
|
||||||
|
>=kde-frameworks/kservice-${KFMIN}:5
|
||||||
|
>=kde-frameworks/ktextwidgets-${KFMIN}:5
|
||||||
|
>=kde-frameworks/kwallet-${KFMIN}:5
|
||||||
|
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
|
||||||
|
>=kde-frameworks/kxmlgui-${KFMIN}:5
|
||||||
|
activities? ( >=kde-frameworks/kactivities-${KFMIN}:5 )
|
||||||
|
kde? ( >=kde-frameworks/krunner-${KFMIN}:5 )
|
||||||
|
ofx? ( dev-libs/libofx:= )
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
>=kde-frameworks/kguiaddons-${KFMIN}:5
|
||||||
|
>=kde-frameworks/kjobwidgets-${KFMIN}:5
|
||||||
|
>=kde-frameworks/kwindowsystem-${KFMIN}:5
|
||||||
|
"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
>=dev-qt/qtquickcontrols-${QTMIN}:5
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
dev-libs/libxslt
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DSKG_WEBENGINE=ON
|
||||||
|
-DSKG_WEBKIT=OFF
|
||||||
|
-DSKG_DESIGNER=OFF
|
||||||
|
$(cmake_use_find_package activities KF5Activities)
|
||||||
|
$(cmake_use_find_package kde KF5Runner)
|
||||||
|
$(cmake_use_find_package ofx LibOfx)
|
||||||
|
-DSKG_BUILD_TEST=$(usex test)
|
||||||
|
)
|
||||||
|
|
||||||
|
ecm_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DSKG_BUILD_TEST=ON
|
||||||
|
)
|
||||||
|
ecm_src_test
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST gentoo-syntax-20211208.tar.bz2 18844 BLAKE2B 52e7025d46f5101f2e1c44afcbf3cba0756a1ec9c626f7af312bb5bbae518645c06c94bfc48822a721e2e3c1ed5f61376e88a074a9688cf4b5b3c352a99c87c9 SHA512 f1cfe2af440f7ed3042cbaa16558cb6df8038f439a2c3e7067f81751a37098854a3afb1653c7c3656ef85ad1874d2db9271429b92a25f494da6ee5c68819e631
|
DIST gentoo-syntax-20211208.tar.bz2 18844 BLAKE2B 52e7025d46f5101f2e1c44afcbf3cba0756a1ec9c626f7af312bb5bbae518645c06c94bfc48822a721e2e3c1ed5f61376e88a074a9688cf4b5b3c352a99c87c9 SHA512 f1cfe2af440f7ed3042cbaa16558cb6df8038f439a2c3e7067f81751a37098854a3afb1653c7c3656ef85ad1874d2db9271429b92a25f494da6ee5c68819e631
|
||||||
|
DIST gentoo-syntax-20220126.tar.bz2 19267 BLAKE2B c18f50e29f4aa75e4cc8d629b5086de3cef629b99454389bfe5eecbc61288e4344921360a2d64ea021be7f0269178e6348abf0d1481e0fc8b88e16a16fb73215 SHA512 bbedf2bf98eaf7b80abac2e6a66dcbba2f5024f1a4327535e5d956c4c034fa9be0395a36784a576caeaee81df27eb153687238388bfc2aeaf210498d8377c99d
|
||||||
|
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit vim-plugin
|
||||||
|
|
||||||
|
DESCRIPTION="vim plugin: Gentoo and Portage syntax highlighting"
|
||||||
|
HOMEPAGE="https://github.com/gentoo/gentoo-syntax"
|
||||||
|
SRC_URI="https://gitweb.gentoo.org/proj/gentoo-syntax.git/snapshot/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="vim"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="ignore-glep31"
|
||||||
|
|
||||||
|
VIM_PLUGIN_HELPFILES="gentoo-syntax"
|
||||||
|
VIM_PLUGIN_MESSAGES="filetype"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
if use ignore-glep31 ; then
|
||||||
|
for f in ftplugin/*.vim ; do
|
||||||
|
ebegin "Removing UTF-8 rules from ${f} ..."
|
||||||
|
sed -i -e 's~\(setlocal fileencoding=utf-8\)~" \1~' ${f} \
|
||||||
|
|| die "waah! bad sed voodoo. need more goats."
|
||||||
|
eend $?
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
vim-plugin_pkg_postinst
|
||||||
|
|
||||||
|
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||||
|
if use ignore-glep31 1>/dev/null ; then
|
||||||
|
ewarn "You have chosen to disable the rules which ensure GLEP 31"
|
||||||
|
ewarn "compliance. When editing ebuilds, please make sure you get"
|
||||||
|
ewarn "the character set correct."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST Catch-1.12.2.tar.gz 377265 BLAKE2B bc27b4daee950f8fb93d65f3aed032e72bc856ee27a8dc28c35b89e33f414d68ba4cf00951e476688eddf9e4c0514036bd6916fa6cfa9e3359e6c625984f114f SHA512 ed963cdca9fe307ee02928677f81cafcb41cd607faaa315182fdf898d0f2aa28f0be2141bd642f46fdfac400c38f6d065e00a595a1e5879fe2335c4a3851e844
|
DIST Catch-1.12.2.tar.gz 377265 BLAKE2B bc27b4daee950f8fb93d65f3aed032e72bc856ee27a8dc28c35b89e33f414d68ba4cf00951e476688eddf9e4c0514036bd6916fa6cfa9e3359e6c625984f114f SHA512 ed963cdca9fe307ee02928677f81cafcb41cd607faaa315182fdf898d0f2aa28f0be2141bd642f46fdfac400c38f6d065e00a595a1e5879fe2335c4a3851e844
|
||||||
DIST Catch2-2.13.6.tar.gz 659811 BLAKE2B d876c51589259ef9fa9640811c17049ee5f1559a2863d146b0d8f79e9531b3528db34bc23e4fee090436a92b430756442eee4820083e71225da0f24399131a73 SHA512 f63e240994b5982cf019a33b8999b62237cce174962f00437d64fd287b34f7217d066225d99322431ef60da67b025f36db703dab94b3d58bbd81095d98917278
|
|
||||||
DIST Catch2-2.13.7.tar.gz 661014 BLAKE2B 7d874832082db74895bfd696c409a77693ae68c456d1287acf965ec6884c323cd2f3bc4b9eecc3e8210d262a6da8e897dfef09ec035f8bed4d408a28e7147cc5 SHA512 1c3cbdecc6a3b59360a97789c4784d79d027e1b63bdc42b0e152c3272f7bad647fcd1490aa5caf67f968a6311dc9624b5a70d5eb3fbc1d5179d520e09b76c9ed
|
DIST Catch2-2.13.7.tar.gz 661014 BLAKE2B 7d874832082db74895bfd696c409a77693ae68c456d1287acf965ec6884c323cd2f3bc4b9eecc3e8210d262a6da8e897dfef09ec035f8bed4d408a28e7147cc5 SHA512 1c3cbdecc6a3b59360a97789c4784d79d027e1b63bdc42b0e152c3272f7bad647fcd1490aa5caf67f968a6311dc9624b5a70d5eb3fbc1d5179d520e09b76c9ed
|
||||||
|
DIST Catch2-2.13.8.tar.gz 661711 BLAKE2B 973cc73c1d158140645003e76c0baf85a65252041fdcae3c6ecb1857021f2d24d8e879fec5f00368f4f458e69b450603a1613ac587417725980f1dbfe3ff2e65 SHA512 68a45efa47beb3c85d2d7b8a8eba89b8ec1664b4a72bb223227fef1632778aeaf5cf5cc09f40e47aef50426c8661c7d6a69c2dab0b88fbbf7d9a6b2974d6e32e
|
||||||
|
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
DIST JAVAMAIL-1_6_2.tar.gz 1107140 BLAKE2B c0f84bad014af1146bc2bb7f4f58924edf8f6762c222f979d1fec787e8dc93861691cd95c23eb663924597277607d2ce5058c232ad1e8626ed2d0f1e17c34a98 SHA512 6c07490fabbcf5969a2d8946bd9f38187cd33b864985e8183f15d9e1ba1508e445f2050633d9054f9ad546fede7790e64d31956bf23eb2ff8dae45129bd43534
|
@ -0,0 +1,83 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# Skeleton command:
|
||||||
|
# java-ebuilder --generate-ebuild --workdir . --pom mail/pom.xml --download-uri https://github.com/javaee/javamail/archive/refs/tags/JAVAMAIL-1_6_2.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild oracle-javamail-1.6.2.ebuild
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
JAVA_PKG_IUSE="doc source test"
|
||||||
|
MAVEN_ID="com.sun.mail:javax.mail:1.6.2"
|
||||||
|
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||||
|
|
||||||
|
inherit java-pkg-2 java-pkg-simple
|
||||||
|
|
||||||
|
DESCRIPTION="JavaMail API"
|
||||||
|
HOMEPAGE="https://javaee.github.io/javamail/"
|
||||||
|
SRC_URI="https://github.com/javaee/javamail/archive/refs/tags/JAVAMAIL-${PV//./_}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="|| ( CDDL GPL-2-with-classpath-exception )"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||||
|
|
||||||
|
# No clue how to deal with ${S}/exclude.xml
|
||||||
|
# RESTRICT="test"
|
||||||
|
|
||||||
|
# Common dependencies
|
||||||
|
# POM: mail/pom.xml
|
||||||
|
# javax.activation:activation:1.1 -> !!!groupId-not-found!!!
|
||||||
|
|
||||||
|
CP_DEPEND="
|
||||||
|
dev-java/jakarta-activation-api:1
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="${CP_DEPEND}
|
||||||
|
>=virtual/jdk-1.8:*"
|
||||||
|
|
||||||
|
RDEPEND="${CP_DEPEND}
|
||||||
|
>=virtual/jre-1.8:*"
|
||||||
|
|
||||||
|
DOCS=( ../{LICENSE.txt,README.md} )
|
||||||
|
|
||||||
|
S="${WORKDIR}/javamail-JAVAMAIL-${PV//./_}/mail"
|
||||||
|
|
||||||
|
JAVA_ENCODING="iso-8859-1"
|
||||||
|
|
||||||
|
JAVA_SRC_DIR="src/main/java"
|
||||||
|
JAVA_RESOURCE_DIRS="src/main/resources"
|
||||||
|
|
||||||
|
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||||
|
JAVA_TEST_SRC_DIR="src/test/java"
|
||||||
|
JAVA_TEST_RESOURCE_DIRS="src/test/resources"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
mv src/main/{resources,java}/javax/mail/Version.java || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
pushd src/test/java || die
|
||||||
|
# Selection according to 201,202 pom.xml
|
||||||
|
local JAVA_TEST_RUN_ONLY=$(find * \
|
||||||
|
-name "*TestSuite.java" -o -name "*Test.java" \
|
||||||
|
! -name "MailHandlerTest.java" \
|
||||||
|
! -name "DurationFilterTest.java" \
|
||||||
|
! -name "CompactFormatterTest.java" \
|
||||||
|
! -name "CollectorFormatterTest.java" \
|
||||||
|
! -name "WriteTimeoutSocketTest.java" \
|
||||||
|
)
|
||||||
|
JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
|
||||||
|
JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
|
||||||
|
popd
|
||||||
|
|
||||||
|
# With higher Java versions tests run forever.
|
||||||
|
local vm_version="$(java-config -g PROVIDES_VERSION)"
|
||||||
|
if [[ "${vm_version}" == "1.8" ]] ; then
|
||||||
|
java-pkg-simple_src_test
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default # https://bugs.gentoo.org/789582
|
||||||
|
java-pkg-simple_src_install
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>java@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
DIST R-4.0.5.tar.gz 32466444 BLAKE2B 5dbbd289f4fd6347b4109eecaf65b50b5793a83edddd2cb391c20473607f136d91a8e9f4ab9e453f6927d2ca9145762920424e3a1dcea89309afde56efd5d32c SHA512 6ff5b0f9cb6b17f66cde1f5585d1b33659dbae8919d34c2e593f68a0bff4d0425aa9704d99284d103702a9cd42f613311f3a87af6b939b1af65dcec80bf2ca8c
|
DIST R-4.0.5.tar.gz 32466444 BLAKE2B 5dbbd289f4fd6347b4109eecaf65b50b5793a83edddd2cb391c20473607f136d91a8e9f4ab9e453f6927d2ca9145762920424e3a1dcea89309afde56efd5d32c SHA512 6ff5b0f9cb6b17f66cde1f5585d1b33659dbae8919d34c2e593f68a0bff4d0425aa9704d99284d103702a9cd42f613311f3a87af6b939b1af65dcec80bf2ca8c
|
||||||
DIST R-4.1.0.tar.gz 33714683 BLAKE2B 22ba966b5a29f153f3ce6cbc467e815c397e7c6aade0db62c7d2ae044056d9227da4dcb8fbf33e661548f4f434c328415e297c6b07b3932ef3f47358c2543f42 SHA512 41519bf06a1ebc2bb582e9a7c35d0e82e213312dec8147861a7f9b28ee750cd40dfbf02737602d05698641fcea6182b0da8131e83edacc358e98eca0a393b729
|
DIST R-4.1.0.tar.gz 33714683 BLAKE2B 22ba966b5a29f153f3ce6cbc467e815c397e7c6aade0db62c7d2ae044056d9227da4dcb8fbf33e661548f4f434c328415e297c6b07b3932ef3f47358c2543f42 SHA512 41519bf06a1ebc2bb582e9a7c35d0e82e213312dec8147861a7f9b28ee750cd40dfbf02737602d05698641fcea6182b0da8131e83edacc358e98eca0a393b729
|
||||||
|
DIST R-4.1.2.tar.gz 34009074 BLAKE2B 7ca14b28fc40548180dde979d57f93f41fb3966697d58f686cf63e24e4cbf2de8166240952e708fc94f97846cd57bbd559b4edb688500e1db2a6704de16f508c SHA512 657c7950a88f632f1bbb08dbd0b3fb485732a25d8bbcb8a7939a40b23c7a235fdb9b46c296acaa9f72eabebe96e270ecbdcd7970fc9d3a299e6687bea45f2d3f
|
||||||
DIST R-78d6830e28ea90a046da79a9b4f70c39594bb6d6.bash_completion 13596 BLAKE2B 53338e4a1c4f68beb69247216e553dbcac47f660fbf032bfebf7a660e32d2cff5b11ed35411c52de7e1fd6e00bbf5b5ea19369a325fa0a38bd93d63dc3288cbd SHA512 9ccd19bb1b0c18a2f13035ccd6809447429e197e298fb4d1df808ef345d723b42f75a1b91c349f6dbb46e4a82e59ef33e11300c495d79b63d670d0c0f2b16a06
|
DIST R-78d6830e28ea90a046da79a9b4f70c39594bb6d6.bash_completion 13596 BLAKE2B 53338e4a1c4f68beb69247216e553dbcac47f660fbf032bfebf7a660e32d2cff5b11ed35411c52de7e1fd6e00bbf5b5ea19369a325fa0a38bd93d63dc3288cbd SHA512 9ccd19bb1b0c18a2f13035ccd6809447429e197e298fb4d1df808ef345d723b42f75a1b91c349f6dbb46e4a82e59ef33e11300c495d79b63d670d0c0f2b16a06
|
||||||
|
@ -0,0 +1,248 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit bash-completion-r1 autotools flag-o-matic fortran-2 toolchain-funcs
|
||||||
|
|
||||||
|
# latest git commit for R bash completion: https://github.com/deepayan/rcompletion
|
||||||
|
BCPV=78d6830e28ea90a046da79a9b4f70c39594bb6d6
|
||||||
|
|
||||||
|
DESCRIPTION="Language and environment for statistical computing and graphics"
|
||||||
|
HOMEPAGE="https://www.r-project.org/"
|
||||||
|
SRC_URI="
|
||||||
|
mirror://cran/src/base/R-4/${P}.tar.gz
|
||||||
|
https://raw.githubusercontent.com/deepayan/rcompletion/${BCPV}/bash_completion/R -> ${PN}-${BCPV}.bash_completion"
|
||||||
|
|
||||||
|
LICENSE="|| ( GPL-2 GPL-3 ) LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="cairo doc icu java jpeg lapack lto minimal nls openmp perl png prefix profile readline test tiff tk X"
|
||||||
|
|
||||||
|
REQUIRED_USE="
|
||||||
|
png? ( || ( cairo X ) )
|
||||||
|
jpeg? ( || ( cairo X ) )
|
||||||
|
tiff? ( || ( cairo X ) )"
|
||||||
|
RESTRICT="
|
||||||
|
minimal? ( test )
|
||||||
|
!test? ( test )"
|
||||||
|
|
||||||
|
# At least one package installation in the test suite requires TeX,
|
||||||
|
# and will fail without it (bug #718056).
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
doc? (
|
||||||
|
virtual/latex-base
|
||||||
|
dev-texlive/texlive-fontsrecommended
|
||||||
|
)
|
||||||
|
test? ( virtual/latex-base )"
|
||||||
|
DEPEND="
|
||||||
|
app-arch/bzip2
|
||||||
|
app-arch/xz-utils
|
||||||
|
app-text/ghostscript-gpl
|
||||||
|
dev-libs/libpcre2:=
|
||||||
|
net-libs/libtirpc
|
||||||
|
net-misc/curl
|
||||||
|
virtual/blas
|
||||||
|
sys-libs/zlib[minizip]
|
||||||
|
|| (
|
||||||
|
sys-apps/coreutils
|
||||||
|
app-misc/realpath
|
||||||
|
)
|
||||||
|
cairo? (
|
||||||
|
x11-libs/cairo:=[X=]
|
||||||
|
x11-libs/pango:=
|
||||||
|
)
|
||||||
|
icu? ( dev-libs/icu:= )
|
||||||
|
jpeg? ( virtual/jpeg )
|
||||||
|
lapack? ( virtual/lapack )
|
||||||
|
perl? ( dev-lang/perl )
|
||||||
|
png? ( media-libs/libpng:= )
|
||||||
|
readline? ( sys-libs/readline:= )
|
||||||
|
tiff? ( media-libs/tiff:= )
|
||||||
|
tk? ( dev-lang/tk:= )
|
||||||
|
X? (
|
||||||
|
x11-libs/libXmu
|
||||||
|
x11-libs/libXt
|
||||||
|
x11-misc/xdg-utils
|
||||||
|
)"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
java? ( >=virtual/jre-1.8:* )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-3.4.1-parallel.patch
|
||||||
|
"${FILESDIR}"/${PN}-3.4.1-rmath-shared.patch
|
||||||
|
"${FILESDIR}"/${PN}-3.6.2-no-LDFLAGS-in-libR-pkg-config.patch
|
||||||
|
"${FILESDIR}"/${PN}-3.6.2-no-gzip-doc.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if [[ ${MERGE_TYPE} != binary ]] && use openmp; then
|
||||||
|
tc-check-openmp
|
||||||
|
FORTRAN_NEED_OPENMP=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
fortran-2_pkg_setup
|
||||||
|
|
||||||
|
# avoid using existing R installation
|
||||||
|
unset R_HOME
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# fix packages.html for doc (gentoo bug #205103)
|
||||||
|
sed -e "s:../../../library:../../../../$(get_libdir)/R/library:g" \
|
||||||
|
-i src/library/tools/R/Rd.R || die
|
||||||
|
|
||||||
|
# fix Rscript path when installed (gentoo bug #221061)
|
||||||
|
sed -e "s:-DR_HOME='\"\$(rhome)\"':-DR_HOME='\"${EPREFIX}/usr/$(get_libdir)/${PN}\"':" \
|
||||||
|
-i src/unix/Makefile.in || die "sed unix Makefile failed"
|
||||||
|
|
||||||
|
# fix HTML links to manual (gentoo bug #273957)
|
||||||
|
sed -e 's:\.\./manual/:manual/:g' \
|
||||||
|
-i $(grep -Flr ../manual/ doc) || die "sed for HTML links failed"
|
||||||
|
|
||||||
|
use lapack && \
|
||||||
|
export LAPACK_LIBS="$($(tc-getPKG_CONFIG) --libs lapack)"
|
||||||
|
|
||||||
|
if use X; then
|
||||||
|
export R_BROWSER="$(type -p xdg-open)"
|
||||||
|
export R_PDFVIEWER="$(type -p xdg-open)"
|
||||||
|
fi
|
||||||
|
use perl && \
|
||||||
|
export PERL5LIB="${S}/share/perl:${PERL5LIB:+:}${PERL5LIB}"
|
||||||
|
|
||||||
|
# don't search /usr/local
|
||||||
|
sed -i -e '/FLAGS=.*\/local\//c\: # removed by ebuild' configure.ac || die
|
||||||
|
|
||||||
|
# Fix for Darwin (macOS)
|
||||||
|
if use prefix; then
|
||||||
|
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||||
|
sed -e 's:-install_name libR.dylib:-install_name ${libdir}/R/lib/libR.dylib:' \
|
||||||
|
-e 's:-install_name libRlapack.dylib:-install_name ${libdir}/R/lib/libRlapack.dylib:' \
|
||||||
|
-e 's:-install_name libRblas.dylib:-install_name ${libdir}/R/lib/libRblas.dylib:' \
|
||||||
|
-e "/SHLIB_EXT/s/\.so/.dylib/" \
|
||||||
|
-i configure.ac || die
|
||||||
|
# sort of "undo" 2.14.1-rmath-shared.patch
|
||||||
|
sed -e "s:-Wl,-soname=libRmath.so:-install_name ${EPREFIX}/usr/$(get_libdir)/libRmath.dylib:" \
|
||||||
|
-i src/nmath/standalone/Makefile.in || die
|
||||||
|
else
|
||||||
|
append-ldflags -Wl,-rpath="${EPREFIX}/usr/$(get_libdir)/R/lib"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
AT_M4DIR=m4 eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
filter-ldflags -Wl,-Bdirect -Bdirect
|
||||||
|
|
||||||
|
# --with-system-tre \
|
||||||
|
# tre is patched from upstream
|
||||||
|
econf \
|
||||||
|
--enable-byte-compiled-packages \
|
||||||
|
--enable-R-shlib \
|
||||||
|
--disable-R-framework \
|
||||||
|
--disable-R-static-lib \
|
||||||
|
--with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
|
||||||
|
rdocdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||||
|
$(use_enable java) \
|
||||||
|
$(use_enable lto lto R) \
|
||||||
|
$(use_enable nls) \
|
||||||
|
$(use_enable openmp) \
|
||||||
|
$(use_enable profile R-profiling) \
|
||||||
|
$(use_enable profile memory-profiling) \
|
||||||
|
$(use_with cairo) \
|
||||||
|
$(use_with icu ICU) \
|
||||||
|
$(use_with jpeg jpeglib) \
|
||||||
|
$(use_with lapack) \
|
||||||
|
$(use_with !minimal recommended-packages) \
|
||||||
|
$(use_with png libpng) \
|
||||||
|
$(use_with readline) \
|
||||||
|
$(use_with tiff libtiff) \
|
||||||
|
$(use_with tk tcltk) \
|
||||||
|
$(use_with tk tk-config "${ESYSROOT}"/usr/$(get_libdir)/tkConfig.sh) \
|
||||||
|
$(use_with tk tcl-config "${ESYSROOT}"/usr/$(get_libdir)/tclConfig.sh) \
|
||||||
|
$(use_with X x)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export VARTEXFONTS="${T}"/fonts
|
||||||
|
emake AR="$(tc-getAR)"
|
||||||
|
emake -C src/nmath/standalone shared AR="$(tc-getAR)"
|
||||||
|
use doc && emake info pdf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
emake -j1 -C src/nmath/standalone DESTDIR="${D}" install
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
emake DESTDIR="${D}" install-info install-pdf
|
||||||
|
dosym ../manual /usr/share/doc/${PF}/html/manual
|
||||||
|
fi
|
||||||
|
|
||||||
|
newenvd - 99R <<-_EOF_
|
||||||
|
LDPATH=${EPREFIX}/usr/$(get_libdir)/${PN}/lib
|
||||||
|
R_HOME=${EPREFIX}/usr/$(get_libdir)/${PN}
|
||||||
|
_EOF_
|
||||||
|
|
||||||
|
newbashcomp "${DISTDIR}"/${PN}-${BCPV}.bash_completion ${PN}
|
||||||
|
# The buildsystem has a different understanding of install_names than
|
||||||
|
# we require. Since it builds modules like shared objects (wrong), many
|
||||||
|
# objects (all modules) get an incorrect install_name. Fixing the build
|
||||||
|
# system here is not really trivial.
|
||||||
|
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||||
|
local mod
|
||||||
|
pushd "${ED}"/usr/$(get_libdir)/R >/dev/null || die
|
||||||
|
for mod in $(find . -name "*.dylib") ; do
|
||||||
|
mod=${mod#./}
|
||||||
|
install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/R/${mod}" \
|
||||||
|
"${mod}"
|
||||||
|
done
|
||||||
|
popd >/dev/null || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Users are encouraged to access some of the the R documentation
|
||||||
|
# interactively, through functions like "contributors()" that
|
||||||
|
# tries to open the "AUTHORS" file. Other files can be accessed
|
||||||
|
# by name with RShowDoc(), and the documentation for e.g. license()
|
||||||
|
# and RShowDoc() suggests a few of these names. Here we try to
|
||||||
|
# collect as many names as possible that a user might actually
|
||||||
|
# try to view through R, because if we don't decompress them,
|
||||||
|
# then R doesn't know what to do with 'em. Bug #556706.
|
||||||
|
local INTERACTIVE_DOCS=(
|
||||||
|
AUTHORS
|
||||||
|
COPYING
|
||||||
|
FAQ
|
||||||
|
NEWS
|
||||||
|
THANKS
|
||||||
|
)
|
||||||
|
|
||||||
|
# Other data sources that are shipped as "documentation," but which
|
||||||
|
# need to be accessible via their original unmolested filenames.
|
||||||
|
local INTERACTIVE_DATA=(
|
||||||
|
BioC_mirrors.csv
|
||||||
|
CRAN_mirrors.csv
|
||||||
|
KEYWORDS.db
|
||||||
|
NEWS.rds
|
||||||
|
)
|
||||||
|
|
||||||
|
local f NOCOMPRESS_DOCS=( "${INTERACTIVE_DOCS[@]}" "${INTERACTIVE_DATA[@]}" )
|
||||||
|
|
||||||
|
for f in "${NOCOMPRESS_DOCS[@]}"; do
|
||||||
|
docompress -x "/usr/share/doc/${PF}/${f}"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if use java; then
|
||||||
|
einfo "Re-initializing java paths for ${P}"
|
||||||
|
R CMD javareconf
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,93 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
# TODO: vim-plugin, although it's not clear how to make it work here
|
||||||
|
inherit elisp-common dune
|
||||||
|
|
||||||
|
DESCRIPTION="Context sensitive completion for OCaml in Vim and Emacs"
|
||||||
|
HOMEPAGE="https://github.com/ocaml/merlin"
|
||||||
|
SRC_URI="https://github.com/ocaml/merlin/releases/download/v${PV}-411/${P}-411.tbz
|
||||||
|
https://github.com/ocaml/merlin/releases/download/v${PV}-412/${P}-412.tbz
|
||||||
|
https://github.com/ocaml/merlin/releases/download/v${PV}-413/${P}-413.tbz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="emacs +ocamlopt test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-ml/csexp:=
|
||||||
|
dev-ml/yojson:=
|
||||||
|
dev-ml/menhir:=
|
||||||
|
>=dev-ml/dune-2.9
|
||||||
|
|| (
|
||||||
|
dev-lang/ocaml:0/4.11
|
||||||
|
dev-lang/ocaml:0/4.12
|
||||||
|
dev-lang/ocaml:0/4.13
|
||||||
|
)
|
||||||
|
emacs? (
|
||||||
|
>=app-editors/emacs-23.1:*
|
||||||
|
app-emacs/auto-complete
|
||||||
|
app-emacs/company-mode
|
||||||
|
)
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
test? ( app-misc/jq )"
|
||||||
|
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
default
|
||||||
|
if has_version "dev-lang/ocaml:0/4.11" ; then
|
||||||
|
mv merlin-4.4-411 "${S}" || die
|
||||||
|
elif has_version "dev-lang/ocaml:0/4.12" ; then
|
||||||
|
mv merlin-4.4-412 "${S}" || die
|
||||||
|
elif has_version "dev-lang/ocaml:0/4.13" ; then
|
||||||
|
mv merlin-4.4-413 "${S}" || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Handle installation via the eclass
|
||||||
|
rm emacs/dune || die
|
||||||
|
|
||||||
|
# rm failing test
|
||||||
|
rm -r tests/test-dirs/locate/context-detection/cd-mod_constr.t || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
dune build @install
|
||||||
|
|
||||||
|
if use emacs ; then
|
||||||
|
# Build the emacs integration
|
||||||
|
cd emacs || die
|
||||||
|
|
||||||
|
# iedit isn't packaged yet
|
||||||
|
rm merlin-iedit.el || die
|
||||||
|
|
||||||
|
elisp-compile *.el
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dune_src_install
|
||||||
|
|
||||||
|
if use emacs ; then
|
||||||
|
cd "${S}/emacs" || die
|
||||||
|
elisp-install ${PN} *.el *.elc
|
||||||
|
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,69 @@
|
|||||||
|
# Copyright 2021-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1 multiprocessing optfeature
|
||||||
|
|
||||||
|
MY_P=aesara-rel-${PV}
|
||||||
|
DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays"
|
||||||
|
HOMEPAGE="https://github.com/aesara-devs/aesara"
|
||||||
|
SRC_URI="https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/cons[${PYTHON_USEDEP}]
|
||||||
|
dev-python/etuples[${PYTHON_USEDEP}]
|
||||||
|
dev-python/logical-unification[${PYTHON_USEDEP}]
|
||||||
|
dev-python/minikanren[${PYTHON_USEDEP}]
|
||||||
|
dev-python/filelock[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/numpy-1.17.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
dev-python/scipy[${PYTHON_USEDEP}]"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme'
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# speed tests are unreliable
|
||||||
|
tests/scan/test_basic.py::test_speed
|
||||||
|
tests/scan/test_basic.py::test_speed_rnn
|
||||||
|
tests/scan/test_basic.py::test_speed_batchrnn
|
||||||
|
tests/link/test_vm.py::test_speed
|
||||||
|
tests/link/test_vm.py::test_speed_lazy
|
||||||
|
tests/tensor/test_gc.py::test_merge_opt_runtime
|
||||||
|
|
||||||
|
# rounding problem?
|
||||||
|
# https://github.com/aesara-devs/aesara/issues/477
|
||||||
|
tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good
|
||||||
|
tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good
|
||||||
|
)
|
||||||
|
local EPYTEST_IGNORE=(
|
||||||
|
# we do not package numba
|
||||||
|
tests/link/test_numba.py
|
||||||
|
tests/link/test_numba_performance.py
|
||||||
|
)
|
||||||
|
|
||||||
|
epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_compile() {
|
||||||
|
distutils-r1_python_compile
|
||||||
|
rm "${BUILD_DIR}/install$(python_get_sitedir)/bin/__init__.py" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk
|
||||||
|
optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda
|
||||||
|
}
|
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=flit
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Module for determining appropriate platform-specific dirs"
|
||||||
|
HOMEPAGE="https://github.com/ActiveState/appdirs"
|
||||||
|
SRC_URI="https://github.com/ActiveState/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
[[ -e pyproject.toml ]] &&
|
||||||
|
die "Upstream added pyproject.toml, recheck"
|
||||||
|
# write a custom pyproject.toml to ease setuptools bootstrap
|
||||||
|
cat > pyproject.toml <<-EOF || die
|
||||||
|
[build-system]
|
||||||
|
requires = ["flit_core >=3.2,<4"]
|
||||||
|
build-backend = "flit_core.buildapi"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "appdirs"
|
||||||
|
dynamic = ["version", "description"]
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
"${PYTHON}" test/test_api.py -v || die "Tests fail with ${EPYTHON}"
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST bandit-1.7.1.tar.gz 503072 BLAKE2B 1e88b662d8dda0d5c1a1fd7ee2eaa1787b8c4952acefb60c347aa98b3534d9ba212229b050dcf717169fb39132ef77d2d92af834392a0bcaa0b9fbc7d2a4804c SHA512 6543bb0f69339a8d970cf0dd1bcec1392057c5c7fbf229fa4f4e6c9d21a39206f1f3fa17509ca2038cd1671d4b57316f92ee053c1beab102e8d20096d10b685d
|
DIST bandit-1.7.1.tar.gz 503072 BLAKE2B 1e88b662d8dda0d5c1a1fd7ee2eaa1787b8c4952acefb60c347aa98b3534d9ba212229b050dcf717169fb39132ef77d2d92af834392a0bcaa0b9fbc7d2a4804c SHA512 6543bb0f69339a8d970cf0dd1bcec1392057c5c7fbf229fa4f4e6c9d21a39206f1f3fa17509ca2038cd1671d4b57316f92ee053c1beab102e8d20096d10b685d
|
||||||
|
DIST bandit-1.7.2.tar.gz 497104 BLAKE2B 235e8c29658db9b0916b2108a46931581384851650217a7e368f06fe9225aadf181b320a75061387b277d1e3ff3f1d38fe6d07be14f7c7d056fa06e8db84e4e4 SHA512 fde27d409dcb867285f3c7a9ee88a079dae58211e17c2157601bbff9e9144e604def3c0179a7c9016266bdf70ed9da9ca519641f4aca4e76a30859c8e01177b9
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A security linter from OpenStack Security"
|
||||||
|
HOMEPAGE="https://github.com/PyCQA/bandit"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~s390 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/GitPython-1.0.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/testscenarios-0.5.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/testtools-2.3.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/beautifulsoup4-4.8.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pylint-1.9.4[${PYTHON_USEDEP}]
|
||||||
|
dev-python/toml[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests --install unittest
|
@ -0,0 +1,60 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="The AWS SDK for Python"
|
||||||
|
HOMEPAGE="https://github.com/boto/boto3"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||||
|
inherit git-r3
|
||||||
|
BOTOCORE_PV=${PV}
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
# botocore is x.(y+3).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs/source \
|
||||||
|
'dev-python/guzzle_sphinx_theme'
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# don't lock versions to narrow ranges
|
||||||
|
sed -e '/botocore/ d' \
|
||||||
|
-e '/jmespath/ d' \
|
||||||
|
-e '/s3transfer/ d' \
|
||||||
|
-i setup.py || die
|
||||||
|
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
epytest tests/{functional,unit}
|
||||||
|
}
|
@ -0,0 +1,65 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||||
|
HOMEPAGE="https://github.com/boto/botocore"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs/source \
|
||||||
|
'dev-python/guzzle_sphinx_theme'
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# unpin deps
|
||||||
|
sed -i -e "s:>=.*':':" setup.py || die
|
||||||
|
|
||||||
|
# unbundle deps
|
||||||
|
rm -r botocore/vendored || die
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# rely on bundled six
|
||||||
|
tests/functional/test_six_imports.py::test_no_bare_six_imports
|
||||||
|
tests/functional/test_six_threading.py::test_six_thread_safety
|
||||||
|
)
|
||||||
|
|
||||||
|
epytest tests/{functional,unit}
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST django-configurations-2.3.1.gh.tar.gz 38288 BLAKE2B f9d4322ad3e1fe839c6cc9d3e8eee31d0f3bbd48859f8e49b5fa72a3984517b77248278c42b4a709f1a5965cff3af336c5fea7323004b41fcc15a4ee40175524 SHA512 0d3df709fe306fba1e85d03e5ce16c954a796327d857717e3e802fc717d94f7aa5255a8422e27991faaade31c29bc90e3e05923609e68893784996ca87ca93ed
|
DIST django-configurations-2.3.1.gh.tar.gz 38288 BLAKE2B f9d4322ad3e1fe839c6cc9d3e8eee31d0f3bbd48859f8e49b5fa72a3984517b77248278c42b4a709f1a5965cff3af336c5fea7323004b41fcc15a4ee40175524 SHA512 0d3df709fe306fba1e85d03e5ce16c954a796327d857717e3e802fc717d94f7aa5255a8422e27991faaade31c29bc90e3e05923609e68893784996ca87ca93ed
|
||||||
|
DIST django-configurations-2.3.2.gh.tar.gz 38475 BLAKE2B 2b3c583e665a08a46bc0ca0c52ae4326fbdfb794d102deecbd13f953e8b6f3fd39b3b747c591fc9717c6a0792258cdb9041de53e71db2034de1a31ddf5bfc0ea SHA512 4cb5a7b284a0025ba93b32e158fb65b57e66230938181b921a1b1264848113b697eb45ac6ad2fc4f26f3bc29ea5f77acbfd5307b20ef2d385e29c2c1746295b3
|
||||||
|
@ -0,0 +1,43 @@
|
|||||||
|
# Copyright 2021-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A helper for organizing Django settings"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://pypi.org/project/django-configurations/
|
||||||
|
https://github.com/jazzband/django-configurations/
|
||||||
|
https://django-configurations.readthedocs.io/"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/jazzband/django-configurations/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/django[${PYTHON_USEDEP}]"
|
||||||
|
BDEPEND="
|
||||||
|
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
dev-python/django-cache-url[${PYTHON_USEDEP}]
|
||||||
|
dev-python/dj-database-url[${PYTHON_USEDEP}]
|
||||||
|
dev-python/dj-email-url[${PYTHON_USEDEP}]
|
||||||
|
dev-python/dj-search-url[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local -x DJANGO_SETTINGS_MODULE=tests.settings.main
|
||||||
|
local -x DJANGO_CONFIGURATION=Test
|
||||||
|
PYTHONPATH=. django-cadmin test -v2 || die "Tests failed with ${EPYTHON}"
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST google-auth-2.3.3.tar.gz 186600 BLAKE2B 52b1269b88d27fafafcb053219c93c7f180cac11cdf32b140531553dda547d02087b0418d44edc6497eb37793859d86d4beaad1a7a128c86839202785584c9ab SHA512 3ab6d97e71988ef5e338e0a643545f8fa504f5ea04f4176afd9417ecf0e9a3fa45333f0c2c7ea5bf32423df32c48ec59ac9d16ef8bfc35a1aa4c0fcc114fef63
|
DIST google-auth-2.3.3.tar.gz 186600 BLAKE2B 52b1269b88d27fafafcb053219c93c7f180cac11cdf32b140531553dda547d02087b0418d44edc6497eb37793859d86d4beaad1a7a128c86839202785584c9ab SHA512 3ab6d97e71988ef5e338e0a643545f8fa504f5ea04f4176afd9417ecf0e9a3fa45333f0c2c7ea5bf32423df32c48ec59ac9d16ef8bfc35a1aa4c0fcc114fef63
|
||||||
DIST google-auth-2.4.0.tar.gz 188032 BLAKE2B 27cd5a9fec2a0f98e26e4c5cfada446f9561834d8471a91bcab54b2965231ecf9d40d8d6d4240355adf0da5ffc9533ce745940a9d9eaca3fd97ed8c759e55939 SHA512 bb107b4dcf556e98f2a994d9baf10492d249b679d92c26bd96c79764d886bfb001940ac168ff0932456af15e4f2de38edc62d7c9beecadafad5e6350b13e0d95
|
DIST google-auth-2.4.0.tar.gz 188032 BLAKE2B 27cd5a9fec2a0f98e26e4c5cfada446f9561834d8471a91bcab54b2965231ecf9d40d8d6d4240355adf0da5ffc9533ce745940a9d9eaca3fd97ed8c759e55939 SHA512 bb107b4dcf556e98f2a994d9baf10492d249b679d92c26bd96c79764d886bfb001940ac168ff0932456af15e4f2de38edc62d7c9beecadafad5e6350b13e0d95
|
||||||
|
DIST google-auth-2.5.0.tar.gz 189396 BLAKE2B 85b6cccf46acaa15ebc58b0cc4ea906c405e8f5e1f9d5c67c1790105689bba47e9f57355751a31a051ec6f20f828e2e2d0d9e792afc5d877791deab8a3e18503 SHA512 7323f253789364d14c1c1adf148cbfff2abceec06c539e93c8f5ae4a5ee978838480f9923e3d62988d903a239434257f980ec1095a8cedc678e263d0adff6cce
|
||||||
|
@ -0,0 +1,55 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Google Authentication Library"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/googleapis/google-auth-library-python/
|
||||||
|
https://pypi.org/project/google-auth/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
<dev-python/cachetools-6.0.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/namespace-google[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/rsa-3.1.4[${PYTHON_USEDEP}]
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||||
|
dev-python/flask[${PYTHON_USEDEP}]
|
||||||
|
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||||
|
dev-python/grpcio[${PYTHON_USEDEP}]
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/moto[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-localserver[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyu2f[${PYTHON_USEDEP}]
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
|
dev-python/responses[${PYTHON_USEDEP}]
|
||||||
|
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
EPYTEST_IGNORE=(
|
||||||
|
# these are compatibility tests with oauth2client
|
||||||
|
# disable them to unblock removal of that package
|
||||||
|
tests/test__oauth2client.py
|
||||||
|
)
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
find "${ED}" -name '*.pth' -delete || die
|
||||||
|
}
|
@ -1,2 +1 @@
|
|||||||
DIST graph-tool-2.43.tar.bz2 15170272 BLAKE2B 96570242cf2003c262024545a074bcd0f0cf9351b0c8c68035529d38d535411386d5440bb5166cfb70f24ba1540d9ce65324c659564f2ab50358dbd77bafed99 SHA512 e72dec9656acb2bb7ba43e19673fa4ff70ff4819e76bb5f00e9943e4cfe6a85f1e0eaa58c8be2921ebd783ef3d978294a347238f3700a457aaff8a98ea8ed4fc
|
|
||||||
DIST graph-tool-2.44.tar.bz2 15149379 BLAKE2B d15413f4e8642b96f62d88631c216e600e24aa878b08a173f1a00f1700aa3c6f4b1b3f806956b811b209a2d42ec1178e2488946d96f056f528a046cbd6cc330a SHA512 b90dc541ec77f89fdbb64697ec5e200d9c7c4ec4b8849c75d008b83dab8f54c95bd230f5d72e32d656f86a201ab66eee25aa774b7983355f7af9304b52527e40
|
DIST graph-tool-2.44.tar.bz2 15149379 BLAKE2B d15413f4e8642b96f62d88631c216e600e24aa878b08a173f1a00f1700aa3c6f4b1b3f806956b811b209a2d42ec1178e2488946d96f056f528a046cbd6cc330a SHA512 b90dc541ec77f89fdbb64697ec5e200d9c7c4ec4b8849c75d008b83dab8f54c95bd230f5d72e32d656f86a201ab66eee25aa774b7983355f7af9304b52527e40
|
||||||
|
@ -1,84 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit check-reqs python-r1 toolchain-funcs
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999 ]]; then
|
|
||||||
EGIT_REPO_URI="https://git.skewed.de/count0/graph-tool.git"
|
|
||||||
inherit autotools git-r3
|
|
||||||
else
|
|
||||||
SRC_URI="https://downloads.skewed.de/${PN}/${P}.tar.bz2"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
|
|
||||||
HOMEPAGE="https://graph-tool.skewed.de/"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="+cairo openmp"
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
>=dev-libs/boost-1.70:=[context,python,${PYTHON_USEDEP}]
|
|
||||||
dev-libs/expat
|
|
||||||
dev-python/numpy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/scipy[${PYTHON_USEDEP}]
|
|
||||||
sci-mathematics/cgal:=
|
|
||||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
|
||||||
cairo? (
|
|
||||||
dev-cpp/cairomm:0
|
|
||||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-cpp/sparsehash"
|
|
||||||
BDEPEND="virtual/pkgconfig"
|
|
||||||
|
|
||||||
# bug 453544
|
|
||||||
CHECKREQS_DISK_BUILD="6G"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
|
||||||
check-reqs_pkg_pretend
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
[[ ${PV} == *9999 ]] && eautoreconf
|
|
||||||
python_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
my_configure() {
|
|
||||||
econf \
|
|
||||||
--disable-static \
|
|
||||||
$(use_enable openmp) \
|
|
||||||
$(use_enable cairo) \
|
|
||||||
--with-boost-python="boost_${EPYTHON/./}"
|
|
||||||
}
|
|
||||||
python_foreach_impl run_in_build_dir my_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# most machines don't have enough ram for parallel builds
|
|
||||||
python_foreach_impl run_in_build_dir emake -j2
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
my_python_install() {
|
|
||||||
default
|
|
||||||
python_optimize
|
|
||||||
}
|
|
||||||
python_foreach_impl run_in_build_dir my_python_install
|
|
||||||
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
|
||||||
}
|
|
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=flit
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="More routines for operating on iterables, beyond itertools"
|
||||||
|
HOMEPAGE="https://pypi.org/project/more-itertools/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs \
|
||||||
|
dev-python/sphinx_rtd_theme
|
||||||
|
distutils_enable_tests unittest
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
grep -q '\[build-system\]' pyproject.toml &&
|
||||||
|
die "Upstream added [build-system] to pyproject.toml, recheck"
|
||||||
|
# write a custom pyproject.toml to ease setuptools bootstrap
|
||||||
|
cat > pyproject.toml <<-EOF || die
|
||||||
|
[build-system]
|
||||||
|
requires = ["flit_core >=3.2,<4"]
|
||||||
|
build-backend = "flit_core.buildapi"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "more_itertools"
|
||||||
|
version = "${PV}"
|
||||||
|
description = "More routines for operating on iterables, beyond itertools"
|
||||||
|
EOF
|
||||||
|
}
|
@ -0,0 +1,84 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Mock library for boto"
|
||||||
|
HOMEPAGE="https://github.com/spulec/moto"
|
||||||
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}]
|
||||||
|
$(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7})
|
||||||
|
dev-python/boto[${PYTHON_USEDEP}]
|
||||||
|
dev-python/cfn-lint[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/cookies[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/idna-2.5[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jinja-2.10.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/boto3[${PYTHON_USEDEP}]
|
||||||
|
dev-python/botocore[${PYTHON_USEDEP}]
|
||||||
|
dev-python/flask[${PYTHON_USEDEP}]
|
||||||
|
dev-python/flask-cors[${PYTHON_USEDEP}]
|
||||||
|
dev-python/more-itertools[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pretty-yaml[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytz[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-jose[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-sshpubkeys[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/responses-0.9.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/requests-2.5[${PYTHON_USEDEP}]
|
||||||
|
dev-python/xmltodict[${PYTHON_USEDEP}]
|
||||||
|
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||||
|
dev-python/zipp[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||||
|
dev-python/responses[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/sure-1.4.11[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# TODO
|
||||||
|
tests/test_firehose/test_firehose_put.py::test_put_record_http_destination
|
||||||
|
tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination
|
||||||
|
tests/test_sqs/test_sqs_cloudformation.py::test_describe_stack_subresources
|
||||||
|
tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3
|
||||||
|
tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3
|
||||||
|
tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3
|
||||||
|
tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3
|
||||||
|
# broken code (local variable used referenced before definition)
|
||||||
|
tests/test_appsync/test_appsync_schema.py
|
||||||
|
# Needs network (or docker?) but not marked as such, bug #807031
|
||||||
|
# TODO: report upstream
|
||||||
|
tests/test_batch/test_batch_jobs.py::test_terminate_job
|
||||||
|
tests/test_batch/test_batch_jobs.py::test_cancel_running_job
|
||||||
|
tests/test_batch/test_batch_jobs.py::test_dependencies
|
||||||
|
tests/test_batch/test_batch_jobs.py::test_container_overrides
|
||||||
|
tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed
|
||||||
|
tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function
|
||||||
|
tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception
|
||||||
|
tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception
|
||||||
|
)
|
||||||
|
|
||||||
|
# pytest-django causes freezegun try to mangle stuff inside django
|
||||||
|
# which fails when django is not really used
|
||||||
|
epytest -p no:django -m 'not network'
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST notebook-6.4.6.tar.gz 14342345 BLAKE2B cc9d5968d05d9f75f60f02adfb5ef35f39e4a5de027356af73c6dfb1f3aebc271e5b3bc639eb8605748abd30d43bfaab662d41b3b764c91cc545c2d1848881f4 SHA512 92b10bdc041bc0f3af1b42ad219abda37402e0fa4ea16ddcfd2ffc450cc7f49ce1d770cb477160c3fa58c387f85d22ca3f4e4c6507a5cbf7a92bc5268baf661e
|
DIST notebook-6.4.6.tar.gz 14342345 BLAKE2B cc9d5968d05d9f75f60f02adfb5ef35f39e4a5de027356af73c6dfb1f3aebc271e5b3bc639eb8605748abd30d43bfaab662d41b3b764c91cc545c2d1848881f4 SHA512 92b10bdc041bc0f3af1b42ad219abda37402e0fa4ea16ddcfd2ffc450cc7f49ce1d770cb477160c3fa58c387f85d22ca3f4e4c6507a5cbf7a92bc5268baf661e
|
||||||
DIST notebook-6.4.7.tar.gz 14347832 BLAKE2B 3430aed18e2748005a98ba8e369d3aeda1925098ea1cb59fd6c5b4fc559a9f3ad41dc3fa655a7cce05a6be7fb44c6fe1b2a6e676a7e3933a658bc2f86a603efc SHA512 8a546360948bde566f6853ad63b38f6fbbdd5cfe8bb6b74379e3feae9aeb0f71c1bd7f1e90798cd95c0203e696d73e2797bdb73160106ae4b9ec661f65b860a0
|
DIST notebook-6.4.7.tar.gz 14347832 BLAKE2B 3430aed18e2748005a98ba8e369d3aeda1925098ea1cb59fd6c5b4fc559a9f3ad41dc3fa655a7cce05a6be7fb44c6fe1b2a6e676a7e3933a658bc2f86a603efc SHA512 8a546360948bde566f6853ad63b38f6fbbdd5cfe8bb6b74379e3feae9aeb0f71c1bd7f1e90798cd95c0203e696d73e2797bdb73160106ae4b9ec661f65b860a0
|
||||||
|
DIST notebook-6.4.8.tar.gz 14347639 BLAKE2B c2201562f0d672f16d6ae2388a443fcd87e81ae7de78c3a42acef82ff3e78c8e94e2be61e6156f622a9339138a2f14edef5057a3e601a7c15c8793f56d1071e2 SHA512 0e87aa155635ae536eb5a152c46cadbf85907a5af2ca15d063e718ff566ac6b76f4ce0f06f8adacae3be05ea970f1059d793e3121be855efd6c9072e9aa51719
|
||||||
|
@ -0,0 +1,97 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
PYTHON_REQ_USE="threads(+)"
|
||||||
|
|
||||||
|
inherit distutils-r1 xdg-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Jupyter Interactive Notebook"
|
||||||
|
HOMEPAGE="https://jupyter.org"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/mathjax-2.4
|
||||||
|
dev-python/argon2-cffi[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jinja[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/terminado-0.8.3[${PYTHON_USEDEP}]
|
||||||
|
>=www-servers/tornado-6.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/ipython_genutils[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jupyter_core-4.6.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyzmq-17[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}]
|
||||||
|
dev-python/nbformat[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/nest_asyncio-1.5[${PYTHON_USEDEP}]
|
||||||
|
dev-python/ipykernel[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/send2trash-1.8.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/prometheus_client[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-python/jupyter_packaging-0.9[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
|
dev-python/requests-unixsocket[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}"-5.7.0-no-mathjax.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# disable bundled mathjax
|
||||||
|
sed -i 's/^.*MathJax.*$//' bower.json || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
EPYTEST_DESELECT=(
|
||||||
|
# trash doesn't seem to work for us
|
||||||
|
notebook/services/contents/tests/test_contents_api.py::APITest::test_checkpoints_follow_file
|
||||||
|
notebook/services/contents/tests/test_contents_api.py::APITest::test_delete
|
||||||
|
notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_checkpoints_follow_file
|
||||||
|
notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete
|
||||||
|
notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_dirs
|
||||||
|
notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_non_empty_dir
|
||||||
|
notebook/services/contents/tests/test_manager.py::TestContentsManager::test_delete
|
||||||
|
notebook/services/contents/tests/test_manager.py::TestContentsManagerNoAtomic::test_delete
|
||||||
|
# TODO
|
||||||
|
notebook/services/kernels/tests/test_kernels_api.py::KernelAPITest::test_connections
|
||||||
|
notebook/services/kernels/tests/test_kernels_api.py::AsyncKernelAPITest::test_connections
|
||||||
|
notebook/services/kernels/tests/test_kernels_api.py::KernelCullingTest::test_culling
|
||||||
|
notebook/services/nbconvert/tests/test_nbconvert_api.py::APITest::test_list_formats
|
||||||
|
)
|
||||||
|
|
||||||
|
EPYTEST_IGNORE=(
|
||||||
|
# selenium tests require geckodriver
|
||||||
|
notebook/tests/selenium
|
||||||
|
)
|
||||||
|
|
||||||
|
python_install() {
|
||||||
|
distutils-r1_python_install
|
||||||
|
|
||||||
|
ln -sf \
|
||||||
|
"${EPREFIX}/usr/share/mathjax" \
|
||||||
|
"${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_icon_cache_update
|
||||||
|
}
|
@ -1,28 +1,12 @@
|
|||||||
DIST numpy-1.21.1.zip 10259878 BLAKE2B ba5d8eb2d294e199c86d8e96026d148098f5716398e730e0fdfee3b710fd01cb6e877973471d7751a2e558c2eaeb626fe9ce5ea4b03a7e4f8e5dc42b852d5b7c SHA512 694100915f4e2917d70a83e7fcdad30c85ffad8f5ad8d164c89287846c1b746c2b577233bacf53e8d8ca5147391f46065a2cabf100957bb8841dee4a042bc1f5
|
|
||||||
DIST numpy-1.21.2.zip 10264801 BLAKE2B 2d88506faa5bc767a16c000f201559917d800fd205c75f30c1e61d4b34e214b376da9876e96186914f9fe23bf033a305bf9212f593841407e3bf4e516b5982a6 SHA512 ad08110d9a73a73ef1a546de5fcd6dfe600c17b396f629c3a19ade7b3f226688cf7524fed78c035fd4ddda135e2bcf9facb5e061fb59640b424da2ed070c4184
|
|
||||||
DIST numpy-1.21.3.zip 10269351 BLAKE2B 60fc96d91e2c4e0b1c6ee409e02640686fe257f5addbb17229568f591551ea3c415c4aac97b7cdb161b88ce436e42a766b161bd5a82f8cb66fff6771c0097bd3 SHA512 8fbe4e8543b72ad5203d5b122eb3d875e48965682945898e54f4ce82cf790713dfd9185b8b12439aefa86bf25209ea25d04ec3ca2aa2b8d2f32d69358421b792
|
|
||||||
DIST numpy-1.21.4.zip 10646392 BLAKE2B 6e2953c6ca8e35c99f5de5faaacfb2b76b351a5c9521ba27449fcdeca5614978ff7d71fc52ce3787d1c7506c4e8eb81b1a92d3bf6825de1cb1d304ea4de83820 SHA512 85575a009bf40a8e5acaaa949d2669545968825df34273e367c42af36fa882ebb0830ff7953b5617d34d3061b3877238524937c42470fac9464479dc33ae60ce
|
|
||||||
DIST numpy-1.21.5.zip 10652289 BLAKE2B c5bded91e5d06670ea3ace51560411c61985dd89ff0455b833838320f1714cf788a21a60aefd7a0ff30ad0abb93c9d296f60e637944000efa090b6c259c1f47c SHA512 03affa9d0bbf42a8d35f5454f1527df28539e306dc2b313fa775625201a5fe9eb7376f443bba5d50e08567546708811beb7201819eeb2af5a0653b7d91249f78
|
DIST numpy-1.21.5.zip 10652289 BLAKE2B c5bded91e5d06670ea3ace51560411c61985dd89ff0455b833838320f1714cf788a21a60aefd7a0ff30ad0abb93c9d296f60e637944000efa090b6c259c1f47c SHA512 03affa9d0bbf42a8d35f5454f1527df28539e306dc2b313fa775625201a5fe9eb7376f443bba5d50e08567546708811beb7201819eeb2af5a0653b7d91249f78
|
||||||
DIST numpy-1.22.0.zip 11291139 BLAKE2B 91cd2188aaa59d7be18761b74865295f400e309e34bf79067493221c5f0eb875a5c726dd8e322db84fa9714800347954b6a9896aadf914e87872497f7e65527c SHA512 dcea1a6cd257f6353caccc30b2adb1cf2e9d52191ec9f968839c85b1f776ebf8c5ac8bbf0751c2c6f292ae671e4006d26eb06691ca1504e4d65baf4cec3f9803
|
DIST numpy-1.22.0.zip 11291139 BLAKE2B 91cd2188aaa59d7be18761b74865295f400e309e34bf79067493221c5f0eb875a5c726dd8e322db84fa9714800347954b6a9896aadf914e87872497f7e65527c SHA512 dcea1a6cd257f6353caccc30b2adb1cf2e9d52191ec9f968839c85b1f776ebf8c5ac8bbf0751c2c6f292ae671e4006d26eb06691ca1504e4d65baf4cec3f9803
|
||||||
DIST numpy-1.22.1.zip 11443674 BLAKE2B 3f2e5fbd449c078fd97670be14e87fd9bccc8418dc37f87199557642f0f951f5fd21b89eff938c30171eda3174c526db91e470e9e9cdc297b8abd9b4fe364ad5 SHA512 0d8b5ffb6f8377b3d6d6cb62fd7eef083f8a3b787542b7887e0d214c6fa78b63b6f726302bca554c0c11c57e4611926c8d8ff4abf5dd59842b8b58086391434d
|
DIST numpy-1.22.1.zip 11443674 BLAKE2B 3f2e5fbd449c078fd97670be14e87fd9bccc8418dc37f87199557642f0f951f5fd21b89eff938c30171eda3174c526db91e470e9e9cdc297b8abd9b4fe364ad5 SHA512 0d8b5ffb6f8377b3d6d6cb62fd7eef083f8a3b787542b7887e0d214c6fa78b63b6f726302bca554c0c11c57e4611926c8d8ff4abf5dd59842b8b58086391434d
|
||||||
DIST numpy-html-1.21.0.zip 24270531 BLAKE2B 8a7a531afa559aebeb7a7b7ef94b2248df60a60fdfc190ca002dda625003df8b432fed393d6dd0c0c00fafbeb5064a61e3d99bba1a6c41e1e6e34ce091a43c89 SHA512 a165b95729a13806a03464cf39c20a0e18cfcf7701f05cd7777cd115bfaf0972f7155d201c7bd8d4177c5761f8800c982b3e3c29729a5e9ed356059842a44dcc
|
DIST numpy-html-1.21.0.zip 24270531 BLAKE2B 8a7a531afa559aebeb7a7b7ef94b2248df60a60fdfc190ca002dda625003df8b432fed393d6dd0c0c00fafbeb5064a61e3d99bba1a6c41e1e6e34ce091a43c89 SHA512 a165b95729a13806a03464cf39c20a0e18cfcf7701f05cd7777cd115bfaf0972f7155d201c7bd8d4177c5761f8800c982b3e3c29729a5e9ed356059842a44dcc
|
||||||
DIST numpy-html-1.21.1.zip 24270531 BLAKE2B 8a7a531afa559aebeb7a7b7ef94b2248df60a60fdfc190ca002dda625003df8b432fed393d6dd0c0c00fafbeb5064a61e3d99bba1a6c41e1e6e34ce091a43c89 SHA512 a165b95729a13806a03464cf39c20a0e18cfcf7701f05cd7777cd115bfaf0972f7155d201c7bd8d4177c5761f8800c982b3e3c29729a5e9ed356059842a44dcc
|
|
||||||
DIST numpy-html-1.21.2.zip 24270531 BLAKE2B 8a7a531afa559aebeb7a7b7ef94b2248df60a60fdfc190ca002dda625003df8b432fed393d6dd0c0c00fafbeb5064a61e3d99bba1a6c41e1e6e34ce091a43c89 SHA512 a165b95729a13806a03464cf39c20a0e18cfcf7701f05cd7777cd115bfaf0972f7155d201c7bd8d4177c5761f8800c982b3e3c29729a5e9ed356059842a44dcc
|
|
||||||
DIST numpy-html-1.21.3.zip 24270531 BLAKE2B 8a7a531afa559aebeb7a7b7ef94b2248df60a60fdfc190ca002dda625003df8b432fed393d6dd0c0c00fafbeb5064a61e3d99bba1a6c41e1e6e34ce091a43c89 SHA512 a165b95729a13806a03464cf39c20a0e18cfcf7701f05cd7777cd115bfaf0972f7155d201c7bd8d4177c5761f8800c982b3e3c29729a5e9ed356059842a44dcc
|
|
||||||
DIST numpy-html-1.21.4.zip 24270531 BLAKE2B 8a7a531afa559aebeb7a7b7ef94b2248df60a60fdfc190ca002dda625003df8b432fed393d6dd0c0c00fafbeb5064a61e3d99bba1a6c41e1e6e34ce091a43c89 SHA512 a165b95729a13806a03464cf39c20a0e18cfcf7701f05cd7777cd115bfaf0972f7155d201c7bd8d4177c5761f8800c982b3e3c29729a5e9ed356059842a44dcc
|
|
||||||
DIST numpy-html-1.21.5.zip 24270531 BLAKE2B 8a7a531afa559aebeb7a7b7ef94b2248df60a60fdfc190ca002dda625003df8b432fed393d6dd0c0c00fafbeb5064a61e3d99bba1a6c41e1e6e34ce091a43c89 SHA512 a165b95729a13806a03464cf39c20a0e18cfcf7701f05cd7777cd115bfaf0972f7155d201c7bd8d4177c5761f8800c982b3e3c29729a5e9ed356059842a44dcc
|
DIST numpy-html-1.21.5.zip 24270531 BLAKE2B 8a7a531afa559aebeb7a7b7ef94b2248df60a60fdfc190ca002dda625003df8b432fed393d6dd0c0c00fafbeb5064a61e3d99bba1a6c41e1e6e34ce091a43c89 SHA512 a165b95729a13806a03464cf39c20a0e18cfcf7701f05cd7777cd115bfaf0972f7155d201c7bd8d4177c5761f8800c982b3e3c29729a5e9ed356059842a44dcc
|
||||||
DIST numpy-html-1.22.1.zip 23724824 BLAKE2B 44ea3da0a703a024a629c8413dfffaf760458b185d19452da0e7e23c819e19833291e10ebd07bdda794077574b8852a368036dda8335c2753cd481740497502a SHA512 4077d9974bfd7f2c189025c3740350652e6f8e0b5727fbc9711a1c0118c1e4ecc281d4876baf1c6a5dc802d20178d6b04a2922f14e9c321cd3b68228b1e295c3
|
DIST numpy-html-1.22.1.zip 23724824 BLAKE2B 44ea3da0a703a024a629c8413dfffaf760458b185d19452da0e7e23c819e19833291e10ebd07bdda794077574b8852a368036dda8335c2753cd481740497502a SHA512 4077d9974bfd7f2c189025c3740350652e6f8e0b5727fbc9711a1c0118c1e4ecc281d4876baf1c6a5dc802d20178d6b04a2922f14e9c321cd3b68228b1e295c3
|
||||||
DIST numpy-ref-1.21.0.pdf 7326979 BLAKE2B 3c1130a576c46e0705ca1f12e7a3345beb1acdd23de2a81448e4e9755636dec313e277a0d3167dc3b211332b3fc415ac0d96e7c99e859b51a16a589426814182 SHA512 5dd37ca03f1f098fffce80aa6a1a6eb8ec66df4322da1c620bd1f507e89ee2ceb222de32c9b7974f085ddf146f0a789ea8eb27d792a13c1aa8a893c00f94f75f
|
DIST numpy-ref-1.21.0.pdf 7326979 BLAKE2B 3c1130a576c46e0705ca1f12e7a3345beb1acdd23de2a81448e4e9755636dec313e277a0d3167dc3b211332b3fc415ac0d96e7c99e859b51a16a589426814182 SHA512 5dd37ca03f1f098fffce80aa6a1a6eb8ec66df4322da1c620bd1f507e89ee2ceb222de32c9b7974f085ddf146f0a789ea8eb27d792a13c1aa8a893c00f94f75f
|
||||||
DIST numpy-ref-1.21.1.pdf 7326979 BLAKE2B 3c1130a576c46e0705ca1f12e7a3345beb1acdd23de2a81448e4e9755636dec313e277a0d3167dc3b211332b3fc415ac0d96e7c99e859b51a16a589426814182 SHA512 5dd37ca03f1f098fffce80aa6a1a6eb8ec66df4322da1c620bd1f507e89ee2ceb222de32c9b7974f085ddf146f0a789ea8eb27d792a13c1aa8a893c00f94f75f
|
|
||||||
DIST numpy-ref-1.21.2.pdf 7326979 BLAKE2B 3c1130a576c46e0705ca1f12e7a3345beb1acdd23de2a81448e4e9755636dec313e277a0d3167dc3b211332b3fc415ac0d96e7c99e859b51a16a589426814182 SHA512 5dd37ca03f1f098fffce80aa6a1a6eb8ec66df4322da1c620bd1f507e89ee2ceb222de32c9b7974f085ddf146f0a789ea8eb27d792a13c1aa8a893c00f94f75f
|
|
||||||
DIST numpy-ref-1.21.3.pdf 7326979 BLAKE2B 3c1130a576c46e0705ca1f12e7a3345beb1acdd23de2a81448e4e9755636dec313e277a0d3167dc3b211332b3fc415ac0d96e7c99e859b51a16a589426814182 SHA512 5dd37ca03f1f098fffce80aa6a1a6eb8ec66df4322da1c620bd1f507e89ee2ceb222de32c9b7974f085ddf146f0a789ea8eb27d792a13c1aa8a893c00f94f75f
|
|
||||||
DIST numpy-ref-1.21.4.pdf 7326979 BLAKE2B 3c1130a576c46e0705ca1f12e7a3345beb1acdd23de2a81448e4e9755636dec313e277a0d3167dc3b211332b3fc415ac0d96e7c99e859b51a16a589426814182 SHA512 5dd37ca03f1f098fffce80aa6a1a6eb8ec66df4322da1c620bd1f507e89ee2ceb222de32c9b7974f085ddf146f0a789ea8eb27d792a13c1aa8a893c00f94f75f
|
|
||||||
DIST numpy-ref-1.21.5.pdf 7326979 BLAKE2B 3c1130a576c46e0705ca1f12e7a3345beb1acdd23de2a81448e4e9755636dec313e277a0d3167dc3b211332b3fc415ac0d96e7c99e859b51a16a589426814182 SHA512 5dd37ca03f1f098fffce80aa6a1a6eb8ec66df4322da1c620bd1f507e89ee2ceb222de32c9b7974f085ddf146f0a789ea8eb27d792a13c1aa8a893c00f94f75f
|
DIST numpy-ref-1.21.5.pdf 7326979 BLAKE2B 3c1130a576c46e0705ca1f12e7a3345beb1acdd23de2a81448e4e9755636dec313e277a0d3167dc3b211332b3fc415ac0d96e7c99e859b51a16a589426814182 SHA512 5dd37ca03f1f098fffce80aa6a1a6eb8ec66df4322da1c620bd1f507e89ee2ceb222de32c9b7974f085ddf146f0a789ea8eb27d792a13c1aa8a893c00f94f75f
|
||||||
DIST numpy-ref-1.22.1.pdf 7537013 BLAKE2B 702398fddde349901f9303f4788a3ae3cc4bb78b4d310e169fcc6193fd62b33947c89ede45ba9aaea55e74f6a6abc755d3d94428adce9a8163678c6718aec2da SHA512 c1617817f94ccdfe2bbdebdc9c6869beefa1369d5ab0897c1573d8fb5cb3de153f90d5588aae84a0f498fba57ad6bc5c0c5c2c3aefb119e2913e4ddf007cc8e1
|
DIST numpy-ref-1.22.1.pdf 7537013 BLAKE2B 702398fddde349901f9303f4788a3ae3cc4bb78b4d310e169fcc6193fd62b33947c89ede45ba9aaea55e74f6a6abc755d3d94428adce9a8163678c6718aec2da SHA512 c1617817f94ccdfe2bbdebdc9c6869beefa1369d5ab0897c1573d8fb5cb3de153f90d5588aae84a0f498fba57ad6bc5c0c5c2c3aefb119e2913e4ddf007cc8e1
|
||||||
DIST numpy-user-1.21.0.pdf 5142404 BLAKE2B d670f1eb0f060599a640c52bdeba53b1758007fc2090a5b8fb6e135e71114149a0085811e4bc21396eabb1123ffb9edd39f8192d0165ab42dd066a9747eb3a3f SHA512 dde264abff1787efd50e913b6facf83522b3344ed88fd15d6fe73ecd44c6a3db1e4ce4251c9674bbcb122f72ab86c64142b2f4f992a6449405041f8e1f5f1ace
|
DIST numpy-user-1.21.0.pdf 5142404 BLAKE2B d670f1eb0f060599a640c52bdeba53b1758007fc2090a5b8fb6e135e71114149a0085811e4bc21396eabb1123ffb9edd39f8192d0165ab42dd066a9747eb3a3f SHA512 dde264abff1787efd50e913b6facf83522b3344ed88fd15d6fe73ecd44c6a3db1e4ce4251c9674bbcb122f72ab86c64142b2f4f992a6449405041f8e1f5f1ace
|
||||||
DIST numpy-user-1.21.1.pdf 5142404 BLAKE2B d670f1eb0f060599a640c52bdeba53b1758007fc2090a5b8fb6e135e71114149a0085811e4bc21396eabb1123ffb9edd39f8192d0165ab42dd066a9747eb3a3f SHA512 dde264abff1787efd50e913b6facf83522b3344ed88fd15d6fe73ecd44c6a3db1e4ce4251c9674bbcb122f72ab86c64142b2f4f992a6449405041f8e1f5f1ace
|
|
||||||
DIST numpy-user-1.21.2.pdf 5142404 BLAKE2B d670f1eb0f060599a640c52bdeba53b1758007fc2090a5b8fb6e135e71114149a0085811e4bc21396eabb1123ffb9edd39f8192d0165ab42dd066a9747eb3a3f SHA512 dde264abff1787efd50e913b6facf83522b3344ed88fd15d6fe73ecd44c6a3db1e4ce4251c9674bbcb122f72ab86c64142b2f4f992a6449405041f8e1f5f1ace
|
|
||||||
DIST numpy-user-1.21.3.pdf 5142404 BLAKE2B d670f1eb0f060599a640c52bdeba53b1758007fc2090a5b8fb6e135e71114149a0085811e4bc21396eabb1123ffb9edd39f8192d0165ab42dd066a9747eb3a3f SHA512 dde264abff1787efd50e913b6facf83522b3344ed88fd15d6fe73ecd44c6a3db1e4ce4251c9674bbcb122f72ab86c64142b2f4f992a6449405041f8e1f5f1ace
|
|
||||||
DIST numpy-user-1.21.4.pdf 5142404 BLAKE2B d670f1eb0f060599a640c52bdeba53b1758007fc2090a5b8fb6e135e71114149a0085811e4bc21396eabb1123ffb9edd39f8192d0165ab42dd066a9747eb3a3f SHA512 dde264abff1787efd50e913b6facf83522b3344ed88fd15d6fe73ecd44c6a3db1e4ce4251c9674bbcb122f72ab86c64142b2f4f992a6449405041f8e1f5f1ace
|
|
||||||
DIST numpy-user-1.21.5.pdf 5142404 BLAKE2B d670f1eb0f060599a640c52bdeba53b1758007fc2090a5b8fb6e135e71114149a0085811e4bc21396eabb1123ffb9edd39f8192d0165ab42dd066a9747eb3a3f SHA512 dde264abff1787efd50e913b6facf83522b3344ed88fd15d6fe73ecd44c6a3db1e4ce4251c9674bbcb122f72ab86c64142b2f4f992a6449405041f8e1f5f1ace
|
DIST numpy-user-1.21.5.pdf 5142404 BLAKE2B d670f1eb0f060599a640c52bdeba53b1758007fc2090a5b8fb6e135e71114149a0085811e4bc21396eabb1123ffb9edd39f8192d0165ab42dd066a9747eb3a3f SHA512 dde264abff1787efd50e913b6facf83522b3344ed88fd15d6fe73ecd44c6a3db1e4ce4251c9674bbcb122f72ab86c64142b2f4f992a6449405041f8e1f5f1ace
|
||||||
DIST numpy-user-1.22.1.pdf 3978348 BLAKE2B 87cc73cb1c406446eb9d86ea6cbaeac6ba13c7d2b2ffd47524483af1698c3efdfaafe61e987624c5ce01939494861413b271e9a96f49abbbe69d634b9be55c95 SHA512 8e04c0c90255038471de6ef0f8f4ed9e356d646b028bb16f667f3c59170eddaa0d86d48226462c5c17b8123b2a28a09982764979e9e76658b4e26cd0a976f3a1
|
DIST numpy-user-1.22.1.pdf 3978348 BLAKE2B 87cc73cb1c406446eb9d86ea6cbaeac6ba13c7d2b2ffd47524483af1698c3efdfaafe61e987624c5ce01939494861413b271e9a96f49abbbe69d634b9be55c95 SHA512 8e04c0c90255038471de6ef0f8f4ed9e356d646b028bb16f667f3c59170eddaa0d86d48226462c5c17b8123b2a28a09982764979e9e76658b4e26cd0a976f3a1
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
From d9bbd60d0f2896d1b1f865e6035dccb12db4b1a0 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Sebastian Berg <sebastian@sipsolutions.net>
|
|
||||||
Date: Sat, 23 Oct 2021 22:54:21 -0500
|
|
||||||
Subject: [PATCH] BUG: Do not use nonzero fastpath on unaligned arrays
|
|
||||||
|
|
||||||
The fast-path does not handle unalgined access, previously only
|
|
||||||
bools had a fast path (and bools are by definition always aligned
|
|
||||||
since they are stored in a single byte/char).
|
|
||||||
|
|
||||||
Closes gh-19592
|
|
||||||
---
|
|
||||||
numpy/core/src/multiarray/item_selection.c | 19 +++++++------------
|
|
||||||
1 file changed, 7 insertions(+), 12 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/numpy/core/src/multiarray/item_selection.c b/numpy/core/src/multiarray/item_selection.c
|
|
||||||
index ee66378a938..33d378c2b58 100644
|
|
||||||
--- a/numpy/core/src/multiarray/item_selection.c
|
|
||||||
+++ b/numpy/core/src/multiarray/item_selection.c
|
|
||||||
@@ -2398,19 +2398,14 @@ PyArray_CountNonzero(PyArrayObject *self)
|
|
||||||
npy_intp *strideptr, *innersizeptr;
|
|
||||||
NPY_BEGIN_THREADS_DEF;
|
|
||||||
|
|
||||||
- // Special low-overhead version specific to the boolean/int types
|
|
||||||
dtype = PyArray_DESCR(self);
|
|
||||||
- switch(dtype->kind) {
|
|
||||||
- case 'u':
|
|
||||||
- case 'i':
|
|
||||||
- case 'b':
|
|
||||||
- if (dtype->elsize > 8) {
|
|
||||||
- break;
|
|
||||||
- }
|
|
||||||
- return count_nonzero_int(
|
|
||||||
- PyArray_NDIM(self), PyArray_BYTES(self), PyArray_DIMS(self),
|
|
||||||
- PyArray_STRIDES(self), dtype->elsize
|
|
||||||
- );
|
|
||||||
+ /* Special low-overhead version specific to the boolean/int types */
|
|
||||||
+ if (PyArray_ISALIGNED(self) && (
|
|
||||||
+ PyDataType_ISBOOL(dtype) || PyDataType_ISINTEGER(dtype))) {
|
|
||||||
+ return count_nonzero_int(
|
|
||||||
+ PyArray_NDIM(self), PyArray_BYTES(self), PyArray_DIMS(self),
|
|
||||||
+ PyArray_STRIDES(self), dtype->elsize
|
|
||||||
+ );
|
|
||||||
}
|
|
||||||
|
|
||||||
nonzero = PyArray_DESCR(self)->f->nonzero;
|
|
@ -1,52 +0,0 @@
|
|||||||
https://github.com/numpy/numpy/commit/50823973e857363f7d8052768276c2e86f004d61
|
|
||||||
https://github.com/numpy/numpy/pull/20357
|
|
||||||
|
|
||||||
From: Bas van Beek <b.f.van.beek@vu.nl>
|
|
||||||
Date: Wed, 10 Nov 2021 15:36:00 +0100
|
|
||||||
Subject: [PATCH] MAINT: Do not forward `__(deep)copy__` calls of
|
|
||||||
`_GenericAlias` to the wrapped type
|
|
||||||
|
|
||||||
Adapt to the python 3.9.8 changes made in bpo-45167.
|
|
||||||
--- a/numpy/typing/_generic_alias.py
|
|
||||||
+++ b/numpy/typing/_generic_alias.py
|
|
||||||
@@ -178,6 +178,8 @@ def __eq__(self, value: object) -> bool:
|
|
||||||
"__mro_entries__",
|
|
||||||
"__reduce__",
|
|
||||||
"__reduce_ex__",
|
|
||||||
+ "__copy__",
|
|
||||||
+ "__deepcopy__",
|
|
||||||
})
|
|
||||||
|
|
||||||
def __getattribute__(self, name: str) -> Any:
|
|
||||||
--- a/numpy/typing/tests/test_generic_alias.py
|
|
||||||
+++ b/numpy/typing/tests/test_generic_alias.py
|
|
||||||
@@ -1,6 +1,7 @@
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
import sys
|
|
||||||
+import copy
|
|
||||||
import types
|
|
||||||
import pickle
|
|
||||||
import weakref
|
|
||||||
@@ -74,6 +75,21 @@ def test_pass(self, name: str, func: FuncType) -> None:
|
|
||||||
value_ref = func(NDArray_ref)
|
|
||||||
assert value == value_ref
|
|
||||||
|
|
||||||
+ @pytest.mark.parametrize("name,func", [
|
|
||||||
+ ("__copy__", lambda n: n == copy.copy(n)),
|
|
||||||
+ ("__deepcopy__", lambda n: n == copy.deepcopy(n)),
|
|
||||||
+ ])
|
|
||||||
+ def test_copy(self, name: str, func: FuncType) -> None:
|
|
||||||
+ value = func(NDArray)
|
|
||||||
+
|
|
||||||
+ # xref bpo-45167
|
|
||||||
+ GE_398 = (
|
|
||||||
+ sys.version_info[:2] == (3, 9) and sys.version_info >= (3, 9, 8)
|
|
||||||
+ )
|
|
||||||
+ if GE_398 or sys.version_info >= (3, 10, 1):
|
|
||||||
+ value_ref = func(NDArray_ref)
|
|
||||||
+ assert value == value_ref
|
|
||||||
+
|
|
||||||
def test_weakref(self) -> None:
|
|
||||||
"""Test ``__weakref__``."""
|
|
||||||
value = weakref.ref(NDArray)()
|
|
@ -1,144 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
FORTRAN_NEEDED=lapack
|
|
||||||
|
|
||||||
inherit distutils-r1 flag-o-matic fortran-2 multiprocessing toolchain-funcs
|
|
||||||
|
|
||||||
DOC_PV=${PV}
|
|
||||||
DESCRIPTION="Fast array and numerical python library"
|
|
||||||
HOMEPAGE="https://numpy.org/"
|
|
||||||
SRC_URI="
|
|
||||||
mirror://pypi/${PN:0:1}/${PN}/${P}.zip
|
|
||||||
doc? (
|
|
||||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-html.zip -> numpy-html-${DOC_PV}.zip
|
|
||||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-ref.pdf -> numpy-ref-${DOC_PV}.pdf
|
|
||||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-user.pdf -> numpy-user-${DOC_PV}.pdf
|
|
||||||
)"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="doc lapack"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
lapack? (
|
|
||||||
>=virtual/cblas-3.8
|
|
||||||
>=virtual/lapack-3.8
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
app-arch/unzip
|
|
||||||
>=dev-python/cython-0.29.21[${PYTHON_USEDEP}]
|
|
||||||
lapack? ( virtual/pkgconfig )
|
|
||||||
test? (
|
|
||||||
>=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cffi-1.14.0[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/numpy-1.21.0-no-hardcode-blasv2.patch
|
|
||||||
"${FILESDIR}"/numpy-1.21.3-unaligned-array.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
if use doc; then
|
|
||||||
unzip -qo "${DISTDIR}"/numpy-html-${DOC_PV}.zip -d html || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
if use lapack; then
|
|
||||||
local incdir="${EPREFIX}"/usr/include
|
|
||||||
local libdir="${EPREFIX}"/usr/$(get_libdir)
|
|
||||||
cat >> site.cfg <<-EOF || die
|
|
||||||
[blas]
|
|
||||||
include_dirs = ${incdir}
|
|
||||||
library_dirs = ${libdir}
|
|
||||||
blas_libs = cblas,blas
|
|
||||||
[lapack]
|
|
||||||
library_dirs = ${libdir}
|
|
||||||
lapack_libs = lapack
|
|
||||||
EOF
|
|
||||||
else
|
|
||||||
export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None
|
|
||||||
fi
|
|
||||||
|
|
||||||
export CC="$(tc-getCC) ${CFLAGS}"
|
|
||||||
|
|
||||||
append-flags -fno-strict-aliasing
|
|
||||||
|
|
||||||
# See progress in http://projects.scipy.org/scipy/numpy/ticket/573
|
|
||||||
# with the subtle difference that we don't want to break Darwin where
|
|
||||||
# -shared is not a valid linker argument
|
|
||||||
if [[ ${CHOST} != *-darwin* ]]; then
|
|
||||||
append-ldflags -shared
|
|
||||||
fi
|
|
||||||
|
|
||||||
# only one fortran to link with:
|
|
||||||
# linking with cblas and lapack library will force
|
|
||||||
# autodetecting and linking to all available fortran compilers
|
|
||||||
append-fflags -fPIC
|
|
||||||
if use lapack; then
|
|
||||||
NUMPY_FCONFIG="config_fc --noopt --noarch"
|
|
||||||
# workaround bug 335908
|
|
||||||
[[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# don't version f2py, we will handle it.
|
|
||||||
sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die
|
|
||||||
|
|
||||||
# disable fuzzed tests
|
|
||||||
find numpy/*/tests -name '*.py' -exec sed -i \
|
|
||||||
-e 's:def \(.*_fuzz\):def _\1:' {} + || die
|
|
||||||
# very memory- and disk-hungry
|
|
||||||
sed -i -e 's:test_large_zip:_&:' numpy/lib/tests/test_io.py || die
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile() {
|
|
||||||
export MAKEOPTS=-j1 #660754
|
|
||||||
|
|
||||||
distutils-r1_python_compile ${NUMPY_FCONFIG}
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local deselect=(
|
|
||||||
numpy/typing/tests/test_typing.py::test_reveal[arrayterator.py]
|
|
||||||
)
|
|
||||||
|
|
||||||
distutils_install_for_testing --single-version-externally-managed \
|
|
||||||
--record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG}
|
|
||||||
|
|
||||||
cd "${TEST_DIR}/lib" || die
|
|
||||||
epytest ${deselect[@]/#/--deselect }
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install() {
|
|
||||||
# https://github.com/numpy/numpy/issues/16005
|
|
||||||
local mydistutilsargs=( build_src )
|
|
||||||
distutils-r1_python_install ${NUMPY_FCONFIG}
|
|
||||||
python_optimize
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
local DOCS=( LICENSE.txt README.md THANKS.txt )
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
local HTML_DOCS=( "${WORKDIR}"/html/. )
|
|
||||||
DOCS+=( "${DISTDIR}"/${PN}-{user,ref}-${DOC_PV}.pdf )
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
@ -1,144 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
FORTRAN_NEEDED=lapack
|
|
||||||
|
|
||||||
inherit distutils-r1 flag-o-matic fortran-2 toolchain-funcs
|
|
||||||
|
|
||||||
DOC_PV=${PV}
|
|
||||||
DESCRIPTION="Fast array and numerical python library"
|
|
||||||
HOMEPAGE="https://numpy.org/"
|
|
||||||
SRC_URI="
|
|
||||||
mirror://pypi/${PN:0:1}/${PN}/${P}.zip
|
|
||||||
doc? (
|
|
||||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-html.zip -> numpy-html-${DOC_PV}.zip
|
|
||||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-ref.pdf -> numpy-ref-${DOC_PV}.pdf
|
|
||||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-user.pdf -> numpy-user-${DOC_PV}.pdf
|
|
||||||
)"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="doc lapack"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
lapack? (
|
|
||||||
>=virtual/cblas-3.8
|
|
||||||
>=virtual/lapack-3.8
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
app-arch/unzip
|
|
||||||
>=dev-python/cython-0.29.24[${PYTHON_USEDEP}]
|
|
||||||
lapack? ( virtual/pkgconfig )
|
|
||||||
test? (
|
|
||||||
>=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cffi-1.14.0[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/numpy-1.21.0-no-hardcode-blasv2.patch
|
|
||||||
"${FILESDIR}"/numpy-1.21.3-unaligned-array.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
if use doc; then
|
|
||||||
unzip -qo "${DISTDIR}"/numpy-html-${DOC_PV}.zip -d html || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
if use lapack; then
|
|
||||||
local incdir="${EPREFIX}"/usr/include
|
|
||||||
local libdir="${EPREFIX}"/usr/$(get_libdir)
|
|
||||||
cat >> site.cfg <<-EOF || die
|
|
||||||
[blas]
|
|
||||||
include_dirs = ${incdir}
|
|
||||||
library_dirs = ${libdir}
|
|
||||||
blas_libs = cblas,blas
|
|
||||||
[lapack]
|
|
||||||
library_dirs = ${libdir}
|
|
||||||
lapack_libs = lapack
|
|
||||||
EOF
|
|
||||||
else
|
|
||||||
export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None
|
|
||||||
fi
|
|
||||||
|
|
||||||
export CC="$(tc-getCC) ${CFLAGS}"
|
|
||||||
|
|
||||||
append-flags -fno-strict-aliasing
|
|
||||||
|
|
||||||
# See progress in http://projects.scipy.org/scipy/numpy/ticket/573
|
|
||||||
# with the subtle difference that we don't want to break Darwin where
|
|
||||||
# -shared is not a valid linker argument
|
|
||||||
if [[ ${CHOST} != *-darwin* ]]; then
|
|
||||||
append-ldflags -shared
|
|
||||||
fi
|
|
||||||
|
|
||||||
# only one fortran to link with:
|
|
||||||
# linking with cblas and lapack library will force
|
|
||||||
# autodetecting and linking to all available fortran compilers
|
|
||||||
append-fflags -fPIC
|
|
||||||
if use lapack; then
|
|
||||||
NUMPY_FCONFIG="config_fc --noopt --noarch"
|
|
||||||
# workaround bug 335908
|
|
||||||
[[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# don't version f2py, we will handle it.
|
|
||||||
sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die
|
|
||||||
|
|
||||||
# disable fuzzed tests
|
|
||||||
find numpy/*/tests -name '*.py' -exec sed -i \
|
|
||||||
-e 's:def \(.*_fuzz\):def _\1:' {} + || die
|
|
||||||
# very memory- and disk-hungry
|
|
||||||
sed -i -e 's:test_large_zip:_&:' numpy/lib/tests/test_io.py || die
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile() {
|
|
||||||
export MAKEOPTS=-j1 #660754
|
|
||||||
|
|
||||||
distutils-r1_python_compile ${NUMPY_FCONFIG}
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local deselect=(
|
|
||||||
numpy/typing/tests/test_typing.py::test_reveal[arrayterator.py]
|
|
||||||
)
|
|
||||||
|
|
||||||
distutils_install_for_testing --single-version-externally-managed \
|
|
||||||
--record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG}
|
|
||||||
|
|
||||||
cd "${TEST_DIR}/lib" || die
|
|
||||||
epytest ${deselect[@]/#/--deselect }
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install() {
|
|
||||||
# https://github.com/numpy/numpy/issues/16005
|
|
||||||
local mydistutilsargs=( build_src )
|
|
||||||
distutils-r1_python_install ${NUMPY_FCONFIG}
|
|
||||||
python_optimize
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
local DOCS=( LICENSE.txt README.md THANKS.txt )
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
local HTML_DOCS=( "${WORKDIR}"/html/. )
|
|
||||||
DOCS+=( "${DISTDIR}"/${PN}-{user,ref}-${DOC_PV}.pdf )
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
@ -1,152 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
FORTRAN_NEEDED=lapack
|
|
||||||
|
|
||||||
inherit distutils-r1 flag-o-matic fortran-2 toolchain-funcs
|
|
||||||
|
|
||||||
DOC_PV=${PV}
|
|
||||||
DESCRIPTION="Fast array and numerical python library"
|
|
||||||
HOMEPAGE="https://numpy.org/"
|
|
||||||
SRC_URI="
|
|
||||||
mirror://pypi/${PN:0:1}/${PN}/${P}.zip
|
|
||||||
doc? (
|
|
||||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-html.zip -> numpy-html-${DOC_PV}.zip
|
|
||||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-ref.pdf -> numpy-ref-${DOC_PV}.pdf
|
|
||||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-user.pdf -> numpy-user-${DOC_PV}.pdf
|
|
||||||
)"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="doc lapack"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
lapack? (
|
|
||||||
>=virtual/cblas-3.8
|
|
||||||
>=virtual/lapack-3.8
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
app-arch/unzip
|
|
||||||
>=dev-python/cython-0.29.24[${PYTHON_USEDEP}]
|
|
||||||
lapack? ( virtual/pkgconfig )
|
|
||||||
test? (
|
|
||||||
>=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cffi-1.14.0[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/numpy-1.21.0-no-hardcode-blasv2.patch
|
|
||||||
"${FILESDIR}"/${P}-unaligned-array.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
if use doc; then
|
|
||||||
unzip -qo "${DISTDIR}"/numpy-html-${DOC_PV}.zip -d html || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
if use lapack; then
|
|
||||||
local incdir="${EPREFIX}"/usr/include
|
|
||||||
local libdir="${EPREFIX}"/usr/$(get_libdir)
|
|
||||||
cat >> site.cfg <<-EOF || die
|
|
||||||
[blas]
|
|
||||||
include_dirs = ${incdir}
|
|
||||||
library_dirs = ${libdir}
|
|
||||||
blas_libs = cblas,blas
|
|
||||||
[lapack]
|
|
||||||
library_dirs = ${libdir}
|
|
||||||
lapack_libs = lapack
|
|
||||||
EOF
|
|
||||||
else
|
|
||||||
export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None
|
|
||||||
fi
|
|
||||||
|
|
||||||
export CC="$(tc-getCC) ${CFLAGS}"
|
|
||||||
|
|
||||||
append-flags -fno-strict-aliasing
|
|
||||||
|
|
||||||
# See progress in http://projects.scipy.org/scipy/numpy/ticket/573
|
|
||||||
# with the subtle difference that we don't want to break Darwin where
|
|
||||||
# -shared is not a valid linker argument
|
|
||||||
if [[ ${CHOST} != *-darwin* ]]; then
|
|
||||||
append-ldflags -shared
|
|
||||||
fi
|
|
||||||
|
|
||||||
# only one fortran to link with:
|
|
||||||
# linking with cblas and lapack library will force
|
|
||||||
# autodetecting and linking to all available fortran compilers
|
|
||||||
append-fflags -fPIC
|
|
||||||
if use lapack; then
|
|
||||||
NUMPY_FCONFIG="config_fc --noopt --noarch"
|
|
||||||
# workaround bug 335908
|
|
||||||
[[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# don't version f2py, we will handle it.
|
|
||||||
sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die
|
|
||||||
|
|
||||||
# disable fuzzed tests
|
|
||||||
find numpy/*/tests -name '*.py' -exec sed -i \
|
|
||||||
-e 's:def \(.*_fuzz\):def _\1:' {} + || die
|
|
||||||
# very memory- and disk-hungry
|
|
||||||
sed -i -e 's:test_large_zip:_&:' numpy/lib/tests/test_io.py || die
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile() {
|
|
||||||
export MAKEOPTS=-j1 #660754
|
|
||||||
|
|
||||||
distutils-r1_python_compile ${NUMPY_FCONFIG}
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local deselect=(
|
|
||||||
numpy/typing/tests/test_typing.py::test_reveal[arrayterator.py]
|
|
||||||
)
|
|
||||||
|
|
||||||
if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then
|
|
||||||
# Degenerate case. arm32 chroot on arm64.
|
|
||||||
# bug #774108
|
|
||||||
deselect+=(
|
|
||||||
numpy/core/tests/test_cpu_features.py::Test_ARM_Features::test_features
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils_install_for_testing --single-version-externally-managed \
|
|
||||||
--record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG}
|
|
||||||
|
|
||||||
cd "${TEST_DIR}/lib" || die
|
|
||||||
epytest ${deselect[@]/#/--deselect }
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install() {
|
|
||||||
# https://github.com/numpy/numpy/issues/16005
|
|
||||||
local mydistutilsargs=( build_src )
|
|
||||||
distutils-r1_python_install ${NUMPY_FCONFIG}
|
|
||||||
python_optimize
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
local DOCS=( LICENSE.txt README.md THANKS.txt )
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
local HTML_DOCS=( "${WORKDIR}"/html/. )
|
|
||||||
DOCS+=( "${DISTDIR}"/${PN}-{user,ref}-${DOC_PV}.pdf )
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
@ -1,162 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
FORTRAN_NEEDED=lapack
|
|
||||||
|
|
||||||
inherit distutils-r1 flag-o-matic fortran-2 toolchain-funcs
|
|
||||||
|
|
||||||
DOC_PV=${PV}
|
|
||||||
DESCRIPTION="Fast array and numerical python library"
|
|
||||||
HOMEPAGE="https://numpy.org/"
|
|
||||||
SRC_URI="
|
|
||||||
mirror://pypi/${PN:0:1}/${PN}/${P}.zip
|
|
||||||
doc? (
|
|
||||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-html.zip -> numpy-html-${DOC_PV}.zip
|
|
||||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-ref.pdf -> numpy-ref-${DOC_PV}.pdf
|
|
||||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-user.pdf -> numpy-user-${DOC_PV}.pdf
|
|
||||||
)"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="doc lapack"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
lapack? (
|
|
||||||
>=virtual/cblas-3.8
|
|
||||||
>=virtual/lapack-3.8
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
app-arch/unzip
|
|
||||||
>=dev-python/cython-0.29.24[${PYTHON_USEDEP}]
|
|
||||||
lapack? ( virtual/pkgconfig )
|
|
||||||
test? (
|
|
||||||
>=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cffi-1.14.0[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/numpy-1.21.0-no-hardcode-blasv2.patch
|
|
||||||
"${FILESDIR}"/numpy-1.21.4-build-compiler-args-ceph.patch
|
|
||||||
"${FILESDIR}"/numpy-1.21.4-copy-python-3.9.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
if use doc; then
|
|
||||||
unzip -qo "${DISTDIR}"/numpy-html-${DOC_PV}.zip -d html || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
if use lapack; then
|
|
||||||
local incdir="${EPREFIX}"/usr/include
|
|
||||||
local libdir="${EPREFIX}"/usr/$(get_libdir)
|
|
||||||
cat >> site.cfg <<-EOF || die
|
|
||||||
[blas]
|
|
||||||
include_dirs = ${incdir}
|
|
||||||
library_dirs = ${libdir}
|
|
||||||
blas_libs = cblas,blas
|
|
||||||
[lapack]
|
|
||||||
library_dirs = ${libdir}
|
|
||||||
lapack_libs = lapack
|
|
||||||
EOF
|
|
||||||
else
|
|
||||||
export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None
|
|
||||||
fi
|
|
||||||
|
|
||||||
export CC="$(tc-getCC) ${CFLAGS}"
|
|
||||||
|
|
||||||
append-flags -fno-strict-aliasing
|
|
||||||
|
|
||||||
# See progress in http://projects.scipy.org/scipy/numpy/ticket/573
|
|
||||||
# with the subtle difference that we don't want to break Darwin where
|
|
||||||
# -shared is not a valid linker argument
|
|
||||||
if [[ ${CHOST} != *-darwin* ]]; then
|
|
||||||
append-ldflags -shared
|
|
||||||
fi
|
|
||||||
|
|
||||||
# only one fortran to link with:
|
|
||||||
# linking with cblas and lapack library will force
|
|
||||||
# autodetecting and linking to all available fortran compilers
|
|
||||||
append-fflags -fPIC
|
|
||||||
if use lapack; then
|
|
||||||
NUMPY_FCONFIG="config_fc --noopt --noarch"
|
|
||||||
# workaround bug 335908
|
|
||||||
[[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# don't version f2py, we will handle it.
|
|
||||||
sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die
|
|
||||||
|
|
||||||
# disable fuzzed tests
|
|
||||||
find numpy/*/tests -name '*.py' -exec sed -i \
|
|
||||||
-e 's:def \(.*_fuzz\):def _\1:' {} + || die
|
|
||||||
# very memory- and disk-hungry
|
|
||||||
sed -i -e 's:test_large_zip:_&:' numpy/lib/tests/test_io.py || die
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile() {
|
|
||||||
export MAKEOPTS=-j1 #660754
|
|
||||||
|
|
||||||
distutils-r1_python_compile ${NUMPY_FCONFIG}
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local deselect=(
|
|
||||||
numpy/typing/tests/test_typing.py::test_reveal[arrayterator.py]
|
|
||||||
)
|
|
||||||
|
|
||||||
if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then
|
|
||||||
# Degenerate case. arm32 chroot on arm64.
|
|
||||||
# bug #774108
|
|
||||||
deselect+=(
|
|
||||||
numpy/core/tests/test_cpu_features.py::Test_ARM_Features::test_features
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use x86 ; then
|
|
||||||
deselect+=(
|
|
||||||
# https://github.com/numpy/numpy/issues/18388
|
|
||||||
numpy/core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow
|
|
||||||
# https://github.com/numpy/numpy/issues/18387
|
|
||||||
numpy/random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils_install_for_testing --single-version-externally-managed \
|
|
||||||
--record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG}
|
|
||||||
|
|
||||||
cd "${TEST_DIR}/lib" || die
|
|
||||||
epytest ${deselect[@]/#/--deselect }
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install() {
|
|
||||||
# https://github.com/numpy/numpy/issues/16005
|
|
||||||
local mydistutilsargs=( build_src )
|
|
||||||
distutils-r1_python_install ${NUMPY_FCONFIG}
|
|
||||||
python_optimize
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
local DOCS=( LICENSE.txt README.md THANKS.txt )
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
local HTML_DOCS=( "${WORKDIR}"/html/. )
|
|
||||||
DOCS+=( "${DISTDIR}"/${PN}-{user,ref}-${DOC_PV}.pdf )
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
@ -1,151 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
FORTRAN_NEEDED=lapack
|
|
||||||
|
|
||||||
inherit distutils-r1 flag-o-matic fortran-2 toolchain-funcs
|
|
||||||
|
|
||||||
DOC_PV=${PV}
|
|
||||||
DESCRIPTION="Fast array and numerical python library"
|
|
||||||
HOMEPAGE="https://numpy.org/"
|
|
||||||
SRC_URI="
|
|
||||||
mirror://pypi/${PN:0:1}/${PN}/${P}.zip
|
|
||||||
doc? (
|
|
||||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-html.zip -> numpy-html-${DOC_PV}.zip
|
|
||||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-ref.pdf -> numpy-ref-${DOC_PV}.pdf
|
|
||||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-user.pdf -> numpy-user-${DOC_PV}.pdf
|
|
||||||
)"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="doc lapack"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
lapack? (
|
|
||||||
>=virtual/cblas-3.8
|
|
||||||
>=virtual/lapack-3.8
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
app-arch/unzip
|
|
||||||
>=dev-python/cython-0.29.24[${PYTHON_USEDEP}]
|
|
||||||
lapack? ( virtual/pkgconfig )
|
|
||||||
test? (
|
|
||||||
>=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cffi-1.14.0[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/numpy-1.21.0-no-hardcode-blasv2.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
if use doc; then
|
|
||||||
unzip -qo "${DISTDIR}"/numpy-html-${DOC_PV}.zip -d html || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
if use lapack; then
|
|
||||||
local incdir="${EPREFIX}"/usr/include
|
|
||||||
local libdir="${EPREFIX}"/usr/$(get_libdir)
|
|
||||||
cat >> site.cfg <<-EOF || die
|
|
||||||
[blas]
|
|
||||||
include_dirs = ${incdir}
|
|
||||||
library_dirs = ${libdir}
|
|
||||||
blas_libs = cblas,blas
|
|
||||||
[lapack]
|
|
||||||
library_dirs = ${libdir}
|
|
||||||
lapack_libs = lapack
|
|
||||||
EOF
|
|
||||||
else
|
|
||||||
export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None
|
|
||||||
fi
|
|
||||||
|
|
||||||
export CC="$(tc-getCC) ${CFLAGS}"
|
|
||||||
|
|
||||||
append-flags -fno-strict-aliasing
|
|
||||||
|
|
||||||
# See progress in http://projects.scipy.org/scipy/numpy/ticket/573
|
|
||||||
# with the subtle difference that we don't want to break Darwin where
|
|
||||||
# -shared is not a valid linker argument
|
|
||||||
if [[ ${CHOST} != *-darwin* ]]; then
|
|
||||||
append-ldflags -shared
|
|
||||||
fi
|
|
||||||
|
|
||||||
# only one fortran to link with:
|
|
||||||
# linking with cblas and lapack library will force
|
|
||||||
# autodetecting and linking to all available fortran compilers
|
|
||||||
append-fflags -fPIC
|
|
||||||
if use lapack; then
|
|
||||||
NUMPY_FCONFIG="config_fc --noopt --noarch"
|
|
||||||
# workaround bug 335908
|
|
||||||
[[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# don't version f2py, we will handle it.
|
|
||||||
sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die
|
|
||||||
|
|
||||||
# disable fuzzed tests
|
|
||||||
find numpy/*/tests -name '*.py' -exec sed -i \
|
|
||||||
-e 's:def \(.*_fuzz\):def _\1:' {} + || die
|
|
||||||
# very memory- and disk-hungry
|
|
||||||
sed -i -e 's:test_large_zip:_&:' numpy/lib/tests/test_io.py || die
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile() {
|
|
||||||
export MAKEOPTS=-j1 #660754
|
|
||||||
|
|
||||||
distutils-r1_python_compile ${NUMPY_FCONFIG}
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local deselect=(
|
|
||||||
numpy/typing/tests/test_typing.py::test_reveal[arrayterator.py]
|
|
||||||
)
|
|
||||||
|
|
||||||
if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then
|
|
||||||
# Degenerate case. arm32 chroot on arm64.
|
|
||||||
# bug #774108
|
|
||||||
deselect+=(
|
|
||||||
numpy/core/tests/test_cpu_features.py::Test_ARM_Features::test_features
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils_install_for_testing --single-version-externally-managed \
|
|
||||||
--record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG}
|
|
||||||
|
|
||||||
cd "${TEST_DIR}/lib" || die
|
|
||||||
epytest ${deselect[@]/#/--deselect }
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install() {
|
|
||||||
# https://github.com/numpy/numpy/issues/16005
|
|
||||||
local mydistutilsargs=( build_src )
|
|
||||||
distutils-r1_python_install ${NUMPY_FCONFIG}
|
|
||||||
python_optimize
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
local DOCS=( LICENSE.txt README.md THANKS.txt )
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
local HTML_DOCS=( "${WORKDIR}"/html/. )
|
|
||||||
DOCS+=( "${DISTDIR}"/${PN}-{user,ref}-${DOC_PV}.pdf )
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=flit
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A mutable set that remembers the order of its entries"
|
||||||
|
HOMEPAGE="https://github.com/rspeer/ordered-set"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~riscv ~x86"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
[[ -e pyproject.toml ]] &&
|
||||||
|
die "Upstream added pyproject.toml, recheck"
|
||||||
|
# write a custom pyproject.toml to ease setuptools bootstrap
|
||||||
|
cat > pyproject.toml <<-EOF || die
|
||||||
|
[build-system]
|
||||||
|
requires = ["flit_core >=3.2,<4"]
|
||||||
|
build-backend = "flit_core.buildapi"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "ordered-set"
|
||||||
|
dynamic = ["version", "description"]
|
||||||
|
|
||||||
|
[tool.flit.module]
|
||||||
|
name = "ordered_set"
|
||||||
|
EOF
|
||||||
|
}
|
@ -0,0 +1,49 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=flit
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Core utilities for Python packages"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/pypa/packaging/
|
||||||
|
https://pypi.org/project/packaging/"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/pypa/packaging/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="|| ( Apache-2.0 BSD-2 )"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/pyparsing-3.0.6[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pretend[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# write a custom pyproject.toml to ease setuptools bootstrap
|
||||||
|
cat > pyproject.toml <<-EOF || die
|
||||||
|
[build-system]
|
||||||
|
requires = ["flit_core >=3.2,<4"]
|
||||||
|
build-backend = "flit_core.buildapi"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "packaging"
|
||||||
|
dynamic = ["version"]
|
||||||
|
description = "More routines for operating on iterables, beyond itertools"
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
epytest --capture=no
|
||||||
|
}
|
@ -0,0 +1,65 @@
|
|||||||
|
# Copyright 2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=standalone
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://pypi.org/project/pdm-pep517/
|
||||||
|
https://github.com/pdm-project/pdm-pep517/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/pdm-project/pdm-pep517/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/packaging-21.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/toml-0.10.2[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
test? (
|
||||||
|
dev-vcs/git
|
||||||
|
)
|
||||||
|
"
|
||||||
|
# setuptools are used to build C extensions
|
||||||
|
RDEPEND+="
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
rm -r pdm/pep517/_vendor || die
|
||||||
|
find -name '*.py' -exec sed \
|
||||||
|
-e 's:from pdm\.pep517\._vendor\.:from :' \
|
||||||
|
-e 's:from pdm\.pep517\._vendor ::' \
|
||||||
|
-i {} + || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
git config --global user.email "test@example.com" || die
|
||||||
|
git config --global user.name "Test User" || die
|
||||||
|
distutils-r1_src_test
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=()
|
||||||
|
if [[ ${EPYTHON} == pypy3 ]]; then
|
||||||
|
EPYTEST_DESELECT+=(
|
||||||
|
tests/test_wheel.py::test_override_tags_in_wheel_filename
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
epytest
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST pikepdf-4.2.0.tar.gz 2337822 BLAKE2B ca966ae2c1be1805cc6ce99e34eb6692fe89bf29f1e6a3161eb04daa52e3890ae8d8859e4165801395efc5d3364d215ea5fc659fb344388a36bf32b638ad72bf SHA512 a01e2b0defbf6689b7d47346a85c07ae575ae57833d5be93e4099890ed5bb5b205595dc43ddd917ab4adc87ad591199c728c886358b8d4c03b1522193428e23d
|
DIST pikepdf-4.2.0.tar.gz 2337822 BLAKE2B ca966ae2c1be1805cc6ce99e34eb6692fe89bf29f1e6a3161eb04daa52e3890ae8d8859e4165801395efc5d3364d215ea5fc659fb344388a36bf32b638ad72bf SHA512 a01e2b0defbf6689b7d47346a85c07ae575ae57833d5be93e4099890ed5bb5b205595dc43ddd917ab4adc87ad591199c728c886358b8d4c03b1522193428e23d
|
||||||
DIST pikepdf-4.3.1.tar.gz 2348339 BLAKE2B 9b1f04a87e7e7d2dc2589eaa7db4a670e8ceda753191e473e1a5da9ead532121d0d7d4f734fa234d60a9b5a5931d022f46e252a8c69947e9553df67b81043a06 SHA512 0156ad57a9af2d39538f9f728231e931e1a44ecea74d26e850640fa062f2dc60d427deeea5fc25ab33037d11d7a403cefe5f930c7ed92be92a6d3432f87d8fa6
|
DIST pikepdf-4.3.1.tar.gz 2348339 BLAKE2B 9b1f04a87e7e7d2dc2589eaa7db4a670e8ceda753191e473e1a5da9ead532121d0d7d4f734fa234d60a9b5a5931d022f46e252a8c69947e9553df67b81043a06 SHA512 0156ad57a9af2d39538f9f728231e931e1a44ecea74d26e850640fa062f2dc60d427deeea5fc25ab33037d11d7a403cefe5f930c7ed92be92a6d3432f87d8fa6
|
||||||
|
DIST pikepdf-4.4.1.tar.gz 2350630 BLAKE2B 3a0973bda758952ad4f2bbbb37061882e86cc17776ff72a5ac69950c46adfe0584f447f3dbe0ddac80d41b3b183fe31caad96dbd4c1db4c14499b449c8cdd371 SHA512 4158ff7f8e5ee6098ea73ec3bc47686b3113d941d9522ded0ffd572e624d3b1099939b5103de8eb90c73048fe8ca2be8bc5e1b3946ebe8159df877cf9633f6fa
|
||||||
|
@ -0,0 +1,53 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
MY_P=${P/_p/.post}
|
||||||
|
DESCRIPTION="Python library to work with pdf files based on qpdf"
|
||||||
|
HOMEPAGE="https://pypi.org/project/pikepdf/ https://github.com/pikepdf/pikepdf"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz
|
||||||
|
-> ${MY_P}.tar.gz"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="MPL-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND=">=app-text/qpdf-10.3.1:0="
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
<dev-python/pillow-10[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/lxml-4.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/packaging-20[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pybind11-2.7.1[${PYTHON_USEDEP}]"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-python/pybind11-2.7.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/setuptools_scm-4.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/toml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
>=dev-python/attrs-20.2.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/hypothesis-5[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff]
|
||||||
|
>=dev-python/psutil-5[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pytest-6[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
#distutils_enable_sphinx docs \
|
||||||
|
# dev-python/ipython \
|
||||||
|
# dev-python/matplotlib \
|
||||||
|
# dev-python/sphinx_rtd_theme
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i -e '/-n auto/d' pyproject.toml || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST prometheus_client-0.12.0.tar.gz 73521 BLAKE2B eb90c7f3991519fe132f01612d6aadd10193947069b79e67c9e37faa4e174d739ca78b12de028dfc922cb368c7405baeb4fa929b378a91db12e67190ca3561ff SHA512 ebcbbed706a96a9402eb985f5da15ee8fae09de952144a89a3323e147c0d16615ccd9be58b50b5b8ede37d4f66de1e2ce93ed53c4da939ca2e44c7aac687a1f7
|
DIST prometheus_client-0.12.0.tar.gz 73521 BLAKE2B eb90c7f3991519fe132f01612d6aadd10193947069b79e67c9e37faa4e174d739ca78b12de028dfc922cb368c7405baeb4fa929b378a91db12e67190ca3561ff SHA512 ebcbbed706a96a9402eb985f5da15ee8fae09de952144a89a3323e147c0d16615ccd9be58b50b5b8ede37d4f66de1e2ce93ed53c4da939ca2e44c7aac687a1f7
|
||||||
|
DIST prometheus_client-0.13.0.tar.gz 73277 BLAKE2B 547966c22efdaaa76b821918e8e22ebc14f3a43b7f712c6c8be13d0a6ab3d94d56dd92576e63d1a9a0ba62a5ff662b717c5b6294f48a5e28fd40dfe4693706a2 SHA512 4991e534a78b08686f46ff7214cf2e19a97e302977a696460adfde1e0245d4cc115502a2cc9cb5d5f34401712ab6f84f9b77bb0f88aefaf9c534eadfe66803f3
|
||||||
|
@ -0,0 +1,25 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Python client for the Prometheus monitoring system"
|
||||||
|
HOMEPAGE="https://pypi.org/project/prometheus-client/
|
||||||
|
https://github.com/prometheus/client_python/"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/prometheus/client_python/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/client_python-${PV}"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="dev-python/twisted[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1,3 +1,4 @@
|
|||||||
DIST proto-plus-1.19.2.gh.tar.gz 61183 BLAKE2B 8c1c0a70ae573fc8c64004e4bd923f403bf82dbb3f9aef19239770fcd316e513ba11e6e47c56bda65c88e476072f0d90af02c83eb0fe8a4045cf3ceeccca3fc7 SHA512 c3cfb1b6aabeb4eab7f6c2c16551c1f9fbf29dc3199b496bc4b47b4b80cbe4684e5c97abe26fa4c1afd03c844a2e8f006f16c24932d2a7cf8190452943c2fad0
|
DIST proto-plus-1.19.2.gh.tar.gz 61183 BLAKE2B 8c1c0a70ae573fc8c64004e4bd923f403bf82dbb3f9aef19239770fcd316e513ba11e6e47c56bda65c88e476072f0d90af02c83eb0fe8a4045cf3ceeccca3fc7 SHA512 c3cfb1b6aabeb4eab7f6c2c16551c1f9fbf29dc3199b496bc4b47b4b80cbe4684e5c97abe26fa4c1afd03c844a2e8f006f16c24932d2a7cf8190452943c2fad0
|
||||||
DIST proto-plus-1.19.7.gh.tar.gz 64614 BLAKE2B 918bb04a084cff8a2188a68c31f08aebd25443fd399d69ba9734d002f773df2769904e4aa551cd1d93586ee4710f2b7160e6a8eb4160fe1bb846be18155a7b29 SHA512 118187a852a998deba3b5d7e700cd084eab966b549c7dba6150f318e9602f950a9533e27d775f9f0bca2fedaed6375b592bae42c55cf5aee8b52708fcc4691c8
|
DIST proto-plus-1.19.7.gh.tar.gz 64614 BLAKE2B 918bb04a084cff8a2188a68c31f08aebd25443fd399d69ba9734d002f773df2769904e4aa551cd1d93586ee4710f2b7160e6a8eb4160fe1bb846be18155a7b29 SHA512 118187a852a998deba3b5d7e700cd084eab966b549c7dba6150f318e9602f950a9533e27d775f9f0bca2fedaed6375b592bae42c55cf5aee8b52708fcc4691c8
|
||||||
DIST proto-plus-1.19.8.gh.tar.gz 64668 BLAKE2B d90ba4bd2404a0b05325e08e9ec39de0b819af00e9229ca54a7173364a99e0cedb584696093f3df7720d96f8291fad4f26b9963171de8ebd44396550dc932e17 SHA512 e9bd790ec7d2cc7fa54e5c8be374e4a7bc5c92899c5259e6985024fe1c9e25768c1355b808a9a4c38b132026412b2e7d91c5fe0098af661b1dac604b84aaf2ee
|
DIST proto-plus-1.19.8.gh.tar.gz 64668 BLAKE2B d90ba4bd2404a0b05325e08e9ec39de0b819af00e9229ca54a7173364a99e0cedb584696093f3df7720d96f8291fad4f26b9963171de8ebd44396550dc932e17 SHA512 e9bd790ec7d2cc7fa54e5c8be374e4a7bc5c92899c5259e6985024fe1c9e25768c1355b808a9a4c38b132026412b2e7d91c5fe0098af661b1dac604b84aaf2ee
|
||||||
|
DIST proto-plus-1.19.9.gh.tar.gz 64845 BLAKE2B 82f6021b912140c49e8625c51050a384f8375a3619a78537f6aadded03ce7524687e8f118cd4081c9a8376b3756c608ed781cac9808fb2c8d0bad9e32d2063ec SHA512 671dad31faf33a81bc90d98ffac599b51930f1f4f17c10c9a1dd5f242b3c55d04b9e59080197cdd42c1c430a72e1e812aadafbcf20cfb5da2fcd17c20e5a69e3
|
||||||
|
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 2021-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Beautiful, Pythonic protocol buffers"
|
||||||
|
HOMEPAGE="https://pypi.org/project/proto-plus/ https://github.com/googleapis/proto-plus-python"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/googleapis/proto-plus-python/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S="${WORKDIR}/${PN}-python-${PV}"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/protobuf-python[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/google-api-core[${PYTHON_USEDEP}]
|
||||||
|
dev-python/grpcio[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytz[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
distutils_enable_sphinx docs \
|
||||||
|
dev-python/sphinx_rtd_theme
|
@ -0,0 +1 @@
|
|||||||
|
DIST py-zabbix-1.1.7.tar.gz 11447 BLAKE2B a61450f4d1783bbf6879b94300ae71fbecded5f232c234402d19c59af9bea5f1ef164c549a433a4b221032b6105d4ecd0f3515104ed8f02d3da8888ee3c45a90 SHA512 eaa8c5e5ad5604ad4ad41de439ab7856f6907346caa56bed67520df3316f313038e300cbf96f8389dca5be30079392406bcbb26f3ba40d2ef39ccd2fc99c11b6
|
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>alexxy@gentoo.org</email>
|
||||||
|
<name>Alexey Shvetsov</name>
|
||||||
|
</maintainer>
|
||||||
|
<stabilize-allarches/>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="pypi">py-zabbix</remote-id>
|
||||||
|
<remote-id type="github">adubkov/py-zabbix</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,16 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Zabbix module for Python"
|
||||||
|
HOMEPAGE="https://pypi.org/project/py-zabbix https://github.com/adubkov/py-zabbix"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
@ -0,0 +1,60 @@
|
|||||||
|
# Copyright 2004-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=flit
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
MY_P=${P/-/_}
|
||||||
|
DESCRIPTION="Easy-to-use Python module for text parsing"
|
||||||
|
HOMEPAGE="https://github.com/pyparsing/pyparsing https://pypi.org/project/pyparsing/"
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${MY_P}"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="examples"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
EPYTEST_IGNORE=(
|
||||||
|
# railroad-diagrams not packaged (and not suitable for packaging yet)
|
||||||
|
tests/test_diagram.py
|
||||||
|
)
|
||||||
|
|
||||||
|
EPYTEST_DESELECT=(
|
||||||
|
# also railroad-diagrams
|
||||||
|
tests/test_unit.py::Test02_WithoutPackrat::testEmptyExpressionsAreHandledProperly
|
||||||
|
tests/test_unit.py::Test04_WithPackrat::testEmptyExpressionsAreHandledProperly
|
||||||
|
tests/test_unit.py::Test06_WithBoundedPackrat::testEmptyExpressionsAreHandledProperly
|
||||||
|
tests/test_unit.py::Test08_WithUnboundedPackrat::testEmptyExpressionsAreHandledProperly
|
||||||
|
tests/test_unit.py::Test09_WithLeftRecursionParsing::testEmptyExpressionsAreHandledProperly
|
||||||
|
tests/test_unit.py::Test10_WithLeftRecursionParsingBoundedMemo::testEmptyExpressionsAreHandledProperly
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
[[ -e pyproject.toml ]] &&
|
||||||
|
die "Upstream added pyproject.toml, recheck"
|
||||||
|
# write a custom pyproject.toml to ease setuptools bootstrap
|
||||||
|
cat > pyproject.toml <<-EOF || die
|
||||||
|
[build-system]
|
||||||
|
requires = ["flit_core >=3.2,<4"]
|
||||||
|
build-backend = "flit_core.buildapi"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "pyparsing"
|
||||||
|
dynamic = ["version", "description"]
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
if use examples; then
|
||||||
|
docompress -x /usr/share/doc/${PF}/examples
|
||||||
|
dodoc -r examples
|
||||||
|
fi
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST pfbfer-20070710.zip 677333 BLAKE2B 100214476a361a5e5d1f3da0999591345f6e3a3f8c6bc3f6a3e9eca734190c6259758a43302c6e41254d33491fe535eb7d5dd07aa9727c912424bebc31fc18df SHA512 6fd4a5d955464b10d13a7b748703450c1fe120d5ed09e8cfa1b4dfa9c183c59fe001df29433af551796b0df62544b7ddc364f9bb1bdcc2cd300434340ffcc4f2
|
DIST pfbfer-20070710.zip 677333 BLAKE2B 100214476a361a5e5d1f3da0999591345f6e3a3f8c6bc3f6a3e9eca734190c6259758a43302c6e41254d33491fe535eb7d5dd07aa9727c912424bebc31fc18df SHA512 6fd4a5d955464b10d13a7b748703450c1fe120d5ed09e8cfa1b4dfa9c183c59fe001df29433af551796b0df62544b7ddc364f9bb1bdcc2cd300434340ffcc4f2
|
||||||
DIST reportlab-3.6.3.tar.gz 4502282 BLAKE2B 32f096eaa6526eaa3460f85f85e9e2e3947a4f774cce4306248fabd061e0acce3ffcc711552928ddf7d7d6b0cbb8e6629fbf35cbd15176972e0739cf6fd4751e SHA512 7e2f284a322371aa217ed60b966721b0ea5e2419e76bcc50ade9924e0ce6c3f5f9858500b17457883c41738ce5989624b87d26408a8afb65f737e82884b9c7df
|
DIST reportlab-3.6.3.tar.gz 4502282 BLAKE2B 32f096eaa6526eaa3460f85f85e9e2e3947a4f774cce4306248fabd061e0acce3ffcc711552928ddf7d7d6b0cbb8e6629fbf35cbd15176972e0739cf6fd4751e SHA512 7e2f284a322371aa217ed60b966721b0ea5e2419e76bcc50ade9924e0ce6c3f5f9858500b17457883c41738ce5989624b87d26408a8afb65f737e82884b9c7df
|
||||||
DIST reportlab-3.6.5.tar.gz 4503259 BLAKE2B a394be1fb12808c31aa452da864103487e7d3f04aa3bb173f104e08ff83601da3c9c985c60b0a7b06d9795f87afbafec5a5d0ce1b615e64d1fd648109313eb04 SHA512 47579a5997f4a2f1fc7f2fb2cba7ca6e27913308926dc1e024a169f6ae52a11d62198c56ab9f0e3aae25a12b6c235fd8d4943f8400e8a9bcec937501aa406d76
|
DIST reportlab-3.6.5.tar.gz 4503259 BLAKE2B a394be1fb12808c31aa452da864103487e7d3f04aa3bb173f104e08ff83601da3c9c985c60b0a7b06d9795f87afbafec5a5d0ce1b615e64d1fd648109313eb04 SHA512 47579a5997f4a2f1fc7f2fb2cba7ca6e27913308926dc1e024a169f6ae52a11d62198c56ab9f0e3aae25a12b6c235fd8d4943f8400e8a9bcec937501aa406d76
|
||||||
|
DIST reportlab-3.6.6.tar.gz 4509457 BLAKE2B d2cb5c764aa86000dd97798b5aea25fdc07e4230015dda6c11099e379884ca74532327dfe723069d5e56569dd7e120d94918f64a5f705bfef212b484f812aa7b SHA512 6f05e5f7c6b6c0b6f8d65fe11e2900ecd427f6c293672b12a4cc094476da1cdebc0df59198660614251d388241d7c886c345f958d337d351ea048b3b25a71ba5
|
||||||
|
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Tools for generating printable PDF documents from any data source"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://www.reportlab.com/
|
||||||
|
https://pypi.org/project/reportlab/"
|
||||||
|
SRC_URI="
|
||||||
|
mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz
|
||||||
|
https://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
media-libs/freetype
|
||||||
|
media-libs/libart_lgpl
|
||||||
|
sys-libs/zlib:="
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}]"
|
||||||
|
BDEPEND="
|
||||||
|
app-arch/unzip"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs/source
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
# bug 738312, remove -L/usr/lib from link line
|
||||||
|
"${FILESDIR}"/${PN}-3.5.48-usr-lib-LLD.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${P}.tar.gz
|
||||||
|
cd ${P}/src/reportlab/fonts || die
|
||||||
|
unpack pfbfer-20070710.zip
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
cat > local-setup.cfg <<-EOF || die
|
||||||
|
[OPTIONS]
|
||||||
|
no-download-t1-files = 1
|
||||||
|
use-system-libart = 1
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
pushd tests >/dev/null || die
|
||||||
|
"${EPYTHON}" runAll.py -v || die "Testing failed with ${EPYTHON}"
|
||||||
|
popd >/dev/null || die
|
||||||
|
}
|
@ -0,0 +1,98 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=standalone
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||||
|
PYTHON_REQ_USE="xml(+)"
|
||||||
|
|
||||||
|
inherit distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
CPY_PATCHSET="python-gentoo-patches-3.10.0_p1"
|
||||||
|
DESCRIPTION="Collection of extensions to Distutils"
|
||||||
|
HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
||||||
|
https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~riscv ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/appdirs[${PYTHON_USEDEP}]
|
||||||
|
dev-python/more-itertools[${PYTHON_USEDEP}]
|
||||||
|
dev-python/ordered-set[${PYTHON_USEDEP}]
|
||||||
|
dev-python/packaging[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
dev-python/wheel[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/build[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pip[${PYTHON_USEDEP}]
|
||||||
|
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
dev-python/tomli[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/virtualenv-20[${PYTHON_USEDEP}]
|
||||||
|
dev-python/wheel[${PYTHON_USEDEP}]
|
||||||
|
' python3_{8..10} pypy3)
|
||||||
|
)
|
||||||
|
"
|
||||||
|
PDEPEND="
|
||||||
|
>=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
|
||||||
|
dev-python/setuptools_scm[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
DOCS=( {CHANGES,README}.rst )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# remove bundled dependencies, setuptools will switch to system deps
|
||||||
|
# automatically
|
||||||
|
rm -r */_vendor || die
|
||||||
|
|
||||||
|
# apply distutils patches to the bundled distutils
|
||||||
|
pushd setuptools/_distutils >/dev/null || die
|
||||||
|
# TODO: distutils C++ patch?
|
||||||
|
eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch"
|
||||||
|
popd >/dev/null || die
|
||||||
|
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local -x SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||||
|
|
||||||
|
# keep in sync with python_gen_cond_dep above!
|
||||||
|
has "${EPYTHON}" python3.{8..10} pypy3 || continue
|
||||||
|
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# network
|
||||||
|
setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
|
||||||
|
setuptools/tests/test_distutils_adoption.py
|
||||||
|
setuptools/tests/test_virtualenv.py::test_clean_env_install
|
||||||
|
setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
|
||||||
|
'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
|
||||||
|
setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
|
||||||
|
# unhappy with pytest-xdist?
|
||||||
|
setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index
|
||||||
|
# TODO
|
||||||
|
setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
|
||||||
|
setuptools/tests/test_test.py::test_tests_are_run_once
|
||||||
|
)
|
||||||
|
|
||||||
|
# test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
|
||||||
|
# It tries to sandbox the test in a tempdir
|
||||||
|
HOME="${PWD}" epytest \
|
||||||
|
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=flit
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A built-package format for Python"
|
||||||
|
HOMEPAGE="https://pypi.org/project/wheel/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
SRC_URI="https://github.com/pypa/wheel/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/packaging[${PYTHON_USEDEP}]"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed \
|
||||||
|
-e 's:--cov --cov-config=setup.cfg::g' \
|
||||||
|
-i setup.cfg || die
|
||||||
|
|
||||||
|
# unbundle packaging
|
||||||
|
rm -r src/wheel/vendored || die
|
||||||
|
sed -i -e 's:\.vendored\.::' src/wheel/*.py || die
|
||||||
|
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
[[ -e pyproject.toml ]] &&
|
||||||
|
die "Upstream added pyproject.toml, recheck"
|
||||||
|
# write a custom pyproject.toml to ease setuptools bootstrap
|
||||||
|
cat > pyproject.toml <<-EOF || die
|
||||||
|
[build-system]
|
||||||
|
requires = ["flit_core >=3.2,<4"]
|
||||||
|
build-backend = "flit_core.buildapi"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "wheel"
|
||||||
|
description = "A built-package format for Python"
|
||||||
|
dynamic = ["version"]
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
wheel = "wheel.cli:main"
|
||||||
|
|
||||||
|
[project.entry-points."distutils.commands"]
|
||||||
|
bdist_wheel = "wheel.bdist_wheel:bdist_wheel"
|
||||||
|
EOF
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST latte-dock-0.10.4.tar.xz 990944 BLAKE2B 968b79d4bc96dcbd46288191af8ca7881f4cbbe2d93b15a861f9c1291a92d90d6ff15c4310839370f60166573fd9dd264caba10b26db0fe275f0dc92a6f1e131 SHA512 e852805dd9e9f04a485dfd5ca87a9965ef697ce0fd77b06cda5a9e9e15fc702e1111835b84a9c5b369734106c30be8b0f8f0ba650ff1d346aef23531c7b15711
|
DIST latte-dock-0.10.4.tar.xz 990944 BLAKE2B 968b79d4bc96dcbd46288191af8ca7881f4cbbe2d93b15a861f9c1291a92d90d6ff15c4310839370f60166573fd9dd264caba10b26db0fe275f0dc92a6f1e131 SHA512 e852805dd9e9f04a485dfd5ca87a9965ef697ce0fd77b06cda5a9e9e15fc702e1111835b84a9c5b369734106c30be8b0f8f0ba650ff1d346aef23531c7b15711
|
||||||
DIST latte-dock-0.10.6.tar.xz 1000544 BLAKE2B c4bccbaa0c34924859225bf4746a815de9c72933d2535b7127abe641627261ec58a21652e5d8cf4efb3bffdbade86489963237449d026e99eb37b79029bec271 SHA512 d5b64b9bca20ce2848c3e7c9ac34aae598691c8181445d942728b47a77f4906363eacb7a8fcade3090fb9eb46221c18378816c6fdaf31fd2ff72987eddfdf8c0
|
DIST latte-dock-0.10.8.tar.xz 1001964 BLAKE2B 225692e9dce8a839cb37277c3627819272cd1edbec4717339f3d1e9801d2fccbb87411638790a078533372a4c597c92e8108c3b814b05ac4682e32781b73965b SHA512 a1148401477d7c2a5123694820443313cd13196a8a2f86815aa89900ac5fb1f8196fc3b99b861ee2c30211071f474965093c0dae42f4b02bb4071c71e8d7bed5
|
||||||
DIST latte-dock-0.10.7.tar.xz 1001356 BLAKE2B 3f81a354231bdb448d3172f187ba2e6cb9ac6dd69b7d61102df336d00cf95e2a6094c5d51b2375921e64f1ac1977169a479fe94d16547dc0be1aa382f4c45dfe SHA512 0ecf2f466d3010a67e08ed3079c37dac528926b0faabc68e4a35a419546b2b64acad3dc630d0a6a1d37228eed7073de88e8394beee63e4436e1f7607bb0ecbb3
|
|
||||||
|
@ -1,61 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
KFMIN=5.82.0
|
|
||||||
QTMIN=5.15.2
|
|
||||||
inherit ecm kde.org
|
|
||||||
|
|
||||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
|
||||||
SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Elegant dock, based on KDE Frameworks"
|
|
||||||
HOMEPAGE="https://apps.kde.org/latte-dock/"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=dev-qt/qtdbus-${QTMIN}:5
|
|
||||||
>=dev-qt/qtdeclarative-${QTMIN}:5
|
|
||||||
>=dev-qt/qtgraphicaleffects-${QTMIN}:5
|
|
||||||
>=dev-qt/qtgui-${QTMIN}:5[X]
|
|
||||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
|
||||||
>=dev-qt/qtx11extras-${QTMIN}:5
|
|
||||||
>=kde-frameworks/kactivities-${KFMIN}:5
|
|
||||||
>=kde-frameworks/karchive-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kcrash-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kdbusaddons-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kdeclarative-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kglobalaccel-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kguiaddons-${KFMIN}:5
|
|
||||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kiconthemes-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kio-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kirigami-${KFMIN}:5
|
|
||||||
>=kde-frameworks/knewstuff-${KFMIN}:5
|
|
||||||
>=kde-frameworks/knotifications-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kpackage-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kwayland-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kwindowsystem-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kxmlgui-${KFMIN}:5
|
|
||||||
>=kde-frameworks/plasma-${KFMIN}:5[X]
|
|
||||||
x11-libs/libSM
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libxcb
|
|
||||||
x11-libs/xcb-util
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
>=dev-qt/qtquickcontrols-${QTMIN}:5
|
|
||||||
>=dev-qt/qtquickcontrols2-${QTMIN}:5
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=( CHANGELOG.md README.md )
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${PN}-0.10.1-dont-hide-warnings.patch" )
|
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST chromaprint-1.5.0.tar.gz 615217 BLAKE2B 14bf219c23360028ac232e67b7eb36e3226bb6e19838ef239266a9d826e1bd50d798f69f961bcb78f36baf48630a93f53243f8f9ab6187c403382bab23042630 SHA512 25ab3f7834581a8204ac09614fef6036c801f5f8b7b72a864701ca0de8082b2458a2bd7c075d53451581d770898576411cdcfb23ce609bc82f9d9b395cc1a129
|
|
||||||
DIST chromaprint-1.5.1.tar.gz 1581159 BLAKE2B 9f7f030e97d3114cf679df298d313ea826c0fb05e7e7d8a10090d0a27ed0811b380b81b29fce973e0493826c478964367396311fd0484619cb2fc4c2d8e0d4c0 SHA512 ea16e4d2b879c15b1d9b9ec93878da8b893f1834c70942663e1d2d106c2e0a661094fe2dd3bae7a6c2a1f9d5d8fab5e0b0ba493561090cf57b2228606fad1e66
|
DIST chromaprint-1.5.1.tar.gz 1581159 BLAKE2B 9f7f030e97d3114cf679df298d313ea826c0fb05e7e7d8a10090d0a27ed0811b380b81b29fce973e0493826c478964367396311fd0484619cb2fc4c2d8e0d4c0 SHA512 ea16e4d2b879c15b1d9b9ec93878da8b893f1834c70942663e1d2d106c2e0a661094fe2dd3bae7a6c2a1f9d5d8fab5e0b0ba493561090cf57b2228606fad1e66
|
||||||
DIST gtest-1.10.0.tar.gz 904227 BLAKE2B 96b97b06730a9f55505a4d40bd4861560503a1437d29dadc6e8d3c743ccde020e61b3f96082fb9bda0666d739e69d3990bad06161e9c531c40021dc0826f5547 SHA512 7ebf5b4a80f364564066ccc7ce2e2092b12942a754c4854afd97380f19811e0fd45c300d423234cda0e05966ddbdaebcb1625e856ce55b0c81b0bae0dd971532
|
DIST gtest-1.10.0.tar.gz 904227 BLAKE2B 96b97b06730a9f55505a4d40bd4861560503a1437d29dadc6e8d3c743ccde020e61b3f96082fb9bda0666d739e69d3990bad06161e9c531c40021dc0826f5547 SHA512 7ebf5b4a80f364564066ccc7ce2e2092b12942a754c4854afd97380f19811e0fd45c300d423234cda0e05966ddbdaebcb1625e856ce55b0c81b0bae0dd971532
|
||||||
|
@ -1,46 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
CMAKE_ECLASS=cmake
|
|
||||||
GTEST_VERSION="1.10.0"
|
|
||||||
GTEST_DIR_VERSION="1.10.x"
|
|
||||||
inherit cmake-multilib
|
|
||||||
|
|
||||||
DESCRIPTION="Library implementing a custom algorithm for extracting audio fingerprints"
|
|
||||||
HOMEPAGE="https://acoustid.org/chromaprint"
|
|
||||||
SRC_URI="https://github.com/acoustid/${PN}/releases/download/v${PV}/${P}.tar.gz
|
|
||||||
test? ( https://github.com/google/googletest/archive/v$(ver_cut 1-2 ${GTEST_VERSION}).x.tar.gz -> gtest-${GTEST_VERSION}.tar.gz )
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0/1"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
|
|
||||||
IUSE="test tools"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
# note: use ffmpeg instead of fftw because it's recommended and required for tools
|
|
||||||
RDEPEND=">=media-video/ffmpeg-2.6:0=[${MULTILIB_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
|
|
||||||
|
|
||||||
DOCS=( NEWS.txt README.md )
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}-v${PV}"
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
export GTEST_ROOT="${WORKDIR}/googletest-${GTEST_DIR_VERSION}/googletest/"
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DBUILD_TOOLS=$(multilib_native_usex tools ON OFF)
|
|
||||||
-DBUILD_TESTS=$(usex test ON OFF)
|
|
||||||
-DFFT_LIB=avfft
|
|
||||||
-DAUDIO_PROCESSOR_LIB="swresample"
|
|
||||||
)
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
cd tests && (./all_tests || die "Tests failed")
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST schismtracker-20210525.tar.gz 1309489 BLAKE2B acc295bed4236d3161fd67a8c97ddadaa07d6d6319a0ad75710fb4d3c7ea251edd2648932533e9181b512fd78b54db929b07e3472ff754220f16cca2bd610932 SHA512 1f20535e4e3b5175ceea803a45b7286a99cab248829c39d11bc85780bc63e0e26c49ad78997a13e290fb4ad2c292d15eeb494a975d53fbe25dec80499e675b16
|
DIST schismtracker-20210525.tar.gz 1309489 BLAKE2B acc295bed4236d3161fd67a8c97ddadaa07d6d6319a0ad75710fb4d3c7ea251edd2648932533e9181b512fd78b54db929b07e3472ff754220f16cca2bd610932 SHA512 1f20535e4e3b5175ceea803a45b7286a99cab248829c39d11bc85780bc63e0e26c49ad78997a13e290fb4ad2c292d15eeb494a975d53fbe25dec80499e675b16
|
||||||
DIST schismtracker-20211116.tar.gz 1309344 BLAKE2B 9c6475779cb28955acffa708d8a54b4d6be28d107624a3fc0d3604fc4edbab04cc730da08e78f623e287bcee5ffa337dc56215004aa1a67bc99377c0971cbda1 SHA512 5f666995ac2f0785c3f39077dbd39d6549b9d0d5b9ee85dc72b3bbc1e77d5d7d2465df9f64cff77ee2896c148f8c4166ed6eb88efc1e7121736017bc56a00026
|
DIST schismtracker-20211116.tar.gz 1309344 BLAKE2B 9c6475779cb28955acffa708d8a54b4d6be28d107624a3fc0d3604fc4edbab04cc730da08e78f623e287bcee5ffa337dc56215004aa1a67bc99377c0971cbda1 SHA512 5f666995ac2f0785c3f39077dbd39d6549b9d0d5b9ee85dc72b3bbc1e77d5d7d2465df9f64cff77ee2896c148f8c4166ed6eb88efc1e7121736017bc56a00026
|
||||||
|
DIST schismtracker-20220125.tar.gz 1309919 BLAKE2B 54fedd4936e51db248b8b237d53b2338488c8332866a221bdd03bc1598aabca80f644052bdc48d8be2f95ad3b10bc6cfc9065a37b62f09df7c0ef4d304a8adde SHA512 c34979cf6cda75a4e5533631b8134b2994a5491f1182b69bfa6e1c97fd2f2e0dc90d883c6184fb24e68e60351e91ca1a2bcccb3708fc0099d0051452b5a44851
|
||||||
|
@ -0,0 +1,52 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit autotools desktop xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Free implementation of Impulse Tracker, a tool used to create high quality music"
|
||||||
|
HOMEPAGE="http://schismtracker.org/"
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2 LGPL-2 public-domain"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
media-libs/alsa-lib
|
||||||
|
media-libs/libsdl[X]
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXv
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/os-headers
|
||||||
|
x11-base/xorg-proto
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
sed -e "/^Categories/ s/Audio/AudioVideo;Audio/" -i sys/fd.org/schism.desktop || die
|
||||||
|
|
||||||
|
# workaround for temporary files (missing directory). Fixes:
|
||||||
|
# sh ./scripts/build-font.sh . font/default-lower.fnt font/default-upper-alt.fnt font/default-upper-itf.fnt font/half-width.fnt >auto/default-font.c
|
||||||
|
# /bin/sh: auto/default-font.c: No such file or directory
|
||||||
|
mkdir auto
|
||||||
|
|
||||||
|
# sys-devel/binutils[multitarget] provides ${CHOST}-windres
|
||||||
|
# wine provides /usr/bin/windres
|
||||||
|
# and schismtracker fails to use it properly:
|
||||||
|
# sys/win32/schismres.rc:2:20: fatal error: winver.h: No such file or directory
|
||||||
|
[[ ${CHOST} = *mingw32* ]] || export WINDRES= ac_cv_prog_WINDRES= ac_cv_prog_ac_ct_WINDRES=
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
domenu sys/fd.org/*.desktop
|
||||||
|
doicon icons/schism{,-itf}-icon-128.png
|
||||||
|
}
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
Wed, 26 Jan 2022 04:39:14 +0000
|
Wed, 26 Jan 2022 13:09:21 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
Wed, 26 Jan 2022 04:39:14 +0000
|
Wed, 26 Jan 2022 13:09:21 +0000
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,15 @@
|
|||||||
|
BDEPEND=test? ( >=dev-python/botocore-1.23.43[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/colorama[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/docutils[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/rsa[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/s3transfer-0.4.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/pyyaml[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/pytest-6.2.5-r2[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8 ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9 ) python_targets_python3_10? ( >=dev-lang/python-3.10.0_p1-r1:3.10 ) >=dev-python/installer-0.4.0_p20220124[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/tomli[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/setuptools-60.5.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/wheel[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DESCRIPTION=Universal Command Line Environment for AWS
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://pypi.org/project/awscli/
|
||||||
|
IUSE=test python_targets_python3_8 python_targets_python3_9 python_targets_python3_10
|
||||||
|
KEYWORDS=~amd64 ~arm64 ~x86
|
||||||
|
LICENSE=Apache-2.0
|
||||||
|
RDEPEND=>=dev-python/botocore-1.23.43[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/colorama[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/docutils[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/rsa[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/s3transfer-0.4.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/pyyaml[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8 ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9 ) python_targets_python3_10? ( >=dev-lang/python-3.10.0_p1-r1:3.10 )
|
||||||
|
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )
|
||||||
|
RESTRICT=!test? ( test )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://github.com/aws/aws-cli/archive/1.22.43.tar.gz -> awscli-1.22.43.tar.gz
|
||||||
|
_eclasses_=bash-completion-r1 d3a60385655d9b402be765a6de333245 distutils-r1 94da33c8715be375258447cf8042f827 multibuild d79bd5b4bc4edcb1f5bc19591f8d4714 multilib de4beb52bfa93c4c5d96792a6b5e1784 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-r1 4c008ab1e6c02cbead059dfe8b864c26 python-utils-r1 25287947a5a70b86268775aaf87e3467 toolchain-funcs badd6e329e1f3e6bee99b35bf8763ce8
|
||||||
|
_md5_=e2964b3087f96ecd4ea24f354e9b8af0
|
Binary file not shown.
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=install prepare pretend
|
||||||
|
DEPEND=>=sys-libs/binutils-libs-2.29:= sys-libs/libunwind:= app-arch/xz-utils clang? ( sys-libs/blocksruntime ) elibc_musl? ( sys-libs/queue-standalone )
|
||||||
|
DESCRIPTION=A general purpose fuzzer with feedback support
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://honggfuzz.dev/
|
||||||
|
IUSE=clang
|
||||||
|
KEYWORDS=~amd64
|
||||||
|
LICENSE=Apache-2.0
|
||||||
|
RDEPEND=>=sys-libs/binutils-libs-2.29:= sys-libs/libunwind:= app-arch/xz-utils clang? ( sys-libs/blocksruntime )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://github.com/google/honggfuzz/archive/2.5.tar.gz -> honggfuzz-2.5.tar.gz
|
||||||
|
_eclasses_=multilib de4beb52bfa93c4c5d96792a6b5e1784 toolchain-funcs badd6e329e1f3e6bee99b35bf8763ce8
|
||||||
|
_md5_=96464b322155162b23046529ff8a116e
|
Binary file not shown.
@ -0,0 +1,15 @@
|
|||||||
|
BDEPEND=dev-libs/libxslt virtual/pkgconfig dev-util/ninja >=dev-util/cmake-3.20.5 test? ( x11-base/xorg-server[xvfb] x11-apps/xhost ) handbook? ( >=kde-frameworks/kdoctools-5.82.0:5 ) >=kde-frameworks/extra-cmake-modules-5.82.0:5
|
||||||
|
DEFINED_PHASES=compile configure install nofetch postinst postrm preinst prepare setup test unpack
|
||||||
|
DEPEND=>=app-crypt/qca-2.3.0:2 dev-db/sqlcipher dev-libs/grantlee:5 >=dev-qt/qtconcurrent-5.15.2:5 >=dev-qt/qtdbus-5.15.2:5 >=dev-qt/qtdeclarative-5.15.2:5[widgets] >=dev-qt/qtgui-5.15.2:5 >=dev-qt/qtnetwork-5.15.2:5 >=dev-qt/qtprintsupport-5.15.2:5 >=dev-qt/qtscript-5.15.2:5 >=dev-qt/qtsql-5.15.2:5= >=dev-qt/qtsvg-5.15.2:5 >=dev-qt/qtwebengine-5.15.2:5[widgets] >=dev-qt/qtwidgets-5.15.2:5 >=dev-qt/qtxml-5.15.2:5 >=kde-frameworks/karchive-5.82.0:5 >=kde-frameworks/kcompletion-5.82.0:5 >=kde-frameworks/kconfig-5.82.0:5 >=kde-frameworks/kconfigwidgets-5.82.0:5 >=kde-frameworks/kcoreaddons-5.82.0:5 >=kde-frameworks/kdbusaddons-5.82.0:5 >=kde-frameworks/ki18n-5.82.0:5 >=kde-frameworks/kiconthemes-5.82.0:5 >=kde-frameworks/kio-5.82.0:5 >=kde-frameworks/kitemviews-5.82.0:5 >=kde-frameworks/knewstuff-5.82.0:5 >=kde-frameworks/knotifications-5.82.0:5 >=kde-frameworks/knotifyconfig-5.82.0:5 >=kde-frameworks/kparts-5.82.0:5 >=kde-frameworks/kservice-5.82.0:5 >=kde-frameworks/ktextwidgets-5.82.0:5 >=kde-frameworks/kwallet-5.82.0:5 >=kde-frameworks/kwidgetsaddons-5.82.0:5 >=kde-frameworks/kxmlgui-5.82.0:5 activities? ( >=kde-frameworks/kactivities-5.82.0:5 ) kde? ( >=kde-frameworks/krunner-5.82.0:5 ) ofx? ( dev-libs/libofx:= ) >=kde-frameworks/kguiaddons-5.82.0:5 >=kde-frameworks/kjobwidgets-5.82.0:5 >=kde-frameworks/kwindowsystem-5.82.0:5 test? ( dev-qt/qttest:5 ) dev-qt/qtcore:5
|
||||||
|
DESCRIPTION=Personal finances manager, aiming at being simple and intuitive
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://skrooge.org/
|
||||||
|
IUSE=activities kde ofx test debug +handbook test
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=app-crypt/qca-2.3.0:2 dev-db/sqlcipher dev-libs/grantlee:5 >=dev-qt/qtconcurrent-5.15.2:5 >=dev-qt/qtdbus-5.15.2:5 >=dev-qt/qtdeclarative-5.15.2:5[widgets] >=dev-qt/qtgui-5.15.2:5 >=dev-qt/qtnetwork-5.15.2:5 >=dev-qt/qtprintsupport-5.15.2:5 >=dev-qt/qtscript-5.15.2:5 >=dev-qt/qtsql-5.15.2:5= >=dev-qt/qtsvg-5.15.2:5 >=dev-qt/qtwebengine-5.15.2:5[widgets] >=dev-qt/qtwidgets-5.15.2:5 >=dev-qt/qtxml-5.15.2:5 >=kde-frameworks/karchive-5.82.0:5 >=kde-frameworks/kcompletion-5.82.0:5 >=kde-frameworks/kconfig-5.82.0:5 >=kde-frameworks/kconfigwidgets-5.82.0:5 >=kde-frameworks/kcoreaddons-5.82.0:5 >=kde-frameworks/kdbusaddons-5.82.0:5 >=kde-frameworks/ki18n-5.82.0:5 >=kde-frameworks/kiconthemes-5.82.0:5 >=kde-frameworks/kio-5.82.0:5 >=kde-frameworks/kitemviews-5.82.0:5 >=kde-frameworks/knewstuff-5.82.0:5 >=kde-frameworks/knotifications-5.82.0:5 >=kde-frameworks/knotifyconfig-5.82.0:5 >=kde-frameworks/kparts-5.82.0:5 >=kde-frameworks/kservice-5.82.0:5 >=kde-frameworks/ktextwidgets-5.82.0:5 >=kde-frameworks/kwallet-5.82.0:5 >=kde-frameworks/kwidgetsaddons-5.82.0:5 >=kde-frameworks/kxmlgui-5.82.0:5 activities? ( >=kde-frameworks/kactivities-5.82.0:5 ) kde? ( >=kde-frameworks/krunner-5.82.0:5 ) ofx? ( dev-libs/libofx:= ) >=dev-qt/qtquickcontrols-5.15.2:5 || ( kde-frameworks/breeze-icons:* kde-frameworks/oxygen-icons:* ) >=kde-frameworks/kf-env-4 dev-qt/qtcore:5
|
||||||
|
RESTRICT=test !test? ( test ) !test? ( test )
|
||||||
|
SLOT=5
|
||||||
|
SRC_URI=mirror://kde/stable/skrooge/skrooge-2.27.0.tar.xz
|
||||||
|
_eclasses_=cmake 11fee991ab428a3370e5c20fa8231fb6 ecm 36917df90b51554478635e34da581fac flag-o-matic a500d7cc40da3de38c361e889153bdf7 kde.org 2c51d68845490f23d6f76d49cabdac5d multilib de4beb52bfa93c4c5d96792a6b5e1784 multiprocessing 61c959fc55c15c00bbb1079d6a71370b ninja-utils a4dab848a4490e8e48cf0baab3e61bc2 toolchain-funcs badd6e329e1f3e6bee99b35bf8763ce8 virtualx fa024aa649b6bd544144bf94893d402c xdg 6024fbc93167fad782e2032933654857 xdg-utils 4f29a8b760a594a212abe9c2ba957c31
|
||||||
|
_md5_=e1fe9b14f8754f9fbe97389a285fdbd7
|
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