parent
d0b21dc6f5
commit
433c98e88e
Binary file not shown.
Binary file not shown.
@ -0,0 +1,72 @@
|
||||
# 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.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
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
|
||||
}
|
@ -1,8 +1,6 @@
|
||||
DIST consul-1.12.0-deps.tar.xz 252403904 BLAKE2B 742eaeaf4c24276de9b66d8d6b8f3b51d836d41b8466e7be23a00e3787132f8a0ffad7bf6e8c288797d8de52885ec4c72f43206022d6d4d2a1b89febd878531d SHA512 11087675a0d353c94576609986a7ddf777e8454e90161e35f80f1592ea3af48477684ec63d1ed870db71066a58c21977b7e9d58a5408c65fee213d64f152671a
|
||||
DIST consul-1.12.0.tar.gz 23969785 BLAKE2B 57a13905917bac77793be26fb5ac7e668233400e1f9c8eceace3463018cd8fee06b6f5a3753c8eeb250c276f8c95afd63b3b6ae1a7d847dc5adaa11880e52f53 SHA512 c83a5b9e68f46e5f458fb607f60d80fa7bc2dd46000c60bd9838fb03ea925ec5f0c0a4336f9052f70f805b41b4dd8fc872f5f6e883de5da29a87f5273507f31e
|
||||
DIST consul-1.12.1.tar.gz 24196810 BLAKE2B b82929de9228adaaf1bbf3a4269dd09e17b51f769d0bf040b86949dd8648e1f0b813e5cc5d5e9704b964ef5185074f58ac7347e049be6bc493cc96e4b977e22b SHA512 33925b20a81c7ab9873e5dfc24c26d14c86494c03de0a4030304bf4ac0169b59843337ef05f0564fa69de9dba08e350774e7ae62c6914769d8f0d4cb625e4910
|
||||
DIST consul-1.12.2.tar.gz 24195804 BLAKE2B 550b5bc4977c9181a097f699ad5da88a81571327707b448bc659d7c8f2d92a8c82f6c1b0f13448fee25c89d08cc3771dd4fb78a4cf58d640442df38e86639cfa SHA512 91da8b1fecbd5db4c0deae1cec4b5265a26c11739633be74f6e2dd2027ab9ba5da10ba33b1b844531a59b63e4117ec57af87d55512d1098033e99f88e2e3aabc
|
||||
DIST consul-1.12.3-deps.tar.xz 289711856 BLAKE2B 471b51dfc95ec8185a5d15bd94998f8d115ecbede7df6bc792704a4d63d222bda5e1a7aa260c7a93dcbe602a62df8aefd2d907602f3ca36a57dee8698205c19e SHA512 68b8bc91e03f922e31e68980350b58020ce734b808348bffff5c4b03436e50270cf6337bc9b48b95f28cb085316670ae5bc937d5620b79504e8fac766518621b
|
||||
DIST consul-1.12.3.tar.gz 24365779 BLAKE2B 39b110f271fa38e03a39ee05cf0e06e9aa13a84b2cb5c1150a43cfd1c28481044e36e2e11145b4b3411662b7b969aef9b7a4fa06dd7554e6018dfd772547b7bf SHA512 33903c2ba15cde3d2d17b8942ea7a0c7aab54c60872bc80662098ee7f415f5e1651a0e5949f42c8c8b06d3f99d25899a141459a99f04c90a162baa38d33f56b9
|
||||
DIST consul-1.12.4.tar.gz 24910442 BLAKE2B cc67dca433d2b96116cb57025b61799fdc6aeeca82bfee002116afe08ce3d30d4b49387927d5a257c44ffa7e30f0242b37f37096a2e271c0ee209c62aae5e918 SHA512 a91279983340d1ca5b349ccaf6b5681516c2be5b0eee7808a0bedb6205020fe3a1b2d1fd9ac29db69bfacb35455200bca62ad5b3e867343fe116f78e89d3b2ac
|
||||
DIST consul-1.13.1-deps.tar.xz 252045224 BLAKE2B 55cfd035cbe2b5d1d49ad9cad2abecc73b6103e9d70ef9a49d3476bb8bc5e9f7d34927ea58a994d817fbaf7460b064fc83452392513b40b63d60d119f508a1cb SHA512 e966124d8344309e0fd6d8f76275be13496def38bf30683c1ded50479eaea4ea680b8dd83b916625b1dfabec8e1d23acae23c9d6ccd3f0784145ea56d092f2f5
|
||||
DIST consul-1.13.1.tar.gz 24587018 BLAKE2B fb4135ba8cfd3e82312b007f5a49bdc8ca8f01d3107e53a1dfccc7869111053022ce17f5c78715da0c1c9a8cff2543172b14d02dbcea75f5bd758a479354d350 SHA512 b70760ec9b7339f8a1aed76db89d1ea8f96dba6a4d996993b21d59228e885b5f577bab36bf2f153db9572bf81590927442db2ae074ef5f45ccfd154b0ff27284
|
||||
DIST consul-1.9.17-deps.tar.xz 214799320 BLAKE2B c9fe5511156d50d4155ed6050186af894b7efc29e2f311ff542f79d298769b2dc55ee1bba12ca5ba5b81eddb6959a1d7a5e55aeb533827d5e924d3a72853a418 SHA512 be9f417e721372b8eaffe8b908f1ca1d1299c897f032cfb8b7ea8b62f7c2689011c5079a450fb5eed2e4e5454f0ad6a5e3859c91bd67166193334d100968f093
|
||||
DIST consul-1.9.17.tar.gz 29480703 BLAKE2B c233eab63ea515f886234395100e47910c1acdefa0b29af5bbc96d6c078dae41e0cd4150e1f6f17daac972b3e66d3abe43b594a0c37bff790e43f0f3c0a20da2 SHA512 c859fbede7294884befd0c70469febed5a4269b21cb351f8619d13e3b29f9b8bdd8d18e9611ef34908fc54bd38f2fd0bbc6e96d4e08ab23da952c3db537fb92c
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit go-module systemd
|
||||
|
||||
DESCRIPTION="A tool for service discovery, monitoring and configuration"
|
||||
HOMEPAGE="https://www.consul.io"
|
||||
GIT_COMMIT="09a8cdb4a5c0c53201d7888d9fb618dde007cdd8"
|
||||
|
||||
SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT"
|
||||
RESTRICT+=" test"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="dev-go/gox"
|
||||
COMMON_DEPEND="
|
||||
acct-group/consul
|
||||
acct-user/consul"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
# The dev target sets causes build.sh to set appropriate XC_OS
|
||||
# and XC_ARCH, and skips generation of an unused zip file,
|
||||
# avoiding a dependency on app-arch/zip.
|
||||
GIT_DESCRIBE="v${PV}" \
|
||||
GIT_DIRTY="" \
|
||||
GIT_COMMIT="${GIT_COMMIT}" \
|
||||
emake dev-build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/consul
|
||||
|
||||
keepdir /etc/consul.d
|
||||
insinto /etc/consul.d
|
||||
doins "${FILESDIR}/"*.json.example
|
||||
|
||||
keepdir /var/log/consul
|
||||
fowners consul:consul /var/log/consul
|
||||
|
||||
newinitd "${FILESDIR}/consul.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/consul.confd" "${PN}"
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/consul.service"
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit go-module systemd
|
||||
|
||||
DESCRIPTION="A tool for service discovery, monitoring and configuration"
|
||||
HOMEPAGE="https://www.consul.io"
|
||||
GIT_COMMIT="e57f76ae5cce9e70738aadb16f1e47d7c4c257f4"
|
||||
|
||||
SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~zmedico/dist/consul-1.12.0-deps.tar.xz"
|
||||
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT"
|
||||
RESTRICT+=" test"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="dev-go/gox"
|
||||
COMMON_DEPEND="
|
||||
acct-group/consul
|
||||
acct-user/consul"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
# The dev target sets causes build.sh to set appropriate XC_OS
|
||||
# and XC_ARCH, and skips generation of an unused zip file,
|
||||
# avoiding a dependency on app-arch/zip.
|
||||
GIT_DESCRIBE="v${PV}" \
|
||||
GIT_DIRTY="" \
|
||||
GIT_COMMIT="${GIT_COMMIT}" \
|
||||
emake dev-build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/consul
|
||||
|
||||
keepdir /etc/consul.d
|
||||
insinto /etc/consul.d
|
||||
doins "${FILESDIR}/"*.json.example
|
||||
|
||||
keepdir /var/log/consul
|
||||
fowners consul:consul /var/log/consul
|
||||
|
||||
newinitd "${FILESDIR}/consul.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/consul.confd" "${PN}"
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/consul.service"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST sysklogd-2.3.0.tar.gz 441168 BLAKE2B fa2ec9975d51bcb26d7acc88ab02e211453fc7e6d722ec6d38543a20833ae9c49b9a274d323e7a32deb82ca9c38025947e25b15424084a0ce345410a2e686a4d SHA512 7a16dd3f45a71015ad055e64aa62f4f94b0a8aa739f407c03376241cbc16ff764a768a698362cb428d150b169934798b774622b330903b287f9af5dd846775fc
|
||||
DIST sysklogd-2.4.0.tar.gz 450757 BLAKE2B 65f7174ebad122d17032e0095c65df80110a992a40b41a3ecddb1f813605094ce59c1313f5d4f35ae33d0cb7557392a176fc9c2f0f69162b74cb69d531be0a09 SHA512 0f9c4498b3677636abd636a80a8256095798b09f43b6febbcb386b3bce7faae23c44aebc54234462a7aa53fb8e5bf821e89081bdbdba0f72218ac8481365029c
|
||||
DIST sysklogd-2.4.2.tar.gz 451760 BLAKE2B 35f59f3343e66be33cd6c0277e53a49dd94f593da9dbe0af685f513de9e3c5c4103d79530aba48b9515222556a3d5751a86c89be04aa6983b94b02d21db855be SHA512 5d17bfd25248f8ddc0938f00c9c11c5d7cfa559904b984bf6c6fc50bcddf0ac0263ff175cc05e039b8635012c097207b84bf9270df5c5bf0a9d6532d01b0a9ec
|
||||
DIST sysklogd-2.4.3.tar.gz 451887 BLAKE2B 210ad69fab10af2724c7554a10347c238eba97a7a3e7fec95ca12520976abd60a2ce762ff5effb528aa7f6f9191ecc95f9425a905de83f1e7820bd0b0294186c SHA512 9ff935811974b812f84e96bea64d284d718cab53038a4c11d74e50ae33d14d5d3c1f843d7c2771edd6ea1f742f108fc60aa81b4a686c336c276f76ea73d2c0c1
|
||||
|
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Standard log daemons"
|
||||
HOMEPAGE="https://troglobit.com/sysklogd.html https://github.com/troglobit/sysklogd"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit autotools git-r3
|
||||
EGIT_REPO_URI="https://github.com/troglobit/sysklogd.git"
|
||||
else
|
||||
SRC_URI="https://github.com/troglobit/sysklogd/releases/download/v${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="logger logrotate"
|
||||
# Needs network access
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
logger? (
|
||||
!<sys-apps/util-linux-2.34-r3
|
||||
!>=sys-apps/util-linux-2.34-r3[logger]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
logrotate? ( app-admin/logrotate )
|
||||
"
|
||||
|
||||
DOCS=( ChangeLog.md README.md )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
[[ ${PV} == *9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-lfs-flags
|
||||
tc-export CC
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-static
|
||||
--runstatedir="${EPREFIX}"/run
|
||||
--with-systemd=$(systemd_get_systemunitdir)
|
||||
$(use_with logger)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
insinto /etc
|
||||
doins syslog.conf
|
||||
keepdir /etc/syslog.d
|
||||
|
||||
newinitd "${FILESDIR}"/sysklogd.rc10 sysklogd
|
||||
newconfd "${FILESDIR}"/sysklogd.confd3 sysklogd
|
||||
|
||||
if use logrotate ; then
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/sysklogd.logrotate sysklogd
|
||||
sed 's@ -r 10M:10@@' -i "${ED}"/etc/conf.d/sysklogd || die
|
||||
fi
|
||||
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use logrotate && [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.0 ; then
|
||||
elog "Starting with version 2.0 syslogd has built in log rotation"
|
||||
elog "functionality that does no longer require a running cron daemon."
|
||||
elog "So we no longer install any log rotation cron files for sysklogd."
|
||||
fi
|
||||
|
||||
if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.1 ; then
|
||||
elog "Starting with version 2.1 sysklogd no longer provides klogd."
|
||||
elog "syslogd now also logs kernel messages."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,2 +1,4 @@
|
||||
DIST xz-5.2.5.tar.gz 1791345 BLAKE2B aded57324e129572c41646b3cc3b0b59a459452d9338d9245663b63dac2a463fb1f1b2b1d2d4ad3c09cb71fb8439df52cd94f24db99e782fc899b94a288a3043 SHA512 7443674247deda2935220fbc4dfc7665e5bb5a260be8ad858c8bd7d7b9f0f868f04ea45e62eb17c0a5e6a2de7c7500ad2d201e2d668c48ca29bd9eea5a73a3ce
|
||||
DIST xz-5.2.5.tar.gz.sig 566 BLAKE2B 8b40d8d7913eaebe2595ea41a735d972d1969d8b58f42b2bee6591b51e2e626473fc85d64f1bbbff3cba6b0e1b4423556d6ddaf16f646ccc18ba1bad5cf45d83 SHA512 3aa21484bef0282ed0b83e3fcd5cf3d87bf51fa68e24d55bb11f91bc96f0ac29f468949bc4c8cc20fbd6ad12f5735686fe09ee42efe2b8d728010da9668aa5a9
|
||||
DIST xz-5.2.6.tar.gz 2069602 BLAKE2B 3cc160dc76944ad2a181fbfb23ce386dbbd04e75bbeb0b159aaaf82e2e8157ea8b2bb80b216d79a7c25339bfbd13bd9d8c261789829cc7c3cb86fc893a7b4b94 SHA512 090958dd6c202c989746686094c86707ad4ae835026640080fc0a9d0fad699821b7d5cb3a67e6700661a0938818ba153662366f89ab8ec47e0bae4a3fe9b1961
|
||||
DIST xz-5.2.6.tar.gz.sig 566 BLAKE2B 7c6114d93b4e3c8553108da3985029fc4585bfea5d72fc5028024221e91cc43c3b6cd3b7d169e4c8afed445a6beef7c255ef8420c5266a22ee9449a57cacec5d SHA512 50a1ac0f8f87f8c04c25c69870ba054094abf20b668bdecd42ed247a2eff24b8e52178b6442da84c125a9401a6f98d40ca76b27453833a30807c83128ab70eee
|
||||
|
@ -0,0 +1,117 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Remember: we cannot leverage autotools in this ebuild in order
|
||||
# to avoid circular deps with autotools
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit libtool multilib multilib-minimal preserve-libs usr-ldscript
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://git.tukaani.org/xz.git"
|
||||
inherit git-r3 autotools
|
||||
|
||||
# bug #272880 and bug #286068
|
||||
BDEPEND="sys-devel/gettext >=sys-devel/libtool-2"
|
||||
else
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/lassecollin.asc
|
||||
inherit verify-sig
|
||||
|
||||
MY_P="${PN/-utils}-${PV/_}"
|
||||
SRC_URI="https://tukaani.org/xz/${MY_P}.tar.gz"
|
||||
SRC_URI+=" verify-sig? ( https://tukaani.org/xz/${MY_P}.tar.gz.sig )"
|
||||
|
||||
if [[ ${PV} != *_alpha* && ${PV} != *_beta* ]] ; then
|
||||
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
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Utils for managing LZMA compressed files"
|
||||
HOMEPAGE="https://tukaani.org/xz/"
|
||||
|
||||
# See top-level COPYING file as it outlines the various pieces and their licenses.
|
||||
LICENSE="public-domain LGPL-2.1+ GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="+extra-filters nls static-libs"
|
||||
|
||||
RDEPEND="!<app-arch/lzma-4.63
|
||||
!<app-arch/p7zip-4.57
|
||||
!<app-i18n/man-pages-de-2.16"
|
||||
DEPEND="${RDEPEND}"
|
||||
if [[ ${PV} != 9999 ]] ; then
|
||||
BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-lassecollin )"
|
||||
fi
|
||||
|
||||
# Tests currently do not account for smaller feature set
|
||||
RESTRICT="!extra-filters? ( test )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
eautopoint
|
||||
eautoreconf
|
||||
else
|
||||
# Allow building shared libs on Solaris/x64
|
||||
elibtoolize
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
--enable-threads
|
||||
$(use_enable nls)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
if ! multilib_is_native_abi ; then
|
||||
myconf+=(
|
||||
--disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts}
|
||||
)
|
||||
fi
|
||||
|
||||
if ! use extra-filters ; then
|
||||
myconf+=(
|
||||
# LZMA1 + LZMA2 for standard .lzma & .xz files
|
||||
--enable-encoders=lzma1,lzma2
|
||||
--enable-decoders=lzma1,lzma2
|
||||
|
||||
# those are used by default, depending on preset
|
||||
--enable-match-finders=hc3,hc4,bt4
|
||||
|
||||
# CRC64 is used by default, though some (old?) files use CRC32
|
||||
--enable-checks=crc32,crc64
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
export gl_cv_posix_shell="${EPREFIX}"/bin/sh
|
||||
|
||||
# Undo Solaris-based defaults pointing to /usr/xpg5/bin
|
||||
myconf+=( --disable-path-for-script )
|
||||
fi
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
|
||||
gen_usr_ldscript -a lzma
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
rm "${ED}"/usr/share/doc/${PF}/COPYING* || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST podman-4.1.0.tar.gz 10904727 BLAKE2B 6d01a65b13494dc948c0667147eca6f250a81056f1bcf6eda6285566b8aa7aa526794ea96a571aecad642a8b1d3d1877cd31683ccf46662f8681a2afac083b5a SHA512 4d5f240423f21b1224ce44853a2265359dacee0d921f0ea53a7fca34f9076ebfaa49f4327a59ac51f5bf5b9dafb47dda3a9bb8e609237cc69f833b42b95bcd0a
|
||||
DIST podman-4.1.1.tar.gz 10905391 BLAKE2B a094785ccb7a84a42147fb0f0360480ad4f73a1cdaa29b666fabb08528584f5d37b1cf8fb807351d4a60d81779de4dec3ab5fc83275061eded21f97fd3fa5e7f SHA512 19dd2800b59dacf7edd5d8204bdaffa0959910c7751b582f5a12b8d644b52f9d6581b9c3b4cba3ddb0707f6a90c0dbc93de6d8e2eaa6a4234ebb9dfa28e693b3
|
||||
DIST podman-4.2.0.tar.gz 13019518 BLAKE2B a3b8d8b140b9d34e24f87f998fff3558649487b503bdd437f537f09adc51819d81786b6b4e858ef4e8a43c0d872cd20cd1ceee06988a36f830b9ffbb5109d14d SHA512 bc9e28d9938127f91be10ea8bc6c6f638a01d74d120efad5ad1e72c5f7b893685871e83872434745bc72ecaca430355b0f59d302660e8b4a53cc88a88cc37f9c
|
||||
|
@ -0,0 +1,164 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EGIT_COMMIT="7fe5a419cfd2880df2028ad3d7fd9378a88a04f4"
|
||||
|
||||
inherit bash-completion-r1 flag-o-matic go-module tmpfiles
|
||||
|
||||
DESCRIPTION="Library and podman tool for running OCI-based containers in Pods"
|
||||
HOMEPAGE="https://github.com/containers/podman/"
|
||||
MY_PN=podman
|
||||
MY_P=${MY_PN}-${PV}
|
||||
SRC_URI="https://github.com/containers/podman/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
||||
IUSE="apparmor btrfs cgroup-hybrid +fuse +init +rootless selinux"
|
||||
RESTRICT+=" test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme:=
|
||||
>=app-containers/conmon-2.0.0
|
||||
cgroup-hybrid? ( >=app-containers/runc-1.0.0_rc6 )
|
||||
!cgroup-hybrid? ( app-containers/crun )
|
||||
dev-libs/libassuan:=
|
||||
dev-libs/libgpg-error:=
|
||||
>=app-containers/cni-plugins-0.8.6
|
||||
sys-fs/lvm2
|
||||
sys-libs/libseccomp:=
|
||||
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
init? ( app-containers/catatonit )
|
||||
rootless? ( app-containers/slirp4netns )
|
||||
selinux? ( sys-libs/libselinux:= )
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-go/go-md2man"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
fuse? ( sys-fs/fuse-overlayfs )
|
||||
selinux? ( sec-policy/selinux-podman )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Disable installation of python modules here, since those are
|
||||
# installed by separate ebuilds.
|
||||
local makefile_sed_args=(
|
||||
-e '/^GIT_.*/d'
|
||||
-e 's/$(GO) build/$(GO) build -v -work -x/'
|
||||
-e 's/^\(install:.*\) install\.python$/\1/'
|
||||
-e 's|^pkg/varlink/iopodman.go: .gopathok pkg/varlink/io.podman.varlink$|pkg/varlink/iopodman.go: pkg/varlink/io.podman.varlink|'
|
||||
)
|
||||
|
||||
has_version -b '>=dev-lang/go-1.13.9' || makefile_sed_args+=(-e 's:GO111MODULE=off:GO111MODULE=on:')
|
||||
|
||||
sed "${makefile_sed_args[@]}" -i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local git_commit=${EGIT_COMMIT}
|
||||
|
||||
# Filter unsupported linker flags
|
||||
filter-flags '-Wl,*'
|
||||
|
||||
[[ -f hack/apparmor_tag.sh ]] || die
|
||||
if use apparmor; then
|
||||
echo -e "#!/bin/sh\necho apparmor" > hack/apparmor_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\ntrue" > hack/apparmor_tag.sh || die
|
||||
fi
|
||||
|
||||
[[ -f hack/btrfs_installed_tag.sh ]] || die
|
||||
if use btrfs; then
|
||||
echo -e "#!/bin/sh\ntrue" > hack/btrfs_installed_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
|
||||
hack/btrfs_installed_tag.sh || die
|
||||
fi
|
||||
|
||||
[[ -f hack/selinux_tag.sh ]] || die
|
||||
if use selinux; then
|
||||
echo -e "#!/bin/sh\necho selinux" > hack/selinux_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\ntrue" > hack/selinux_tag.sh || die
|
||||
fi
|
||||
|
||||
# Avoid this error when generating pkg/varlink/iopodman.go:
|
||||
# cannot find package "github.com/varlink/go/varlink/idl"
|
||||
mkdir -p _output || die
|
||||
ln -snf ../vendor _output/src || die
|
||||
GO111MODULE=off GOPATH=${PWD}/_output go generate ./pkg/varlink/... || die
|
||||
rm _output/src || die
|
||||
|
||||
export -n GOCACHE GOPATH XDG_CACHE_HOME
|
||||
GOBIN="${S}/bin" \
|
||||
emake all \
|
||||
GIT_BRANCH=master \
|
||||
GIT_BRANCH_CLEAN=master \
|
||||
COMMIT_NO="${git_commit}" \
|
||||
GIT_COMMIT="${git_commit}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
|
||||
insinto /etc/containers
|
||||
newins test/registries.conf registries.conf.example
|
||||
newins test/policy.json policy.json.example
|
||||
|
||||
insinto /usr/share/containers
|
||||
doins vendor/github.com/containers/common/pkg/seccomp/seccomp.json
|
||||
|
||||
newconfd "${FILESDIR}"/podman.confd podman
|
||||
newinitd "${FILESDIR}"/podman.initd podman
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/podman.logrotated" podman
|
||||
|
||||
dobashcomp completions/bash/*
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins completions/zsh/*
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins completions/fish/*
|
||||
|
||||
keepdir /var/lib/containers
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
PODMAN_ROOTLESS_UPGRADE=false
|
||||
if use rootless; then
|
||||
has_version 'app-containers/podman[rootless]' || PODMAN_ROOTLESS_UPGRADE=true
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process podman.conf
|
||||
|
||||
local want_newline=false
|
||||
if [[ ! ( -e ${EROOT%/*}/etc/containers/policy.json && -e ${EROOT%/*}/etc/containers/registries.conf ) ]]; then
|
||||
elog "You need to create the following config files:"
|
||||
elog "/etc/containers/registries.conf"
|
||||
elog "/etc/containers/policy.json"
|
||||
elog "To copy over default examples, use:"
|
||||
elog "cp /etc/containers/registries.conf{.example,}"
|
||||
elog "cp /etc/containers/policy.json{.example,}"
|
||||
want_newline=true
|
||||
fi
|
||||
if [[ ${PODMAN_ROOTLESS_UPGRADE} == true ]] ; then
|
||||
${want_newline} && elog ""
|
||||
elog "For rootless operation, you need to configure subuid/subgid"
|
||||
elog "for user running podman. In case subuid/subgid has only been"
|
||||
elog "configured for root, run:"
|
||||
elog "usermod --add-subuids 1065536-1131071 <user>"
|
||||
elog "usermod --add-subgids 1065536-1131071 <user>"
|
||||
want_newline=true
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST myspell-ca-3.0.6.oxt 1729644 BLAKE2B d20655f9f3533aa280706463b9db0263e30294e3ca9468dad4f3f9273ff19d91d65c247e7a5ab954d9497f7f1f388129ca596759067c718899575e92110ff778 SHA512 4d5b867bd1a923bb2d52fba4b30d73f9e5b4d441c78c77aa88b0d67cf9d7ebef9cac0f0ea1addbaf873b6395590a1295fc43f7a9a0567af79f351d1dc2618259
|
||||
DIST myspell-ca-3.0.7.oxt 4743865 BLAKE2B 019d171f06b8bc5c4e3359213907bdb11f53aaf153899e643d18c0fd2f2c090b05018d0ef32c9f3238730ecad7859423ddb3f7b9081acdda820f29af192c58bc SHA512 75f42a3e1723e75a535f352e72018add4baf0faab4c89208fbd732579f75f040138d9c784fe6e96bbc8194c2416731e920a6950fd9a9a196dbacfd1a03d4512d
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"ca_ES.aff"
|
||||
"ca_ES.dic"
|
||||
"ca_ES-valencia.aff"
|
||||
"ca_ES-valencia.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_ca_ES.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
"th_ca_ES.idx"
|
||||
"th_ca_ES.dat"
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="Catalan dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="https://www.softcatala.org/programes/corrector-ortografic-de-catala-general-per-al-libreoffice-i-lapache-openoffice/ https://github.com/Softcatala/catalan-dict-tools/"
|
||||
SRC_URI="https://github.com/Softcatala/catalan-dict-tools/releases/download/v${PV}/ca.${PV}.oxt -> ${P}.oxt"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# rename to conform the common naming scheme
|
||||
mv ca.aff ca_ES.aff || die
|
||||
mv ca.dic ca_ES.dic || die
|
||||
mv ca-ES-valencia.aff ca_ES-valencia.aff || die
|
||||
mv ca-ES-valencia.dic ca_ES-valencia.dic || die
|
||||
mv hyph_ca.dic hyph_ca_ES.dic || die
|
||||
|
||||
# remove licenses
|
||||
rm LICENSES-en.txt LLICENCIES-ca.txt || die
|
||||
}
|
Binary file not shown.
@ -1 +1,3 @@
|
||||
DIST uwsgi_exporter-0.8.0.tar.gz 3040547 BLAKE2B 5b6769487b3a08752cdff9dccc727096bc6b9d49e12e8aa35d04bbd0c3534503c19a4dda882c7efd7409549f3cae750021fa7ce87d12b798a2998efcdfc9f1cf SHA512 a5a1439f554749c7db4857651a11cbbf0ad0a0a8da0ffd421e374fe08194ba289a6bb04a95e4169ba6a75d0358c7a96e5b9f3cc5813cc39004f81dce42edb3ed
|
||||
DIST uwsgi_exporter-1.1.0-deps.tar.xz 6393556 BLAKE2B ce75723b9de728560fc367c31b8f70498ffda083f1aa3ed138aaed37d540ed4b05681c022c63bd3f8aa6c1bf9d9e7fc7e6f947c556794b5d65724b1ff95ceb60 SHA512 e5140951a895981eb85be571035e017b3d3a344cb074a40b693f46e25d9355192debecb9710afb4952cbfe6beb62741ddca2c16ac5454df8643927400e3f2d6b
|
||||
DIST uwsgi_exporter-1.1.0.tar.gz 39335 BLAKE2B af7fc7ba6d2479467e4b0b90c469fd3a3de1d967b1f4130ce54b5db5bec4dcf910687cf375dcc98a6b68463831d49117e23f589d03d37579b2d83b33a74b519f SHA512 62db351903f6876efea60cc25bea1560b5061ecdf6ca1f113bfa51a745d1524b397350cc2bd0e720aab9357f4f9f6dbca0285eb41ed9cdabebeb4f4176d9c652
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit go-module systemd
|
||||
|
||||
SRC_URI="https://github.com/timonwong/uwsgi_exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
|
||||
UWSGI_EXPORTER_COMMIT="f04f713"
|
||||
|
||||
DESCRIPTION="uWSGI metrics exporter for prometheus.io"
|
||||
HOMEPAGE="https://github.com/timonwong/uwsgi_exporter"
|
||||
|
||||
LICENSE="Apache-2.0 BSD ISC MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
acct-group/uwsgi_exporter
|
||||
acct-user/uwsgi_exporter
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-util/promu
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s/{{.Revision}}/${UWSGI_EXPORTER_COMMIT}/" -i "${S}/.promu.yml" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir -p bin || die
|
||||
GO111MODULE=on promu build -v --prefix bin || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin bin/${P} uwsgi_exporter
|
||||
dodoc README.md
|
||||
local dir
|
||||
for dir in /var/log/${PN}; do
|
||||
keepdir "${dir}"
|
||||
fowners ${PN}:${PN} "${dir}"
|
||||
done
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST iwdevtools-0.11.5.tar.gz 85698 BLAKE2B 0f5b0c81735017b82144c74b2396826b2e6ea97db70704977c7885bdb00442c83023f593aeb25ab2e51f3a35cd659be98440f51e4496418a92f1559212db5b5d SHA512 05e0169a465cd4956d663f54bdc66d3c17379229b23c26a94d9deff879ef9e53b1b28f59e7cf314d36127954cb75728f008d0b0728659436ad1e63de5fb11bbb
|
||||
DIST iwdevtools-0.11.6.tar.gz 85945 BLAKE2B 61c18ae0ed1c0f7e90d41af485f18f891cdd9ffbaff5437cb9f9ca88622efa0f5acd89ac8596e7d41c25a083a970143f3b226284f4566b0b8ee3718071cd6cbb SHA512 21ffda72945947658bf6867bf83d9b9ad4f6b930d4c2cee3dea551581030668ab286a4c4a07edeae937fd91f4aba08fe8e7c6506459808c4ada38502226b5b26
|
||||
|
@ -1,18 +0,0 @@
|
||||
https://github.com/ionenwks/iwdevtools/commit/408fba9
|
||||
From: Ionen Wolkens <ionen@gentoo.org>
|
||||
Date: Mon, 1 Aug 2022 04:28:49 -0400
|
||||
Subject: [PATCH] repo-cd: use plain name for error display
|
||||
|
||||
Given doesn't look so nice with the [_-] addition:
|
||||
! no non-excluded match found for '*some[_-]name*'
|
||||
--- a/scripts/repo-cd
|
||||
+++ b/scripts/repo-cd
|
||||
@@ -307,7 +307,7 @@ rcd-cd() {
|
||||
done | mapfile -td '' choice
|
||||
|
||||
if (( ! ${#choice[@]} )); then
|
||||
- rcd-msg '!:r' "no non-excluded match found for '${C[m]}${search}${C[n]}'${userepo:+ in ::${userepo}}"
|
||||
+ rcd-msg '!:r' "no non-excluded match found for '${C[m]}${name}${C[n]}'${userepo:+ in ::${userepo}}"
|
||||
exit 104
|
||||
fi
|
||||
|
@ -1,68 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson optfeature
|
||||
|
||||
DESCRIPTION="Small tools to aid with Gentoo development, primarily intended for QA"
|
||||
HOMEPAGE="https://github.com/ionenwks/iwdevtools"
|
||||
SRC_URI="https://github.com/ionenwks/iwdevtools/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv sparc x86 ~x64-macos"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/pax-utils
|
||||
app-portage/portage-utils
|
||||
>=app-shells/bash-5.1
|
||||
dev-libs/libxml2:2
|
||||
sys-apps/diffutils
|
||||
sys-apps/file
|
||||
sys-apps/portage
|
||||
|| ( sys-apps/util-linux app-misc/getopt )"
|
||||
BDEPEND="
|
||||
sys-apps/help2man
|
||||
|| ( sys-apps/util-linux app-misc/getopt )
|
||||
test? ( ${RDEPEND} )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-rcd-plain-name.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Ddocdir=${PF}
|
||||
-Deprefix="${EPREFIX}"
|
||||
-Dshellcheck=false
|
||||
$(meson_use test)
|
||||
)
|
||||
|
||||
has_version sys-apps/util-linux || emesonargs+=( -Dgetopt=getopt-long )
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "detecting potential ABI issues using abidiff" dev-util/libabigail
|
||||
|
||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||
elog "Optional portage integration relies on using /etc/portage/bashrc."
|
||||
elog "The example bashrc can be used as-is if not already using one:"
|
||||
elog
|
||||
elog " ln -s ../../usr/share/${PN}/bashrc ${EROOT}/etc/portage/bashrc"
|
||||
elog
|
||||
elog "Otherwise, inspect the tools' --help output and the example to integrate"
|
||||
elog "(if not defining the same phase functions, the example can be sourced)."
|
||||
elog
|
||||
elog "Note that \`eqawarn\` is used for portage output by default. QA messages"
|
||||
elog "aren't logged / shown post-emerge unless e.g. in /etc/portage/make.conf:"
|
||||
elog
|
||||
elog ' PORTAGE_ELOG_CLASSES="${PORTAGE_ELOG_CLASSES} qa"'
|
||||
elog
|
||||
elog "See ${EROOT}/usr/share/doc/${PF}/README.rst* for information on tools."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,72 @@
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 go-module
|
||||
|
||||
DESCRIPTION="General-purpose command-line fuzzy finder, written in Golang"
|
||||
HOMEPAGE="https://github.com/junegunn/fzf"
|
||||
|
||||
# For fancy versioning only. Bump on the next release!
|
||||
# MY_GIT_REV is the first 7 characters of release commit, we truncate it
|
||||
# after to make it easier to copy/paste.
|
||||
MY_GIT_REV=4993d19466d5f3ac127de5c0c461cde7ef1894d7
|
||||
MY_GIT_REV=${MY_GIT_REV:0:7}
|
||||
|
||||
SRC_URI="https://github.com/junegunn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="MIT BSD-with-disclosure"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i 's/-s -w //' Makefile || die # bug 795225
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake PREFIX="${EPREFIX}"/usr VERSION=${PV} REVISION=${MY_GIT_REV} bin/${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
doman man/man1/${PN}.1
|
||||
|
||||
dobin bin/${PN}-tmux
|
||||
doman man/man1/${PN}-tmux.1
|
||||
|
||||
insinto /usr/share/vim/vimfiles/plugin
|
||||
doins plugin/${PN}.vim
|
||||
|
||||
insinto /usr/share/nvim/runtime/plugin
|
||||
doins plugin/${PN}.vim
|
||||
|
||||
newbashcomp shell/completion.bash ${PN}
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins shell/completion.zsh _${PN}
|
||||
|
||||
insinto /usr/share/fzf
|
||||
doins shell/key-bindings.bash
|
||||
doins shell/key-bindings.fish
|
||||
doins shell/key-bindings.zsh
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "To add fzf support to your shell, make sure to use the right file"
|
||||
elog "from ${EROOT}/usr/share/fzf."
|
||||
elog
|
||||
elog "For bash, add the following line to ~/.bashrc:"
|
||||
elog
|
||||
elog " # source ${EROOT}/usr/share/bash-completion/completions/fzf"
|
||||
elog " # source ${EROOT}/usr/share/fzf/key-bindings.bash"
|
||||
elog
|
||||
elog "Plugins for Vim and Neovim are installed to respective directories"
|
||||
elog "and will work out of the box."
|
||||
elog
|
||||
elog "For fzf support in tmux see fzf-tmux(1)."
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,36 @@
|
||||
# Elf.cpp expects __ELF_NATIVE_CLASS to be defined at least for platforms
|
||||
# besides FreeBSD-based ones, and so it defines FOLLY_ELF_NATIVE_CLASS with it.
|
||||
# Without __ELF_NATIVE_CLASS (and apparently musl does not define it),
|
||||
# FOLLY_ELF_NATIVE_CLASS is also not defined so what was supposed to be
|
||||
# expanded to ELFCLASS32 or ELFCLASS64 ends up being
|
||||
# ELFCLASSFOLLY_ELF_NATIVE_CLASS.
|
||||
#
|
||||
# Please refer: https://github.com/facebook/folly/issues/1478
|
||||
#
|
||||
# Closes: https://bugs.gentoo.org/835744
|
||||
--- a/folly/experimental/symbolizer/Elf.cpp
|
||||
+++ b/folly/experimental/symbolizer/Elf.cpp
|
||||
@@ -39,12 +39,10 @@
|
||||
|
||||
#if defined(__ELF_NATIVE_CLASS)
|
||||
#define FOLLY_ELF_NATIVE_CLASS __ELF_NATIVE_CLASS
|
||||
-#elif defined(__FreeBSD__)
|
||||
-#if defined(__LP64__)
|
||||
+#elif defined(__LP64__)
|
||||
#define FOLLY_ELF_NATIVE_CLASS 64
|
||||
#else
|
||||
#define FOLLY_ELF_NATIVE_CLASS 32
|
||||
-#endif
|
||||
#endif // __ELF_NATIVE_CLASS
|
||||
|
||||
namespace folly {
|
||||
--- a/folly/experimental/symbolizer/Elf.h
|
||||
+++ b/folly/experimental/symbolizer/Elf.h
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <initializer_list>
|
||||
#include <stdexcept>
|
||||
#include <system_error>
|
||||
+#include <sys/types.h>
|
||||
|
||||
#include <folly/Conv.h>
|
||||
#include <folly/Likely.h>
|
@ -1,2 +1,4 @@
|
||||
DIST nlohmann_json-3.10.5.tar.gz 7021996 BLAKE2B d4219d2f3168341eb8bd8f84af364e53f6caae67aa080b1ca0479216a98ee0256d5436243273b3c12ccdca904b4b17dbb90cf445fc273424d7dab6d2b95632bc SHA512 4a9d6416f383e76bf95425fc02a4e12c605fcbcae910b704e354396a493454cf8a1ffbecba11f231e020ffd2842908df7e67dbc09f62d1202d40b6815c24cfd2
|
||||
DIST nlohmann_json-3.11.2.tar.gz 8097673 BLAKE2B ebb67966739a330e0cfb8495a6eb58e87732655856a6d4e843072ed5e485cafbb8a75d8803859d0365b814deda7429448ecc473de414de4b23d3a3c455dc2511 SHA512 70097c9bcd7a91254acbd41b8b68a6aaa371fc2dd7011f472917f69f1e2d2986155a0339dad791699d542e4a3be44dc49ae72ff73d0ee0ea4b34183296ce19a0
|
||||
DIST nlohmann_json-testdata-3.0.0.tar.gz 112348454 BLAKE2B f0a47b41805bf1426f612e9a82efea2a3e5b1c15740c1c531d859e60dc5daeb85209b4fe363fd8fb84e3bbf01a2578c74538ba3e769726494047979f5a4d468d SHA512 d9af8419b837c592ec7519cd5772651c761078a9c43cf2a309cee55c323aee0df0c233fb58a07d5ee2e77492ac8b16398de234b387eae037a60e3c9ba5b08891
|
||||
DIST nlohmann_json-testdata-3.1.0.tar.gz 115036393 BLAKE2B 809be0728a0b9d007fcc752911bdf6f7e548d6e3ec59871ea2b16d87d8248ca4dd2f681a1d0f82c618463294188ad41d6d965b8bdc39c70fdcf4b939d4121e9c SHA512 db6c411b37f2154f5dd1ed90f4e8fa0907f4a736cd0ff79943bcacf9da422285ff142bb6a7dc6022b236090083166ac1ab197be3f480d8dc50b26a91a9477821
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
#DOCS_BUILDER="mkdocs"
|
||||
# Needs unpackaged plantuml-markdown too
|
||||
# ... but plantuml (Python bindings anyway) need network access to generate bits at runtime.
|
||||
#DOCS_DEPEND="dev-python/mkdocs-material-extensions dev-python/mkdocs-minify-plugin"
|
||||
#DOCS_DIR="doc/mkdocs"
|
||||
inherit cmake
|
||||
|
||||
# Check https://github.com/nlohmann/json/blob/develop/cmake/download_test_data.cmake to find test archive version
|
||||
TEST_VERSION="3.1.0"
|
||||
DESCRIPTION="JSON for Modern C++"
|
||||
HOMEPAGE="https://github.com/nlohmann/json https://nlohmann.github.io/json/"
|
||||
SRC_URI="
|
||||
https://github.com/nlohmann/json/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
test? ( https://github.com/nlohmann/json_test_data/archive/v${TEST_VERSION}.tar.gz -> ${PN}-testdata-${TEST_VERSION}.tar.gz )"
|
||||
S="${WORKDIR}/json-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS=( ChangeLog.md README.md )
|
||||
|
||||
src_prepare() {
|
||||
if use test ; then
|
||||
ln -s "${WORKDIR}"/json_test_data-${TEST_VERSION} "${S}"/json_test_data || die
|
||||
fi
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Tests are built by default so we can't group the test logic below
|
||||
local mycmakeargs=(
|
||||
-DJSON_MultipleHeaders=ON
|
||||
-DJSON_BuildTests=$(usex test)
|
||||
)
|
||||
|
||||
# Define test data directory here to avoid unused var QA warning, bug #747826
|
||||
use test && mycmakeargs+=( -DJSON_TestDataDirectory="${S}"/json_test_data )
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILD_DIR}"/tests || die
|
||||
|
||||
# Skip certain tests needing git per upstream
|
||||
# https://github.com/nlohmann/json/issues/2189
|
||||
local myctestargs=(
|
||||
"-LE git_required"
|
||||
)
|
||||
|
||||
cmake_src_test
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST opentelemetry-cpp-1.3.0.tar.gz 710030 BLAKE2B 56aa3213fd9c9ac5266197c2ca417f5ff181ca28016033c9320e63122eaf9a53bdb265e1778227a9036bc42f8837755a3009cb23610268bc03b9fb24b3844c82 SHA512 38f613c208ec847c8bf7765732d8198fcc427c293a929945d72c2f739e89d2a0ad36be4d94cc3c1b77fd7b1f1d1e5d8bdb38094a493ba3da3125281cd1016836
|
||||
DIST opentelemetry-cpp-1.4.0.tar.gz 722520 BLAKE2B c34867846708218e5ffcff9cdaa275e0c43201f681a68ad697d9f83ac04b7fdc6cdb69d942274cbe200b241e407ba11218c7e92da4f9adf4490e89c06388347f SHA512 a2339c0f9b2dc0d4f1964536a844241436bd68774445a0eab6e89e51965e01d3c40d2aa776d751eb497c50e9fdaa4e0023095efb14c8abbd6bbe23a2596eb3c9
|
||||
DIST opentelemetry-cpp-1.5.0.tar.gz 782336 BLAKE2B 11153dc8a219d3916c3d8aeb7575c2a98d5e8e094cbada096bfa03dd465a08a4fb09139ad22400e4b5693a5d740b8095618858256a2c5679ae080e4e3db16005 SHA512 a506973223c49531d4b0c3febf5734dfe2e44c22f8854ed96935cda0783a14d0819cc3dbb2d3f8373f960f27acf78aafc777ee76aeb14828df9c4b4434e4fe6f
|
||||
|
@ -0,0 +1,67 @@
|
||||
diff --git a/ext/test/http/curl_http_test.cc b/ext/test/http/curl_http_test.cc
|
||||
index 3059faaa..55657809 100644
|
||||
--- a/ext/test/http/curl_http_test.cc
|
||||
+++ b/ext/test/http/curl_http_test.cc
|
||||
@@ -229,7 +229,7 @@ TEST_F(BasicCurlHttpTests, HttpResponse)
|
||||
ASSERT_EQ(count, 4);
|
||||
}
|
||||
|
||||
-TEST_F(BasicCurlHttpTests, SendGetRequest)
|
||||
+TEST_F(BasicCurlHttpTests, DISABLED_SendGetRequest)
|
||||
{
|
||||
received_requests_.clear();
|
||||
auto session_manager = http_client::HttpClientFactory::Create();
|
||||
@@ -246,7 +246,7 @@ TEST_F(BasicCurlHttpTests, SendGetRequest)
|
||||
ASSERT_TRUE(handler->got_response_);
|
||||
}
|
||||
|
||||
-TEST_F(BasicCurlHttpTests, SendPostRequest)
|
||||
+TEST_F(BasicCurlHttpTests, DISABLED_SendPostRequest)
|
||||
{
|
||||
received_requests_.clear();
|
||||
auto session_manager = http_client::HttpClientFactory::Create();
|
||||
@@ -312,7 +312,7 @@ TEST_F(BasicCurlHttpTests, CurlHttpOperations)
|
||||
delete handler;
|
||||
}
|
||||
|
||||
-TEST_F(BasicCurlHttpTests, SendGetRequestSync)
|
||||
+TEST_F(BasicCurlHttpTests, DISABLED_SendGetRequestSync)
|
||||
{
|
||||
received_requests_.clear();
|
||||
curl::HttpClientSync http_client;
|
||||
@@ -337,7 +337,7 @@ TEST_F(BasicCurlHttpTests, SendGetRequestSyncTimeout)
|
||||
result.GetSessionState() == http_client::SessionState::SendFailed);
|
||||
}
|
||||
|
||||
-TEST_F(BasicCurlHttpTests, SendPostRequestSync)
|
||||
+TEST_F(BasicCurlHttpTests, DISABLED_SendPostRequestSync)
|
||||
{
|
||||
received_requests_.clear();
|
||||
curl::HttpClientSync http_client;
|
||||
@@ -365,7 +365,7 @@ TEST_F(BasicCurlHttpTests, GetBaseUri)
|
||||
"http://127.0.0.1:31339/");
|
||||
}
|
||||
|
||||
-TEST_F(BasicCurlHttpTests, SendGetRequestAsync)
|
||||
+TEST_F(BasicCurlHttpTests, DISABLED_SendGetRequestAsync)
|
||||
{
|
||||
curl::HttpClient http_client;
|
||||
|
||||
@@ -439,7 +439,7 @@ TEST_F(BasicCurlHttpTests, SendGetRequestAsyncTimeout)
|
||||
}
|
||||
}
|
||||
|
||||
-TEST_F(BasicCurlHttpTests, SendPostRequestAsync)
|
||||
+TEST_F(BasicCurlHttpTests, DISABLED_SendPostRequestAsync)
|
||||
{
|
||||
curl::HttpClient http_client;
|
||||
|
||||
@@ -478,7 +478,7 @@ TEST_F(BasicCurlHttpTests, SendPostRequestAsync)
|
||||
}
|
||||
}
|
||||
|
||||
-TEST_F(BasicCurlHttpTests, FinishInAsyncCallback)
|
||||
+TEST_F(BasicCurlHttpTests, DISABLED_FinishInAsyncCallback)
|
||||
{
|
||||
curl::HttpClient http_client;
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="The OpenTelemetry C++ Client"
|
||||
HOMEPAGE="
|
||||
https://opentelemetry.io/
|
||||
https://github.com/open-telemetry/opentelemetry-cpp
|
||||
"
|
||||
SRC_URI="https://github.com/open-telemetry/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="+jaeger prometheus test"
|
||||
|
||||
RDEPEND="
|
||||
net-misc/curl:=
|
||||
dev-libs/thrift:=
|
||||
dev-libs/boost:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-cpp/gtest
|
||||
dev-cpp/benchmark
|
||||
)
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
# remove tests the need network
|
||||
"${FILESDIR}/opentelemetry-cpp-1.5.0-tests.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local -a mycmakeargs=(
|
||||
-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON
|
||||
-DBUILD_SHARED_LIBS:BOOL=ON
|
||||
-DBUILD_TESTING:BOOL=$(usex test)
|
||||
-DWITH_JAEGER:BOOL=$(usex jaeger)
|
||||
-DWITH_PROMETHEUS:BOOL=$(usex prometheus)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST tllist-1.0.5.tar.gz 7022 BLAKE2B c0c6db1682d6ab408c43c434ffc8e58d2cc4076121e8c11e2612678af12faa93661dcb547371bbeca4f78c1b7c99843ae9cbff8ab4e2389ce1c395f0e65e66cd SHA512 e8d55a727de56956c6823297e92ba4656292096ece7d22f3d8834b86811ede9b2fdca580bea55e0beda35322f418140357770592d85c0c07ea09c1642c7ff1e9
|
||||
DIST tllist-1.1.0.tar.gz 7639 BLAKE2B 7561be89cab09a33a9835bbd060070761ac740ea27b9b3eecc3681bf799b2b98db81ddc13465704fb5b46f474b74605042449de272ab3cd22827471a98331c5a SHA512 9aade353a3ce4edf5ddc4ef85c1926343d9f88c9c8ee3994f0df89eefeb3b3e0ab168cf0c9a2ca4a858215c2a328462d4b5bf182134b5deb3b3a0e15af4006fe
|
||||
|
Binary file not shown.
@ -0,0 +1,34 @@
|
||||
# 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..11} )
|
||||
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
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST audioread-2.1.9.tar.gz 377500 BLAKE2B a90d1d7531c265a8c2b7933ac0bfc00fbdf298546620fef3ccae0204fc1eedcc584bf2fdb79b1bbda81b29d03346abc236cd0234684ba3cc70642f837033ab99 SHA512 ad2260b6931cfeebb815d48221366a2a5d8095965ff18e94c5eb0809d9a1b02e650a62ad5e895b7f1e003771fa3babf56f59ce4538aca78b678566fd28327290
|
||||
DIST audioread-3.0.0.tar.gz 377038 BLAKE2B fc81bb2459b5cb5e028abb7c6c963c9d731cc90f79108a40b5aafc88ff6e3c09d23d7ac1555566d2360d22015d75ebead6beb72022b1e0e654fe469a75a5ddd9 SHA512 c9f1e5206df998ad9d112dd4b75ae41cde01271485eed27f62feed89c5ca36d4bbce7a888498d3c20d85e8b50de6ef263f795eec164c4bd348d83535b66c38ae
|
||||
|
@ -0,0 +1,42 @@
|
||||
# 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..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Wrapper for audio file decoding using FFmpeg or GStreamer"
|
||||
HOMEPAGE="
|
||||
https://github.com/beetbox/audioread/
|
||||
https://pypi.org/project/audioread/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ffmpeg gstreamer mad"
|
||||
|
||||
RDEPEND="
|
||||
ffmpeg? (
|
||||
media-video/ffmpeg
|
||||
)
|
||||
gstreamer? (
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
media-libs/gstreamer:1.0
|
||||
media-plugins/gst-plugins-meta:1.0
|
||||
)
|
||||
mad? (
|
||||
dev-python/pymad[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pymad[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -0,0 +1,68 @@
|
||||
# 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..11} )
|
||||
|
||||
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/boto3/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.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.6.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)"
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
# 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..11} )
|
||||
|
||||
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="
|
||||
https://github.com/boto/botocore/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.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}]
|
||||
)
|
||||
"
|
||||
|
||||
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)"
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST docutils-0.17.1.tar.gz 2016138 BLAKE2B aa0b6525ba2e3eaebc17010806952ed5f40919876fcb813f50cc05b628dfd22e6073a9a4b2bfe989089ae68d9b7111ae3a97dda2bde5c0536f8fb76c0942fe29 SHA512 5ec2087116bd5356fdffc54f07f6b0355aac5fa9d6caeefa77e8d201fd4706c0d419193c4d9a3964ae493da3091fe2c7dc36b74f81a1e1b9282173658b06e71b
|
||||
DIST docutils-0.18.1.tar.gz 2043249 BLAKE2B 3959199236baade9601d61c3f6d7b6f840fbefdd46d9ea05869fde2cd2c800356a01faba891f51e220c85e66f3029f49f616f2046b85041b674c64825a4242ec SHA512 44404a6cc9d4c1e79c73a6ffee2898e459c9925ab9661e5d41394e13b3d861334cf0c5efcd18e87eb03041374e326cfd00539a6b2ec5979678889e8a536c9542
|
||||
DIST docutils-0.19.tar.gz 2056383 BLAKE2B 9983a905642de4e81ca118578671b503ddfda4bef1afcc0524de40543e1f9617fd8d768ef467da49d2f01076683400bad6a0fe15f6b5a3a1e202c42b2e34ab1b SHA512 fb904a899f2b6f3c07c5079577bd7c52a3182cb85f6a4149391e523498df15bfa317f0c04095b890beeb3f89c2b444875a2a609d880ac4d7fbc3125e46b37ea5
|
||||
|
@ -1,77 +0,0 @@
|
||||
# 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..11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python Documentation Utilities (reference reStructuredText impl.)"
|
||||
HOMEPAGE="
|
||||
https://docutils.sourceforge.io/
|
||||
https://pypi.org/project/docutils/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2 GPL-3 public-domain"
|
||||
SLOT="0"
|
||||
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"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-py311.patch"
|
||||
)
|
||||
|
||||
python_compile_all() {
|
||||
# Generate html docs from reStructured text sources.
|
||||
|
||||
# Place html4css1.css in base directory to ensure that the generated reference to it is correct.
|
||||
cp docutils/writers/html4css1/html4css1.css . || die
|
||||
|
||||
cd tools || die
|
||||
"${EPYTHON}" buildhtml.py --input-encoding=utf-8 \
|
||||
--stylesheet-path=../html4css1.css, --traceback ../docs || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd test || die
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" alltests.py -v || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
# Install tools.
|
||||
python_doscript tools/{buildhtml,quicktest}.py
|
||||
}
|
||||
|
||||
install_txt_doc() {
|
||||
local doc="${1}"
|
||||
local dir="txt/$(dirname ${doc})"
|
||||
docinto "${dir}"
|
||||
dodoc "${doc}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( *.txt )
|
||||
local HTML_DOCS=( docs tools docutils/writers/html4css1/html4css1.css )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
local doc
|
||||
while IFS= read -r -d '' doc; do
|
||||
install_txt_doc "${doc}"
|
||||
done < <(find docs tools -name '*.txt' -print0)
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST ecdsa-0.17.0.tar.gz 158486 BLAKE2B 45a27aaf362853bd39052a78a7f86b6d2fd220c165724b088cc5285977013b354f5373bcf8295258e9121da2fe6a4b79625afbc097cca756c688afbd542f647c SHA512 23acf993ce4f7f832674a3b70ab870c20172816e27adc836d4c6a876e72a488a830895d63ab6af67cc7cbc83c71f7097d0d530bf67d24c84e69e9fa87031f6fd
|
||||
DIST ecdsa-0.18.0.tar.gz 197938 BLAKE2B d4f55591d58a998e69c070983d6cc45720677f83dc6149bd95938c79391df85fe5ce8fe059e961d23b8334d9ac4ef4972bff91a6e9537affc9ddd75c7cbce4f7 SHA512 f26dbeccd8e6ec832405d419b7244ca97b43a2811513493913a4f2f2fd1d2f453068fe0ba7b90b972f42a0d7b9834212fbd4d4559475cffeb1d80075fa954d78
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="ECDSA cryptographic signature library in pure Python"
|
||||
HOMEPAGE="https://github.com/tlsfuzzer/python-ecdsa/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/gmpy[${PYTHON_USEDEP}]
|
||||
' 'python*')
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/hypothesis[${PYTHON_USEDEP}]
|
||||
dev-python/pluggy[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,3 +1,4 @@
|
||||
DIST elementpath-2.5.3.gh.tar.gz 264387 BLAKE2B a0904e95675570783f2f8bf854490a3f424d6ce0fa85e3c2030483e9c31af4a5eaaf727db6423e17a402f55e7d42b0625a5183b543f886ec8b12426eb0e57a57 SHA512 da561446ac3a059c60480084648ebc1190d0ec1dc495dfa128dc2598d5762ae1067f39be36fc6bca466e6785aae80edf6dc1415a2885bfbb2d54b97ca6611572
|
||||
DIST elementpath-3.0.0.gh.tar.gz 271802 BLAKE2B c766ab1654b89b6a1b09ed7273a65aa25bcad0e8f8188c50d2f85d852672ac650b6cee3411839f915b0fe46915bbe6c17269f0218f0de27b51e4bd48b9218c20 SHA512 171d5e19e3efeb0b80cd1dcca7a0604fff2a87a52db4570d2182ff155aaef5074517d1ee89992ea1937746481a10fdd62f317672fa7ad5014e64dc73fc39ffaf
|
||||
DIST elementpath-3.0.1.gh.tar.gz 272163 BLAKE2B dc3b46e9c01af57f6456b71062cc38cab1fb73aa3d272907b96a7144c8329a3b6925b804d7929662e083ec7f50889eb488f075a4155bb934939d6750aae29901 SHA512 bac73a3c9051fe556e47e0ac530fe45e7a66fb66c8fe51fc12d36d9f4f87d62ca28662bdafbdae68b867048fcb8a51d312b5294328f4df259d7d4d63ca35af4d
|
||||
DIST elementpath-3.0.2.gh.tar.gz 275843 BLAKE2B b5e51971dbbcf68f6199ecf8d3270d2ed06732e3d1abc07d768127bc8a4cef4096fe3e6fe97606bde6d229753a942abd6c0019708f86e8a9931bc902bc8f48ef SHA512 46392cece136bd6e73285333b14a00ebbebcca70c7df42cd04021225207593ef33337fd468c12f089030f2a8adc1251660ebf762aa17f82b2f26ba902d6e89d2
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="XPath 1.0/2.0 parsers and selectors for ElementTree and lxml"
|
||||
HOMEPAGE="
|
||||
https://github.com/sissaschool/elementpath/
|
||||
https://pypi.org/project/elementpath/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/sissaschool/elementpath/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/xmlschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
# fails for some reason, more fit for upstream testing anyway
|
||||
rm tests/test_typing.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST pip-22.2.2-py3-none-any.whl 2044706 BLAKE2B 254427e593e44d9f1ce48276fd40f214e8ca9d27b6c31b7a6ed5fa4566df6b1f723215c6a1766a534ce18174f2363c383dbff19368d1b89f1519a53bebd34215 SHA512 142d3144c14b692c645613d98bf35dd91193128d5e21b61a8a702548f1247fac662499d6e39b65c0aa9a0444d2d92983fd8c410439796626485a4e1be99a102f
|
||||
DIST setuptools-63.4.2-py3-none-any.whl 1230330 BLAKE2B 8190129907edb6a5a3607fc8caae995070d5740c849cd31510efa43271fddd58c5c21cb1d60a4647473b10ba90a6220e06db92413847cbf71e11e43571def2ab SHA512 8b2a56c840220c616a13ec19b424981b9767f4e39b98a3ba0b99904beb63f4d6d6c28ada37a25d482c1838063ccd09d260b12cc7d00aeca78b95cde49928211e
|
||||
DIST setuptools-63.4.3-py3-none-any.whl 1230380 BLAKE2B e8959efcfdd53e163a49605f4abada5b3571a6511b5859aa73546ad317255fac03b5a38bfc7945cf10cc589f692a7a44de0a12b3d8107782ff6fcd80d0f521b6 SHA512 0c1df89ed0d6bfb368eb8ef211663de5d5fdefc89bb43e23bd639e18b5362d34b90c4be3212c64cda7308109e626991410204c761b949a0f04ae8fe1f86056a5
|
||||
DIST setuptools-64.0.3-py3-none-any.whl 1247789 BLAKE2B 60d7917c7c3d467ba8112ac596fb8558c259b7c1e39cf956694e4b0238bbcc5f2ad64aa3234f94614f9f05dcd67968428f2660ecec1de86b46be1f70d9df82e3 SHA512 081b9c024e469c976978cd60ce2e6c5019ff275035b6807629755fc1560a19892e37fd0ee81ff11b28190e861d732d69e08ea9d928f1910cd4e0db957ae6fcc8
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
SETUPTOOLS_WHL=setuptools-$(ver_cut 1-3)-py3-none-any.whl
|
||||
PIP_WHL=pip-$(ver_cut 4-)-py3-none-any.whl
|
||||
|
||||
DESCRIPTION="Shared wheels for ensurepip Python module"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/pip/
|
||||
https://pypi.org/project/setuptools/
|
||||
"
|
||||
SRC_URI="
|
||||
https://files.pythonhosted.org/packages/py3/p/pip/${PIP_WHL}
|
||||
https://files.pythonhosted.org/packages/py3/s/setuptools/${SETUPTOOLS_WHL}
|
||||
"
|
||||
S=${DISTDIR}
|
||||
|
||||
# combined license of setuptools and pip (with its bundled deps)
|
||||
LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/lib/python/ensurepip
|
||||
doins "${PIP_WHL}" "${SETUPTOOLS_WHL}"
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST Flask-2.1.2.tar.gz 631846 BLAKE2B 9024a12dd6fabeffcf5939e2852734b278f25fb99830bb165cf46a09e3fd67d0997558d1b06a0dec3425d9b750be25bde147341c937e874811fe2496224a1f3e SHA512 65ca756d63da05e74863fbfd2ae574d6e75d6fab683dd08ea97b22a9b27be4f9a03ce7be44312a1f2c6a802bdf77ede3899734f3f1546000dd8b9c592571deec
|
||||
DIST Flask-2.1.3.tar.gz 630206 BLAKE2B 83c876fe94d2cb1b35677227214664b35b6908270097d3ef0e1150a7259cdce82fb91fa6ba7cc90e819623bb9cc79f8254cc5688c6dd1e1dedaa673f23591bfb SHA512 6289bcaa295265c501fda1292b496911768525acf4155c856e14479a213aec4ca50a45ddd81b30ccd31fd684da1942ec10400f2dc8280ceff6ded9baf55494e5
|
||||
DIST Flask-2.2.1.tar.gz 687433 BLAKE2B 9d5fbc6827110882c64102f596b1d272bf5b16fd5540eedf0bad52f4456b54c3ab53e474ec74bb0e7d3cc7cfc26a22d19fd908d0973b94e64b47ee3a66c5a4e6 SHA512 845857cd6441e935a5274f362708c1e84654f757b0412bb57dd1235943d1d0562b081b53e77920ab9891bbe6810a06f7564e828cda472844413f7a1249335d1a
|
||||
DIST Flask-2.2.2.tar.gz 677389 BLAKE2B a7385c619dee7c25538a69bc514393c6efa2ee3cbd8394cde28c64a41d7252b4f12896728bf76a4b8bf5247cf19614bd9b8f94d7d82f22a6a8073011286758fc SHA512 d330398829cb0393e07a4dcf495a3939f0e8f7962c0a517fc866d333425dffe1ce8fd26e39a40445259028d46eff4566e97b3f5eba0d6bddf14b9d7bac138945
|
||||
|
@ -1,63 +0,0 @@
|
||||
# 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..11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions"
|
||||
HOMEPAGE="
|
||||
https://palletsprojects.com/p/flask/
|
||||
https://github.com/pallets/flask/
|
||||
https://pypi.org/project/Flask/
|
||||
"
|
||||
MY_PN="Flask"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/click-8.0[${PYTHON_USEDEP}]
|
||||
dev-python/blinker[${PYTHON_USEDEP}]
|
||||
>=dev-python/itsdangerous-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/werkzeug-2.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/importlib_metadata-3.6.0[${PYTHON_USEDEP}]
|
||||
' 3.8 3.9)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/asgiref-3.2[${PYTHON_USEDEP}]
|
||||
!!dev-python/shiboken2
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/pallets-sphinx-themes \
|
||||
dev-python/sphinx-issues \
|
||||
dev-python/sphinx-tabs \
|
||||
dev-python/sphinxcontrib-log_cabinet
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
epytest -p no:httpbin
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && dodoc -r examples
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST freezegun-1.2.1.tar.gz 29740 BLAKE2B 780b0573602df157b9b195c3fbd76c81c893a4558355bdf26661f8ec1fb4b6a265c0b684f1c812a6a52ca7beed4dd36b1cc0fb675acf3c7e10a8e264ad0a3b6d SHA512 5f8334a66dc33cbffa8f22d41e101d66c99a1ac4b7a0c24ee6da62b58dab2b0b340ade48b8dd0020d4fb4cb6e082071869a2757bbd05eff703f66f167050d4e1
|
||||
DIST freezegun-1.2.2.tar.gz 30670 BLAKE2B 88941ccd9694c842e4999da47e1a8fbe9b82c1fa512467de174715e627c213167cf3c7f943b35d039ff118bae9d1bca4b64ceaa5683db818727cd9ad2533a827 SHA512 c6dc3da66a2d3063f819a104b6bc98eb3d4b772b8edb06bde130a6e355d96e1861e650c44eb691be892223150a652a528fda4237bd77b1bdcee1fcfad74f307c
|
||||
|
@ -0,0 +1,37 @@
|
||||
# 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..11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Let your Python tests travel through time"
|
||||
HOMEPAGE="
|
||||
https://github.com/spulec/freezegun/
|
||||
https://pypi.org/project/freezegun/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
>dev-python/python-dateutil-2.7[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
$(python_gen_impl_dep sqlite)
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
PATCHES=(
|
||||
# https://github.com/spulec/freezegun/issues/396
|
||||
# https://github.com/spulec/freezegun/pull/397
|
||||
"${FILESDIR}"/${PN}-1.1.0-py310.patch
|
||||
)
|
@ -1,3 +1,3 @@
|
||||
DIST hatch-hatchling-v1.4.1.gh.tar.gz 229194 BLAKE2B 9d7b11244ce67d64a05f4a737966a8f037031275ae5b2ecde395c172232eb5bbf0f38df4f0048c6732641bafbf524670bc1e6dd9d441cc4297ef74126b56971b SHA512 b8dc8dfdc7e251cad4161f59acc724122f8f7083a1ce170722b7b5c31ccf22488e3871be76ea3fad058be2cce263752099c9b548759e16ba644daaba0eca63ba
|
||||
DIST hatch-hatchling-v1.5.0.gh.tar.gz 232265 BLAKE2B 4fd57f7610831a025b9b0dddb89c4fe484d32d0b76a2d0cdafb76730b37c54af42ef27dc1c4d73061d888ce75806bd8f0fc70f5d39a077bd534716cf4e4a4db8 SHA512 9e5498b9da3a1f756e0f3e40daa63e45017588332da4197ac83b8402219bb9501b9c498dd881c5812b2b8903af591e4c6146aaf6dea8cc7b6bc664a85dee74e6
|
||||
DIST hatch-hatchling-v1.6.0.gh.tar.gz 233428 BLAKE2B 5ce5a2a94c9021919f50f90a96f37713a739fe08e1d6a5955a3af369d6c37beece1a4c22b1883e689e500f219101fb67a700231b8d0d22432150b34a6cee22bd SHA512 be23b81cca96cb93321938e0ac7455efc2e388e910c1b64a7d611a37681b5bd6aa89c4fe165a7a2f7ce2dd11ea3598aaeaaab80869e689aac0afdce915b8f567
|
||||
DIST hatch-hatchling-v1.7.0.gh.tar.gz 249253 BLAKE2B a294b87172b16bda86a90f2d9577bfa7ea9bc21e6644006cb141b762df96bb62e7e828e1c147c6409e6b7278a0bd00cb6ee67d01b203dec110fc272cfae6fd92 SHA512 6a3c807674891ff23ca0b2f00e62900e9e4752888cf6c8647ac20ec6b76a13c23e17a52989d4661d03bed3e33e682a09b877ae6c99bfc707a28ddde754ea9386
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
CLI_COMPAT=( python3_{8..10} )
|
||||
PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 )
|
||||
PYTHON_REQ_USE="threads(+),sqlite"
|
||||
|
||||
inherit distutils-r1 multiprocessing optfeature
|
||||
|
||||
TAG=hypothesis-python-${PV}
|
||||
MY_P=hypothesis-${TAG}
|
||||
DESCRIPTION="A library for property based testing"
|
||||
HOMEPAGE="
|
||||
https://github.com/HypothesisWorks/hypothesis/
|
||||
https://pypi.org/project/hypothesis/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/${MY_P}/hypothesis-python"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="cli"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}]
|
||||
' 3.8 3.9 3.10)
|
||||
cli? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/black[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
' "${CLI_COMPAT[@]}")
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
# subtests are broken by warnings from random plugins
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin
|
||||
|
||||
epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
|
||||
rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "datetime support" dev-python/pytz
|
||||
optfeature "dateutil support" dev-python/python-dateutil
|
||||
optfeature "numpy support" dev-python/numpy
|
||||
optfeature "django support" dev-python/django dev-python/pytz
|
||||
optfeature "pandas support" dev-python/pandas
|
||||
optfeature "pytest support" dev-python/pytest
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST jaraco.classes-3.2.1.tar.gz 12286 BLAKE2B c96162ecda1ca3e546b58ab147ea5b080f03e3570d6d59fe7372aeff290c683b68abad6560d7ebf57662009e4d9d8d9a6c1d768ba86e4bd24568794fdedf0534 SHA512 4c85cfdd1da88de01596867365147be6cadd7e1d230798683236fdfde579747e3309aac95ae4f3ef86c91bb4493f3096c4ecc14e3db764ef308aab41ead88e23
|
||||
DIST jaraco.classes-3.2.2.tar.gz 9266 BLAKE2B fa9bd77cf02e46617e4f5dc414ee081b60f3c3a4b220e75df366c8efb42a2eecccf688e6a43cd39deb1642df06554484fab9d9209d567dd0ffa53b5e94b913cc SHA512 56eaf8420f0319137ecae04c61e5a866909b83d3638343ea45ed3739524c8314bb6aac7ee9b5f899e2a1a5238c2caeaa971ed1cd0dbd28d9ac01ad6716549deb
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3 python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="${P/-/.}"
|
||||
DESCRIPTION="Classes used by other projects by developer jaraco"
|
||||
HOMEPAGE="
|
||||
https://github.com/jaraco/jaraco.classes/
|
||||
https://pypi.org/project/jaraco.classes/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/.}/${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs \
|
||||
">=dev-python/jaraco-packaging-3.2" \
|
||||
">=dev-python/rst-linker-1.9"
|
||||
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