parent
f7e11dd19e
commit
61a56176ab
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29655 BLAKE2B 63d9395ffb87d05625100dd8ed36a64c976355c54479bb705f6e02eb74a6efbf7fba185972c20308067dcf41dc1b500fb0ae203a5e2aa26dee1799db506dcf7d SHA512 54be276a27dd38b1a3f5f5c6d71aa854af96a75c1f1df5f4b9c481bb794407fbcfda5f8d19f224476cbf4c5b80165651b01dcc14a0effa39741651d2ab06ced9
|
||||
TIMESTAMP 2022-05-02T18:39:38Z
|
||||
MANIFEST Manifest.files.gz 29618 BLAKE2B d2038b050c01b7f3bf1ebba9bd6a87706c3d4c8b70c528b5ad1bcb407fd153a4699667258c05f2744872721ad1f47550e35e1ed8c45e8264df9fe38638f436dd SHA512 a9ce798b3365b05e2f5a8513210b192537a50afc832062b6b2d554c6865380fcc1df715069da8e35d5ee7441693355689d6aa600d64a3cdbb8ec1276cb6cd26c
|
||||
TIMESTAMP 2022-05-03T13:09:35Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmJwJWpfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmJxKY9fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klCiFA//c4foEj8+fQRGi2b+ggZE8m9PO7WnJYqEuYOU/XPODRUUgtHy4NhW9Ucu
|
||||
tIi+JzkgSgKJ/wOYTPu6yHeo7FJ+aAE2x5YNXrwRGRKgQxi1rOfALj0CuQ1M3Vlg
|
||||
omhVrP9E6C5mPoFSjelpvXQfpl0f8ZR0XUIYmslvJsmdBheCnJKNAfDp6VwRM5k6
|
||||
iCC4svogGQ9NYEdwnNBo8p8TmreTQgIY1/PYtfyKG4zSKcjE6g2hoxrcdsinT5rH
|
||||
gzvIAd1ViwzCOnJVhDYe4ZdwYJZWUL1yBlgVnCGXBj2vHKVKIK3Qtk3iBRl4Wq/L
|
||||
aRNAH1oheRE8S3lQzD0nToea+7Zoou3gLyFwXfSNvOoALQwCrRgbYLoaF+RvHyHs
|
||||
guJH+Su4jpKJ7Opcq9uqp23NXzEKUH7pb0ty3pM6gW6SWs+Apt2mnc0IbaL/w39N
|
||||
iGhrSVLRLvj88MZKo8sefKhXYv4EqFJ7oBl8VnD7JcHUe4AB43yqTJYqUZ9ldtua
|
||||
acxA3tT7pmTMfzE7EN4YC9CAXsRfmWnSL3qyN7kXygFWSdtF8bsw2szw58bvnwGA
|
||||
kaY+bXndfFDHyK56Answ91FbIp3Sb5IRZmwDRJzxw/A+V+6fNIo6v3nPBiQZdJTc
|
||||
ny97I2KEX18/mVnBgmCCgab2cD9UjZjO3BKfg4b69BQsysinuMY=
|
||||
=ea+1
|
||||
klClBQ/9FNgmIq105pbcykwEZrsTawSZVkImN27Jeg6vktzvmpc8Cf/gLR+yzYHT
|
||||
9OwKKvhU/OK4LBAxh8/3eCh6AUQcRz9qP8W1Mst5E42ZimEg82mSV2DUnQrXA7Gi
|
||||
dECVCuzM6/mbW/Iz9pSkAGBsErt5ynUN3mm5+JEdTG6jQKFlBe07P0A2xm9egbl3
|
||||
X9SQHMvuExffnX04PhxzfMMobiWRAwB5tkssD4X2xKCGBG7Ak36CHqg0/ypueAP4
|
||||
daaVLG0dAWf0xP0aZA7XyMSHF18SbT+af1Zysvmm707b/ayjeOgHQseHQ1jANQCG
|
||||
dvLghAFTSS9m28UGb7uTmWkxdRfE2udw7RiBk5TFkgTzUODoONIX19CAFJZ6BhFy
|
||||
9rFI6T/a20bTRdYOa+n/Y4ms/izbenpRn5zKIG6DOKc4gAshvwyFVgVoQCWq45bL
|
||||
NdRDi+n5AzzMJyuSNW6tUN2BrpMgmbz2petp91Ui78yTFn45erw+4MuNenLf1K0C
|
||||
GYPWFQPQ9L7CFxWn7efVsksd/jnAi1Qg7A7xDx6SYuLlUK2EkCGCIheUCpsUBXkZ
|
||||
A7JDOkfk7qKbWO6pYqcyZeP0FbysNS5Rt05b2UWRHROG6TAVoMg/YcgL7rEeZrSF
|
||||
fbJ221aJJHDNnid1oxyh/sX9qoXyClG5FW9SiGlbV7Hq7CSaQMg=
|
||||
=2HiK
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,71 @@
|
||||
# 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 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${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} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,6 +1,3 @@
|
||||
DIST eselect-python-20190417.tar.bz2 46698 BLAKE2B 6f0acad0abb21d8e4768cbeb12f7e871c316a940ebae4c02bdb1336095991cb6b6bf05661ab659115a67f29a09f2a9b57cfb0868019606ed550b5aa1863f6f71 SHA512 a461263a50a29f0493127ee4a027e49ca4d7631e9c8d16cffc8bdb98cc7e75b0796e45e70951d5559fb86f0db14141a3ea6a53bd4cf1e0cc83ed5c7f24173695
|
||||
DIST eselect-python-20200719.tar.bz2 47313 BLAKE2B 37270b1f5ad3dfcd4e19c71ae74da585e803afe89c43f8b912bccf0fbdb936916cf58fc780b654692bb9e6ab44310514bae5f10d19dcde6a0e63042f76abe81d SHA512 4b205a099ad079e5e28d3fdbe774c22f54b7c16bff2d28b54d0e20ee36be2339e928d4050eed74ef969d5815bf4bb691bf5ed6e98023b28972da6d5c7d8a2545
|
||||
EBUILD eselect-python-20190417.ebuild 1054 BLAKE2B b3f3bac8febc90ea1f2aba6aac663064de8e8f88d986ba204758aa52b78b752fdb10d9d523cb391cf1cc606da809395b9363ab358c2e6fbae4c5d247f5b1d516 SHA512 788155c592a3880957f37a4c2076158c041a7deb8f5f29450e2d7c12fdfe67e12ab548adf79ce0530a9956a158059d7099d00104e6d3a9083ba4ed806af818c2
|
||||
EBUILD eselect-python-20200719.ebuild 1056 BLAKE2B e82f9d9529d7270714c3826cae96d426f8a830cc523b7f2218bbbbb2475a344b0a51e3489133d856de5f16248767bf41bac4ea2eca942da25d8e0012314adfba SHA512 ed9b2cc467bd34b1d3f417878c74b52480ca4a60ad3b9b5fd5dd36148d78d6f67f1a0c76e42d6153d3ec8dffa4d8c64446d2d03f4c1e2754ffd4acb3b041bbbb
|
||||
EBUILD eselect-python-99999999.ebuild 1064 BLAKE2B 3a783b7f480b9de4bd4a510e90a1f7d7cd249b258110421603107eb86fbef670f686d6e3487816c588f27dc727af2813dd480ee9589c5783dcf3ea13d647b3c8 SHA512 a76dde08c0b79b07bc760c4f7c007f081dc548924165c3321d40a8a41170db7d0d0b2d3911d06c39136b89526161ac334c4d65e6655255b9b617e61d522565e1
|
||||
MISC metadata.xml 265 BLAKE2B 369a57fab1283b596588a82815bfe567fe7617b5c0cb17e97f6694beefdd1e932b0d9ffc1fcb23c6ef05b33d97b3c1d1bb3960618ffdf4924c4ebad262794282 SHA512 a682dac348f2d95b986749f4d33e5702c1e8f66cf2ff7a32a5c2a8d388ddbfde2919d97345028c2007415368d395c7cf657184be89f7def27c949f1af5c30170
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
if [[ ${PV} == "99999999" ]] ; then
|
||||
inherit autotools git-r3
|
||||
EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.bz2"
|
||||
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"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Eselect module for management of multiple Python versions"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Python"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
# python-exec-2.4.2 for working -l option
|
||||
RDEPEND=">=app-admin/eselect-1.2.3
|
||||
>=dev-lang/python-exec-2.4.2"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ ${PV} == "99999999" ]] && eautoreconf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local py
|
||||
|
||||
if has_version 'dev-lang/python'; then
|
||||
eselect python update --if-unset
|
||||
fi
|
||||
|
||||
if has_version "=dev-lang/python-3*"; then
|
||||
eselect python update "--python3" --if-unset
|
||||
fi
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} == "99999999" ]] ; then
|
||||
inherit autotools git-r3
|
||||
EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~chutzpah/dist/misc/${P}.tar.bz2"
|
||||
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"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Eselect module for management of multiple Python versions"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Python"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
# python-exec-2.4.2 for working -l option
|
||||
RDEPEND="
|
||||
>=app-admin/eselect-1.2.3
|
||||
>=dev-lang/python-exec-2.4.2
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ ${PV} == "99999999" ]] && eautoreconf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local py
|
||||
|
||||
if has_version 'dev-lang/python'; then
|
||||
eselect python update --if-unset
|
||||
fi
|
||||
|
||||
if has_version "=dev-lang/python-3*"; then
|
||||
eselect python update "--python3" --if-unset
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST gnumeric-1.12.51.tar.xz 18117120 BLAKE2B 7d30dc01cda93a99ef8d47ccdf6bcfd1b6b6964a806599c7ade486f9bbfb61a876ef942174425cb2f59e018f5ec95a9df36a9deb0cd67d23e1801c2c289d83bd SHA512 c46164d9deb29831ab059613548743d84cb15461ac363305a28097832eb69d3fbf3cf8784c420c777bd09e32212b2ef6237bfa56ca28a7e08fd3befde9dfed36
|
||||
DIST gnumeric-1.12.52.tar.xz 18115444 BLAKE2B 6d8489c27b6f7bd0ffad7d255b606a48ca9660dd38973e4bb529d38797a3029db4a0a399e40f69c84ddf33b96d27cfc184fd079fbe16590b92e056c1a836b037 SHA512 3baa2d2c4ed5f740429454f988ea527991febf38f49df17f0d88affe501c676bae95149fb0cdb4b369ef8d32247c1f4fe4c0eeab9a60329e1332aaf9c566f868
|
||||
EBUILD gnumeric-1.12.51.ebuild 2316 BLAKE2B 396826ed17b3c86f49fa45163a0bb9172244d07dd26d9da820aed2e097d35cb2a7469588a8390745d2920c5d777c81f2448574cd019dbf8d7ca0e223033a8b97 SHA512 b6e6e0f6a766f3cc0044ec591110b894947b94d86778bb6b61f8cc6b72a13c7334dee87dace6eb92467d9f277def9a4f6a668e23a1e6595f8e1cf3795551422d
|
||||
EBUILD gnumeric-1.12.52.ebuild 2317 BLAKE2B 56ec6870ab4f38789b680dff6266e71561b6158fff409a909bc882ca6e5c95e7b61037b2ecbcec464c0330fa00ecfee688783b45eb71a41a1ebdcf536eb96367 SHA512 1b66c60a85843c1e5ec6021309846bf4a666685c022d4c9ebdd07a50de6d3817d93c0093857fbb0af345e22d7d00946fb2329778529051dea778083adfde9317
|
||||
MISC metadata.xml 520 BLAKE2B cdd4d61e6b2192b820c122370c47ea2ff0c8b4130474a1273f59ccb83d74decccc174632d0a605b17c5d2efd3312409f4afeb45b66adb332b5c5b1fbce305ef9 SHA512 50a15120cea4f1b2cdadac5819bd215175fb4e9e468647f2228b229c1b50fc01c3a35f125b2404ab0c45e4174c028e39873bb91c8a53f7cbb8d0ec488b5c96e7
|
||||
|
@ -0,0 +1,92 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{7..10} )
|
||||
|
||||
inherit gnome.org libtool python-r1 xdg
|
||||
|
||||
DESCRIPTION="The GNOME Spreadsheet"
|
||||
HOMEPAGE="http://www.gnumeric.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="+introspection libgda perl"
|
||||
REQUIRED_USE="introspection? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# Missing gnome-extra/libgnomedb required version in tree
|
||||
# but its upstream is dead and will be dropped soon.
|
||||
|
||||
# lots of missing files, also fails tests due to 80-bit long story
|
||||
# upstream bug #721556
|
||||
RESTRICT="test"
|
||||
|
||||
# Gnumeric has two python components
|
||||
# 1. The python loader for loading python-based plugins.
|
||||
# This component is pure python 2 and a port "is not currently being worked on".
|
||||
# 2. The python gobject-based introspection API. This component is compatible
|
||||
# with python 3.
|
||||
# Component 1. can only be re-enabled once someone has ported the upstream
|
||||
# codebase to python 3.
|
||||
# https://gitlab.gnome.org/GNOME/gnumeric/issues/419#note_618852
|
||||
RDEPEND="
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib
|
||||
>=dev-libs/glib-2.40.0:2
|
||||
>=gnome-extra/libgsf-1.14.33:=
|
||||
>=x11-libs/goffice-0.10.51:0.10[introspection?]
|
||||
>=dev-libs/libxml2-2.4.12:2
|
||||
>=x11-libs/pango-1.24.0:=
|
||||
|
||||
>=x11-libs/gtk+-3.8.7:3
|
||||
x11-libs/cairo:=[svg]
|
||||
|
||||
introspection? (
|
||||
${PYTHON_DEPS}
|
||||
>=dev-libs/gobject-introspection-1:=
|
||||
)
|
||||
perl? ( dev-lang/perl:= )
|
||||
libgda? ( gnome-extra/libgda:5[gtk] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
app-text/yelp-tools
|
||||
dev-util/gtk-doc-am
|
||||
>=dev-util/intltool-0.35.0
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Manage gi overrides ourselves
|
||||
sed '/SUBDIRS/ s/introspection//' -i Makefile.{am,in} || die
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-gtk-doc \
|
||||
--disable-maintainer-mode \
|
||||
--disable-schemas-compile \
|
||||
--disable-static \
|
||||
--without-psiconv \
|
||||
--without-python \
|
||||
--with-zlib \
|
||||
$(use_with libgda gda) \
|
||||
$(use_enable introspection) \
|
||||
$(use_with perl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc HACKING MAINTAINERS
|
||||
|
||||
if use introspection; then
|
||||
python_moduleinto gi.overrides
|
||||
python_foreach_impl python_domodule introspection/gi/overrides/Gnm.py
|
||||
fi
|
||||
|
||||
# no static archives
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
Binary file not shown.
@ -1,6 +1,8 @@
|
||||
DIST scdoc-1.11.0.tar.gz 12616 BLAKE2B 3aec60e51b949dc94e8339e400c366428a217c1bd44f79716cbd6993a7f8051a0796dc96163e071db4808c0edde071408e3eb1ee0ae3bb8ccd718479960ab8f3 SHA512 4c8248a12e69e53cc2182af5375912f7af64f3807163dbe3c52e85d817b1bfa7e461d02a627c73d93bdaa96e49668ff894d37817ceb70ee3186da9e3f8372d49
|
||||
DIST scdoc-1.11.1.tar.gz 12482 BLAKE2B 2632da654730a373f03955f0b3bb190c8d6beb2fd4e4b05c88a4c86d384b26c51a8f032e6b2ef8d4d795638c1981a4d5500384f3103411869c7097a2ba1466ff SHA512 28b676a2ba69a101034c47378c4b66c94bfb9903d680a1871020fd8772d0990a4c91678738f71d37bfca06e27991ef782047c6503d375ce69df744caf6b459de
|
||||
DIST scdoc-1.11.2.tar.gz 12746 BLAKE2B f4cb2c400103c1f2247a2bee79dca9ae5c50b8397c65edbdf4d70265a4596f85e0c47aab014699c4d63929b258db8ae3ff6728a9b95f212be9db1fa657e5b93a SHA512 3fbf1a74b222dd88410636124e4b6ca73f7e77f67d512cf430a878fefcaa5c6c13a1e9f6c0c9654de15353f94bb1bd528665acebc2293bebb325501d1eb6cda3
|
||||
EBUILD scdoc-1.11.0.ebuild 1182 BLAKE2B b52c95f0dbabac5b4eb7487cd48e59bd1b361a3a944d53c7b007bb52c7b3f0c68c6d80cd22be964b97d95f82474722a005745cf34c9d0ed0d36dac0887183e86 SHA512 a810dfca019775b6aa54e76dd8f2d411550360e86ac883498ba9e769224de6067c225eec31e93735a4f5fc6585507e780fd94c4ecf19b77677188d7118537a2a
|
||||
EBUILD scdoc-1.11.1.ebuild 1192 BLAKE2B 8021b8570d9004ba4960f5770d0582a339ec49f9ed83f75ba66698c9d524031946aecd9f22f952264456b26e85cc6f3482fc75193f806f0a61174dd87ad9d020 SHA512 56f2c2a50b62b138e7b9f1c6b48e8abbd849a5a34061f0b7b9079d54efbdbfd002808c7ab56fd12ce528ba2ce6f68243bb31c8ddb918c90d8995d938c9870b0d
|
||||
EBUILD scdoc-9999.ebuild 1173 BLAKE2B 873f1def0a103e8c431fad6ffbf902a9e97ed543d29f738e0ff4799be7f5d49449f50b30e4f37ae5310f7ede07e15f76a395f553756f1d048b3f36ee8aff0b4c SHA512 4ac9391cd7564179179a1951469c73e798c12a6ad3b82c72019d64e6364c943c02251b43344d5e7a1f4e9f1115c941b2e5b89065be25d00002cf5b6dc8fe3af1
|
||||
MISC metadata.xml 320 BLAKE2B b51cd1a5d791144917631d54e5db482c1476d2e0a8261a58fe08ddc8e607c598b685709ad5a58d731f4001226a3ca9b3f8b210811cf91b608e574d3423a2141d SHA512 1ebee9d9288054cf6016b9cafe91124b9482647f5cbaf1c9608ea602a86eb172fe014f52a33f2f8fdd018ffb52cbf1a1b54ef17aa4986e4011f57ee115959f92
|
||||
EBUILD scdoc-1.11.2.ebuild 1161 BLAKE2B 931ab3fa80492b8edf0891a94c22fe30be4c17166863285aed2c8e35b0fc6f60d2542357ee02216a3986bc8322867ff14815a5f50011bf51fc76d658f06fb81d SHA512 196576c087342a2acdf9121454bd662b47c983465eb86002cdd33c66a133b7bbc62bedbca53759e2a473fe8bca02f5cd9fc65f3241bbfe7f64a554d22c4ccd75
|
||||
EBUILD scdoc-9999.ebuild 1161 BLAKE2B 931ab3fa80492b8edf0891a94c22fe30be4c17166863285aed2c8e35b0fc6f60d2542357ee02216a3986bc8322867ff14815a5f50011bf51fc76d658f06fb81d SHA512 196576c087342a2acdf9121454bd662b47c983465eb86002cdd33c66a133b7bbc62bedbca53759e2a473fe8bca02f5cd9fc65f3241bbfe7f64a554d22c4ccd75
|
||||
MISC metadata.xml 244 BLAKE2B 84f30692e3204f2cc9c6fb00681686fc46a46a1d2a21ecaeebbe835a23c500b20595b801bb77a7fbaadc68388be6d00ece46451f7d9acf4106c3ac3d6eda37da SHA512 6400b858fd8736ed5c2d5966968a0da9bbf4498c6b2c839587d928b523847a633418882b8e950f22be960580da05eb70337c9a3ee407e0e47c131982c502c54d
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Standalone tool for generating man pages with a simple syntax"
|
||||
HOMEPAGE="https://git.sr.ht/~sircmpwn/scdoc"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/scdoc"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://git.sr.ht/~sircmpwn/scdoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e 's/-Werror//' \
|
||||
-i Makefile || die 'Failed to patch Makefile'
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local MY_HS="./scdoc"
|
||||
if tc-is-cross-compiler; then
|
||||
tc-export_build_env
|
||||
MY_HS="./hostscdoc"
|
||||
emake scdoc HOST_SCDOC="./hostscdoc" OUTDIR="${S}/.build.host" CC="$(tc-getBUILD_CC)" \
|
||||
CFLAGS="${BUILD_CFLAGS} -DVERSION='\"${PV}\"'" LDFLAGS="${BUILD_LDFLAGS}"
|
||||
mv scdoc hostscdoc || die 'Failed to rename host scdoc'
|
||||
fi
|
||||
|
||||
emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" HOST_SCDOC="${MY_HS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" PREFIX="/usr" HOST_SCDOC="${MY_HS}" \
|
||||
PCDIR="/usr/$(get_libdir)/pkgconfig" install
|
||||
}
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
DIST gentoo-syntax-1.tar.bz2 20223 BLAKE2B 846e07354660b4859cc4131a9fbf4f78d3a2ddeda60fc6a3687b649788a52725602dcd22befa9ab9fe88b173eab1470e569076d587326935efaf40d3aaba5b57 SHA512 1e4d947f0edbf6bd24142d683944f30d43b7e0ca86b90311f2e80516d299d9a634a9842cdc90d98a43e7a693f0dd29b3ff8048256bc3fe688591cc2b84808289
|
||||
DIST gentoo-syntax-2.tar.bz2 20302 BLAKE2B fa15fe5e8ef547dfa402b1742df3d6d38231528bcf6c6836e4d31e81ec2bce55ffa8c10400823c97688304f9dc6324ed3d257939c3077eb29a2fc3c191295604 SHA512 30e8e374382dc736febd1ee8031a7ccc14dfc61feade1815e3366988658189ac8670ff26532436ae608ff66c828e2de7327d0b39db37967206bcd9f418d26ea2
|
||||
EBUILD gentoo-syntax-1.ebuild 1237 BLAKE2B 97c0e1be20dbab9458fc99be41cceace51a65d1c6f5a0625c15969f085de2a6fe1c86644c62ee8986e4847990298a7a268f3381f49fe84bef38f3a6fcd4641d9 SHA512 12fabdaa606389dc3bb7b66ae9e4ba8ed483b553afe5024ef634491aa6f27b3e2626134f3203cf29e683444bc468d8a1fe9d8d8e394ba055fb41b77bda398eed
|
||||
EBUILD gentoo-syntax-2.ebuild 1245 BLAKE2B 71ea9ab3c87dd575d19f1f7986907935bf4c79453e81f5cad8d0024d699235ba31fbf46e1744c66415db38a227efd429707e5f0b7db44b338d628629755c282c SHA512 b5051f6010ce59f50ed6d2ff9746634ec7c41bd942e7fb41143dfc73791b2be9009d56c2aea06762428be47a84b9f84ef563b15c262281b198b8ead24a81be67
|
||||
EBUILD gentoo-syntax-9999.ebuild 1084 BLAKE2B 5e2edf4d1eddb74486a7ef6c8025a2874591d90d0ff1bb5077781f3c66d43bfbebf0421561a7c730e1baff613776c0962c907aec502a6627d8361034b28e1bf3 SHA512 4af267e60fcf53b736c41232cb44241d2181afd3b38516a6e4a7a7b7ea83db10a4fec7272b362847bf773296f348a2b08503ce757886a14ff08a215ba5341194
|
||||
MISC metadata.xml 586 BLAKE2B 9425e6a21617f806a0232c7f0ff75f148dc6855679236c9c2b88270db48161d3bffcb32066b372dc6af9cbac594f9d9dce6447d03fc675c151e75982f86ba598 SHA512 cb343dede228edd5c51dc2b2f6b8a1f09e4847365284218d5eb0c23c675f32fe4ab5025c6671f1dafbb63a87b83763a9caf97b04945329c32a1898123149d04b
|
||||
|
@ -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.
@ -0,0 +1,191 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Redis does NOT build with Lua 5.2 or newer at this time:
|
||||
# - 5.3 and 5.4 give:
|
||||
# lua_bit.c:83:2: error: #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
|
||||
# - 5.2 fails with:
|
||||
# scripting.c:(.text+0x1f9b): undefined reference to `lua_open'
|
||||
# because lua_open became lua_newstate in 5.2
|
||||
LUA_COMPAT=( lua5-1 luajit )
|
||||
|
||||
# Upstream have deviated too far from vanilla Lua, adding their own APIs
|
||||
# like lua_enablereadonlytable, but we still need the eclass and such
|
||||
# for bug #841422.
|
||||
inherit autotools flag-o-matic systemd toolchain-funcs lua-single tmpfiles
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value, and data structures database"
|
||||
HOMEPAGE="https://redis.io"
|
||||
SRC_URI="https://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="+jemalloc ssl systemd tcmalloc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${LUA_DEPS}
|
||||
jemalloc? ( >=dev-libs/jemalloc-5.1:= )
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
acct-group/redis
|
||||
acct-user/redis
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
# Tcl is only needed in the CHOST test env
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? (
|
||||
dev-lang/tcl:0=
|
||||
ssl? ( dev-tcltk/tls )
|
||||
)"
|
||||
|
||||
REQUIRED_USE="?? ( jemalloc tcmalloc )
|
||||
${LUA_REQUIRED_USE}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.2.1-config.patch
|
||||
"${FILESDIR}"/${PN}-5.0-shared.patch
|
||||
"${FILESDIR}"/${PN}-6.2.3-ppc-atomic.patch
|
||||
"${FILESDIR}"/${PN}-sentinel-5.0-config.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# unstable on jemalloc
|
||||
> tests/unit/memefficiency.tcl || die
|
||||
|
||||
# Copy lua modules into build dir
|
||||
#cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
|
||||
#cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
|
||||
# Append cflag for lua_cjson
|
||||
# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
|
||||
append-cflags "-DENABLE_CJSON_GLOBAL"
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles="" MKF
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i -e 's:$(CC):@CC@:g' \
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||
-e 's: $(DEBUG)::g' \
|
||||
-e 's:$(OBJARCH)::g' \
|
||||
-e 's:ARCH:TARCH:g' \
|
||||
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||
"${MKF}.in" \
|
||||
|| die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
|
||||
|
||||
# Use the correct pkgconfig name for Lua.
|
||||
# The upstream configure script handles luajit specially, and is not
|
||||
# affected by these changes.
|
||||
sed -i \
|
||||
-e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
|
||||
-e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
-e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${ELUA},g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf #$(use_with lua_single_target_luajit luajit)
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=""
|
||||
|
||||
if use jemalloc; then
|
||||
myconf+="MALLOC=jemalloc"
|
||||
elif use tcmalloc; then
|
||||
myconf+="MALLOC=tcmalloc"
|
||||
else
|
||||
myconf+="MALLOC=libc"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
myconf+=" BUILD_TLS=yes"
|
||||
fi
|
||||
|
||||
export USE_SYSTEMD=$(usex systemd)
|
||||
|
||||
tc-export AR CC RANLIB
|
||||
emake V=1 ${myconf} AR="${AR}" CC="${CC}" RANLIB="${RANLIB}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Known to fail with FEATURES=usersandbox
|
||||
if has usersandbox ${FEATURES}; then
|
||||
ewarn "You are emerging ${P} with 'usersandbox' enabled." \
|
||||
"Expect some test failures or emerge with 'FEATURES=-usersandbox'!"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
./utils/gen-test-certs.sh
|
||||
./runtest --tls
|
||||
else
|
||||
./runtest
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/redis
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners -R redis:redis /etc/redis /etc/redis/{redis,sentinel}.conf
|
||||
fperms 0750 /etc/redis
|
||||
fperms 0644 /etc/redis/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd-r2" redis
|
||||
newinitd "${FILESDIR}/redis.initd-6" redis
|
||||
|
||||
systemd_newunit "${FILESDIR}/redis.service-4" redis.service
|
||||
newtmpfiles "${FILESDIR}/redis.tmpfiles-2" redis.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis-sentinel.confd-r1" redis-sentinel
|
||||
newinitd "${FILESDIR}/redis-sentinel.initd-r1" redis-sentinel
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process redis.conf
|
||||
|
||||
ewarn "The default redis configuration file location changed to:"
|
||||
ewarn " /etc/redis/{redis,sentinel}.conf"
|
||||
ewarn "Please apply your changes to the new configuration files."
|
||||
}
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST protobuf-3.17.3.tar.gz 5235236 BLAKE2B 2495e678c8f9436d4e5a30ccee8b6226125d418ac7ecf7df20b078a1a16c221cbccab7d846dcd56a90220c106617fa75c410a21b62612fedec378cd7e8571350 SHA512 b4030b4474cc5fb5a62501200725dd488e6e66e3ced4ed12ab4ee029fcfed305e92ec966adafbdd343afffd186908163849422b95eaa500e7e741ac325d01d12
|
||||
DIST protobuf-3.19.3.tar.gz 5293258 BLAKE2B c05b70ffca97f7166ea6a511a36907eed125edf1ebf17f908718221d9b851be84dfb2b1b39973f2faf35f6ade630e6ba4f9e8b91b8fbc922c5db97079323ee6e SHA512 1c003e7cbc8eae6a038f46e688b401ee202ba47f502561e909df79770f6e8b7daf3dc1ccc727e31bfb5b52cd04cb4fef7d2d2a28d650c13f396872ad4aa076c6
|
||||
EBUILD protobuf-java-3.17.3.ebuild 1451 BLAKE2B 4d08dcb9be366902af79f53bf8cb388ed2fd61192406ccca8089147f3854cef4e9d6824482dc2f35209cfe305e1ac69d1be790eeac87365aefd550c0a9d215ea SHA512 6804911a2b3167a7eb0889b4f7da071c97ec2b7aca9adb613679905f6ae3abb391caefbf3737a5ec30e7aef4ecd9a817df05b7ac16d95f893d4b6cce853cb89c
|
||||
EBUILD protobuf-java-3.19.3.ebuild 1454 BLAKE2B 493b90da2ef5874252e9876e6a8e760b5cef2f672bafbb0789b08b0fdfd7950e00ef78d744a3e85e673b46dff08b924761f4273cfad2519c9529e5c1febc279d SHA512 c8f40fba3ff4333dd4316f59fec5e1165bfabdff0e9d19ff4d79f1995c6bb2c4f0601a4e028f09237dd7e5574aec27177802dd2353ceb81454b2b7ec621cbba4
|
||||
EBUILD protobuf-java-3.19.3.ebuild 1453 BLAKE2B b70c672e71fa9e6ec8bd57bd5f9d3e27d24ee942f8f3db4085b32851ff57f1fc872be51ec50b1efd31296aa30965927e48b9ca465c61542640cd7f51ffe6e816 SHA512 f2baaad4af5604af84b05597d2614e0c4ce93054c3525be9e76a0d3a267b4469fd8a09a7ee2f96fd83409f4f27c9dc94fdcadeb94a53b924113ae1801f594167
|
||||
EBUILD protobuf-java-9999.ebuild 1389 BLAKE2B e7a8e41fade60ff00e35c2cb29c185d68b2b5d41d99611f07eda97968c3b2f0d3e956304ae739a82cd386101dbd9936431483019b7bc38aad35d392674aa2bf4 SHA512 c0f3964bdde178cdf734318c9c5c42d5332401c276fa9513ec42e7729e8105b8129f89a53704f3b0622d831f96068501a131d47636aa95504a6d46df2e093f20
|
||||
MISC metadata.xml 548 BLAKE2B 2468487e12d536d67daebf5b7a21cd63a9c4af321a8979132e63d9b8394bf577e347f891326c73bfa6907e82ca355ea0d4ec40a37bb297db0da1e55a62b6ef33 SHA512 c0c2556fbf8821f3a75ed344daa59b4fc355029f96efb8f9784f54c819916adeb46b2c5d8c2e8d405dc58395c2f18b30cda69c6d406948a066bd1d78a55df80b
|
||||
|
@ -1,5 +1,5 @@
|
||||
AUX jflex-1.6.1.patch 680 BLAKE2B 2dba9bdba8ce77ebe28a608b505891ff49d51e9d7549bb17f21935ad9511fcdf4428a79b5243e5eb8cfb5747eaaaafb97eb6edca980ce337d37ed48772ff5ea5 SHA512 73e8067a31392a1975877470a2a239c9ca0913f807faa3e5c660bc2487dca9a46c1753ab86526e66581111fcded89229a4e9e3a16fa787ce3669ef6c07a28081
|
||||
DIST qdox-1.12.1.tar.gz 519833 BLAKE2B 83a732f1582b714cf943ede61bacc5216804c00cfbb642a479afb74739564f4fdbcd923dd7cb84a9626a97c5ad0a0f04895e0ae68252891cb25299e1fe1c9c72 SHA512 17ac933854ebd0560921805ea4339c151a7fd095bf8d50d5d71e656afda77ba30efac7926cfcc7543e4a8420b12d1eb75cdd305c50d1c28ad8cd6b0f4d95f5c5
|
||||
EBUILD qdox-1.12.1-r2.ebuild 2225 BLAKE2B caf3e51d9d81e1a597092a5c20c2468266dda3559de0b07f948cd6026b983718941060f066a004464c4b177ec6a859139fd0549ff48dc82aff6fba24e8a60f90 SHA512 51a8c940ba702933bad4367de1f6a2a54d4d66710d3631529f61137ce27be1aaa0ce9dadb83005aa22331c241947637fe9a17a802923eef1002c0dad37051582
|
||||
EBUILD qdox-1.12.1-r3.ebuild 2176 BLAKE2B 768b1467779bb393d1db716aa3a1672507c8575d247bb1556d0569ce7063395422ced4eec92160fce27f6320cf87a7502909239362db4dc46b3b6b0f0ff541b5 SHA512 bc5017d33e50e5c04111f05862a2ed24c1d18f68f29f065c8f27a05c42943c118b2462e66be22f3294afa4043679afa54b8fb3f664e1affecd5b977492ec6cac
|
||||
EBUILD qdox-1.12.1-r3.ebuild 2175 BLAKE2B 0ce5382cdbca1f47feee00314caf04d516f6327179a9d095c64a9ca81de25e5722ca7fec08b9a408c7723e831c18769d0d622a5bb285d0451b54c43fe23ad8a7 SHA512 1a29e011f181dbbf8cf0d55bb692f0fb0e9c144e96245852c22ff5f582e59660b25cc4925c031f4410929bfd811b28ed1a1b9fd8c0f8cd7a7d708149870b79f9
|
||||
MISC metadata.xml 490 BLAKE2B 0074cd0a7da6af8028ff8bc8eba4b26f86d4ae5ea55da7a6fe0bfbcc73e779a9a6deeed0e82f95abc28324dcd1a89634b504d02265dea16ac26e576b6f29ace8 SHA512 039a450284a930e163cd9cd4c39c5ee6dd0a2f5678b5f77db7f809bbe0a141a564fa7232cbe3a428b31170068b1377cb953a8ccda4ee3b14b5ddb4d313180496
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,7 +1,8 @@
|
||||
DIST boehm-gc-8.2.0-fix-headers-install.patch.xz 55320 BLAKE2B 86f6a27c49c1c36a89e836ef2adf17e6563256ad0700e05235461b9df562029781894d1b4b76ed4fb44faf9c014e7674b909cd8a097d6d3c29cb50be55b83856 SHA512 cbb963b5f4286846ae4548216677cb34042bd8757f6792d1838663b07699837c25a727740d6d9461b582c5428ebe8e0bc670134be1d68cdc61d055f8624a76bc
|
||||
DIST gc-8.0.4.tar.gz 1160528 BLAKE2B ec42378c964fc573e53f6f58aa22fa63a0b421c91b81336acfeb2e2afdb5c89514edace3a9500699e13ff1cadc4205ea245af4f0dfa5e439ed9b78cabf6058f7 SHA512 57ccca15c6e50048d306a30de06c1a844f36103a84c2d1c17cbccbbc0001e17915488baec79737449982da99ce5d14ce527176afae9ae153cbbb5a19d986366e
|
||||
DIST gc-8.0.6.tar.gz 1168660 BLAKE2B c23cb10db54db0e8b16c429e039791086dfec4216ad65fabf072bc0f05df66364d019fccf945bffc32ce12868edfbaf6d9482acb2949d1e233bd89925ab55ebd SHA512 2ea25003d585118e3ac0e12be9240e8195db511c6e94949f20453dc3cb771380bd5b956c04243b2a8ce31508587aa32de4f0f10a813577e6dbe8367688b7614e
|
||||
DIST gc-8.2.0.tar.gz 1183225 BLAKE2B 382c28041b8cff9df794db48727c0bb478ed9222b15bcf11eda7132b1776970774576b63823e62a87c6563a06359a3d0572effea1ca63fb4f6fdadf1ea350cbe SHA512 ff781360bca667f1f95fbfed073e9035f63134cac1bda4f7e4217664a3713c2846f750a3ce92732972c0435c69355b051f6e8eb6f2698b0d48d9107ff960bacf
|
||||
EBUILD boehm-gc-8.0.4.ebuild 1417 BLAKE2B 0a0d40849a901b436928f336c1e897ad6731317767d396aa0b606db1f8c1f21ab4a28e3e9730b5bda2772547903df19950fbbb228e688892b0475664af14d70a SHA512 2fbab201dcbc7eb60c4331f512a1c44947a5be15e70ef5de535cf2571a8bbb64f4a1aa571bcb08c8c2bb8c84eec336b8f01ef1320e08d303d4bcca724e2d3116
|
||||
EBUILD boehm-gc-8.0.6.ebuild 1414 BLAKE2B 39d14d9eb6dd56b021ac9ff23db3f0ef8d773acbe4459c6ce357a3bf2fa9556f52b3ee173d936260e44a90b6ba39c04fc6785031000474b8dc32970794da62f8 SHA512 3d5e02947dcb1b35dcf4bb207671294d07f58fd41aeb46a1ec702d1ee8016038aafd8d2e2bb40a0c842924fb7efe9148a1c97b4671ae31da608ce945a9c5809e
|
||||
EBUILD boehm-gc-8.2.0.ebuild 1286 BLAKE2B 0b94797bc25d4a92f142dcc25408e0e8476a71679d67484a62e4df972cd4bd8d45f02c1ab56271531311f47263d0941ea71495db9d90fcb5fc4731c36af45f81 SHA512 469f6979061b49fc41eaa698c955b1b4a140e4629cfd9a86b921af741ac2dc3f57ae09bd849cfc867fe4eabbdbfa0d33426814aa3a56ba005c02c7923a4ca446
|
||||
EBUILD boehm-gc-8.2.0.ebuild 1419 BLAKE2B fd398814ef79a83c6c5fc7a846f0f5cdf66bb85f4efc026671db408524c24801a75209c7a2f390cc716a740bdbd7d1e848e86ef70c6df8271cd0df69950839d9 SHA512 3ec0af3dd5a2079f4decb91fecc7b688188b0352f2af974b29e168337579644906fe57f547d95fdf9d3db8a92292524948037f52aaa796c35c454a382f47121e
|
||||
MISC metadata.xml 366 BLAKE2B 29c98f78f2dbe359f1210fb58bd24365791b393cd4bda563185cea4fd35633e0affc82ef00e1e933a1fca0893054d81dd2e1a0c32c861b3cd496766d9decfbe7 SHA512 949dcd60bcde0641526151369de2195e7f784e30e7652087c58f30f3dce1646f619a0c31a0ffdbfa4dc1053d10d713e7e49050c1cf61a7fb8ecb40b479357eb6
|
||||
|
@ -1,9 +1,12 @@
|
||||
AUX libxml2-2.9.13-testapi-missing-xml.patch 898 BLAKE2B bd010b1884633b91ca909932124ebce4879c0a3eec9ae47e5b249c58ae00063a41d68bfd5543418a6df38d806812342a88b9759fc305ba3bb45b0926e1f9b305 SHA512 344812bb54af79f995a02ce43b21003a9f52998e01f3a22e3d4ee6334efd3b972a304d075f7c5442e03fa0b5f86db9704b6c70185f957f55b1a1dd9cf81a6da4
|
||||
AUX libxml2-2.9.13-testapi-missing-xml.patch 749 BLAKE2B cfa1ea7d99eb0fb4925008d6562fb174092ab303bfd4925847e3cfe51c3edddc3fe20117d272d52b3d3fa865cde47f69578e976cf2d0e746e41edda1c5bb84c8 SHA512 40ac186658fd5eeb68d899c92dc8073210c24e770eef00e803d666b38f7c495bc9144da63d851d0059b8dfa92bdf3782f8039d892eb11901efe661b960c3d3f5
|
||||
AUX libxml2-2.9.8-out-of-tree-test.patch 1109 BLAKE2B deba11c303cb82b7c804361311a48b7a55b1fc6a5d3fb81aefe87f0b9816aabbb870c2c26b0e9e1e82b6d92330396ef1d700c9e761863028568ceccd379dc736 SHA512 f78952b61ad22731ec2e5866695388ea0ba051153990db4227f5b2e9d7fca35d0482bcb1732b5026d91ff3b8f885de513ca5f249ed359069c9b27fe81701d68c
|
||||
DIST libxml2-2.9.12-r5-patchset.tar.bz2 7231 BLAKE2B d9d0d56ebccbfe234a8af04cc5343c1a02d84fbd998c2373fd48be59cf92807a9417db650a6bb6ba309e101994c4ae2b28edda7bf635c7728eb8b8047d0d3391 SHA512 b2db0fe4595c1559d9f8dc836ee6eee469191f6c490fc95d25d9fa99a544e80858894cc35b6e4a6624a38d0309800540badc929e86ef29950c1107caa4656a14
|
||||
DIST libxml2-2.9.13.tar.xz 3243336 BLAKE2B 845a8283cf1ff9fd9f7926cfe0042c042a9de5ed184520d8057f7b33312687d5ff28abdf30dd2674795d78dc80326203a907f9e22cd261805309403ecdd585f5 SHA512 fc51980cb9222bd3b5242f73d28b55fa15a80e68e52e1c45274f1eda11500ed385853209edb3b2a1f06b9de0be304c159a9bd898c7d84b0899eacb00723d98b5
|
||||
DIST libxml2-2.9.14.tar.xz 3129968 BLAKE2B ab584503d5209e4aaf41ae6f44aed5e94c0ae29e28cfba39a9012568aa97515af861b47891b84d2a352a07357626ba50ddb1e344e911fa14ff2ce93c5beff1f1 SHA512 d08e6cafb289c499fdc5b3a12181e032a34f7a249bc66758859f964d3e71e19fd69be79921e1a9d8ab1e692d15b13f5fae95eeb10c3236974d89e218f5107606
|
||||
DIST xmlts20130923.tar.gz 641522 BLAKE2B 63a47bc69278ef510cd0b3779aed729e1b309e30efa0015d28ed051cc03f9dfddb447ab57b07b3393e8f47393d15473b0e199c34cb1f5f746b15ddfaa55670be SHA512 d5c4d26b324ed21f4e0641cd7f8b76dbf9de80df8b519982e44d41c960df29fd03618e02e9693b2d11ad06d19c4a965274c95a048ec3b9653eacb919a7f8b733
|
||||
DIST xsts-2002-01-16.tar.gz 6894439 BLAKE2B 1e9ec63d2c104655e64249e07440a04d862fcbcd4d4e19745d81b34994319b510a531c9d6df1491fae1e90b5d0764f0f1a827251ca8df5d613178b0eab01ef25 SHA512 43300af6d39c1e2221b0ed7318fe14c7464eeb6eb030ed1e22eb29b4ab17f014e2a4c8887c3a46ae5d243e3072da27f00f4e285498ae6f1288177d38d1108288
|
||||
DIST xsts-2004-01-14.tar.gz 2761085 BLAKE2B 41545995fb3a65d053257c376c07d45ffd1041a433bfbdb46d4dd87a5afb60c18c8629a3d988323f9e7a1d709775b5a7e5930276a7121c0725a22705c0976e36 SHA512 32854388d7e720ad67156baf50bf2bae7bd878ca3e35fd7e44e57cad3f434f69d56bbbedd61509f8a1faf01c9eae74a078df8fe130780b182c05c05cb1c39ebe
|
||||
EBUILD libxml2-2.9.13-r1.ebuild 6865 BLAKE2B bcddef93bc37db888a57086bf828f9693565a55894faf05fb833bf3343b08c7bd304dfdd7ecca36fdd321ab9873a07ae2c15db9af2b1e2b2ab6743a320d0d9b9 SHA512 77d0cf94670d31561b13d15370a4f03c107506e53148a4321bab28269d939c604e3d99f738c5f192c8a0d82a571de8dca1bc40828a63f6e09c5e9952dd2893f2
|
||||
EBUILD libxml2-9999.ebuild 5009 BLAKE2B fd86fd7c1ec3d216c85c91b7f17479bda72fe5cc63da8bd0600cfe836ace44fce2a9925ffbe714114b10d9c98de5df1faa3d6d45949f092c2c71e2f69d73c5bc SHA512 d83466f9ce9a4dded70b290d2c5791b29eed21a26417836396243d54c18b5101438040a15dbda23416151704e736c12eabec604e9aa06b83697cedbac8fd6960
|
||||
EBUILD libxml2-2.9.14.ebuild 5136 BLAKE2B 53869780b8b6656d7f36d7502cd1e6a093090ecae3b4fa35fb8c5afc0b2d7b8bfbd96c1e02d03cb5f26ccd54bf154829235380334f3222069dca66b154cceae4 SHA512 8614b7b5e94e82c7f33fa72e69a1d51f538aba2007fdfc60e4844979a7865227b45bcb4cee36ce65205e41e70e85725b2396062ca9fd9c396c842b729b58041f
|
||||
EBUILD libxml2-9999.ebuild 5136 BLAKE2B f936cd1ab8042fe354daf003e2e20e8d30f24e42e2853a846afe8522e3d6321dd910416c9e1f1fd0815aa100ec718210cdb6f42df02fde385e3ed947a28769e8 SHA512 21210ed2ff26f54a503c0fa822f695026f118e8039812cabb60ed75ee04f0b0c463487189720de4809d0de09e3207d9c59f758b9db18ed86f86d03e5dbeb3a0a
|
||||
MISC metadata.xml 458 BLAKE2B 318644d7202e85490c0b2f7a6fd36744cce5e4fa8929534149823d679a7fd01d118b9653ea5039c9e82b7cdcd423bf4541313cf550027ccfab8393f0b9b8ceca SHA512 b173246c3ec8351343bbe16f5572728ce6c6740056a0cf96e9eb4d975c181d54213d06c41ada9c38ac11727359d14d453cd1e824b29a52f7291a7ee50bfa5ed0
|
||||
|
@ -0,0 +1,31 @@
|
||||
https://gitlab.gnome.org/GNOME/libxml2/merge_requests/14
|
||||
|
||||
From 54878c018af979b20ca1bfbf12599973484cae5b Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Thu, 3 Jan 2019 05:44:03 -0500
|
||||
Subject: [PATCH] fix reader5.py test when building out of tree
|
||||
|
||||
When building out of tree, the relative path this test uses doesn't
|
||||
work. Resolve the path relative to the test script itself instead.
|
||||
|
||||
Url: https://bugs.gentoo.org/565576
|
||||
--- a/python/tests/reader5.py
|
||||
+++ b/python/tests/reader5.py
|
||||
@@ -4,6 +4,7 @@
|
||||
# this extract the Dragon bibliography entries from the XML specification
|
||||
#
|
||||
import libxml2
|
||||
+import os
|
||||
import sys
|
||||
|
||||
# Memory debug specific
|
||||
@@ -14,7 +15,8 @@ Ravi Sethi, and Jeffrey D. Ullman.
|
||||
<emph>Compilers: Principles, Techniques, and Tools</emph>.
|
||||
Reading: Addison-Wesley, 1986, rpt. corr. 1988.</bibl>"""
|
||||
|
||||
-f = open('../../test/valid/REC-xml-19980210.xml', 'rb')
|
||||
+basedir = os.path.dirname(os.path.realpath(__file__))
|
||||
+f = open(os.path.join(basedir, '../../test/valid/REC-xml-19980210.xml'), 'rb')
|
||||
input = libxml2.inputBuffer(f)
|
||||
reader = input.newTextReader("REC")
|
||||
res=""
|
@ -0,0 +1,193 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# Note: Please bump in sync with dev-libs/libxslt
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
inherit flag-o-matic python-r1 multilib-minimal
|
||||
|
||||
XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite"
|
||||
XSTS_NAME_1="xmlschema2002-01-16"
|
||||
XSTS_NAME_2="xmlschema2004-01-14"
|
||||
XSTS_TARBALL_1="xsts-2002-01-16.tar.gz"
|
||||
XSTS_TARBALL_2="xsts-2004-01-14.tar.gz"
|
||||
XMLCONF_TARBALL="xmlts20130923.tar.gz"
|
||||
|
||||
DESCRIPTION="XML C parser and toolkit"
|
||||
HOMEPAGE="http://www.xmlsoft.org/ https://gitlab.gnome.org/GNOME/libxml2"
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2"
|
||||
inherit autotools git-r3
|
||||
else
|
||||
inherit gnome.org libtool
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~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"
|
||||
fi
|
||||
|
||||
SRC_URI+="
|
||||
test? (
|
||||
${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
|
||||
${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2}
|
||||
https://www.w3.org/XML/Test/${XMLCONF_TARBALL}
|
||||
)"
|
||||
S="${WORKDIR}/${PN}-${PV%_rc*}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
IUSE="debug examples icu lzma +python readline static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]
|
||||
icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
|
||||
lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
BDEPEND+=" dev-util/gtk-doc-am"
|
||||
fi
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/xml2-config
|
||||
)
|
||||
|
||||
DOCS=( NEWS README.md TODO TODO_SCHEMAS python/TODO )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.9.8-out-of-tree-test.patch
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
local tarname=${P/_rc/-rc}.tar.xz
|
||||
|
||||
# ${A} isn't used to avoid unpacking of test tarballs into ${WORKDIR},
|
||||
# as they are needed as tarballs in ${S}/xstc instead and not unpacked
|
||||
unpack ${tarname}
|
||||
|
||||
if [[ -n ${PATCHSET_VERSION} ]] ; then
|
||||
unpack ${PN}-${PATCHSET_VERSION}.tar.bz2
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}" || die
|
||||
|
||||
if use test ; then
|
||||
cp "${DISTDIR}/${XSTS_TARBALL_1}" \
|
||||
"${DISTDIR}/${XSTS_TARBALL_2}" \
|
||||
"${S}"/xstc/ \
|
||||
|| die "Failed to install test tarballs"
|
||||
unpack ${XMLCONF_TARBALL}
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
eautoreconf
|
||||
else
|
||||
# Please do not remove, as else we get references to PORTAGE_TMPDIR
|
||||
# in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
|
||||
elibtoolize
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Filter seemingly problematic CFLAGS (bug #26320)
|
||||
filter-flags -fprefetch-loop-arrays -funroll-loops
|
||||
|
||||
# Notes:
|
||||
# The meaning of the 'debug' USE flag does not apply to the --with-debug
|
||||
# switch (enabling the libxml2 debug module). See bug #100898.
|
||||
libxml2_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--enable-ipv6 \
|
||||
$(use_with debug run-debug) \
|
||||
$(use_with icu) \
|
||||
$(use_with lzma) \
|
||||
$(use_enable static-libs static) \
|
||||
$(multilib_native_use_with readline) \
|
||||
$(multilib_native_use_with readline history) \
|
||||
"$@"
|
||||
}
|
||||
|
||||
# Build python bindings separately
|
||||
libxml2_configure --without-python
|
||||
|
||||
multilib_is_native_abi && use python &&
|
||||
python_foreach_impl run_in_build_dir libxml2_configure --with-python
|
||||
}
|
||||
|
||||
libxml2_py_emake() {
|
||||
pushd "${BUILD_DIR}"/python >/dev/null || die
|
||||
|
||||
emake top_builddir="${NATIVE_BUILD_DIR}" "$@"
|
||||
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi && use python ; then
|
||||
NATIVE_BUILD_DIR="${BUILD_DIR}"
|
||||
python_foreach_impl run_in_build_dir libxml2_py_emake all
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
ln -s "${S}"/xmlconf || die
|
||||
|
||||
emake check
|
||||
|
||||
multilib_is_native_abi && use python &&
|
||||
python_foreach_impl run_in_build_dir libxml2_py_emake test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
multilib_is_native_abi && use python &&
|
||||
python_foreach_impl run_in_build_dir libxml2_py_emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
if ! use examples ; then
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/examples || die
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/python/examples || die
|
||||
fi
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/${PN}-python-${PVR} || die
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# We don't want to do the xmlcatalog during stage1, as xmlcatalog will not
|
||||
# be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887.
|
||||
if [[ -n "${ROOT}" ]]; then
|
||||
elog "Skipping XML catalog creation for stage building (bug #208887)."
|
||||
else
|
||||
# Need an XML catalog, so no-one writes to a non-existent one
|
||||
CATALOG="${EROOT}/etc/xml/catalog"
|
||||
|
||||
# We don't want to clobber an existing catalog though,
|
||||
# only ensure that one is there
|
||||
# <obz@gentoo.org>
|
||||
if [[ ! -e "${CATALOG}" ]]; then
|
||||
[[ -d "${EROOT}/etc/xml" ]] || mkdir -p "${EROOT}/etc/xml"
|
||||
"${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}"
|
||||
einfo "Created XML catalog in ${CATALOG}"
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,7 +1,4 @@
|
||||
AUX link-grammar-5.10.2-musl.patch 371 BLAKE2B 989e27593b2780401a4df5ef292f8487a32f4fe0287e4745143bed6f72a7d0af71b20a1d8e06144bc116fe12f1778a3cf8f3e8f86922f3049d99d82a82b7076a SHA512 d2eb12fc12cdd1129420d976facb7f652bd475336c71d683b9d561dcb4a9001c60d127d27446f3c1f93757ad6715214a53d3170e03ee1952cb3c37ea03368a05
|
||||
AUX link-grammar-5.8.1-lld.patch 531 BLAKE2B e7a64032d8e8394205d4529e270bee1ec121a6b29b6a779e885cae825678679e521b2f4eb2bec6b6b6c8f1c5f311337c7b2e205a5cb1966538741e72b7e7cb37 SHA512 03dd3164c7626d70019851189fd35d7ecfcbc112b594dafc0c3390f0d533b67611838cd9207a486139f4e4c8ac78f81da87d0c00a0238ad417c90942bcaa2c6b
|
||||
DIST link-grammar-5.10.2.tar.gz 3853934 BLAKE2B d2cb64a6b0146f40ce5b197c21ded94f1256360615c2332a1c546f6b6c71c98d2500e97b0fcabae964377a04143fa13ba3af324f2de729cfccd280e53f6fb7c3 SHA512 71bc881cb628fe1898403024d8e949b2fbf44f5d20445f6fff7bb6038646840556d734434beb7eb43b63f661e18333657deaeb1b8c96b50d5fe3b6ef727565c2
|
||||
DIST link-grammar-5.10.4.tar.gz 4593602 BLAKE2B 0515aed27ae8df85ceddb9685ce90db2b6e7671235b9b445b6728b1ac417d6d43b3705566066ff9735fc98c32746342c224f2399bb0f2573784f20b5f998e7be SHA512 a215694f76e15286c478884ea8a13b32976d06ea45d10897dc1b303f256a2c0af94c9f90da26b314ce5e03009b494ab526c729b66f2b1ed46ff3e8b02cb6fd08
|
||||
EBUILD link-grammar-5.10.2.ebuild 2953 BLAKE2B 48c814085ec491e5a806bf83d9005435ef02c2fb4f9bfbd58737c6abd1773b7a84a5a3777d4d7f4f171cc831c9bc0c005c22ada79ad6812da0e78d02a1a1c981 SHA512 f2ea6cb09dd955b6ec32a4b8e65688667465abdc3cb8a28af9f1143508a7ecfed9d91bc86e81ade810d612a9734c056f066f8c9cef9a0c25f7cca70e73437a8b
|
||||
EBUILD link-grammar-5.10.4.ebuild 2921 BLAKE2B a8f4961b5360995d58b9d52d15357717a038f417ecd61941007bd5aadb324f2bcee9b33d53a161ffa682c3bef7ea68f9813fb1c52abf2e3602f025a10f61959e SHA512 6fa2c1ab5d2140c425b3f68f59760dc61eed86dda635616a591bfb3860a2a0a57d41a1c3f0c688cd02a8e3401c7ae865505116c927f4a8da856b0bb475ca9bb6
|
||||
MISC metadata.xml 1069 BLAKE2B e657e7727730c54d4aee903c585378978a2adf7a3a6851e6995445afe64e966e48bc4bfab6e930449c288b3ffca3436b9fbe67e88f9e790739ff0c8a079a79e2 SHA512 ba898591c96b8d05601389837891f6cda7eece200c10e014e86e0189aeeb5a0d0c04327d348ce2d77fa3d72dbbe3eec5b96953ff6903bd9670f305886f869229
|
||||
|
@ -1,13 +0,0 @@
|
||||
--- a/link-grammar/minisat/minisat/utils/System.h
|
||||
+++ b/link-grammar/minisat/minisat/utils/System.h
|
||||
@@ -21,10 +21,6 @@
|
||||
#ifndef Minisat_System_h
|
||||
#define Minisat_System_h
|
||||
|
||||
-#if defined(__linux__)
|
||||
-#include <fpu_control.h>
|
||||
-#endif
|
||||
-
|
||||
#include "minisat/mtl/IntTypes.h"
|
||||
|
||||
//-------------------------------------------------------------------------------------------------
|
@ -1,116 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit autotools python-r1 out-of-source
|
||||
|
||||
DESCRIPTION="A Syntactic English parser"
|
||||
HOMEPAGE="https://www.abisource.com/projects/link-grammar/ https://www.link.cs.cmu.edu/link/"
|
||||
SRC_URI="https://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/5"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
|
||||
IUSE="aspell +hunspell python" # pcre
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# XXX: sqlite is automagic
|
||||
# Does not build with >=sci-mathematics/minisat-2, bug #593662
|
||||
# add pcre support: pcre? ( dev-libs/libpcre )
|
||||
RDEPEND="
|
||||
dev-db/sqlite:3
|
||||
aspell? ( app-text/aspell )
|
||||
hunspell? ( app-text/hunspell )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
!sci-mathematics/minisat"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-lang/swig:0
|
||||
sys-devel/autoconf-archive
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.8.1-lld.patch
|
||||
"${FILESDIR}"/${P}-musl.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
if use aspell && use hunspell; then
|
||||
ewarn "You have enabled 'aspell' and 'hunspell' support, but both cannot coexist,"
|
||||
ewarn "only hunspell will be built. Press Ctrl+C and set only 'aspell' USE flag if"
|
||||
ewarn "you want aspell support."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
my_src_configure() {
|
||||
local myconf=(
|
||||
--disable-maintainer-mode
|
||||
--disable-editline
|
||||
# java is hopelessly broken, invokes maven at build time (bug #806157)
|
||||
--disable-java-bindings
|
||||
--disable-perl-bindings
|
||||
--disable-static
|
||||
--enable-sat-solver=bundled
|
||||
$(use_enable aspell)
|
||||
$(use_enable hunspell)
|
||||
$(usev hunspell --with-hunspell-dictdir="${EPREFIX}"/usr/share/myspell)
|
||||
# $(use_enable pcre regex-tokenizer)
|
||||
# $(use_with pcre)
|
||||
)
|
||||
|
||||
econf \
|
||||
--disable-python-bindings \
|
||||
"${myconf[@]}"
|
||||
|
||||
if use python; then
|
||||
python_configure() {
|
||||
econf \
|
||||
--enable-python-bindings \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
python_foreach_impl run_in_build_dir python_configure
|
||||
fi
|
||||
}
|
||||
|
||||
my_src_compile() {
|
||||
local -x MAIN_BUILD_DIR="${BUILD_DIR}"
|
||||
default
|
||||
|
||||
if use python; then
|
||||
python_compile() {
|
||||
emake -C bindings/python \
|
||||
VPATH="${S}:${MAIN_BUILD_DIR}" \
|
||||
_clinkgrammar_la_DEPENDENCIES="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \
|
||||
_clinkgrammar_la_LIBADD="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la
|
||||
}
|
||||
python_foreach_impl run_in_build_dir python_compile
|
||||
fi
|
||||
}
|
||||
|
||||
my_src_install() {
|
||||
local -x MAIN_BUILD_DIR="${BUILD_DIR}"
|
||||
default
|
||||
|
||||
if use python; then
|
||||
python_install() {
|
||||
emake -C bindings/python \
|
||||
VPATH="${S}:${MAIN_BUILD_DIR}" \
|
||||
_clinkgrammar_la_DEPENDENCIES="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \
|
||||
_clinkgrammar_la_LIBADD="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \
|
||||
DESTDIR="${D}" \
|
||||
install
|
||||
}
|
||||
python_foreach_impl run_in_build_dir python_install
|
||||
fi
|
||||
|
||||
# no static archives
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 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 Python package that generates fake data for you"
|
||||
HOMEPAGE="https://github.com/joke2k/faker"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
||||
!dev-ruby/faker"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP},tiff]
|
||||
dev-python/random2[${PYTHON_USEDEP}]
|
||||
dev-python/validators[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,35 +0,0 @@
|
||||
# Copyright 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 Python package that generates fake data for you"
|
||||
HOMEPAGE="
|
||||
https://github.com/joke2k/faker/
|
||||
https://pypi.org/project/Faker/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
||||
!dev-ruby/faker
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP},tiff]
|
||||
dev-python/random2[${PYTHON_USEDEP}]
|
||||
dev-python/validators[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,9 +1,5 @@
|
||||
DIST Faker-13.3.3.tar.gz 1483842 BLAKE2B bf74f1e4d38b7ec5bd81610a462d88a86fec92886e42ad42a6827524d259697fd263a4e357f28abeee3ffe73ebc17fc4ea12082837773cc326ad0a89e117b32e SHA512 ac2dddf662fd8053bacd81fa52560bdf90f7055741648ea25d2cab92066be6efa1ddc29646ece416a408038fda695ff6602c5a655de3734c208864812f9d67cf
|
||||
DIST Faker-13.3.5.tar.gz 1484180 BLAKE2B 137c3faad4ccee4a673a45a8f1245a9e0681b64bfa43c5f7caa91ea1e1d797be0b0973aef8b32a4c44a790218509c77cdf9a8ead5dcf87c19a5165b2b2e9b599 SHA512 8cce3b1488ae34a292bbf9cc0373ffd9c47fe29b484bddb51396a1fe63eef0953022d638ea9b4a49148a48a72d56a9d38d342ebd228265ccb34320406ab45453
|
||||
DIST Faker-13.4.0.tar.gz 1484289 BLAKE2B 6d3ab8f958a1d51550bec29c28799753db91330cf98a47ba556b41d61459c42e34bb7dda24c71efab4820fc8843b1f0b4e2b41fa59f185a0acb0989b5f8c947c SHA512 29a0da1cd8275b90e3c65bf74874661e9ac1f2029aee1d317ae139e758aff946d0fccc48ace9043d78ba9a9242c431dd79d025f4203816ce3d8c56b394355672
|
||||
DIST Faker-13.6.0.tar.gz 1488090 BLAKE2B 9b4485fc97b0c22f9cce298a55e9dd91c05ea9a56514618c1355c420f3ce6beaa599caa51d909803e968ab918c4c841f459da3d06dd78fbfe984d22b323e2cbe SHA512 bcfb49777640f9b605e164b91380aee77206614f055a321b905ead1649219c081254e57ea80045dd692d061e53e69201ad356daaf6727655c87d65b16752c4cc
|
||||
EBUILD Faker-13.3.3.ebuild 705 BLAKE2B 72106161ef7d904dfbec2a7d29fd7036c2ffddf1f501ff1062377a66c8463824b5d22608f16333f040a99d5af8bc4572d23e6685f5dcf8de6943aaff020a4d42 SHA512 ac3451a2886eff64f7b612cc96d2753e192ed5959d02ba452cbb9f059b8642a09f5b368faf2a5926361af4cbb136744dd820e19542e69fe5642d7a300ab61c9d
|
||||
EBUILD Faker-13.3.5.ebuild 744 BLAKE2B de9d69408dcf30f6197a48aa69f479e3167f433b262d33a0f99cdfb717650e0b57ee477ff0dc98f638f37adaa92312030d4afd6b4549f6b6e53a7a8ed2ae255e SHA512 7b6025f1664b2bd3c662dae386ae8ac4007cfec78a44b6e78cb98e43ed8b158febea0b96fbd8ecd954e6134b1509b9164ba5a1a717dcdcb8839a3274b2441e1a
|
||||
EBUILD Faker-13.4.0.ebuild 744 BLAKE2B de9d69408dcf30f6197a48aa69f479e3167f433b262d33a0f99cdfb717650e0b57ee477ff0dc98f638f37adaa92312030d4afd6b4549f6b6e53a7a8ed2ae255e SHA512 7b6025f1664b2bd3c662dae386ae8ac4007cfec78a44b6e78cb98e43ed8b158febea0b96fbd8ecd954e6134b1509b9164ba5a1a717dcdcb8839a3274b2441e1a
|
||||
DIST Faker-13.7.0.tar.gz 1489106 BLAKE2B 8b12782b836915f83d4a05cf735d0e00544d67af595239535822842bcd8a5b08ee43d6f0ab17a813cbda194874cfc3d5a983e018a6655dfe84f9a5151562db8f SHA512 84299a5a8f4fb01bad2eb337627878ad54a835a79e6573300435e19b1d9b6945a2e67260ea6c9a8db586657e11b4a4c5f25f83c170430162aeb37f87cc0f5f4c
|
||||
EBUILD Faker-13.6.0.ebuild 744 BLAKE2B de9d69408dcf30f6197a48aa69f479e3167f433b262d33a0f99cdfb717650e0b57ee477ff0dc98f638f37adaa92312030d4afd6b4549f6b6e53a7a8ed2ae255e SHA512 7b6025f1664b2bd3c662dae386ae8ac4007cfec78a44b6e78cb98e43ed8b158febea0b96fbd8ecd954e6134b1509b9164ba5a1a717dcdcb8839a3274b2441e1a
|
||||
EBUILD Faker-13.7.0.ebuild 743 BLAKE2B c954188574c55e07e1737acf6558e83712dba7981040e05ed49864397a18e27217bcdb2da6d033f56553e9af826347302938035ed84d087d3b28b64a137a4b1b SHA512 71a025aa9e4571bd9e0a5d123ece8c128327653915730cc5ba1f6887258a348f339b4955ec01dc5ae88fe393e5699fba74354ca7bef0e83fbc4ca9c3c7c4182d
|
||||
MISC metadata.xml 474 BLAKE2B 337c8b17b4ca092edc2e59bd61dd847e4b9f2bd7e0651d07dad5b3e3eb4f311de9e27e6cad1f6a4835f618446cfa4cdb95e578a8af11498cf7bed1ec697990ce SHA512 35f4a2a50ad5589ba50e619670d1f1eac423fec920bb9c07b3f8bd7d7f2a0bb4e88dde286b062339b30ba304bd1a834bf3318c0b0ad0552ce9eb45fa72e5f44e
|
||||
|
Binary file not shown.
@ -0,0 +1,51 @@
|
||||
# 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
|
||||
|
||||
SAMPLE_COMMIT=41b5cd4f774f8fbd8ac42d93b9962f0376352a15
|
||||
DESCRIPTION="Python library to work with PDF files"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/PyPDF2/
|
||||
https://github.com/py-pdf/PyPDF2/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/py-pdf/PyPDF2/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
test? (
|
||||
https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz
|
||||
-> ${PN}-sample-files-${SAMPLE_COMMIT}.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
if use test; then
|
||||
mv "sample-files-${SAMPLE_COMMIT}"/* "${P}"/sample-files/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r Sample_Code/.
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_src_install
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST QtPy-2.0.1.tar.gz 43047 BLAKE2B 66625852e75fbfcf0bf96e740754ca26b6d5226dd5450d0274cf6dc875cba18e5ed8e339c8c7ad084ffa9b135f19447e087b338690ec521205316c4f22f09197 SHA512 5d482b0a5bd2be67a0fabccf98a9dedf28ef328641c8c976e2274d4a5afb14b9fefce251e80496ed54425dcb3da24984c6c36308db0bfc810ea2142528ad88fd
|
||||
DIST QtPy-2.1.0.tar.gz 46470 BLAKE2B 2e032d141ad134444143cd59b8952957b226d9519925083aecce82adf62eebd3f58803cf548c4142fb1ece6f0e2340043a82a7aef056f6e4a9ac8b9caf72d80d SHA512 052cab4218d23d46162d11bf038dccfe6200b05c1c8647bd1f9dcbdaa7af50c23d4ae85829e065c7bae57630d149d562d76cc78202b4f448cbf6547010c746ff
|
||||
EBUILD QtPy-2.0.1.ebuild 5215 BLAKE2B 23261bb6e3a1818b8032c4bb87ee501a12aac8e9595c2aaf17cfa516d8db2f1fd6410af388601fed1a6f9daf8323300303deda7e434dfd7f152db4bed742ca77 SHA512 aca9dc14dd97d1ab4719f47e110fdd91ed12c97f3f83dae91f3d2888650af57917b251da3a85dbcfae6fbedc1dd270450ea0ce63cc2385e70d59b0f4f6b9ca4d
|
||||
EBUILD QtPy-2.1.0.ebuild 5006 BLAKE2B 31a8b946e69abcb0658db406f8c58158d7e0ee05e8cb6b15e96077dc78baa2f25b02124e2a530575c78b5ea15491f92d14c46b55da00ca854a333c1b5db02de7 SHA512 ebc7e15e6bc7183156548722161a81c9486410ce860fb1f95b76a361f950a7973df227b2350a05d4dfd3b425e057174992ef2e0ffe304b5876d7c60f0631cde9
|
||||
MISC metadata.xml 2904 BLAKE2B f951ee9cfb1e57da9c1b528015cf56bf72e36fbcea6973f5bd237e86c8039d82d9700166ab76773b9bfbc8e499df492994e5dd73aee0bb2d35914d36bcf1bd78 SHA512 e6e13d0c24f16379ac03711f02c5201d1ab28bcbbddd7063f0487bbaaeda99e5a2ef87f00d8df834d822c9230a50ddead93b44affccf07b80bfc275140f4e9ff
|
||||
|
@ -0,0 +1,139 @@
|
||||
# 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 virtualx
|
||||
|
||||
DESCRIPTION="Abstraction layer on top of PyQt5 and PySide2 and additional custom QWidgets"
|
||||
HOMEPAGE="
|
||||
https://github.com/spyder-ide/qtpy/
|
||||
https://pypi.org/project/QtPy/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
_IUSE_QT_MODULES="
|
||||
declarative designer gui help location multimedia network opengl
|
||||
positioning printsupport sensors serialport speech sql svg testlib
|
||||
webchannel webengine websockets widgets x11extras xml xmlpatterns
|
||||
"
|
||||
IUSE="+pyqt5 pyside2 ${_IUSE_QT_MODULES}"
|
||||
unset _IUSE_QT_MODULES
|
||||
|
||||
REQUIRED_USE="|| ( pyqt5 pyside2 )"
|
||||
|
||||
# These flags are currently *not* common to both the PySide2 and PyQt5 ebuild
|
||||
# Disable them for now, please check periodically if this is still up to date.
|
||||
# bluetooth? ( pyqt5 )
|
||||
# dbus? ( pyqt5 )
|
||||
#
|
||||
# 3d? ( pyside2 )
|
||||
# charts? ( pyside2 )
|
||||
# concurrent? ( pyside2 )
|
||||
# datavis? ( pyside2 )
|
||||
# scxml? ( pyside2 )
|
||||
# script? ( pyside2 )
|
||||
# scripttools? ( pyside2 )
|
||||
|
||||
# WARNING: the obvious solution of using || for PyQt5/pyside2 is not going
|
||||
# to work. The package only checks whether PyQt5/pyside2 is installed, it does
|
||||
# not verify whether they have the necessary modules (i.e. satisfy the USE dep).
|
||||
#
|
||||
# Webengine is a special case, because PyQt5 provides this in a separate package
|
||||
# while PySide2 ships it in the same package.
|
||||
#
|
||||
# declarative/qml/quick is a special case, because PyQt5 bundles the bindings
|
||||
# for qml and quick in one flag: declarative PySide2 does not.
|
||||
#
|
||||
# The PyQt5 ebuild currently enables xml support unconditionally, the flag is
|
||||
# added anyway with a (+) to make it future proof if the ebuild were to change
|
||||
# this behaviour in the future.
|
||||
#
|
||||
# The PySide2 ebuild currently enables opengl and serialport support
|
||||
# unconditionally, the flag is added anyway with a (+) to make it future proof
|
||||
# if the ebuild were to change this behaviour in the future.
|
||||
RDEPEND="
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
pyqt5? (
|
||||
dev-python/PyQt5[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt5[declarative?,designer?,gui?,help?,location?]
|
||||
dev-python/PyQt5[multimedia?,network?,opengl?,positioning?]
|
||||
dev-python/PyQt5[printsupport?,sensors?,serialport?,speech(-)?,sql?,svg?]
|
||||
dev-python/PyQt5[testlib?,webchannel?,websockets?,widgets?]
|
||||
dev-python/PyQt5[x11extras?,xml(+)?,xmlpatterns?]
|
||||
webengine? ( dev-python/PyQtWebEngine[${PYTHON_USEDEP}] )
|
||||
)
|
||||
pyside2? (
|
||||
dev-python/pyside2[${PYTHON_USEDEP}]
|
||||
dev-python/pyside2[designer?,gui?,help?,location?,multimedia?]
|
||||
dev-python/pyside2[network?,opengl(+)?,positioning?,printsupport?]
|
||||
dev-python/pyside2[sensors?,serialport(+)?,speech?,sql?,svg?]
|
||||
dev-python/pyside2[testlib?,webchannel?,webengine?,websockets?]
|
||||
dev-python/pyside2[widgets?,x11extras?,xml?,xmlpatterns?]
|
||||
declarative? ( dev-python/pyside2[qml,quick] )
|
||||
)
|
||||
"
|
||||
|
||||
# The QtPy testsuite skips tests for bindings that are not installed, so here we
|
||||
# ensure that everything is available and all tests are run. Note that not
|
||||
# all flags are available in PyQt5/PySide2, so some tests are still skipped.
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
pyqt5? (
|
||||
dev-python/PyQt5[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt5[bluetooth,dbus,declarative,designer,gui,help,location]
|
||||
dev-python/PyQt5[multimedia,network,opengl,positioning,printsupport]
|
||||
dev-python/PyQt5[sensors,serialport,speech(-),sql,svg,testlib,webchannel]
|
||||
dev-python/PyQt5[websockets,widgets,x11extras,xml(+),xmlpatterns]
|
||||
dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
|
||||
)
|
||||
pyside2? (
|
||||
dev-python/pyside2[${PYTHON_USEDEP}]
|
||||
dev-python/pyside2[3d,charts,concurrent,datavis,designer,gui,help]
|
||||
dev-python/pyside2[location,multimedia,network,opengl(+),positioning]
|
||||
dev-python/pyside2[printsupport,qml,quick,script,scripttools,scxml]
|
||||
dev-python/pyside2[sensors,serialport(+),speech,sql,svg,testlib]
|
||||
dev-python/pyside2[webchannel,webengine,websockets,widgets,x11extras]
|
||||
dev-python/pyside2[xml,xmlpatterns]
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
sed -i -e 's:--cov=qtpy --cov-report=term-missing::' pytest.ini || die
|
||||
# Disable Qt for Python implementations that are not selected
|
||||
if ! use pyqt5; then
|
||||
sed -i -e "s/from PyQt5.QtCore import/raise ImportError #/" qtpy/__init__.py || die
|
||||
fi
|
||||
if ! use pyside2; then
|
||||
sed -i -e "s/from PySide2 import/raise ImportError #/" qtpy/__init__.py || die
|
||||
sed -i -e "s/from PySide2.QtCore import/raise ImportError #/" qtpy/__init__.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if use pyqt5; then
|
||||
QT_API="pyqt5" virtx epytest
|
||||
fi
|
||||
if use pyside2; then
|
||||
QT_API="pyside2" virtx epytest
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use pyqt5 && use pyside2; then
|
||||
ewarn "You have enabled both PyQt5 and PySide2, note that QtPy will default"
|
||||
ewarn "to PyQt5 unless the QT_API environment variable overrides this."
|
||||
fi
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
DIST astroid-2.11.2.tar.gz 412621 BLAKE2B e43be65b733a5de5d027920e8e4db0365a3af98614739f0a56dcf95ef6c1c3a9e104b52c1fad4477bccd460850cf6bab6f38014aaa6891e8d04720d4a52b79d8 SHA512 5b33cb3594513804c6933a888297ed54c42cb52274c7fe49060368e3fac62be8f3febcb822aa9267a5a0a99a32932912ebc4640a7d10288b7021955fe0277c0d
|
||||
DIST astroid-2.11.3.tar.gz 413237 BLAKE2B 0758e0a2069e969e1509d0935883f1deba6b3c55af0edcb3146be7dd39eab40e9a71ef517c5114c49c191f545da73340d074df1cc107094c6450f9d2448932db SHA512 ea215a4fee747ab49735d3b8a084500b9127c831f0a737d6610128211750920e68741dc888d8d799422636b7acb014e1a1f3f629db87c445781c4cfaf57dd062
|
||||
DIST astroid-2.11.4.tar.gz 414075 BLAKE2B 7bbe956b1ed577bf6be97f89ed3e1c5f3f516d549339010e711d43bf61f9f23e18e04c57165742e22e2bea9dce8766ba5b573749627eeeeda2a133610d73dfb5 SHA512 dbe0dd34008f56b117c12133a6f3b9f940f6cebd4d19019396efe0d060ac7f4a28e56193fa16d30748dfc316e8cda1b8fcad8574dfb2698430e0f1d3622681c4
|
||||
DIST astroid-2.9.3.tar.gz 409069 BLAKE2B 152dbe8ab2fee3964dc8cc714a5ba48c71b5994c77d1e20683bcf028483aca22d5be5772e72d056cfd3d1f59562b447366d61fc35a2b67d545f069a8f7975e84 SHA512 7bb3bf2d456c0d22325444e641961c34eaddcddf50c97ee9f5b5c8755232cf1b65a315258403b40bb7dcad15c4f9b6b73ab0eb607525a48a65f52406969eca04
|
||||
EBUILD astroid-2.11.2.ebuild 1383 BLAKE2B 09d3bb38ea7b42f3ccd55fb0e16eff8ab8d06e792f20b648d24aca478255869530aa22cd807849ae270f3b1d336c7f26f37d0a25e4e86044adfcb82b26c6d122 SHA512 5070407b621f0dafe23d3ebb9d0c6efb257535a3d91afc7f5b34a03809d33965e7f67bb9d04a1525aeccb22490be9fda782c22b6cd519cd54a23fac573a7fe94
|
||||
EBUILD astroid-2.11.3.ebuild 1391 BLAKE2B 026560b411056b47cdcd3c04ff8525c3d395ee381da86d317527126bf111cd56e21a154872f1beca9e2167c6f060a2b81972f3f296b01367cb06332d002f2975 SHA512 9332b9a912758389cd698a1f806c7f5412e3cdff3007fbba33823f509e6c9edb517612475951c306abaf10286756df6c7a491ce7bdf5938c3723a665d1355994
|
||||
EBUILD astroid-2.11.4.ebuild 1391 BLAKE2B 026560b411056b47cdcd3c04ff8525c3d395ee381da86d317527126bf111cd56e21a154872f1beca9e2167c6f060a2b81972f3f296b01367cb06332d002f2975 SHA512 9332b9a912758389cd698a1f806c7f5412e3cdff3007fbba33823f509e6c9edb517612475951c306abaf10286756df6c7a491ce7bdf5938c3723a665d1355994
|
||||
EBUILD astroid-2.9.3.ebuild 1305 BLAKE2B 8ed0e241b8c820dfce1228a811ab24f9e96898f61037c5d66c5db327218b1740a13f87078c60977e2a923c193ea59a9cbcb1197a35fabdcdb09e8b1370251e78 SHA512 f89e842c114311520ef5d55ffa00410986ed1c19b9eb132e1b1b527e74cb6e0605548704b6129013a3d2c11542902ba25ca1df1c0e65692cfb9939cc407e7ada
|
||||
MISC metadata.xml 1143 BLAKE2B 1f6c4e004277eebed2e29cb935ef01e5f18fb0a526f99f0e875ae3815308dce0483b5274b4e23bed076464aa62a035937a7a3817e2d4a5fb9211b9043271e04c SHA512 56b07d0f08a49772661bc3d233cf1f628aa7c241c51b91d75dfbd44995e169d8ab5bbd99863d7b9b67792486346982a7b8eebefb462e7e212cd7dff920d80840
|
||||
|
@ -0,0 +1,54 @@
|
||||
# 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="Abstract Syntax Tree for logilab packages"
|
||||
HOMEPAGE="
|
||||
https://github.com/PyCQA/astroid/
|
||||
https://pypi.org/project/astroid/"
|
||||
SRC_URI="
|
||||
https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
# Version specified in __pkginfo__.py.
|
||||
RDEPEND="
|
||||
>=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-extensions-3.10[${PYTHON_USEDEP}]
|
||||
<dev-python/wrapt-2[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# no clue why it's broken
|
||||
tests/unittest_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part
|
||||
tests/unittest_brain_dataclasses.py::test_pydantic_field
|
||||
)
|
||||
|
||||
# Faker causes sys.path_importer_cache keys to be overwritten
|
||||
# with PosixPaths
|
||||
epytest -p no:faker
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# 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 multiprocessing
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/boto3/
|
||||
https://pypi.org/project/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}]
|
||||
dev-python/pytest-xdist[${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} \
|
||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
# 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 multiprocessing
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/botocore/
|
||||
https://pypi.org/project/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-2[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${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} \
|
||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST cfn-lint-0.59.0.tar.gz 9004743 BLAKE2B e778c1081e45dacc813f8a4ae7726eb929fabcdbfaafcbbc5f0d925cfe32773851366c9488363728ae42349cbe899a6cacd114940ee8d76dc284b30ea87fe19a SHA512 e8e9d0fb1f366c49f8a008000a808ec4b6c4299ff3c9650229619d8e48f1812709ecd54274163d8bd389c6823f20accd7d31f6147bec926ec233ede3ee51ee10
|
||||
DIST cfn-lint-0.59.1.tar.gz 9065067 BLAKE2B 63fc591f7ed60eed2ef7fa1e9ea212e3e8569cfd20dec8bb8505dbfb8e96ee8f8ab6136d88de58b2db8823675946dc99b38adeb3b5c784d165083e1353100b00 SHA512 a08b4bf4dc8e7ab41bb72eb9309ca4f03eed3b6f5c31b3876dc9d08610312377a7c229de883c287e7e5ed6597f8eada79a111882785888e43b0ff20160e39fe0
|
||||
EBUILD cfn-lint-0.59.0.ebuild 1630 BLAKE2B 8c005e2deb1e740d899bd49c2383d0b9cbc62d5d39590654e5bb4892cf2f0eb005b62f177e66c712dffa3f2248ef1a04212c5015492264eb40828bd3142c9852 SHA512 973419a030301b262d4161df6c8fea9fcd4c64d6c68c239f06f41c074b4925dfb37f80bb84a07aff71fc2044393ad95185cdae07087d5df32a44baff7a23bff4
|
||||
EBUILD cfn-lint-0.59.1.ebuild 1632 BLAKE2B 31a5925aa3f0a2df74957bbabc47da51c554c139337e49d22adafb11d451380b3897b5cce1afc9ae766190319f606aec09982e6e8b009654e3b496aad073d939 SHA512 66cd6902f519eb880df5a65a6acdf04c8ec920a4cb443770053adc1c250e9fbb262c715eb0f11409d4778edf72b153ef8ec14ec28d8f789f5d4994fabf6454c1
|
||||
MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19
|
||||
|
@ -0,0 +1,50 @@
|
||||
# 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="CloudFormation Linter"
|
||||
HOMEPAGE="https://pypi.org/project/cfn-lint/ https://github.com/aws-cloudformation/cfn-lint/"
|
||||
SRC_URI="
|
||||
https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/aws-sam-translator-1.45.0[${PYTHON_USEDEP}]
|
||||
dev-python/jsonpatch[${PYTHON_USEDEP}]
|
||||
>=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
|
||||
dev-python/junit-xml[${PYTHON_USEDEP}]
|
||||
dev-python/networkx[${PYTHON_USEDEP}]
|
||||
>dev-python/pyyaml-5.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.15.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
test/unit/module/test_template.py::TestTemplate::test_build_graph
|
||||
# requires git repo
|
||||
test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs
|
||||
# Internet
|
||||
test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter
|
||||
test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_2
|
||||
test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# unpin the deps
|
||||
sed -e 's:~=[0-9.]*::' -i setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -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="Task scheduling and blocked algorithms for parallel processing"
|
||||
HOMEPAGE="
|
||||
https://dask.org/
|
||||
https://github.com/dask/dask/
|
||||
https://pypi.org/project/dask/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/cloudpickle-0.2.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/fsspec-0.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.15.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pandas-0.25.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-20.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/partd-0.3.10[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/toolz-0.8.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/toolz[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/moto[${PYTHON_USEDEP}]
|
||||
dev-python/numexpr[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
|
||||
dev-python/scipy[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# another test relying on -Werror
|
||||
"dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]"
|
||||
# TODO
|
||||
dask/array/tests/test_reductions.py::test_mean_func_does_not_warn
|
||||
dask/tests/test_config.py::test__get_paths
|
||||
)
|
||||
|
||||
python_test() {
|
||||
epytest -p no:flaky -m "not network"
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST deepmerge-1.0.0.gh.tar.gz 14789 BLAKE2B 0a3f7cb72b718995252361864a9208de4b57c32df6da6dc52e6491fa7871be2dcd19be3bcef3eba2d8793009945bfe8e412959da52f9fb1072898026a5ff8837 SHA512 687483ef47f385df345dca6e127897a346a48424eea51c6b8ff35c254517daae0e713f8e86ff2f140ede6ecde98517ddfd9edb5599956f4c716f1f8f2bfcf22a
|
||||
EBUILD deepmerge-1.0.0.ebuild 659 BLAKE2B e185d987768008978f4a7d80baa86231fb84800706fc604ceab9bade5ea21015e7b9e486197caa85c8ca2c782d1e26b380318812cccdbdca3db6b752cc7ad11a SHA512 f7a6f2ea51fb7160b9c19a322b5997c18015c358a6b2b7236887360b207651448b756ce75d3f6fd19d7d3cbe0a615cbd2b9187cac60f99372e8b7efd253ea783
|
||||
MISC metadata.xml 264 BLAKE2B a1275ccc6747c6379765a0b8b8b8723c0a84ef3b94b8a8e367a0395d3b33938c0d6c404a0ac397121970dd4163a1f7f318ba2bcc37c38e2daec29ce04d25da6d SHA512 b1ff9eebcc23169767f0a89b91f87ce5b1dd63c9e56944a439281c705580c7e666008b8b38a195078aa69febe8659a48ec276e24e86665a89980ebb0c8940fa5
|
||||
DIST deepmerge-1.0.1.gh.tar.gz 15004 BLAKE2B bc1d972f40485d02665fb6cd53875fa0f35e387192a9b0cc65f092966dc760a3ccc7eae6515693f39e58d7bb0a071aaac970873738a99b6962561eed641ef48b SHA512 689c9cc99c3770e27ae131bff65486ca02555840ae3fbeec1e36d08e425842e50ac7005d63ccf053627806c39578b2c9fb84fb10ca76731d17136cea61b87bbd
|
||||
EBUILD deepmerge-1.0.1.ebuild 741 BLAKE2B bf7204facff76a94ddbca1d0608029d432714eed95532f1b1b66574bff2e582da99c35b8bf566ff652637bd45407c9ace0744853fb2b0d8a19508a26407306c5 SHA512 430cb83104979bf3d997632eb9655c2e3cf8c9228bbc2063d9c824355d4cd642b8622582a4cdd954a8fb2a1cf27dc4c850f38e547e54748a0372b94bd174bd37
|
||||
MISC metadata.xml 337 BLAKE2B c9bffeb85e875d5beb45ed90ef00be6e559be49d8a7a8f437394b111d9a0d352b95ddb8925746a8de5fc68b27ddb72d382bf5fbdb25876efc4e2c657102d9d4b SHA512 5dd47098dff36f4b698b9ee5d1aeb2cd963bd099d4a256bc08ad7354967457310f4c316ccb3524576b751b0f26193752d8a7f31b67e70de1bfaed038d5ecacf5
|
||||
|
@ -1,7 +1,5 @@
|
||||
DIST django-taggit-1.5.1.tar.gz 52766 BLAKE2B 59892ba591ad5cbc40a7515a6427722d7cb58e2daadec579b1c08dcc3522e24e041cbe06c953c3717cdf3db50aef7ff9fb5b4eac00344e457b61797745638107 SHA512 8e7afefd8f0654340e234f7bd1cc3684b3e5d1f4d94d17c79ed8fb82096c21a809e7f8db2fea9509d45c3f2bdc5e8ed52fb0823779b0a039f87528642803725b
|
||||
DIST django-taggit-2.0.0.tar.gz 55042 BLAKE2B cb4d3c8b32ba524eb0c59b447155b818c30ed77ec95a76c7412bccf109d421f2628fb40c8bb65d2c845351c8e8ed77605c0e5d77ac1ddcff6cddd5248f2fcdc6 SHA512 9cffde5a0de170e08ff93b245873b02a4868e67ea946c6b9997b782fecb8f71418dddc702ca283d45e8c1685a4a45143aa6c726de187410b9a89afe2efadd190
|
||||
DIST django-taggit-2.1.0.tar.gz 55659 BLAKE2B 343176e910743924d7b84ef827b4a63e0bc4bc3db7d7c3ed8e7319b18713bc5cdb1e58f1a9f7356a01c1ae5c47daf561e9e68484f0bd40aaf03c780f8558b55c SHA512 64ac21574ba4b0e7dd8d52dee910350d7cfc2f821aaadf7767a4b74d4db7ab69d704558dac13dd68dc29e985ab593bc4189e1d064c0a0d4fe6fa7ab88038d353
|
||||
EBUILD django-taggit-1.5.1.ebuild 651 BLAKE2B 30cf35983a6d700460559c4a2da3839798407d7b961ffaf1063917c7e24816ed10f42d0fca5d5ea592513cf8a106587c14360e0365c982b94ac508d354f75e36 SHA512 3841045ce523b27828a91d0da10b2deb7e79cb434ce99f40d21dc0eae4a1dd9ce14cf3ffc15410661cf1745072827f051ccafccff98d5288af2cc2931a7dd95e
|
||||
EBUILD django-taggit-2.0.0.ebuild 652 BLAKE2B 110cb5144d495c69b5c47beb0cfa321f950bbcb32642f90b7236a0d240da3f4659e092e269395cc370cc0dd5ff64d5fedf1b27f19c1bb267b8c0ae1249578ab4 SHA512 ab1ae9024eac7e2cad37d1bb733dcdea9b3584f936b5a18881ebbe83cbd2d289e87d032830866aa226fa1095ddf0fc98f33482376d58fd40a16ee9f865ad19f6
|
||||
DIST django-taggit-3.0.0.tar.gz 57380 BLAKE2B 67ce6adde1bcba3a9fc8f11af4135dd1a2ee75892e26d4de9970f84111c1cf73f65bc58a2de45c75b98b0c5da9b8a6077af76d1e0561ce8a5e78828db8f40226 SHA512 e44a5f4f8293560cecb1ba39035241f209f21803521d3e2f3102e04add9778ebc15b0da6994f0a51b6c55274318b4cabce33805952f8bbaad16ecc3c03070e10
|
||||
EBUILD django-taggit-2.1.0.ebuild 682 BLAKE2B 011002bfc6f335f25a377ed251ca19b5c025b1fc6c2c309b668de0c0d669d962c5bf704edc4707a59d4bb30689f4f368b3e0a68ec0e4339cfceb16acfa1514e9 SHA512 fa5bbf803f19e69237c964449eb885a4997b5be059fa7eaf0c9dce14c3ec65a23438e6afc3d02f7b649850aa7042a3d3756a3b1c8dbf58e616ce396442ee1a00
|
||||
EBUILD django-taggit-3.0.0.ebuild 682 BLAKE2B 011002bfc6f335f25a377ed251ca19b5c025b1fc6c2c309b668de0c0d669d962c5bf704edc4707a59d4bb30689f4f368b3e0a68ec0e4339cfceb16acfa1514e9 SHA512 fa5bbf803f19e69237c964449eb885a4997b5be059fa7eaf0c9dce14c3ec65a23438e6afc3d02f7b649850aa7042a3d3756a3b1c8dbf58e616ce396442ee1a00
|
||||
MISC metadata.xml 341 BLAKE2B 4cd13e0c8330dc284424e011d573fc640a1af5804063c2a198b5eb95aecabba032936a477af38338f7edfefbc7e9fa3b2761c2bf7d132fa89202b36f24a64eb2 SHA512 6007ed469c39d331f190c107b3e9cff6ff6a80c9c7a7653410ad7b1fbf0f34d948b0a04ef00ff0ab51650d5d18a8dd277bac40c44354345d0f69e4ea45519d50
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple tagging for Django"
|
||||
HOMEPAGE="https://github.com/jazzband/django-taggit"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-2.2[${PYTHON_USEDEP}]
|
||||
dev-python/djangorestframework[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? ( ${RDEPEND} )"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" -m django test -v 2 --settings=tests.settings ||
|
||||
die "Tests failed with ${EPYTHON}"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST executing-0.8.2.gh.tar.gz 494836 BLAKE2B d6ade5658c8df656e80bb596f6c19493475d74ea10ddfc60b25eadb4a2f68d8afd2f437a6f82807932bba0469617fdac7a4dd90569623d1c8d7f96220e02ec9a SHA512 9a7fe4d3bae77d49725f35bae9d239bfb2a6e89d893d871d76f26fe4beffe0a07c6cbf50ea7b35b9ced66148d015c48106bc5774b26f201f9b40577f3380f5b3
|
||||
DIST executing-0.8.3.gh.tar.gz 495111 BLAKE2B ccb1a7df974f94b48960fc84a8365f6e57a7f34590972192e692f03340662e2bde97498c2ebf5617e45d8dfb6e866fd7de290644adb58e5338b2e0fdccc215f1 SHA512 4e01c1f48734c9568412b84160150e7e50ebdf5ba3dd466cf9d37b7f875ca2993915db75e2f6dd8e75e60b7b952fb0146928a41dde100ad38384b9be2ed60522
|
||||
EBUILD executing-0.8.2.ebuild 911 BLAKE2B e1d01c76c0f7d8a1564fe5dbdbe55fc3a110b78807eb601706105570366b4dbac93564123e7df85f9388968242f88e4c8085c714033b852ad410f1392f568ad1 SHA512 21cf05d8d88093abe0b016ab91528980fbb9f8578d81452d7ec716a21dcb37d58050f117118943f5f776531333b31a2f81d4918795d8b5d0719051e04bff8969
|
||||
EBUILD executing-0.8.3.ebuild 990 BLAKE2B d302a35115d31517898800500fbc673ad92b3ced2bc936fea75d4a5972c5c2cf3867a029a17cac8b6d63bd0ebac517517993911575a9e0075f0c312681597cb8 SHA512 9e02160259ee2aeea95e7c57a1435b0bb5546a0b96b0fb15bae14610de25b530496aea0db3b895a91ee85eb14a2b3441a84d01156b54df51e3c56ebc6fbee5ae
|
||||
EBUILD executing-0.8.3.ebuild 989 BLAKE2B 8b4cf90997c28f9d69f5b94339ed1f98452c46f0c6878d4bf14cebe6134ca7b9a8d35944f4edbe3076676ae618493a0ad66b3a99aa4b157ebebf4284bf4dc7c5 SHA512 2c734229b3286cec853f72bcd496e9c24cb743da1f794727d6852f9a333c9c9e90e36a2e21b0b84036a3d14012b51355c1a8ed3f21f521c47adde492abf8bbbe
|
||||
MISC metadata.xml 351 BLAKE2B 3e64042e3da09377bd27bcf09b9984eef77bbbc18e84f1e849571ff628cd15068fa680560cfc6c3650bf545e5869c6e3d6be0b4d2fc00f35c5fc58dcc3194eb1 SHA512 de199443767adf299da6c7d857c182071746b2ccf7b84015e9649675451ff336fdb7ac1df2d15951ae708ddf0529f2f1c9c19a2959f45c0dc30db1f341fb8d0f
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST fs-2.4.16.tar.gz 187441 BLAKE2B 5a59dd5bcaae19180a918ba0ceb99b598134d73e4c9ecad840b3cf3041613171367d878d147f045005a87636e8f2145451252d646dbffb8d0f3ae6ac254142ee SHA512 7d9a03b5a782cce048189a7ff527757e60ef6fbb99925713b0179dc9c483f63b54fb1911f39bf2230366c789c526a1b8927863ce93e13a0f71fd8734a7fdb9df
|
||||
DIST pyfilesystem2-2.4.15.tar.gz 181799 BLAKE2B 522d118dcee6aafe754d8eb571aa88f26cbbbafd7fedabbf7f4470e098dde01db42cb26b20ed28305daf8f32a22250da81c8a932d420ef4bdf825deb363a26a1 SHA512 7bb153dad5ea03eec7cb1af8d1b5a851845984e194f288687b0e737e1f32c74bf4c1a8d62a9105c8637cd5a29ab82810df9fc11055b894ab0df899cb20a4e1c1
|
||||
EBUILD fs-2.4.15.ebuild 1530 BLAKE2B 5fd1efa0be309ffdf72c582c1878d90f6c14bf4e1136cb210c1f1ea68139df9df9d834aeeba94c75bb9e057738c1fff880ac38f01d23cab830bb015882f49a91 SHA512 8ac60d1e7493f66a3d5694ead4835b19af02c8ad57b2d954272e8b98294f86bf3c9339fb13ce08a9626d84935c5cd8e329f1b8abbd968cbc8fc599f1c5dd6c02
|
||||
EBUILD fs-2.4.16.ebuild 1341 BLAKE2B f1077b86029c9ddfd57e32013f6232daa8291108bbbbe2ed1346e2d97f93b4297311001674a7e6b2a4790285d47b609c605ce81516f332b81d769e577e423fcd SHA512 d21c44cc3674c0b4cb070e8cc20831f93dee42295c67ffcd808448e6a734a55e9ce159aa8fa69c1ba9fc1b9f10b930c7d5b5e5b052f1284b382d6109a97a6b3c
|
||||
MISC metadata.xml 581 BLAKE2B b3fa399e172b10606f13b3de4fb0afbe332e7234b3163ce198b30cea2d4c24967b0943d578085dfbaada503700f70015517d01e3f3a01ddcc4795e1821d1a5ce SHA512 3d3154db8e81f2764f99e2595a99a34061762a5cf16695926e25407859f20a59f4dbf60b0d8e18fb80d90c6342f70cc6a2c886841bf156ae06b17a670a4987c0
|
||||
|
@ -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 optfeature
|
||||
|
||||
DESCRIPTION="Filesystem abstraction layer"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/fs/
|
||||
https://docs.pyfilesystem.org
|
||||
https://www.willmcgugan.com/tag/fs/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.10[${PYTHON_USEDEP}]
|
||||
"
|
||||
# NB: we skip tests requiring pyftpdlib
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/parameterized[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_IGNORE=(
|
||||
# TODO: fails at teardown due to unfreed resources
|
||||
tests/test_ftpfs.py
|
||||
)
|
||||
|
||||
# pytest-xvfb causes test failures due to a zombie Xvfb process
|
||||
epytest -p no:xvfb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "S3 support" dev-python/boto
|
||||
optfeature "SFTP support" dev-python/paramiko
|
||||
optfeature "Browser support" dev-python/wxpython
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Recursive descent parsing library based on functional combinators"
|
||||
HOMEPAGE="https://pypi.org/project/funcparserlib/
|
||||
https://github.com/vlasovskikh/funcparserlib"
|
||||
SRC_URI="
|
||||
https://github.com/vlasovskikh/funcparserlib/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
@ -1,3 +1,5 @@
|
||||
DIST ghp-import-2.0.2.tar.gz 10928 BLAKE2B 7479917284af9a8f8ac460f43d97c9d5fe29c4dc3663698e5b76e9ba1b0a7cdcd8d93fb1f112cdcfaa6689f70f280b4dc49c6f8e632784c11121f1fede1f8eaf SHA512 554c466f1275d905d7698539fe74b662f43c26b9497e83bc3615849ba2815dcbce6ae01fa14eb1c2245987ccc1b497afe175e3e0ddef3de561fc14ea24792d4e
|
||||
DIST ghp-import-2.1.0.tar.gz 10943 BLAKE2B bccff70a8ca6c58a3c768b143b0545a61080a577dbbef3021233134b8536df1788ec9a88aa8454865cfb83491b70fc6fb53caf04514af3d7845204cf2b893cad SHA512 10665a1a6392fe047d1e42d7f107511b1a31de02625200e7db1c637f33dc8dc41ec71c2db4f562c6e94a4efb4836efef8a29177d953d99fe17a889169074050c
|
||||
EBUILD ghp-import-2.0.2.ebuild 454 BLAKE2B 54859657f814e505e584b26b406dab58ea6b36d1836e4148af7388c1da0843f2f4ca74df75a7110c88aaafba8a9f90ee9e99777bb67229d86d9931bc64fd6448 SHA512 6b72c6d0f8cf8f4b6a8d5f4a7a2b4495b4599f48920b751f0f2f197b971731e76c62511a37e06e743576f732d7d92e6edd0c152c89a0f3d19a9b43cdcd5493c3
|
||||
EBUILD ghp-import-2.1.0.ebuild 456 BLAKE2B a7e1934feb733b4075439ee6257b57d8b0625a6745bd141bfb1c8370c2107ddd446bef18de419fe2890dbfb9e22ba716f5f8864ba14adefc98ae2f55f63a7fc0 SHA512 8a50c69d371269a0ed5956ae69c5ce1a1522913beb6c0db16e9ac3451beacdd9aa7dcfca223d458e954cc4855f0b43a6a87e2aca5e32b269ed1f12429e79853f
|
||||
MISC metadata.xml 410 BLAKE2B 0caeb18e5be64053ac585560860e830d7f8cb78ea6898f29c71457469000a7bca01fc07f48ae0ef4224925d73ffd7f3149c812d37d4d7f5d0003b6adb1c4650b SHA512 8bfccec4ffea700f9094231fb0adbbeb2575d3dc329a6bea4df391ccf3294a6386898307f77e127c76c9ea85a07acee0ec7e79e9a7d3725e9cc7fbe73cad67d3
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Copy your docs directly to the gh-pages branch"
|
||||
HOMEPAGE="https://github.com/c-w/ghp-import"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
|
||||
"
|
@ -1,5 +1,7 @@
|
||||
DIST google-api-core-2.7.1.tar.gz 163942 BLAKE2B 0b28e8dd8607ed6a64a3715c14e321f74d18abc09bc2eee5c6d080936160ea9d6839f1acf9589667c86a688e4e02038cc204f25d0b7cab3e3ed3af2463f31abb SHA512 2264eec00309f272ecca278e8f310bca4be64cfcec94c05fa96a7a8ae350fce0ae9931fbb27aae71e89393289cdbef782631a6766e85d5aee449e903e70f0817
|
||||
DIST google-api-core-2.7.2.tar.gz 164017 BLAKE2B d2f1c690527c750a819718043542ce853be7f135660dfe661db2ba315213ef4a9756eeab6f1854275044d4f1fed50d119c2914eb00e043b7d5b085dad426a26f SHA512 1fb420a41d603d576030d2b324036de10831035ce1505ba94dedc9e58ce354d0f23e1d3df8a4f2f5082147a1be49d93e10c2209a1407f90ffedfa74815730e14
|
||||
DIST google-api-core-2.7.3.tar.gz 164219 BLAKE2B c394fd95bff3ac393174372e0c49f9a7974a006de6f14d07af7b15b4c531d6dae7af8c38e00263289a895cb9dae9ef23368d793f5ae3649b9b029337a72cc0ef SHA512 2bf49738216cd52dad2bdfb3367e370390c366b49a8c3c4f6f49a2a3f17b27120d99933b57c8eb8c9a1f0f25ef5ea6d876cf8c3c6c759d3585d625e57b1153f9
|
||||
EBUILD google-api-core-2.7.1-r2.ebuild 2292 BLAKE2B 20473aefcae801fc41b1207eea8d9f781ab330c5ca4b6f857773cff1bf8ab373f80fdb49052d33a69c4123e79610c09b895b98302216648139b864a223bf03c9 SHA512 8cf1ce44f00419ab30eeb71f4eb3fbd91ef198a2e22fcf97ae9c15b103d0229d6dc44aeae2f905d596d50003c097e56d971412c4b544c24a686e665bc7bab734
|
||||
EBUILD google-api-core-2.7.2-r1.ebuild 2035 BLAKE2B 8bdab82df068514cf5630211b0ae3653a5c65fc29a188e977e9d0842b5f8ebedb15affe28354c0d86c8a5abdb8bad13e7d546d897690f5b9685403e2e60381c6 SHA512 d6e1ddb9db77768041dcd76eb4aab27290a8101938c9fd4930cd30d77fd90ce521e7fc4bf55cd77442e5348e944689c5e2385d87ba90292c6a82426debf977af
|
||||
EBUILD google-api-core-2.7.3.ebuild 2035 BLAKE2B 8bdab82df068514cf5630211b0ae3653a5c65fc29a188e977e9d0842b5f8ebedb15affe28354c0d86c8a5abdb8bad13e7d546d897690f5b9685403e2e60381c6 SHA512 d6e1ddb9db77768041dcd76eb4aab27290a8101938c9fd4930cd30d77fd90ce521e7fc4bf55cd77442e5348e944689c5e2385d87ba90292c6a82426debf977af
|
||||
MISC metadata.xml 453 BLAKE2B b53e834b3c423d8bdceaa2568f38173fc203f92f2340edd42899e4d4a93602118dbdb2283d492e34189155c336ec659d96f907f257b34cbe5557be331169a4f5 SHA512 d26c893b82fa946cab27669148b3dc2dea8b985636209ae49294cb14a7055f6c4a3884b38bce6e4923a54e9872af7e540b33a992eb727caae96e071a8ffe3237
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 2020-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="Core Library for Google Client Libraries"
|
||||
HOMEPAGE="https://github.com/googleapis/python-api-core/
|
||||
https://googleapis.dev/python/google-api-core/latest/index.html"
|
||||
SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${P//google/python}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/protobuf-python[${PYTHON_USEDEP}]
|
||||
dev-python/googleapis-common-protos[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.18.0[${PYTHON_USEDEP}]
|
||||
<dev-python/requests-3[${PYTHON_USEDEP}]
|
||||
!dev-python/namespace-google
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/proto-plus[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# failing due to missing grpcio-status
|
||||
tests/asyncio/test_grpc_helpers_async.py::test_wrap_unary_errors
|
||||
tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_raised
|
||||
tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_read
|
||||
tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_aiter
|
||||
tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_write
|
||||
tests/unit/test_grpc_helpers.py::test_wrap_unary_errors
|
||||
tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_invocation
|
||||
tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_iterator_initialization
|
||||
tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_during_iteration
|
||||
)
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile
|
||||
find "${BUILD_DIR}" -name '*.pth' -delete || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
rm -r google || die
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_write_namespace google
|
||||
epytest -p no:aiohttp -p no:trio tests
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST keyring-23.5.0.tar.gz 44586 BLAKE2B 70179f8353147679f03c888b1af00d2461264e7a7062eb7b1372615ae883f43352999ce57e24f3378ac66d5e74a81df66702bf380eb32d6d3554777e9ca63dfe SHA512 639d1cdece5dac854053818f3a4751b30fb9f13a2b3abb0090ba0cb519b50604858673678fe6205c2ec10be863e5f3d63cc7891424beabe2482d35b820a60da1
|
||||
EBUILD keyring-23.5.0.ebuild 1370 BLAKE2B 611b4d87c03c2af6e768a7deecc3725203394e253b27de2a59f969af504ee7edff4674481b4cd66a5633607108e491ae0a2e836a3db5deecf10f4d803d188bfc SHA512 26577dc274af828da1db6fdf2c22ac94c245e90937942157bdf0b00de98653e186a0920b7bdf7da770936f85e5997b1cb10781756df3d8a53d2085d0c312740d
|
||||
EBUILD keyring-23.5.0.ebuild 1376 BLAKE2B d6c9379a6f646e17f423f52e275ba816c866779ab177b29abc2882612c556c5a4f0eb4326e14300ff57d6811c62bd4111a2513be399afa6026e668a65f8deb8e SHA512 b8482785ac275c565d4fc709cf6c8de94d7449823b9f3251ead415ac5a62db16f6723ddae17f18707899d1ebe46f80550d4e5367930840c522cf341fc8107805
|
||||
MISC metadata.xml 611 BLAKE2B 7f938075d992467e01da200f0c859e9bc6a6128296151b3529b2168b68364605bd7dbadf69f7820d459d5db6950908e0b0acb09a636f1fc45862093df6d08334 SHA512 a0ad1729c53b18fedf227053648b04541f5adcf56bfaa73218e214f8c2409ebe2574a5917442c5218084b38da34691b6566f2c65390ef6487985a123f62f9efb
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST littleutils-0.2.2.tar.gz 6579 BLAKE2B 80aec2c133e39eb0e18c948b15d475e60842689fd0e758c43511a8b014648d7c9e843182e2a87c0b3f9933f748340f2059653f0885cf416edbc5a60457c70629 SHA512 ce0b3af4ef5db634ce0dbb916deb767260f66418abbdca2b289386ecd4c2e44602cb95d568c70588ef9a40e3d700f33cbc5bcdbf859f5030795f79f11871a6ff
|
||||
EBUILD littleutils-0.2.2.ebuild 537 BLAKE2B 10845e86fdbac735124e01bc963e8fc5e453201d713212728829e2f5af86b83431613f342d7abcc427101d303f9f2d6adb1c9e934c38a8bba93a25430ee1788a SHA512 0bb233a6366689452f0341e6e2dc0530903f5dc6fd4ccfa2d8f54be064f1a7af26819a8ec8f53e86e6e0462a3509921c196c1a972157b6898862322103c493b9
|
||||
EBUILD littleutils-0.2.2.ebuild 536 BLAKE2B 6b1bd06cea3491a6185634173af5afb9777de71fd45217f20cb8a00883a797a68ff412136d7e6c25f0a53fe8e6ea5543343687f5068b1cf0441ec8436b37f92d SHA512 ba9536e81ae7c704852b6e60c0b75665806cb0d9be67b2c8d86908d78f54b5704cedc8a3d8c2b911a9d76ef8acf6df83429cb5036715dfcb5f27e31fa1871c93
|
||||
MISC metadata.xml 377 BLAKE2B 938ada5473ba95941149e039ca17670238b722cb2ce2301ae55866a8163b82739b25820c9efae9fd1eb3ec8aa6efd51157b8d154438913fa33acc36ca1104483 SHA512 479327bb6b306521010cd65854f2d5cd7627b7887f51d7dbebcfffec5205a0a8d88ccf6c67cc2f9327bf6cf10b5053d218816bd48681bc8888cf0f53889cc703
|
||||
|
@ -0,0 +1,261 @@
|
||||
From ea4bae5e68e3065ca159ea309a0f3325a06e7f35 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Fri, 26 Mar 2021 13:42:49 +0100
|
||||
Subject: [PATCH] Increase image comparison limits
|
||||
|
||||
Most of the tests require exact match which apparently doesn't always
|
||||
happen in non-pristine environments. Some of them have very big
|
||||
differences due to texlive font rendering changes.
|
||||
---
|
||||
lib/matplotlib/tests/test_arrow_patches.py | 6 +++---
|
||||
lib/matplotlib/tests/test_axes.py | 4 ++--
|
||||
lib/matplotlib/tests/test_backend_pgf.py | 2 +-
|
||||
lib/matplotlib/tests/test_colorbar.py | 2 +-
|
||||
lib/matplotlib/tests/test_contour.py | 2 +-
|
||||
lib/matplotlib/tests/test_figure.py | 5 +++--
|
||||
lib/matplotlib/tests/test_image.py | 2 +-
|
||||
lib/matplotlib/tests/test_legend.py | 6 +++---
|
||||
lib/matplotlib/tests/test_lines.py | 3 ++-
|
||||
lib/matplotlib/tests/test_streamplot.py | 3 ++-
|
||||
lib/matplotlib/tests/test_units.py | 4 ++--
|
||||
lib/matplotlib/tests/test_usetex.py | 1 +
|
||||
lib/mpl_toolkits/tests/test_axes_grid1.py | 2 +-
|
||||
13 files changed, 23 insertions(+), 19 deletions(-)
|
||||
|
||||
diff --git a/lib/matplotlib/tests/test_arrow_patches.py b/lib/matplotlib/tests/test_arrow_patches.py
|
||||
index 8d573b4adb..dfc42efcb9 100644
|
||||
--- a/lib/matplotlib/tests/test_arrow_patches.py
|
||||
+++ b/lib/matplotlib/tests/test_arrow_patches.py
|
||||
@@ -67,7 +67,7 @@ def __prepare_fancyarrow_dpi_cor_test():
|
||||
|
||||
|
||||
@image_comparison(['fancyarrow_dpi_cor_100dpi.png'], remove_text=True,
|
||||
- tol=0 if platform.machine() == 'x86_64' else 0.02,
|
||||
+ tol=0.015 if platform.machine() == 'x86_64' else 0.02,
|
||||
savefig_kwarg=dict(dpi=100))
|
||||
def test_fancyarrow_dpi_cor_100dpi():
|
||||
"""
|
||||
@@ -82,7 +82,7 @@ def test_fancyarrow_dpi_cor_100dpi():
|
||||
|
||||
|
||||
@image_comparison(['fancyarrow_dpi_cor_200dpi.png'], remove_text=True,
|
||||
- tol=0 if platform.machine() == 'x86_64' else 0.02,
|
||||
+ tol=0.018 if platform.machine() == 'x86_64' else 0.02,
|
||||
savefig_kwarg=dict(dpi=200))
|
||||
def test_fancyarrow_dpi_cor_200dpi():
|
||||
"""
|
||||
@@ -115,7 +115,7 @@ def test_fancyarrow_dash():
|
||||
|
||||
|
||||
@image_comparison(['arrow_styles.png'], style='mpl20', remove_text=True,
|
||||
- tol=0 if platform.machine() == 'x86_64' else 0.005)
|
||||
+ tol=0.005)
|
||||
def test_arrow_styles():
|
||||
styles = mpatches.ArrowStyle.get_styles()
|
||||
|
||||
diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py
|
||||
index eb4c34382b..cca73a23f9 100644
|
||||
--- a/lib/matplotlib/tests/test_axes.py
|
||||
+++ b/lib/matplotlib/tests/test_axes.py
|
||||
@@ -918,7 +918,7 @@ def test_imshow():
|
||||
ax.imshow("r", data=data)
|
||||
|
||||
|
||||
-@image_comparison(['imshow_clip'], style='mpl20')
|
||||
+@image_comparison(['imshow_clip'], style='mpl20', tol=1.24)
|
||||
def test_imshow_clip():
|
||||
# As originally reported by Gellule Xg <gellule.xg@free.fr>
|
||||
# use former defaults to match existing baseline image
|
||||
@@ -4231,7 +4231,7 @@ def test_vertex_markers():
|
||||
|
||||
|
||||
@image_comparison(['vline_hline_zorder', 'errorbar_zorder'],
|
||||
- tol=0 if platform.machine() == 'x86_64' else 0.02)
|
||||
+ tol=0.015 if platform.machine() == 'x86_64' else 0.02)
|
||||
def test_eb_line_zorder():
|
||||
x = list(range(10))
|
||||
|
||||
diff --git a/lib/matplotlib/tests/test_backend_pgf.py b/lib/matplotlib/tests/test_backend_pgf.py
|
||||
index 9b5b0b28ee..a374be0333 100644
|
||||
--- a/lib/matplotlib/tests/test_backend_pgf.py
|
||||
+++ b/lib/matplotlib/tests/test_backend_pgf.py
|
||||
@@ -80,7 +80,7 @@ def test_common_texification(plain_text, escaped_text):
|
||||
# test compiling a figure to pdf with xelatex
|
||||
@needs_xelatex
|
||||
@pytest.mark.backend('pgf')
|
||||
-@image_comparison(['pgf_xelatex.pdf'], style='default')
|
||||
+@image_comparison(['pgf_xelatex.pdf'], style='default', tol=0.8)
|
||||
def test_xelatex():
|
||||
rc_xelatex = {'font.family': 'serif',
|
||||
'pgf.rcfonts': False}
|
||||
diff --git a/lib/matplotlib/tests/test_colorbar.py b/lib/matplotlib/tests/test_colorbar.py
|
||||
index 304056f6d1..9934bac550 100644
|
||||
--- a/lib/matplotlib/tests/test_colorbar.py
|
||||
+++ b/lib/matplotlib/tests/test_colorbar.py
|
||||
@@ -218,7 +218,7 @@ def test_colorbar_single_ax_panchor_false():
|
||||
plt.colorbar(panchor=False)
|
||||
|
||||
|
||||
-@image_comparison(['contour_colorbar.png'], remove_text=True)
|
||||
+@image_comparison(['contour_colorbar.png'], remove_text=True, tol=0.01)
|
||||
def test_contour_colorbar():
|
||||
fig, ax = plt.subplots(figsize=(4, 2))
|
||||
data = np.arange(1200).reshape(30, 40) - 500
|
||||
diff --git a/lib/matplotlib/tests/test_contour.py b/lib/matplotlib/tests/test_contour.py
|
||||
index 10fb011166..f49fb25dc8 100644
|
||||
--- a/lib/matplotlib/tests/test_contour.py
|
||||
+++ b/lib/matplotlib/tests/test_contour.py
|
||||
@@ -345,7 +345,7 @@ def test_contourf_log_extension():
|
||||
|
||||
|
||||
@image_comparison(['contour_addlines.png'],
|
||||
- remove_text=True, style='mpl20', tol=0.03)
|
||||
+ remove_text=True, style='mpl20', tol=0.1)
|
||||
# tolerance is because image changed minutely when tick finding on
|
||||
# colorbars was cleaned up...
|
||||
def test_contour_addlines():
|
||||
diff --git a/lib/matplotlib/tests/test_figure.py b/lib/matplotlib/tests/test_figure.py
|
||||
index 1e076bd64f..11c2668d33 100644
|
||||
--- a/lib/matplotlib/tests/test_figure.py
|
||||
+++ b/lib/matplotlib/tests/test_figure.py
|
||||
@@ -23,7 +23,7 @@ import matplotlib.gridspec as gridspec
|
||||
|
||||
|
||||
@image_comparison(['figure_align_labels'], extensions=['png', 'svg'],
|
||||
- tol=0 if platform.machine() == 'x86_64' else 0.01)
|
||||
+ tol=0.02)
|
||||
def test_align_labels():
|
||||
fig = plt.figure(tight_layout=True)
|
||||
gs = gridspec.GridSpec(3, 3)
|
||||
@@ -1124,7 +1124,8 @@ def test_subfigure_tightbbox():
|
||||
|
||||
@image_comparison(['test_subfigure_ss.png'], style='mpl20',
|
||||
savefig_kwarg={'facecolor': 'teal'},
|
||||
- remove_text=False)
|
||||
+ remove_text=False,
|
||||
+ tol=0.013)
|
||||
def test_subfigure_ss():
|
||||
# test assigning the subfigure via subplotspec
|
||||
np.random.seed(19680801)
|
||||
diff --git a/lib/matplotlib/tests/test_image.py b/lib/matplotlib/tests/test_image.py
|
||||
index 719b190578..ee2263a88e 100644
|
||||
--- a/lib/matplotlib/tests/test_image.py
|
||||
+++ b/lib/matplotlib/tests/test_image.py
|
||||
@@ -1324,7 +1324,7 @@ def test_nonuniform_and_pcolor():
|
||||
|
||||
|
||||
@image_comparison(["rgba_antialias.png"], style="mpl20",
|
||||
- remove_text=True)
|
||||
+ remove_text=True, tol=0.005)
|
||||
def test_rgba_antialias():
|
||||
fig, axs = plt.subplots(2, 2, figsize=(3.5, 3.5), sharex=False,
|
||||
sharey=False, constrained_layout=True)
|
||||
diff --git a/lib/matplotlib/tests/test_legend.py b/lib/matplotlib/tests/test_legend.py
|
||||
index fe8a8dd5f6..43fbda8ab0 100644
|
||||
--- a/lib/matplotlib/tests/test_legend.py
|
||||
+++ b/lib/matplotlib/tests/test_legend.py
|
||||
@@ -102,7 +102,7 @@ def test_multiple_keys():
|
||||
|
||||
|
||||
@image_comparison(['rgba_alpha.png'], remove_text=True,
|
||||
- tol=0 if platform.machine() == 'x86_64' else 0.01)
|
||||
+ tol=0.02)
|
||||
def test_alpha_rgba():
|
||||
fig, ax = plt.subplots()
|
||||
ax.plot(range(10), lw=5)
|
||||
@@ -111,7 +111,7 @@ def test_alpha_rgba():
|
||||
|
||||
|
||||
@image_comparison(['rcparam_alpha.png'], remove_text=True,
|
||||
- tol=0 if platform.machine() == 'x86_64' else 0.01)
|
||||
+ tol=0.02)
|
||||
def test_alpha_rcparam():
|
||||
fig, ax = plt.subplots()
|
||||
ax.plot(range(10), lw=5)
|
||||
@@ -137,7 +137,7 @@ def test_fancy():
|
||||
|
||||
|
||||
@image_comparison(['framealpha'], remove_text=True,
|
||||
- tol=0 if platform.machine() == 'x86_64' else 0.02)
|
||||
+ tol=0.02)
|
||||
def test_framealpha():
|
||||
x = np.linspace(1, 100, 100)
|
||||
y = x
|
||||
diff --git a/lib/matplotlib/tests/test_lines.py b/lib/matplotlib/tests/test_lines.py
|
||||
index f6917a134b..4a14abb74d 100644
|
||||
--- a/lib/matplotlib/tests/test_lines.py
|
||||
+++ b/lib/matplotlib/tests/test_lines.py
|
||||
@@ -162,7 +162,8 @@ def test_set_drawstyle():
|
||||
assert len(line.get_path().vertices) == len(x)
|
||||
|
||||
|
||||
-@image_comparison(['line_collection_dashes'], remove_text=True, style='mpl20')
|
||||
+@image_comparison(['line_collection_dashes'], remove_text=True, style='mpl20',
|
||||
+ tol=0.58)
|
||||
def test_set_line_coll_dash_image():
|
||||
fig, ax = plt.subplots()
|
||||
np.random.seed(0)
|
||||
diff --git a/lib/matplotlib/tests/test_streamplot.py b/lib/matplotlib/tests/test_streamplot.py
|
||||
index c8824feb06..081e8c0559 100644
|
||||
--- a/lib/matplotlib/tests/test_streamplot.py
|
||||
+++ b/lib/matplotlib/tests/test_streamplot.py
|
||||
@@ -34,7 +34,8 @@ def test_startpoints():
|
||||
plt.plot(start_x, start_y, 'ok')
|
||||
|
||||
|
||||
-@image_comparison(['streamplot_colormap'], remove_text=True, style='mpl20')
|
||||
+@image_comparison(['streamplot_colormap'], remove_text=True, style='mpl20',
|
||||
+ tol=0.002)
|
||||
def test_colormap():
|
||||
X, Y, U, V = velocity_field()
|
||||
plt.streamplot(X, Y, U, V, color=U, density=0.6, linewidth=2,
|
||||
diff --git a/lib/matplotlib/tests/test_units.py b/lib/matplotlib/tests/test_units.py
|
||||
index a6f6b44c97..ab5ad8b5cf 100644
|
||||
--- a/lib/matplotlib/tests/test_units.py
|
||||
+++ b/lib/matplotlib/tests/test_units.py
|
||||
@@ -76,7 +76,7 @@ def quantity_converter():
|
||||
# Tests that the conversion machinery works properly for classes that
|
||||
# work as a facade over numpy arrays (like pint)
|
||||
@image_comparison(['plot_pint.png'], remove_text=False, style='mpl20',
|
||||
- tol=0 if platform.machine() == 'x86_64' else 0.01)
|
||||
+ tol=0.002 if platform.machine() == 'x86_64' else 0.01)
|
||||
def test_numpy_facade(quantity_converter):
|
||||
# use former defaults to match existing baseline image
|
||||
plt.rcParams['axes.formatter.limits'] = -7, 7
|
||||
@@ -103,7 +103,7 @@ def test_numpy_facade(quantity_converter):
|
||||
|
||||
# Tests gh-8908
|
||||
@image_comparison(['plot_masked_units.png'], remove_text=True, style='mpl20',
|
||||
- tol=0 if platform.machine() == 'x86_64' else 0.01)
|
||||
+ tol=0.02)
|
||||
def test_plot_masked_units():
|
||||
data = np.linspace(-5, 5)
|
||||
data_masked = np.ma.array(data, mask=(data > -2) & (data < 2))
|
||||
diff --git a/lib/matplotlib/tests/test_usetex.py b/lib/matplotlib/tests/test_usetex.py
|
||||
index 12557cf847..25b65ead67 100644
|
||||
--- a/lib/matplotlib/tests/test_usetex.py
|
||||
+++ b/lib/matplotlib/tests/test_usetex.py
|
||||
@@ -11,6 +11,7 @@ if not mpl.checkdep_usetex(True):
|
||||
pytestmark = pytest.mark.skip('Missing TeX of Ghostscript or dvipng')
|
||||
|
||||
|
||||
+@pytest.mark.skip(reason="TODO: broken")
|
||||
@image_comparison(
|
||||
baseline_images=['test_usetex'],
|
||||
extensions=['pdf', 'png'],
|
||||
diff --git a/lib/mpl_toolkits/tests/test_axes_grid1.py b/lib/mpl_toolkits/tests/test_axes_grid1.py
|
||||
index f8902ca72f..323579b8b6 100644
|
||||
--- a/lib/mpl_toolkits/tests/test_axes_grid1.py
|
||||
+++ b/lib/mpl_toolkits/tests/test_axes_grid1.py
|
||||
@@ -336,7 +336,7 @@ def test_zooming_with_inverted_axes():
|
||||
|
||||
|
||||
@image_comparison(['anchored_direction_arrows.png'],
|
||||
- tol=0 if platform.machine() == 'x86_64' else 0.01)
|
||||
+ tol=0.02)
|
||||
def test_anchored_direction_arrows():
|
||||
fig, ax = plt.subplots()
|
||||
ax.imshow(np.zeros((10, 10)), interpolation='nearest')
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,286 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_REQ_USE='tk?,threads(+)'
|
||||
|
||||
inherit distutils-r1 flag-o-matic multiprocessing prefix toolchain-funcs \
|
||||
virtualx
|
||||
|
||||
FT_PV=2.6.1
|
||||
DESCRIPTION="Pure python plotting library with matlab like syntax"
|
||||
HOMEPAGE="
|
||||
https://matplotlib.org/
|
||||
https://github.com/matplotlib/matplotlib/
|
||||
https://pypi.org/project/matplotlib/
|
||||
"
|
||||
SRC_URI="
|
||||
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
||||
test? (
|
||||
https://downloads.sourceforge.net/project/freetype/freetype2/${FT_PV}/freetype-${FT_PV}.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
# Main license: matplotlib
|
||||
# Some modules: BSD
|
||||
# matplotlib/backends/qt4_editor: MIT
|
||||
# Fonts: BitstreamVera, OFL-1.1
|
||||
LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="cairo doc excel examples gtk3 latex qt5 tk webagg wxwidgets"
|
||||
|
||||
# internal copy of pycxx highly patched
|
||||
# dev-python/pycxx
|
||||
RDEPEND="
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
>=dev-python/cycler-0.10.0-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/fonttools-4.22.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/kiwisolver-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.18.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-20.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pillow-7.1.1[jpeg,${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-2.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.14.0[${PYTHON_USEDEP}]
|
||||
dev-python/versioneer[${PYTHON_USEDEP}]
|
||||
media-fonts/dejavu
|
||||
media-fonts/stix-fonts
|
||||
media-libs/freetype:2
|
||||
media-libs/libpng:0
|
||||
>=media-libs/qhull-2013:=
|
||||
virtual/imagemagick-tools[jpeg,tiff]
|
||||
cairo? (
|
||||
dev-python/cairocffi[${PYTHON_USEDEP}]
|
||||
)
|
||||
excel? (
|
||||
dev-python/xlwt[${PYTHON_USEDEP}]
|
||||
)
|
||||
gtk3? (
|
||||
>=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}]
|
||||
x11-libs/gtk+:3[introspection]
|
||||
)
|
||||
latex? (
|
||||
virtual/latex-base
|
||||
app-text/dvipng
|
||||
app-text/ghostscript-gpl
|
||||
app-text/poppler[utils]
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-luatex
|
||||
dev-texlive/texlive-xetex
|
||||
)
|
||||
qt5? (
|
||||
dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
|
||||
)
|
||||
webagg? (
|
||||
>=www-servers/tornado-6.0.4[${PYTHON_USEDEP}]
|
||||
)
|
||||
wxwidgets? (
|
||||
dev-python/wxpython:*[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
>=app-text/dvipng-1.15-r1
|
||||
>=dev-python/colorspacious-1.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/ipython-1.18.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpydoc-0.9.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/scipy-1.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-gallery-0.3.1-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/xlwt-1.3.0-r1[${PYTHON_USEDEP}]
|
||||
virtual/latex-base
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-luatex
|
||||
dev-texlive/texlive-xetex
|
||||
>=media-gfx/graphviz-2.42.3[cairo]
|
||||
)
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}]
|
||||
>=www-servers/tornado-6.0.4[${PYTHON_USEDEP}]
|
||||
x11-libs/gtk+:3[introspection]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_setup() {
|
||||
unset DISPLAY # bug #278524
|
||||
}
|
||||
|
||||
use_setup() {
|
||||
local uword="${2:-${1}}"
|
||||
if use "${1}"; then
|
||||
echo "${uword} = True"
|
||||
echo "${uword}agg = True"
|
||||
else
|
||||
echo "${uword} = False"
|
||||
echo "${uword}agg = False"
|
||||
fi
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# Generates test failures, but fedora does it
|
||||
# local PATCHES=(
|
||||
# "${FILESDIR}"/${P}-unbundle-pycxx.patch
|
||||
# "${FILESDIR}"/${P}-unbundle-agg.patch
|
||||
# )
|
||||
# rm -r agg24 CXX || die
|
||||
# rm -r agg24 || die
|
||||
|
||||
# cat > lib/${PN}/externals/six.py <<-EOF
|
||||
# from __future__ import absolute_import
|
||||
# from six import *
|
||||
# EOF
|
||||
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch
|
||||
"${FILESDIR}"/matplotlib-3.5.2-test.patch
|
||||
)
|
||||
|
||||
sed \
|
||||
-e 's/matplotlib.pyparsing_py[23]/pyparsing/g' \
|
||||
-i lib/matplotlib/{mathtext,fontconfig_pattern}.py \
|
||||
|| die "sed pyparsing failed"
|
||||
|
||||
hprefixify setupext.py
|
||||
|
||||
rm -rf libqhull || die
|
||||
|
||||
export XDG_RUNTIME_DIR="${T}/runtime-dir"
|
||||
mkdir "${XDG_RUNTIME_DIR}" || die
|
||||
chmod 0700 "${XDG_RUNTIME_DIR}" || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
append-flags -fno-strict-aliasing
|
||||
append-cppflags -DNDEBUG # or get old trying to do triangulation
|
||||
tc-export PKG_CONFIG
|
||||
}
|
||||
|
||||
python_configure() {
|
||||
mkdir -p "${BUILD_DIR}" || die
|
||||
|
||||
# create setup.cfg (see setup.cfg.template for any changes).
|
||||
|
||||
# common switches.
|
||||
cat > "${BUILD_DIR}"/setup.cfg <<- EOF || die
|
||||
[directories]
|
||||
basedirlist = ${EPREFIX}/usr
|
||||
[provide_packages]
|
||||
pytz = False
|
||||
dateutil = False
|
||||
[libs]
|
||||
system_freetype = True
|
||||
system_qhull = True
|
||||
[packages]
|
||||
tests = $(usex test True False)
|
||||
[gui_support]
|
||||
agg = True
|
||||
gtk = False
|
||||
gtkagg = False
|
||||
macosx = False
|
||||
pyside = False
|
||||
pysideagg = False
|
||||
qt4 = False
|
||||
qt4agg = False
|
||||
$(use_setup cairo)
|
||||
$(use_setup gtk3)
|
||||
$(use_setup qt5)
|
||||
$(use_setup tk)
|
||||
$(use_setup wxwidgets wx)
|
||||
EOF
|
||||
|
||||
if use gtk3 && use cairo; then
|
||||
echo "gtk3cairo = True" >> "${BUILD_DIR}"/setup.cfg || die
|
||||
else
|
||||
echo "gtk3cairo = False" >> "${BUILD_DIR}"/setup.cfg || die
|
||||
fi
|
||||
}
|
||||
|
||||
wrap_setup() {
|
||||
local MAKEOPTS=-j1
|
||||
local -x MPLSETUPCFG="${BUILD_DIR}"/setup.cfg
|
||||
"$@"
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
wrap_setup distutils-r1_python_compile --build-lib="${BUILD_DIR}"/lib
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
cd doc || die
|
||||
|
||||
# necessary for in-source build
|
||||
local -x PYTHONPATH="${BUILD_DIR}"/build/lib:${PYTHONPATH}
|
||||
|
||||
VARTEXFONTS="${T}"/fonts \
|
||||
emake SPHINXOPTS= O=-Dplot_formats=png:100 html
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
mkdir build || die
|
||||
ln -s "${WORKDIR}/freetype-${FT_PV}" build/ || die
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# broken by -Wdefault
|
||||
"tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg6-MatplotlibDeprecationWarning]"
|
||||
"tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg7-MatplotlibDeprecationWarning]"
|
||||
tests/test_testing.py::test_warn_to_fail
|
||||
)
|
||||
|
||||
# we need to rebuild mpl against bundled freetype, otherwise
|
||||
# over 1000 tests will fail because of mismatched font rendering
|
||||
grep -v system_freetype "${BUILD_DIR}"/setup.cfg \
|
||||
> "${BUILD_DIR}"/test-setup.cfg || die
|
||||
local -x MPLSETUPCFG="${BUILD_DIR}"/test-setup.cfg
|
||||
distutils-r1_python_compile -j1 --build-lib="${BUILD_DIR}"/test-lib
|
||||
local -x PYTHONPATH=${BUILD_DIR}/test-lib:${PYTHONPATH}
|
||||
|
||||
# speed tests up
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
nonfatal epytest --pyargs matplotlib -m "not network" \
|
||||
-p xdist.plugin -n "$(makeopts_jobs)" || die
|
||||
}
|
||||
|
||||
python_install() {
|
||||
wrap_setup distutils-r1_python_install
|
||||
|
||||
# mpl_toolkits namespace
|
||||
python_moduleinto mpl_toolkits
|
||||
python_domodule lib/mpl_toolkits/__init__.py
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
find "${D}" -name '*.pth' -delete || die
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST pdm-pep517-0.12.3.gh.tar.gz 304242 BLAKE2B ad4beb6ab35c219e1991b585bf9ce087be3e7e957f34b1dbc9de676f7b49c3084471e2b55c634eb6fd1cf6cb88dd4161b5060a17a5ca7e5e3ae57c9610303f6e SHA512 4c0f098d5237353fea73ef62149b8177987881239cb6b1b112bd6789931acd7484c56d413f780db4f23c60f4ff3a37c6956de3e1de472fed114487925b0e3553
|
||||
DIST pdm-pep517-0.12.4.gh.tar.gz 304353 BLAKE2B ca2b18af38423f7430a40e5cced207bd4bec8d101204902c89f335c5d08131e95fe17c5af7a3ef0e654c9e2106145ef5242c9015924a2711c90dbb0d2f48128e SHA512 2007a84909147cd48e9ea6114119a63855ddf48e220f8c896d516b6bddd5a7bd62046f090d739a5069b9e06700f0318e57bd1a4b3c7531508b41540357639c5e
|
||||
EBUILD pdm-pep517-0.12.3.ebuild 1284 BLAKE2B de8507d9fb7a4202ba5f5322679d07fa5ec9aeff63be7a82fc2812d747f25e2714c85633d72f9f29045a8cda1ac99eb3d98b734d9d15419ea2ea98b7e8e0af35 SHA512 000f54f4f4460432478f558536758face9e999aa42061c13a5f1e1011eb3b4ed10ba2e3fb280855235764cc9e7fc977403986934fbd2030cc09d3bd0d4259e47
|
||||
EBUILD pdm-pep517-0.12.4.ebuild 1284 BLAKE2B de8507d9fb7a4202ba5f5322679d07fa5ec9aeff63be7a82fc2812d747f25e2714c85633d72f9f29045a8cda1ac99eb3d98b734d9d15419ea2ea98b7e8e0af35 SHA512 000f54f4f4460432478f558536758face9e999aa42061c13a5f1e1011eb3b4ed10ba2e3fb280855235764cc9e7fc977403986934fbd2030cc09d3bd0d4259e47
|
||||
MISC metadata.xml 400 BLAKE2B 0882adff4040585d2881a8712b035a5204909639f80f637526b793fd9e31e9d6cda6119cc069d8ff2e768b9d5807eab16bc27bfd35beb5a613722afead2d8b0c SHA512 484e17561642cf1d26d61a1d95554614b9e77b1ee985cba61ad35dad9c9470d0f64e99385200b8eb7e2cdd5e1427cf7835d6e39c10dece1fb90dd6e81cd15d91
|
||||
|
@ -0,0 +1,58 @@
|
||||
# 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 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}]
|
||||
dev-python/license-expression[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-21.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tomli-2[${PYTHON_USEDEP}]
|
||||
dev-python/tomli-w[${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
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST pure_eval-0.2.1.tar.gz 19430 BLAKE2B 6907cf2fc2a7118274a80dacdebeae163be57cc31086bc66f8ad9960f4624accde78149db9098bfba902774b367e2e0e9c5aac53c4e75119465d5f07cabbf17d SHA512 938d5bc5676ca39b728ab5a9c98d33a1eb7a2e8a66e61e3ae16e516a7c3bcc1b6d73c402faaec44581baeec6fee7297092c2473c257588948fabf786b14a7204
|
||||
DIST pure_eval-0.2.2.tar.gz 19395 BLAKE2B 19f86a1436e5f1a026a24f62c435e8970d84960f4cde1de80c58949b1aede6aa7562e8430e10e3f7171212c31d5699a3321fad5fb2ea1eed961a30d43a632a79 SHA512 35d20cbbfd513b7ac341759e619401a5f57b7b9df8abd09ce6414d4ee6bfa45dcadbad7529d067e81ad7ea2107c14fd03783a3a77f8074dad30d2e5161656804
|
||||
EBUILD pure_eval-0.2.1-r1.ebuild 479 BLAKE2B 0ceff1433490579ad5fbea615675f23b2a1b7bcd0e7f968d1d3e40b50df24d88ec05d15de7767adf281ffb13953e6ed0a82351f713fcf3ae592a62a975e98b39 SHA512 3763a37493975c1ae2ebfa042308354f866a524e982c39b1ec00a2d6b8b24c3c9fef95bdb76923fc0f85916002aed9dad537a3b1fa8f508df2a3a37fb9b082d1
|
||||
EBUILD pure_eval-0.2.2.ebuild 535 BLAKE2B 5c2797c22307f2d84de16ab126a542b27dddaae900795527f977d8a410661b28d7b9330b6fb7d43fe400ec70f49f1fa56396f2fca23a3a8821985344ba2bf2f0 SHA512 14ca328f640c6846d1047a6b1be59d0b9eb0be8bdf6e5717d9975921ba3a3afee8abb51b84b553fffdd279db75d15ea38aedf4745d145293676843c8a73b5880
|
||||
EBUILD pure_eval-0.2.2.ebuild 534 BLAKE2B 94e91aaf7774c1e763ed91fadb7e8e267071db76dc00a8eddb2336e3e3e507ef9e26418455c711e16ed70955c60492e13d6a3f3e8745959dc668c69b1af13f24 SHA512 f98649f2c3e977b7dbb2817b65dad7994359abcd56ec7d0a9dc2ac345e4d0b5b06011ac07232f2fb0670960104810af9977d3268563a81b853afd13bfea8de4d
|
||||
MISC metadata.xml 373 BLAKE2B 56f08bfb33fbfefff3f37063133e1a5dab14daf3d30b0674e9b39d8ed72e5d1468f02ed3d353d508a28c4af1c5c7f858043246e043a9ce0da4937aa2b07d4993 SHA512 69be5163434e36fed944075b834e8fba4745698759e12258cdb9ed968e523528e1e11d291892f3a8992390edd9c54cc08b5fbb70d7473db5e274329cfceea101
|
||||
|
@ -0,0 +1,81 @@
|
||||
# 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
|
||||
|
||||
DESCRIPTION="Python code static checker"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/pylint/
|
||||
https://github.com/PyCQA/pylint/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/pycqa/pylint/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
# Make sure to check https://github.com/PyCQA/pylint/blob/main/setup.cfg#L43 on bumps
|
||||
# Adjust dep bounds!
|
||||
RDEPEND="
|
||||
<dev-python/astroid-2.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/astroid-2.11.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/dill-0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
|
||||
<dev-python/isort-6[${PYTHON_USEDEP}]
|
||||
>=dev-python/mccabe-0.6[${PYTHON_USEDEP}]
|
||||
<dev-python/mccabe-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
' 3.8 3.9)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/GitPython-3[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch"
|
||||
)
|
||||
|
||||
distutils_enable_sphinx doc --no-autodoc
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# No need to run the benchmarks
|
||||
tests/benchmark/test_baseline_benchmarks.py
|
||||
|
||||
# TODO
|
||||
'tests/test_functional.py::test_functional[forgotten_debug_statement_py37]'
|
||||
'tests/test_functional.py::test_functional[dataclass_with_field]'
|
||||
tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_error_msg
|
||||
tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_info_msg
|
||||
)
|
||||
# Specify the test directory explicitly to avoid import file mismatches
|
||||
epytest tests
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples ; then
|
||||
docompress -x "/usr/share/doc/${PF}/examples"
|
||||
docinto examples
|
||||
dodoc -r examples/.
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST pypiserver-1.4.2.tar.gz 511019 BLAKE2B fe9a41c35d601ee20f2cfe0773ce341b8c8fe387a2b825d1e6d669d5f358846b436158beb8a1222fa33cf1841cad5aceacc0f5063f899445ad15ca9eb5b8efd7 SHA512 8597a6a7e83cb3f5ead3418ee91167e1764c123b244c05397fa892c8ebe84b58569f27ce85cd9849d6a41d20342de21cf9cc46e00b233d9d94d0540470e1c49b
|
||||
DIST pypiserver-1.5.0.gh.tar.gz 149963 BLAKE2B bfc0760982f97e93357702342eb5b1776f72c43e66742a8741ee2ba3109839006e99e49b65e04380097500c400e09bce77b74fc5f9072c7670349817ae3a73cb SHA512 c93e724a3aa6ec265d483c2989129292a05132d3d52db6d9b9c1429610ee23b56e106c9389bdfaad142f34071ee258bdd4291668c11f8bb412df043bf4555611
|
||||
EBUILD pypiserver-1.4.2.ebuild 1504 BLAKE2B 9ad37a5cb54089a36e1e0d7e37babbc98dd3eb07e37e1d6663efaf8218e338ad70a4e1a739b124f7ea77ba2c85718f24313070b0b77f6f34d93de1e5bee8f830 SHA512 78b40757eec87cd464d7fe8ce9b3eb27a57323f86fcd2fb9950b856087233c69202a19db4c3157096411590eef1c112bb1ff40924edf4c2bfe4b6e284b336d1c
|
||||
EBUILD pypiserver-1.5.0.ebuild 1366 BLAKE2B bc6b605c286a44a927f772c2d9f4508254e8dc42e77198aa44ca7d9b1c774b2c8a1f53d1baa11d085790bbdc552ad396c4fdc2daeb644003225a0f3371ea7303 SHA512 ebb66cfa06b4c19061c59197d3b12ae90f75afa4b05edd812cee50f6055c44ae04ae0789a19005d7ea50e81b958c5f5b29f32502ecd7427264462a527bf24d34
|
||||
EBUILD pypiserver-1.5.0.ebuild 1372 BLAKE2B 3b55bef90fbbb71c1839354def790c729f39bfc4efaab0ab389a46fcf2203d1f3db09f5348c09e7fbfd591e3003bc8549984c0e6c87f2aa4260772bd59384de8 SHA512 42c013974601737eba3369fa72cd84bf476d384d469305b22709ec83341c0892605fa3984cd08a3f297840d1a3b15bbfd9d26211670257fa8cf1bfebfa28cb88
|
||||
MISC metadata.xml 399 BLAKE2B e8726c9c4a494a64dd1490aa88f8bbca6536635af045364307d057d5dfa4762a1b0d59d3eacf7d84c9002ac38516eb7d2228ebd872db762a669bd6015139a4ec SHA512 a3d90eb11fc5bb2c78e53a4d64cffaf213a445c1677939c46fb400e01f4e74d1f206df2259ab348b61d27e3a9b3f03e94a49485be948b2e4106ba254154c7ada
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST python-stdnum-1.17.tar.gz 1068804 BLAKE2B eaef8d0016f7e836226a6d83d4b54d507477d333af8572f59f24eba44f3a24bedc4d0b7d3492e7a5a64d9ceff77e296bda2876f976aab46cdb27989d0dd80df3 SHA512 9ddec525ea153e3066f205ee70602a59821e793f9ffde66a4b01511daf9a559a3a42082a99bddf69c1159a27b2d9e64d91f8a65ee283a2d7da473d766ce0e711
|
||||
EBUILD python-stdnum-1.17.ebuild 628 BLAKE2B 25cbe6266ae6dbb7a7e49b93c9b5e0adecab1531a28fe6f19c0927b78453e00644090867e1ff61f0fcab9dcef35c915baa30a481169dae9cc06ab1e5c80f1a4c SHA512 98b619e7d955184e4e85d5cc0f3ff7f57c24f9670f2f206b80652fe60628c56472c8ea74e76c0c95f06d31cf4635faf2916e03cb37350b76025c3db5b84b2ef9
|
||||
EBUILD python-stdnum-1.17.ebuild 638 BLAKE2B 91ad4dd7a75ecd33b15c47605222be07feff7d2afbed19c03d946f0fbec0c0916133f58b02089c8677e275f8da20786927d29862426e83c5ad00883494e8d34c SHA512 e05bd19589c5b4a2115710329e4593e4f679713142e6720e7043504312701c85ebbb7209fac69bad02e8c52ddc7323598d4eb9a45d883dcc2d1872e44f56bad4
|
||||
MISC metadata.xml 395 BLAKE2B cc5c1669f2d1ea70021fa145fa3945d88942ad06bd9c5868fc963d033ee1cfbd84f20572814ab4e04516324174a1f31274832be9b314a7b4e17c202d09a943d4 SHA512 b34bb7351f17a33e339cad2ad51419d087783b1226ae20bea658a7cf9e1e43766e229bf428cb0f1b2d133d1a216bc5a9323322f7084728429b0cf5f0213474b1
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST pyzotero-1.5.3.tar.gz 525734 BLAKE2B 11de38c1954478ed9918f33bdbf550d6d0eda99a6e38154361c2da336158bacfaf16f1d9bb9ff08550e6951c3e29efe50618c78672bfcec6237bc42e6b52c6c5 SHA512 b31872db4a2fd53f6c17f6a33115ac762147810efae6f6351579a03f651f843e46b1d5f584cc47c1d20d8dad5c318d2835c2e053bc43f3063e84bce85658d9fb
|
||||
DIST pyzotero-1.5.4.tar.gz 525739 BLAKE2B 93acb725cb47e9f1642d88ea79e590e29af6eecedb5a14e220c9d6ce2c27d05dfd9042ef49d53c710a507050f566b097a272e025d26d1b10a64357e511da656e SHA512 10c27d531adf358c337aab3358d24e28318dfee02b08387663f0433fffc645ddc633929a8422d508952e26d29219c350c6865248c447391436d8cb5061f273ec
|
||||
EBUILD pyzotero-1.5.3.ebuild 770 BLAKE2B 7cff12fe634b1350c76fbd80cd3a0ee708b9260f15231eb64f0c80e58a3fe26dcb5dab1795a78719b70e788cdafc679d00701ce3e541320746c14465f521d10b SHA512 d68b27577071270ddfdf8ec83656e90a346ba545a217ad2218a6779e70412ab137709a7d25c7fb9cb45b4c3cd169254b0216bada90c4e7924e28f60c373fb38b
|
||||
EBUILD pyzotero-1.5.4.ebuild 810 BLAKE2B 28afa8d2d5e91aa7e941f8464f9948f7581218617d13b06cf3d8a35f4e24f0779db9459afc9463924d72740aaeb16f0e68aa5d171cafbabcbe723351c9809dec SHA512 ee85cd731bed0aa3bfe4d541710ac504dbb0d6bac48cdc1bd03b770578f90c5828539a872e994deed2ef3f7757b9431094e477e0cece63eea0b0802d183e3496
|
||||
MISC metadata.xml 512 BLAKE2B 3369ec5041d7c1819a6a871b5b84733165166c5d32dcf0a271bc431198f2989710e0e3d1d334c3d44840a7fc786530d91beb1d3727ffa4bfb2a235afa05dcb3d SHA512 b6ca7abf0757b75bf25a3e53a5686c17722db174f741144ddc4897a1f3fb864af0d5defa356dec5a65aa324f19cf44847eca44f4b31c0677d01dccda938e089b
|
||||
|
@ -0,0 +1,38 @@
|
||||
# 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="A Python client for the Zotero API"
|
||||
HOMEPAGE="
|
||||
https://github.com/urschrei/pyzotero/
|
||||
https://pypi.org/project/pyzotero/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-text/zotero-bin
|
||||
dev-python/bibtexparser[${PYTHON_USEDEP}]
|
||||
dev-python/feedparser[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/httpretty[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx doc --no-autodoc
|
||||
distutils_enable_tests pytest
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue