parent
a39ef04f26
commit
0ea617facf
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST dar-2.6.13.tar.gz 2148732 BLAKE2B 51de01793dead832209671569f8054b1de3b5fa810c786ae675207b6dc3e639a5c036896e1688e017b222fbaa6c011494a9d43b3bb2b16570a38e291f893b73f SHA512 f0f853db6e15f5abfabf87be06a1c374662c7fa7e1140eaaeef3e8c8c4d0049a00a8e74409d6805ea3ae5b2f3171f2eba27459e8acb4438c467c4f0bd0825c0c
|
DIST dar-2.6.13.tar.gz 2148732 BLAKE2B 51de01793dead832209671569f8054b1de3b5fa810c786ae675207b6dc3e639a5c036896e1688e017b222fbaa6c011494a9d43b3bb2b16570a38e291f893b73f SHA512 f0f853db6e15f5abfabf87be06a1c374662c7fa7e1140eaaeef3e8c8c4d0049a00a8e74409d6805ea3ae5b2f3171f2eba27459e8acb4438c467c4f0bd0825c0c
|
||||||
DIST dar-2.6.14.tar.gz 2148023 BLAKE2B 36653d798d1da9cd87e84d2301b9f1fd657e92d1eee91ec1efadb54e94638860103c5e509479a2da846d432328e0a93ae92e1a4d23b6956ca55341ef767fe9a8 SHA512 2b116929fcc192ffee0c266959902b45dc9982ba77e017b3217715e0c63d1574d64083ca55a63e0bb6390e8955c41ca8b09da63934826fe4f0471a63ea739550
|
DIST dar-2.6.14.tar.gz 2148023 BLAKE2B 36653d798d1da9cd87e84d2301b9f1fd657e92d1eee91ec1efadb54e94638860103c5e509479a2da846d432328e0a93ae92e1a4d23b6956ca55341ef767fe9a8 SHA512 2b116929fcc192ffee0c266959902b45dc9982ba77e017b3217715e0c63d1574d64083ca55a63e0bb6390e8955c41ca8b09da63934826fe4f0471a63ea739550
|
||||||
|
DIST dar-2.7.0.tar.gz 2285856 BLAKE2B 194e9fe2345bdccdb053996b109fe4efb886e23b69d440f7ac2b545c1ce2f241c7f24c56d7b68bde904b8e1a85df20716b63068a6c471c71a7569921eb06aa1f SHA512 0e207c244f6700860a84217069774162b7b56c95e5c0955813fbd96d37a3fe1fa126cab05bab0a21b3e9eab335c10961daf243024fdc35f6276468bd549d49cb
|
||||||
|
@ -0,0 +1,90 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit flag-o-matic
|
||||||
|
|
||||||
|
DESCRIPTION="A full featured backup tool, aimed for disks"
|
||||||
|
HOMEPAGE="http://dar.linux.free.fr/"
|
||||||
|
SRC_URI="mirror://sourceforge/dar/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux"
|
||||||
|
IUSE="argon2 curl dar32 dar64 doc gcrypt gpg lzo nls rsync threads xattr"
|
||||||
|
|
||||||
|
RESTRICT="test" # need to be run as root
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
app-arch/bzip2:=
|
||||||
|
app-arch/xz-utils:=
|
||||||
|
sys-libs/libcap
|
||||||
|
>=sys-libs/zlib-1.2.3:=
|
||||||
|
argon2? ( app-crypt/argon2 )
|
||||||
|
curl? ( net-misc/curl )
|
||||||
|
gcrypt? ( dev-libs/libgcrypt:0= )
|
||||||
|
gpg? ( app-crypt/gpgme )
|
||||||
|
lzo? ( dev-libs/lzo:= )
|
||||||
|
rsync? ( net-libs/librsync:= )
|
||||||
|
threads? ( dev-libs/libthreadar:= )
|
||||||
|
xattr? ( sys-apps/attr:= )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
doc? ( app-doc/doxygen )
|
||||||
|
nls? (
|
||||||
|
sys-devel/gettext
|
||||||
|
virtual/libintl
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRED_USE="?? ( dar32 dar64 )
|
||||||
|
gpg? ( gcrypt )"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# configure.ac is totally funked up regarding the AC_ARG_ENABLE
|
||||||
|
# logic.
|
||||||
|
# For example "--enable-dar-static" causes configure to DISABLE
|
||||||
|
# static builds of dar.
|
||||||
|
# Do _not_ use $(use_enable) until you have verified that the
|
||||||
|
# logic has been fixed by upstream.
|
||||||
|
local myconf=(
|
||||||
|
--disable-dar-static
|
||||||
|
--disable-python-binding
|
||||||
|
--disable-static
|
||||||
|
--disable-upx
|
||||||
|
$(usex argon2 '' --disable-libargon2-linking)
|
||||||
|
$(usex curl '' --disable-libcurl-linking)
|
||||||
|
$(usex dar32 --enable-mode=32 '')
|
||||||
|
$(usex dar64 --enable-mode=64 '')
|
||||||
|
$(usex doc '' --disable-build-html)
|
||||||
|
$(usex gcrypt '' --disable-libgcrypt-linking)
|
||||||
|
$(usex gpg '' --disable-gpgme-linking)
|
||||||
|
$(usex lzo '' --disable-liblzo2-linking)
|
||||||
|
$(usex nls '' --disable-nls)
|
||||||
|
$(usex rsync '' --disable-librsync-linking)
|
||||||
|
$(usex threads '' --disable-threadar)
|
||||||
|
$(usex xattr '' --disable-ea-support)
|
||||||
|
)
|
||||||
|
|
||||||
|
# Bug 103741
|
||||||
|
filter-flags -fomit-frame-pointer
|
||||||
|
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
|
||||||
|
|
||||||
|
# Bug 729150
|
||||||
|
rm "${ED}/usr/share/doc/${PF}/html/samples/MyBackup.sh.tar.gz" || die
|
||||||
|
}
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
DIST tpm2-pkcs11-1.5.0.tar.gz 1355121 BLAKE2B 9c00deb62bf30e22ef346bcdf951252913709f6c953f45e68df35cea434e55f79a960fea16aaa46794650c0cceaf979f4250af8cc835e48f34aca5b2306f2685 SHA512 999adf3ea031dfbb0eadefbd6b2c5457bff738bad231efa70218032f851fe5ba466e37bdf47b5bce380c378b97e88b2a76c9b59a264db5c5f380a9ba3cce58a0
|
DIST tpm2-pkcs11-1.6.0.tar.gz 1370370 BLAKE2B 5dd8c587688a26958e8406366ce14cdadc9d2279f01276037df3895f49f835bd021b96da2c7399881e23527c79c45d25417b57acfb961f934f29d785dacf87f7 SHA512 db94b2194837564fa330ac7cc15a5185258d5d632f033a60fa82a2b3246e046dac29b6dfece19b4e075383e999ac157286c7f18f6c5ab6a98dd01c8e810065ea
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
|||||||
DIST prometheus-2.26.0.linux-amd64.tar.gz 65155818 BLAKE2B 1b7b9fec806e9f567da5cd3024ccbf787f75e023318609beb770d7771cd2ecfde473b39961783138da4edb5f5dd235a73a22a7e31f0cda23f16a59049239a85a SHA512 820bebe268cd3c5d1c84ecee62db37d4aa394e61870f0e15b4f8820726e1e8d06d05db79d7827d5d3a9c5f205e1970bfc8f06b63184f2792297a665adcf76d5d
|
DIST prometheus-2.26.1.linux-amd64.tar.gz 65179092 BLAKE2B 631dfbaf9d8553297bd763b2a1ce7cb97d66ec90bff126466868a59b0a0fe074fc13866e2c99f085c7257c3047ab4105f16508c1397de76a1420b4df0b203455 SHA512 53cbbef86204973a01e0d20b287cdbe2c1743dc2add0449d10da55dd3fbed95eaa5beb0a2cd08b4a33fb1825440c91633ef7680616d89838868216fafcd27c55
|
||||||
DIST prometheus-2.27.0.linux-amd64.tar.gz 69496978 BLAKE2B 73c343c21b885382441d200aa42327d30446f0d577dc6875b8c8bad44cbafcf54868e3ee60aaa01273a1c8a53a94eef02477d3ffc1a33fbc08b0e65b6d45355d SHA512 6771211abc5c4ad78ef7243e8920cf57e17eaaa19496b72f634175e911b61597ed8e0c70ef88a82fb727b75bda6e4393b13d0950bfb6073feb0a0ef5352712b0
|
DIST prometheus-2.27.1.linux-amd64.tar.gz 69491886 BLAKE2B 7739bd6d84570d4d0db987a0b027ba875728245ded5fac17f89adddfd9b14543cd9594664a8d42392a7a018477ece69ac47367f03442c0f5b11a1e76140ad7c6 SHA512 df43385e178f698806181ab67db0b75600d356c7792f2dcfe6e3390a8a7b449f180ea8fccbc58c10ad0118cea1ba8d5664676de9741e5f91a1a4ec897baeb88f
|
||||||
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,27 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7..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-python/text-unidecode-1.3[${PYTHON_USEDEP}]
|
||||||
|
!dev-ruby/faker"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||||
|
dev-python/random2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/validators[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST awscli-1.19.3.tar.gz 1950305 BLAKE2B de9e11c2de811dea812e77a18dc9306044840ea586094cf57602cf4255723a7d94a20de414f8674d1ed6af2eed523024f61719299a3efcc492380d5d80c75575 SHA512 1034b82a9f1f0e92ae65bd28918f6f4422b0347435b4d2567b5004c370cbe1517d7fe275b672afd850ef6b99bee6f0b821097640a482626c800d19d095f42072
|
|
||||||
DIST awscli-1.19.47.tar.gz 1990843 BLAKE2B c894aaf84d5fe7cb8998fcd682783a1f2e75dd9273a2aa22babe4d57175a1716aefccda50edb96a1203f010dbb2af29cd47d43b5d5f94adfdee1730ab98345af SHA512 7d51022e13609f5f5ab3155e3ac09670c7e49508d67eca8cb477e556e4b06b7643e86bdfe5fa8db59360f6d73e5774b433cb7093c25d6b688f98847b502872b7
|
DIST awscli-1.19.47.tar.gz 1990843 BLAKE2B c894aaf84d5fe7cb8998fcd682783a1f2e75dd9273a2aa22babe4d57175a1716aefccda50edb96a1203f010dbb2af29cd47d43b5d5f94adfdee1730ab98345af SHA512 7d51022e13609f5f5ab3155e3ac09670c7e49508d67eca8cb477e556e4b06b7643e86bdfe5fa8db59360f6d73e5774b433cb7093c25d6b688f98847b502872b7
|
||||||
|
@ -1,56 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm64 x86"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
# requires network access
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
=dev-python/botocore-1.20*[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
nosetests -vv || die
|
|
||||||
}
|
|
||||||
|
|
||||||
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,5 +1,2 @@
|
|||||||
DIST bitarray-1.7.1.tar.gz 58441 BLAKE2B f09fa3ffe2cc6534984e9da05ddff767dcca59075f5f08977237eab592a8e3e28ebec2d2bde89a21bba14f4c59a5e0411be50abfe562ebfbaaeca01339786dec SHA512 f45461699f5e48b97001c64c514cdafe208fe31f7cf6c211aa0fb2f32d46028717fcbeb38b812bc8f349226537a3ec6dfec97bc7ecf7253d484332307504abd0
|
|
||||||
DIST bitarray-1.9.2.tar.gz 69814 BLAKE2B 7fbe6acf844c35101881216a771729a232ba022fbc0c82c3445c21de2bdba3fa62693109b45b928abbf81ab14442e329ae016cfc703cdeb9d868b5b6146447e1 SHA512 25c0135c166f5d5b8de8448f95b12ae56a10ed5154c6e06bafdc47523cf382da30797c12797692e61b27b1a26104dfac58b08ccf5a1917bf26c7dc4a32da795c
|
|
||||||
DIST bitarray-2.0.0.tar.gz 70098 BLAKE2B 3189ca9bc7bb5c765994d85c827e30019d33ecf062fa0aae0158487c61c1bd4316e094ca35276b4f59a55049035bec68b37ca349bed18e27dbd666b7816fdb1a SHA512 564b80b2e22cc04df0b6a2a48a594d0891aecd77cc6644c10bfea9db241cb6f8c92f87be98d1055ba2a71749721f1de6c591794623a5201aed0bded6909dff41
|
|
||||||
DIST bitarray-2.0.1.tar.gz 69368 BLAKE2B 4acc490998e058e3882db2d58ad80b8c275999f49a7a76604091beae8015e7290691f6b34947c3376795b9dc5643592ab7fd09ef5a482a29e4e154616926e444 SHA512 091a0e7b1ddbdb804241eb4f51c9167dcfefb55d5bcef1eaa617ac77593a58113b47f57be83ceed47a91bc5d8d15a8a2e6053a10243323b9f7c0908444ab03af
|
DIST bitarray-2.0.1.tar.gz 69368 BLAKE2B 4acc490998e058e3882db2d58ad80b8c275999f49a7a76604091beae8015e7290691f6b34947c3376795b9dc5643592ab7fd09ef5a482a29e4e154616926e444 SHA512 091a0e7b1ddbdb804241eb4f51c9167dcfefb55d5bcef1eaa617ac77593a58113b47f57be83ceed47a91bc5d8d15a8a2e6053a10243323b9f7c0908444ab03af
|
||||||
DIST bitarray-2.1.0.tar.gz 71169 BLAKE2B 8d82d49ac309605d989d29d492dbb94dd59c633f0987220ed28bbca7d2c3b0c4566ce147d0f65893c5dfaf1c2f702870d95181dfaa969050e13bcd4a9664ef51 SHA512 e91200b8829b63f297a1882fab293ac007991740a739587ba473abce183aa79a85e08db8a0fca5729b6e1d3e130965b2f14dc40acccf12d3231852498e2fb141
|
DIST bitarray-2.1.0.tar.gz 71169 BLAKE2B 8d82d49ac309605d989d29d492dbb94dd59c633f0987220ed28bbca7d2c3b0c4566ce147d0f65893c5dfaf1c2f702870d95181dfaa969050e13bcd4a9664ef51 SHA512 e91200b8829b63f297a1882fab293ac007991740a739587ba473abce183aa79a85e08db8a0fca5729b6e1d3e130965b2f14dc40acccf12d3231852498e2fb141
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=no
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="efficient arrays of booleans -- C extension"
|
|
||||||
HOMEPAGE="https://github.com/ilanschnell/bitarray https://pypi.org/project/bitarray/"
|
|
||||||
SRC_URI="mirror://pypi/b/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="PSF-2"
|
|
||||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
"${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with ${EPYTHON}"
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=no
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Efficient arrays of booleans -- C extension"
|
|
||||||
HOMEPAGE="https://github.com/ilanschnell/bitarray https://pypi.org/project/bitarray/"
|
|
||||||
SRC_URI="mirror://pypi/b/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="PSF-2"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
"${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with ${EPYTHON}"
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=no
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Efficient arrays of booleans -- C extension"
|
|
||||||
HOMEPAGE="https://github.com/ilanschnell/bitarray https://pypi.org/project/bitarray/"
|
|
||||||
SRC_URI="mirror://pypi/b/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="PSF-2"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
"${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with ${EPYTHON}"
|
|
||||||
}
|
|
@ -0,0 +1,56 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python3_{7..9} )
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="The AWS SDK for Python"
|
||||||
|
HOMEPAGE="https://github.com/boto/boto3"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||||
|
inherit git-r3
|
||||||
|
BOTOCORE_PV=${PV}
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
# botocore is x.(y+3).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs/source \
|
||||||
|
'dev-python/guzzle_sphinx_theme'
|
||||||
|
distutils_enable_tests nose
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# don't lock versions to narrow ranges
|
||||||
|
sed -e '/botocore/ d' \
|
||||||
|
-e '/jmespath/ d' \
|
||||||
|
-e '/s3transfer/ d' \
|
||||||
|
-i setup.py || die
|
||||||
|
|
||||||
|
# prevent an infinite loop
|
||||||
|
rm tests/functional/docs/test_smoke.py || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
|
||||||
|
}
|
@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python3_{7..9} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||||
|
HOMEPAGE="https://github.com/boto/botocore"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs/source \
|
||||||
|
'dev-python/guzzle_sphinx_theme'
|
||||||
|
distutils_enable_tests nose
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# unpin deps
|
||||||
|
sed -i -e "s:>=.*':':" setup.py || die
|
||||||
|
# very unstable
|
||||||
|
sed -i -e 's:test_stress_test_token_bucket:_&:' \
|
||||||
|
tests/functional/retries/test_bucket.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# note: suites need to be run separately as one of the unit tests
|
||||||
|
# seems to be leaking mocks and breaking a few functional tests
|
||||||
|
nosetests -v tests/unit ||
|
||||||
|
die "unit tests failed under ${EPYTHON}"
|
||||||
|
nosetests -v tests/functional ||
|
||||||
|
die "functional tests failed under ${EPYTHON}"
|
||||||
|
}
|
@ -1,2 +1 @@
|
|||||||
DIST cx_Freeze-6.5.3.tar.gz 112334 BLAKE2B 77558e35ca13bc598a810ea70acfe59901c036daf37b2f9582c4f2761680d54d5be559e9abbf16bd995d7f4a4e7bd5d8793e0b53c24111767d54a69c633c9b46 SHA512 37ba5c920306ff62a21ab46c1b9fd6b1780864095d00223776c308fa28e60a5473c74e7da4e7478725de14b7f5628d8d8445f42c0671bc502e5e2d8ecb5ffae5
|
|
||||||
DIST cx_Freeze-6.6.tar.gz 120239 BLAKE2B f4ba5de3f4233ee5417d1e1dfb8ad23180d59bf7b2b2da4918c390d69e6f73cb814a1063951b2564bd4f8eabe8aff5faf9f731fe500bf90b4a5ef8cd081632a4 SHA512 24305f19c10d13ea58d995d80dc43c884898ae1e29a470d2885b6d7448806103bc7771874cc6dd064114c6e5e59f351dfec71c37ef3dddc0a136bb5a166cdb3a
|
DIST cx_Freeze-6.6.tar.gz 120239 BLAKE2B f4ba5de3f4233ee5417d1e1dfb8ad23180d59bf7b2b2da4918c390d69e6f73cb814a1063951b2564bd4f8eabe8aff5faf9f731fe500bf90b4a5ef8cd081632a4 SHA512 24305f19c10d13ea58d995d80dc43c884898ae1e29a470d2885b6d7448806103bc7771874cc6dd064114c6e5e59f351dfec71c37ef3dddc0a136bb5a166cdb3a
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
PYTHON_COMPAT=( python{3_7,3_8,3_9} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Create standalone executables from Python scripts"
|
|
||||||
HOMEPAGE="https://cx-freeze.readthedocs.io/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="PYTHON"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
RDEPEND="dev-python/importlib_metadata[${PYTHON_USEDEP}]"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# bug #491602
|
|
||||||
"${FILESDIR}/${PN}-6.5.3-buildsystem.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
# bug #765385
|
|
||||||
RESTRICT="test"
|
|
@ -1,11 +0,0 @@
|
|||||||
--- a/setup.py 2021-01-25 13:34:17.219027624 +0300
|
|
||||||
+++ b/setup.py 2021-01-25 13:34:26.107026971 +0300
|
|
||||||
@@ -67,8 +67,6 @@
|
|
||||||
if "--with-lto" in get_config_var("CONFIG_ARGS"):
|
|
||||||
extra_args.append("-flto")
|
|
||||||
extra_args.append("-Wl,-export_dynamic")
|
|
||||||
- else:
|
|
||||||
- extra_args.append("-s")
|
|
||||||
self.compiler.link_executable(
|
|
||||||
objects,
|
|
||||||
fullname,
|
|
@ -1,2 +1 @@
|
|||||||
DIST elementpath-2.2.1.gh.tar.gz 228166 BLAKE2B 0fb0f338a28d155056bd551dc00e634a00a820945e8147ac8a1eb4811aca9e25c563e9011f1a0de9d2aad5761322fb8d9167b64cc5653bbc4012d0631c81fb05 SHA512 eadeb7fbdaa5470c39a59c8f02047aa8f8e76bfa03087bf2a3206f3fad57ae78da82ccee1de5e6c13207c9e22ca5a45de4c1b4b42c62f8141c8f2bacece02ebf
|
|
||||||
DIST elementpath-2.2.2.gh.tar.gz 232791 BLAKE2B c28dcae59d29fe70422b6075a4a9627037726574c41e43947c00ba47054924c179e646a5dc01f2247b72f8c58d4fcfcaf411dfa1970cd6ae1cd2fb9f1f3753be SHA512 3aebfa15ec036674d716e6fc91745a14b897f757ade1df945270d39153ecfa9486d0465e9126a6c71470b191690158a853c3871d493e83ac08e065ce2aed3af3
|
DIST elementpath-2.2.2.gh.tar.gz 232791 BLAKE2B c28dcae59d29fe70422b6075a4a9627037726574c41e43947c00ba47054924c179e646a5dc01f2247b72f8c58d4fcfcaf411dfa1970cd6ae1cd2fb9f1f3753be SHA512 3aebfa15ec036674d716e6fc91745a14b897f757ade1df945270d39153ecfa9486d0465e9126a6c71470b191690158a853c3871d493e83ac08e065ce2aed3af3
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright 2019-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} 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 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/lxml[${PYTHON_USEDEP}]
|
|
||||||
dev-python/xmlschema[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
distutils_enable_tests unittest
|
|
@ -1,4 +1,3 @@
|
|||||||
DIST flake8-3.8.4.tar.gz 163583 BLAKE2B 221234931365912adffec99c7c6761d2f35918222bee902ade4d8009d24f6918c66d23fc4b973fe653152cc6857b62ba859780b0d9de53fb91b7ea0379bee9d0 SHA512 51ed09beed50175573e6184b404431b3f89aa6594c40c70ed8288982fe12c2a68992e36d69c99013188f03555bf9fef1ba4f111f8e389cef1e1daa69b41ff5b0
|
DIST flake8-3.8.4.tar.gz 163583 BLAKE2B 221234931365912adffec99c7c6761d2f35918222bee902ade4d8009d24f6918c66d23fc4b973fe653152cc6857b62ba859780b0d9de53fb91b7ea0379bee9d0 SHA512 51ed09beed50175573e6184b404431b3f89aa6594c40c70ed8288982fe12c2a68992e36d69c99013188f03555bf9fef1ba4f111f8e389cef1e1daa69b41ff5b0
|
||||||
DIST flake8-3.9.0.tar.gz 164144 BLAKE2B e265a392445038b04ee2d8c24a763b4b1eebe9682295b70d14c07dbd739b34abbe5f76bc01dd31df7c666a106b62c5312c0522d6771c5649a91d2720a9d14467 SHA512 bfeaa13737f23318da8673c28f0f10463c0aad71a01fe70797321de3b9b7efbe7b5d0ee0664b8440db6b35d7f29f157848757d55fcac531a0c6da6371d681b65
|
|
||||||
DIST flake8-3.9.1.tar.gz 164752 BLAKE2B 07f5049f8445bce87cee1509769e13f275f0e531b78a2769218233ac02a45ed7a8dc061f5253e4c136b47bfddfb574527d99dfff36d338516824167335f9a5fc SHA512 c592308fa32ae73982e6441624a989bdc213b639b0473f7342e75f11e3844282a713dce1f4649575d375766fa1d6b2a1840707109ac8d4672c0d2917f89a3d33
|
DIST flake8-3.9.1.tar.gz 164752 BLAKE2B 07f5049f8445bce87cee1509769e13f275f0e531b78a2769218233ac02a45ed7a8dc061f5253e4c136b47bfddfb574527d99dfff36d338516824167335f9a5fc SHA512 c592308fa32ae73982e6441624a989bdc213b639b0473f7342e75f11e3844282a713dce1f4649575d375766fa1d6b2a1840707109ac8d4672c0d2917f89a3d33
|
||||||
DIST flake8-3.9.2.tar.gz 164777 BLAKE2B 1c991296a3e47e4c41f1196fcaf1e7ea059226dfb41657a52fc4f5a9023b54dba21dd99635398e12f37f52f6e498a0a1fb7d87aba0fe7098ebbdfb54dc5598b0 SHA512 618fe1b35070b24395e5d4da9fa1b1f6308abf6f85d8de71b8b553f84d70d9cd7d2a6f616fa1418db9a8b5ad3efab038f4e2d7c6020c0c1bdeb8157e666911fd
|
DIST flake8-3.9.2.tar.gz 164777 BLAKE2B 1c991296a3e47e4c41f1196fcaf1e7ea059226dfb41657a52fc4f5a9023b54dba21dd99635398e12f37f52f6e498a0a1fb7d87aba0fe7098ebbdfb54dc5598b0 SHA512 618fe1b35070b24395e5d4da9fa1b1f6308abf6f85d8de71b8b553f84d70d9cd7d2a6f616fa1418db9a8b5ad3efab038f4e2d7c6020c0c1bdeb8157e666911fd
|
||||||
|
@ -1,39 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( pypy3 python3_{7..9} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe"
|
|
||||||
HOMEPAGE="https://gitlab.com/pycqa/flake8 https://pypi.org/project/flake8/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos"
|
|
||||||
|
|
||||||
# requires.txt inc. mccabe however that creates a circular dep
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/pyflakes-2.3.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pycodestyle-2.7.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' pypy3 python3_{6,7})
|
|
||||||
"
|
|
||||||
PDEPEND="
|
|
||||||
>=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="${RDEPEND}
|
|
||||||
test? (
|
|
||||||
${PDEPEND}
|
|
||||||
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_sphinx docs/source dev-python/sphinx-prompt dev-python/sphinx_rtd_theme
|
|
||||||
distutils_enable_tests --install pytest
|
|
@ -1,3 +1,2 @@
|
|||||||
DIST hyperframe-5.2.0.tar.gz 19115 BLAKE2B 6dfd7c6e7f07eb52a499794709fb498a30bc4b534fb49d57295cf280afa200342139fa6c794613e518bbd0e2301672b05826d2adcdd7eebf528469af5e9441f7 SHA512 2e04b48c6d31adb0893a3246046b447c32f3d4485ffe9b08370b6c534ed4273c19e2e2c1a23d48268e333d91d8e911578829776076d8f73743cd9ef597926e3c
|
DIST hyperframe-5.2.0.tar.gz 19115 BLAKE2B 6dfd7c6e7f07eb52a499794709fb498a30bc4b534fb49d57295cf280afa200342139fa6c794613e518bbd0e2301672b05826d2adcdd7eebf528469af5e9441f7 SHA512 2e04b48c6d31adb0893a3246046b447c32f3d4485ffe9b08370b6c534ed4273c19e2e2c1a23d48268e333d91d8e911578829776076d8f73743cd9ef597926e3c
|
||||||
DIST hyperframe-6.0.0.tar.gz 24640 BLAKE2B 7b420c8bcf54510b9dabfca7c7e8718c0c547109874671d11528709572d55e463c91bae14b8cbf6db1eac99a9cceb1799050afc54b709805c9850b3083b72679 SHA512 54812dcd5bc92ebe8333e6976c2edba7309cff9921fbcbae0eda7666bf7de7758b3646f4738404bcbd069c4904e57710cb312c42ef9b6ae1d88a057b0bd0ca44
|
|
||||||
DIST hyperframe-6.0.1.tar.gz 25008 BLAKE2B c5cea5b54fd9ecfc0d619c07c484cdd1e2813c656120faadf3f1b61739c608b43d19bd7527b221ad25ea824da05b5747d38f3a6e27d058c1030cce2c4069f10e SHA512 2a5101b2e91e047fe39b32f81a1a8b2240c371fed28a5e1581e743371418388a7dfb55bc819c46a45804e7f00a5231ca54c92aa1b5b41ffeb714b8cb3ac485ca
|
DIST hyperframe-6.0.1.tar.gz 25008 BLAKE2B c5cea5b54fd9ecfc0d619c07c484cdd1e2813c656120faadf3f1b61739c608b43d19bd7527b221ad25ea824da05b5747d38f3a6e27d058c1030cce2c4069f10e SHA512 2a5101b2e91e047fe39b32f81a1a8b2240c371fed28a5e1581e743371418388a7dfb55bc819c46a45804e7f00a5231ca54c92aa1b5b41ffeb714b8cb3ac485ca
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=( python3_{7..10} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="HTTP/2 framing layer for Python"
|
|
||||||
HOMEPAGE="https://python-hyper.org/en/latest/
|
|
||||||
https://pypi.org/project/hyperframe/
|
|
||||||
https://github.com/python-hyper/hyperframe"
|
|
||||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
@ -1,62 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
|
||||||
PYTHON_REQ_USE="threads(+),sqlite"
|
|
||||||
|
|
||||||
inherit distutils-r1 multiprocessing optfeature
|
|
||||||
|
|
||||||
DESCRIPTION="A library for property based testing"
|
|
||||||
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
|
|
||||||
SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
|
||||||
IUSE="cli"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
|
|
||||||
cli? (
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/black[${PYTHON_USEDEP}]
|
|
||||||
dev-python/click[${PYTHON_USEDEP}]
|
|
||||||
' 'python*')
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
!!<dev-python/typing-3.7.4.1
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install pytest
|
|
||||||
|
|
||||||
python_prepare() {
|
|
||||||
if ! use cli || [[ ${EPYTHON} != python* ]]; then
|
|
||||||
sed -i -e '/console_scripts/d' setup.py || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
epytest tests/cover tests/pytest tests/quality \
|
|
||||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
|
||||||
}
|
|
||||||
|
|
||||||
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,61 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..10} pypy3 )
|
|
||||||
PYTHON_REQ_USE="threads(+),sqlite"
|
|
||||||
|
|
||||||
inherit distutils-r1 multiprocessing optfeature
|
|
||||||
|
|
||||||
DESCRIPTION="A library for property based testing"
|
|
||||||
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
|
|
||||||
SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
|
||||||
IUSE="cli"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
|
|
||||||
cli? (
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/black[${PYTHON_USEDEP}]
|
|
||||||
dev-python/click[${PYTHON_USEDEP}]
|
|
||||||
' python3_{7..9})
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
!!<dev-python/typing-3.7.4.1
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install pytest
|
|
||||||
|
|
||||||
python_prepare() {
|
|
||||||
if ! use cli || ! has "${EPYTHON}" python3_{7..9}; then
|
|
||||||
sed -i -e '/console_scripts/d' setup.py || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
epytest tests/cover tests/pytest tests/quality \
|
|
||||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
|
||||||
}
|
|
||||||
|
|
||||||
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,61 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..10} pypy3 )
|
|
||||||
PYTHON_REQ_USE="threads(+),sqlite"
|
|
||||||
|
|
||||||
inherit distutils-r1 multiprocessing optfeature
|
|
||||||
|
|
||||||
DESCRIPTION="A library for property based testing"
|
|
||||||
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
|
|
||||||
SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
|
||||||
IUSE="cli"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
|
|
||||||
cli? (
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/black[${PYTHON_USEDEP}]
|
|
||||||
dev-python/click[${PYTHON_USEDEP}]
|
|
||||||
' python3_{7..9})
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
!!<dev-python/typing-3.7.4.1
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install pytest
|
|
||||||
|
|
||||||
python_prepare() {
|
|
||||||
if ! use cli || ! has "${EPYTHON}" python3_{7..9}; then
|
|
||||||
sed -i -e '/console_scripts/d' setup.py || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
epytest tests/cover tests/pytest tests/quality \
|
|
||||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
|
||||||
}
|
|
||||||
|
|
||||||
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,63 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
|
||||||
PYTHON_REQ_USE="threads(+),sqlite"
|
|
||||||
|
|
||||||
inherit distutils-r1 multiprocessing optfeature
|
|
||||||
|
|
||||||
DESCRIPTION="A library for property based testing"
|
|
||||||
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
|
|
||||||
SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
|
|
||||||
IUSE="cli"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
|
|
||||||
cli? (
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/black[${PYTHON_USEDEP}]
|
|
||||||
dev-python/click[${PYTHON_USEDEP}]
|
|
||||||
' 'python*')
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
!!<dev-python/typing-3.7.4.1
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install pytest
|
|
||||||
|
|
||||||
python_prepare() {
|
|
||||||
if ! use cli || [[ ${EPYTHON} != python* ]]; then
|
|
||||||
sed -i -e '/console_scripts/d' setup.py || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing --via-root
|
|
||||||
pytest -vv tests/cover tests/pytest tests/quality \
|
|
||||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" ||
|
|
||||||
die "Tests fail with ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
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,62 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
|
||||||
PYTHON_REQ_USE="threads(+),sqlite"
|
|
||||||
|
|
||||||
inherit distutils-r1 multiprocessing optfeature
|
|
||||||
|
|
||||||
DESCRIPTION="A library for property based testing"
|
|
||||||
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
|
|
||||||
SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
|
||||||
IUSE="cli"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
|
|
||||||
cli? (
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/black[${PYTHON_USEDEP}]
|
|
||||||
dev-python/click[${PYTHON_USEDEP}]
|
|
||||||
' 'python*')
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
!!<dev-python/typing-3.7.4.1
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install pytest
|
|
||||||
|
|
||||||
python_prepare() {
|
|
||||||
if ! use cli || [[ ${EPYTHON} != python* ]]; then
|
|
||||||
sed -i -e '/console_scripts/d' setup.py || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
epytest tests/cover tests/pytest tests/quality \
|
|
||||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
|
||||||
}
|
|
||||||
|
|
||||||
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,62 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
|
||||||
PYTHON_REQ_USE="threads(+),sqlite"
|
|
||||||
|
|
||||||
inherit distutils-r1 multiprocessing optfeature
|
|
||||||
|
|
||||||
DESCRIPTION="A library for property based testing"
|
|
||||||
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
|
|
||||||
SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
|
||||||
IUSE="cli"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
|
|
||||||
cli? (
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/black[${PYTHON_USEDEP}]
|
|
||||||
dev-python/click[${PYTHON_USEDEP}]
|
|
||||||
' 'python*')
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
!!<dev-python/typing-3.7.4.1
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install pytest
|
|
||||||
|
|
||||||
python_prepare() {
|
|
||||||
if ! use cli || [[ ${EPYTHON} != python* ]]; then
|
|
||||||
sed -i -e '/console_scripts/d' setup.py || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
epytest tests/cover tests/pytest tests/quality \
|
|
||||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
|
||||||
}
|
|
||||||
|
|
||||||
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,62 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
|
||||||
PYTHON_REQ_USE="threads(+),sqlite"
|
|
||||||
|
|
||||||
inherit distutils-r1 multiprocessing optfeature
|
|
||||||
|
|
||||||
DESCRIPTION="A library for property based testing"
|
|
||||||
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
|
|
||||||
SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
|
||||||
IUSE="cli"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
|
|
||||||
cli? (
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/black[${PYTHON_USEDEP}]
|
|
||||||
dev-python/click[${PYTHON_USEDEP}]
|
|
||||||
' 'python*')
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
!!<dev-python/typing-3.7.4.1
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install pytest
|
|
||||||
|
|
||||||
python_prepare() {
|
|
||||||
if ! use cli || [[ ${EPYTHON} != python* ]]; then
|
|
||||||
sed -i -e '/console_scripts/d' setup.py || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
epytest tests/cover tests/pytest tests/quality \
|
|
||||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
|
||||||
}
|
|
||||||
|
|
||||||
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,62 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
|
||||||
PYTHON_REQ_USE="threads(+),sqlite"
|
|
||||||
|
|
||||||
inherit distutils-r1 multiprocessing optfeature
|
|
||||||
|
|
||||||
DESCRIPTION="A library for property based testing"
|
|
||||||
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
|
|
||||||
SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
|
||||||
IUSE="cli"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
|
|
||||||
cli? (
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/black[${PYTHON_USEDEP}]
|
|
||||||
dev-python/click[${PYTHON_USEDEP}]
|
|
||||||
' 'python*')
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
!!<dev-python/typing-3.7.4.1
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install pytest
|
|
||||||
|
|
||||||
python_prepare() {
|
|
||||||
if ! use cli || [[ ${EPYTHON} != python* ]]; then
|
|
||||||
sed -i -e '/console_scripts/d' setup.py || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
epytest tests/cover tests/pytest tests/quality \
|
|
||||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
|
||||||
}
|
|
||||||
|
|
||||||
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,62 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
|
||||||
PYTHON_REQ_USE="threads(+),sqlite"
|
|
||||||
|
|
||||||
inherit distutils-r1 multiprocessing optfeature
|
|
||||||
|
|
||||||
DESCRIPTION="A library for property based testing"
|
|
||||||
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
|
|
||||||
SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
|
|
||||||
|
|
||||||
LICENSE="MPL-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
|
||||||
IUSE="cli"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
|
|
||||||
cli? (
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/black[${PYTHON_USEDEP}]
|
|
||||||
dev-python/click[${PYTHON_USEDEP}]
|
|
||||||
' 'python*')
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
!!<dev-python/typing-3.7.4.1
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install pytest
|
|
||||||
|
|
||||||
python_prepare() {
|
|
||||||
if ! use cli || [[ ${EPYTHON} != python* ]]; then
|
|
||||||
sed -i -e '/console_scripts/d' setup.py || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
epytest tests/cover tests/pytest tests/quality \
|
|
||||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
|
||||||
}
|
|
||||||
|
|
||||||
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,4 +1,2 @@
|
|||||||
DIST ipython-7.21.0.tar.gz 5141725 BLAKE2B dae44d481e959ef7d002bdb51d0ab1e2f3eca3449071a2e4161aa735c06fef8a948d80bafd3f2bdd066208437b5ed36615cad5885af453771a32a313fba907eb SHA512 200e41d4e06343b6320f3d106925f6c995f39cf88d01250f53885d4e94d0fd9454a6be4cd7c69410f7dced94b05634f6d2269f9737cc563accf85206d4d7fff8
|
|
||||||
DIST ipython-7.22.0.tar.gz 5143229 BLAKE2B be78fc7089d620cb9ad437ed8154b37ac8c7cd68ca18a2569cfcf7ea9af968c58eeee18c8d18a1f26459ccef73e59083ac27055c19e4df254836e484ce0a9908 SHA512 2647dcd5e0d9b6afc8d990d2c099ad7ed581b5eff6d657630929e0d0d9f8965e7c7924c51a10a797e7d7406212d7a06c941c163e6f6046aa62130049a9bbc0d0
|
DIST ipython-7.22.0.tar.gz 5143229 BLAKE2B be78fc7089d620cb9ad437ed8154b37ac8c7cd68ca18a2569cfcf7ea9af968c58eeee18c8d18a1f26459ccef73e59083ac27055c19e4df254836e484ce0a9908 SHA512 2647dcd5e0d9b6afc8d990d2c099ad7ed581b5eff6d657630929e0d0d9f8965e7c7924c51a10a797e7d7406212d7a06c941c163e6f6046aa62130049a9bbc0d0
|
||||||
DIST ipython-7.23.0.tar.gz 5143701 BLAKE2B 6672ea3a5bbc9afa38c73acef87a8c8f6d1830e3b949543537b522b809b68b80e5369566c8bee68139f9c3213fbe4c07ad36377a686fe2d26d7bbafd5e54fc4a SHA512 b00b71dbb2851f03f72b6c0e93920afc52cdb3cd5b8f27ba8cca4cb062a0f313db359ba83ba3a9608bca22744efab24c27350e06c5884946709b7fd29536820f
|
|
||||||
DIST ipython-7.23.1.tar.gz 5188898 BLAKE2B 9713b0f1f75e283e53ba19044c9919f0c4d0b1c120e63d7a79ab9c6b8783499ed115e86a24cab34fc13c46245fb43865b851e6f98a2ee729ee35c3db242fa2ba SHA512 9b35626a8a07c6bd0b93552341e5a61d3d90a60c72ad6e3fc71266d9509134366c46a7ae8aeca9c3acc7509dfeab47b5144f105cb3d1d05ef1c7acca6c2f365d
|
DIST ipython-7.23.1.tar.gz 5188898 BLAKE2B 9713b0f1f75e283e53ba19044c9919f0c4d0b1c120e63d7a79ab9c6b8783499ed115e86a24cab34fc13c46245fb43865b851e6f98a2ee729ee35c3db242fa2ba SHA512 9b35626a8a07c6bd0b93552341e5a61d3d90a60c72ad6e3fc71266d9509134366c46a7ae8aeca9c3acc7509dfeab47b5144f105cb3d1d05ef1c7acca6c2f365d
|
||||||
|
@ -1,134 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=no
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
PYTHON_REQ_USE='readline,sqlite,threads(+)'
|
|
||||||
|
|
||||||
inherit distutils-r1 optfeature virtualx
|
|
||||||
|
|
||||||
DESCRIPTION="Advanced interactive shell for Python"
|
|
||||||
HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/backcall[${PYTHON_USEDEP}]
|
|
||||||
dev-python/decorator[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/jedi-0.16[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pexpect-4.3[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pickleshare[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pygments[${PYTHON_USEDEP}]
|
|
||||||
dev-python/traitlets[${PYTHON_USEDEP}]
|
|
||||||
matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
|
|
||||||
"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
app-text/dvipng[truetype]
|
|
||||||
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nbformat[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/numpy-1.14[${PYTHON_USEDEP}]
|
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
|
||||||
dev-python/testpath[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
doc? (
|
|
||||||
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sphinx-2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
RDEPEND+="
|
|
||||||
nbconvert? ( dev-python/nbconvert[${PYTHON_USEDEP}] )"
|
|
||||||
PDEPEND="
|
|
||||||
notebook? (
|
|
||||||
dev-python/notebook[${PYTHON_USEDEP}]
|
|
||||||
dev-python/ipywidgets[${PYTHON_USEDEP}]
|
|
||||||
dev-python/widgetsnbextension[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] )
|
|
||||||
smp? (
|
|
||||||
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch )
|
|
||||||
|
|
||||||
DISTUTILS_IN_SOURCE_BUILD=1
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# Remove out of date insource files
|
|
||||||
rm IPython/extensions/cythonmagic.py || die
|
|
||||||
rm IPython/extensions/rmagic.py || die
|
|
||||||
|
|
||||||
# Prevent un-needed download during build
|
|
||||||
if use doc; then
|
|
||||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rename the test directory to reduce sys.path pollution
|
|
||||||
# https://github.com/ipython/ipython/issues/12892
|
|
||||||
mv IPython/extensions/{,ipython_}tests || die
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
if use doc; then
|
|
||||||
emake -C docs html_noapi
|
|
||||||
HTML_DOCS=( docs/build/html/. )
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
virtx distutils-r1_src_test
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install() {
|
|
||||||
distutils-r1_python_install
|
|
||||||
|
|
||||||
# Create ipythonX.Y symlinks.
|
|
||||||
# TODO:
|
|
||||||
# 1. do we want them for pypy? No. pypy has no numpy
|
|
||||||
# 2. handle it in the eclass instead (use _python_ln_rel).
|
|
||||||
# With pypy not an option the dosym becomes unconditional
|
|
||||||
dosym ../lib/python-exec/${EPYTHON}/ipython \
|
|
||||||
/usr/bin/ipython${EPYTHON#python}
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
dodoc -r examples
|
|
||||||
docompress -x /usr/share/doc/${PF}/examples
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature "sympyprinting" dev-python/sympy
|
|
||||||
optfeature "cythonmagic" dev-python/cython
|
|
||||||
optfeature "%lprun magic command" dev-python/line_profiler
|
|
||||||
optfeature "%mprun magic command" dev-python/memory_profiler
|
|
||||||
|
|
||||||
if use nbconvert; then
|
|
||||||
if ! has_version app-text/pandoc ; then
|
|
||||||
einfo "Node.js will be used to convert notebooks to other formats"
|
|
||||||
einfo "like HTML. Support for that is still experimental. If you"
|
|
||||||
einfo "encounter any problems, please use app-text/pandoc instead."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,139 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=no
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
PYTHON_REQ_USE='readline,sqlite,threads(+)'
|
|
||||||
|
|
||||||
inherit distutils-r1 optfeature virtualx
|
|
||||||
|
|
||||||
DESCRIPTION="Advanced interactive shell for Python"
|
|
||||||
HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/backcall[${PYTHON_USEDEP}]
|
|
||||||
dev-python/decorator[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/jedi-0.16[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pexpect-4.3[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pickleshare[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pygments[${PYTHON_USEDEP}]
|
|
||||||
dev-python/traitlets[${PYTHON_USEDEP}]
|
|
||||||
matplotlib? (
|
|
||||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
|
||||||
dev-python/matplotlib-inline[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
app-text/dvipng[truetype]
|
|
||||||
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
|
||||||
dev-python/matplotlib-inline[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nbformat[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/numpy-1.16[${PYTHON_USEDEP}]
|
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
|
||||||
dev-python/testpath[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
doc? (
|
|
||||||
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sphinx-2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
RDEPEND+="
|
|
||||||
nbconvert? ( dev-python/nbconvert[${PYTHON_USEDEP}] )"
|
|
||||||
PDEPEND="
|
|
||||||
notebook? (
|
|
||||||
dev-python/notebook[${PYTHON_USEDEP}]
|
|
||||||
dev-python/ipywidgets[${PYTHON_USEDEP}]
|
|
||||||
dev-python/widgetsnbextension[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] )
|
|
||||||
smp? (
|
|
||||||
>=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch )
|
|
||||||
|
|
||||||
DISTUTILS_IN_SOURCE_BUILD=1
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# Remove out of date insource files
|
|
||||||
rm IPython/extensions/cythonmagic.py || die
|
|
||||||
rm IPython/extensions/rmagic.py || die
|
|
||||||
|
|
||||||
# Prevent un-needed download during build
|
|
||||||
if use doc; then
|
|
||||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rename the test directory to reduce sys.path pollution
|
|
||||||
# https://github.com/ipython/ipython/issues/12892
|
|
||||||
mv IPython/extensions/{,ipython_}tests || die
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
if use doc; then
|
|
||||||
emake -C docs html_noapi
|
|
||||||
HTML_DOCS=( docs/build/html/. )
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
virtx distutils-r1_src_test
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install() {
|
|
||||||
distutils-r1_python_install
|
|
||||||
|
|
||||||
# Create ipythonX.Y symlinks.
|
|
||||||
# TODO:
|
|
||||||
# 1. do we want them for pypy? No. pypy has no numpy
|
|
||||||
# 2. handle it in the eclass instead (use _python_ln_rel).
|
|
||||||
# With pypy not an option the dosym becomes unconditional
|
|
||||||
dosym ../lib/python-exec/${EPYTHON}/ipython \
|
|
||||||
/usr/bin/ipython${EPYTHON#python}
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
dodoc -r examples
|
|
||||||
docompress -x /usr/share/doc/${PF}/examples
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature "sympyprinting" dev-python/sympy
|
|
||||||
optfeature "cythonmagic" dev-python/cython
|
|
||||||
optfeature "%lprun magic command" dev-python/line_profiler
|
|
||||||
optfeature "%mprun magic command" dev-python/memory_profiler
|
|
||||||
|
|
||||||
if use nbconvert; then
|
|
||||||
if ! has_version app-text/pandoc ; then
|
|
||||||
einfo "Node.js will be used to convert notebooks to other formats"
|
|
||||||
einfo "like HTML. Support for that is still experimental. If you"
|
|
||||||
einfo "encounter any problems, please use app-text/pandoc instead."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST MarkupSafe-1.1.1.tar.gz 19151 BLAKE2B 184ab0bc42f8d254ef4239f700f019c0a380bdf2117dfe1abe2eb4dfa0f037158d181a120d8654a6971e9c8badb078f997e3a8bf231898e0f4bb3e8496d9abd3 SHA512 f3014e6131a3ab866914c5635b5397ef71906bffb1b6f8c5f2ed2acf167429ff7914236d38943e872683a57a9be9669f4c5aace6274f3307ab21ef25373db0b6
|
DIST MarkupSafe-1.1.1.tar.gz 19151 BLAKE2B 184ab0bc42f8d254ef4239f700f019c0a380bdf2117dfe1abe2eb4dfa0f037158d181a120d8654a6971e9c8badb078f997e3a8bf231898e0f4bb3e8496d9abd3 SHA512 f3014e6131a3ab866914c5635b5397ef71906bffb1b6f8c5f2ed2acf167429ff7914236d38943e872683a57a9be9669f4c5aace6274f3307ab21ef25373db0b6
|
||||||
DIST MarkupSafe-2.0.0.tar.gz 18466 BLAKE2B d065eda7f3f2e02abf2d1a9a20c2eb8ed774fa5153cf4c0584de859ac790a7c4dccc2304f7e920a2345877653ffd9be386bfe677e96bcf1cebb5ca6b87ef9d32 SHA512 260121db97178d5903645c9d1fd38c5d7c7a5bcd31a8def1d5a921328ff86ad025bf62d73734434a7920a00024ff8c0898352f7406713af51051e750b5df7cab
|
DIST MarkupSafe-2.0.0.tar.gz 18466 BLAKE2B d065eda7f3f2e02abf2d1a9a20c2eb8ed774fa5153cf4c0584de859ac790a7c4dccc2304f7e920a2345877653ffd9be386bfe677e96bcf1cebb5ca6b87ef9d32 SHA512 260121db97178d5903645c9d1fd38c5d7c7a5bcd31a8def1d5a921328ff86ad025bf62d73734434a7920a00024ff8c0898352f7406713af51051e750b5df7cab
|
||||||
|
DIST MarkupSafe-2.0.1.tar.gz 18596 BLAKE2B 3f6d576733a0033ca46df5e92892c1f052c1b0c03a92f27926383279f81531981139e5a659a7d21d436643795706480dd9e6aa979f70a81a2b95f2b9d0ac9f8c SHA512 77249bda784111ece15d59eb3de1cbb37a58fb9f22902fe6b73fea9eb0f23857ccbe53dc55463278e3b91f78dc35e2b027fd823ca50d88d8985d5a98ce2327f1
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7..10} pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
MY_PN="MarkupSafe"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="Implements a XML/HTML/XHTML Markup safe string for Python"
|
||||||
|
HOMEPAGE="https://pypi.org/project/MarkupSafe/"
|
||||||
|
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1,29 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Black plugin for the Python Language Server"
|
|
||||||
HOMEPAGE="https://github.com/rupert/pyls-black
|
|
||||||
https://pypi.org/project/pyls-black/"
|
|
||||||
SRC_URI="https://github.com/rupert/${PN}/archive/v${PV}.tar.gz -> ${P}-gh.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/python-language-server[${PYTHON_USEDEP}]
|
|
||||||
dev-python/black[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
pytest -vv || die "Tests failed with ${EPYTHON}"
|
|
||||||
}
|
|
@ -1,22 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Spyder extensions for the python language server"
|
|
||||||
HOMEPAGE="https://github.com/spyder-ide/pyls-spyder
|
|
||||||
https://pypi.org/project/pyls-spyder/"
|
|
||||||
SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}-gh.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-python/python-language-server-0.36.2[${PYTHON_USEDEP}]"
|
|
||||||
BDEPEND="test? ( dev-python/mock )"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
@ -1,3 +1,2 @@
|
|||||||
DIST pytest-django-4.1.0.gh.tar.gz 67983 BLAKE2B b7f4fe1366ce1443b19f05e8e834f0555cd8d63bf10921be1427338b7e5e737b7e04d96c9c9d2ad1b9c0f0ed6fba4ed93fb4fd9a948dc5315b4b7a35ba8adfd1 SHA512 734921f5c6f8569f6488706fbb6ca2515a5b24c6641fd260771022bd4fd72b65d062a8130f59163e8b30f4c9bceb383d154b26f8fbf46a1903339668d0a7d12b
|
|
||||||
DIST pytest-django-4.2.0.gh.tar.gz 68370 BLAKE2B 94165a01ecd2734a4e02267ecfe8b531df33ca9237cfcd1ebad41f68289fb89590bed0027137d6dddefc4cbbd5c0f8445703e01a516d3992c2307ebe53d6572b SHA512 2dcaa80f3ebb67984d3849cea5de296388990ca65a607f995b89bd67e2d8964f944100bccb42a32bb75c7009849619e50421c2dce077037ce0440233dbdc13f1
|
DIST pytest-django-4.2.0.gh.tar.gz 68370 BLAKE2B 94165a01ecd2734a4e02267ecfe8b531df33ca9237cfcd1ebad41f68289fb89590bed0027137d6dddefc4cbbd5c0f8445703e01a516d3992c2307ebe53d6572b SHA512 2dcaa80f3ebb67984d3849cea5de296388990ca65a607f995b89bd67e2d8964f944100bccb42a32bb75c7009849619e50421c2dce077037ce0440233dbdc13f1
|
||||||
DIST pytest-django-4.3.0.gh.tar.gz 71525 BLAKE2B 0eba9d9917759369aa2e126539f17fc36874453caf59838be2baf660fe29487aa80490f2af4ecbd72a9ba1f63a8a87202af2eff7e9d28c9c0fc686b09b07e82a SHA512 3c3ac31ed75daa29ab473ef3b87b5c66333cf7ccd8d217eb120b7899f463aafe5982b1e867e26e3b9ab51f312612fbc3d9f1ed9169815507816267fd4de76757
|
DIST pytest-django-4.3.0.gh.tar.gz 71525 BLAKE2B 0eba9d9917759369aa2e126539f17fc36874453caf59838be2baf660fe29487aa80490f2af4ecbd72a9ba1f63a8a87202af2eff7e9d28c9c0fc686b09b07e82a SHA512 3c3ac31ed75daa29ab473ef3b87b5c66333cf7ccd8d217eb120b7899f463aafe5982b1e867e26e3b9ab51f312612fbc3d9f1ed9169815507816267fd4de76757
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A Django plugin for py.test"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://pypi.org/project/pytest-django/
|
|
||||||
https://pytest-django.readthedocs.org
|
|
||||||
https://github.com/pytest-dev/pytest-django"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/pytest-dev/pytest-django/archive/v${PV}.tar.gz
|
|
||||||
-> ${P}.gh.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/pytest-5.4[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=dev-python/setuptools_scm-1.11.1[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
|
|
||||||
# not all test dependencies are packaged and this package isn't worth it.
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
|
@ -1,33 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A pytest plugin to run Xvfb for tests"
|
|
||||||
HOMEPAGE="https://pypi.org/project/pytest-xvfb/"
|
|
||||||
SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyvirtualdisplay-1.3[${PYTHON_USEDEP}]
|
|
||||||
x11-base/xorg-server[xvfb]
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local -x PYTHONPATH="${BUILD_DIR}/install/lib"
|
|
||||||
esetup.py install \
|
|
||||||
--root="${BUILD_DIR}/install" \
|
|
||||||
--install-lib=lib
|
|
||||||
|
|
||||||
pytest -vv || die "Tests fail with ${EPYTHON}"
|
|
||||||
}
|
|
@ -1,68 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
inherit distutils-r1 optfeature
|
|
||||||
|
|
||||||
DESCRIPTION="An implementation of the Language Server Protocol for Python"
|
|
||||||
HOMEPAGE="https://github.com/palantir/python-language-server"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm64 x86"
|
|
||||||
|
|
||||||
BDEPEND="dev-python/versioneer[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
dev-python/autopep8[${PYTHON_USEDEP}]
|
|
||||||
dev-python/flaky[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/flake8-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/numpy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pandas[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pycodestyle-2.6.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/pycodestyle-2.7.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyflakes-2.2.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/pyflakes-2.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pylint-2.5.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/rope-0.10.5[${PYTHON_USEDEP}]
|
|
||||||
dev-python/yapf[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/jedi-0.17.2[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/jedi-0.18.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pluggy[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-jsonrpc-server-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/ujson-3[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# remove pytest-cov dep
|
|
||||||
sed -i -e '0,/addopts/I!d' setup.cfg || die
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature "Automatically formats Python code to conform to the PEP 8 style guide" dev-python/autopep8
|
|
||||||
optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8
|
|
||||||
optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe
|
|
||||||
optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle
|
|
||||||
optfeature "Python docstring style checker" dev-python/pydocstyle
|
|
||||||
optfeature "Passive checker for Python programs" dev-python/pyflakes
|
|
||||||
optfeature "Python code static checker" dev-python/pylint
|
|
||||||
optfeature "Python refactoring library" dev-python/rope
|
|
||||||
optfeature "A formatter for Python files" dev-python/yapf
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST python-mpd-1.1.0.tar.gz 61104 BLAKE2B 274a829a3fc1404a4e3beb4df3eb563c1f781325590702761d3b3b5bc42e3cd9f63809aab14bb98e4879c10ccd55bb9d7306485ec22d37538cc2e36006a3039a SHA512 65b17ae34b2c731b7d45801211e49eacfc18239d5575075be0c11ace350da19b82dd151fefc42077454a988d3deb1b489471f739ddea2d915cb3c241669dbe32
|
|
||||||
DIST python-mpd2-3.0.4.tar.gz 66173 BLAKE2B f92a97512f19ac5f71846d3997240e5a37a4fd9bc353e131c582547ddc6e9520d2d09a02b4de62168707ba4a2cbfc28a019cba7e0a113242ecc38ecdc86c19a9 SHA512 7adf0daf64c6132dcd4d347f0772e9cbef903f9f5fba5315b745708dd2179090f53c5303b7ce905c685076861d21f7a14951e598c88eb65be423dea627dbb26a
|
DIST python-mpd2-3.0.4.tar.gz 66173 BLAKE2B f92a97512f19ac5f71846d3997240e5a37a4fd9bc353e131c582547ddc6e9520d2d09a02b4de62168707ba4a2cbfc28a019cba7e0a113242ecc38ecdc86c19a9 SHA512 7adf0daf64c6132dcd4d347f0772e9cbef903f9f5fba5315b745708dd2179090f53c5303b7ce905c685076861d21f7a14951e598c88eb65be423dea627dbb26a
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS="bdepend"
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Python MPD client library"
|
|
||||||
HOMEPAGE="https://github.com/Mic92/python-mpd2"
|
|
||||||
SRC_URI="https://github.com/Mic92/${PN}2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-3+"
|
|
||||||
KEYWORDS="amd64 ppc ppc64 x86"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="examples +twisted"
|
|
||||||
|
|
||||||
REQUIRED_USE="test? ( twisted )"
|
|
||||||
|
|
||||||
RDEPEND="twisted? ( dev-python/twisted[${PYTHON_USEDEP}] )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/toml[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=( README.rst doc/{changes.rst,commands_header.txt} doc/topics/. )
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}2-${PV}"
|
|
||||||
|
|
||||||
distutils_enable_sphinx doc --no-autodoc
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
pytest mpd/tests.py -vv || die "Tests fail with ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
use examples && dodoc -r examples/.
|
|
||||||
}
|
|
@ -1,4 +1 @@
|
|||||||
DIST s3transfer-0.3.6.tar.gz 118877 BLAKE2B 0567b69ee71bd470b3b5bccce3db3e923eee6d8744d9e0e5a1789f3ba5f419742859f530ab43295e5ccb7ffe3c04da8db7ef92c973afac97ff2580bc13c6934f SHA512 3bf97f080b63a88f2860051ef9c0ecd4f06adf1a22eb5bd57c543532f7e85c39f722f0c9cd24022ac0ed3a54ca48a089a10b86703cb866730e265e53acbe602f
|
|
||||||
DIST s3transfer-0.3.7.tar.gz 120311 BLAKE2B a5de6ce10527495843605ea9e887ccbfead86f32d0eaa2f68dcc21dceb35c86cc21690bd82e3edd5a033699cf4257db93588cf7bbea8f75c01a80c29a17397fb SHA512 b341103e87c092b1c016dc8bfc45b4564c54f5c5a1f3549cf421802620b755d0779b80718a5b4357d3b206b71773fb2b28571730b673fd9af27fc8a3a40ce1b4
|
|
||||||
DIST s3transfer-0.4.1.tar.gz 129580 BLAKE2B 5b700fc9b7222b32ea74fa0f2ff59754412e4a65eda028433659861538160cb016e3f97421e237b8050920eaf2609fb0756ffc568331c15b1eb313976df30aac SHA512 1de0569d99bf32b5a3a2c240755d82050f4bf72fd98449e19c2807d21180415edff77b86bfc47d0e8c4952a066c933589862cc08851a7b87b1521e4af7da27f9
|
|
||||||
DIST s3transfer-0.4.2.tar.gz 129664 BLAKE2B fb3658efd7a6aa6ba42ca55a1f9efc19671806fa22db7f6f5a30aaf19615863e027cabd472345637fd41f2c0436ad8f6b034f6bdf75187a71d2c6eacdbdee914 SHA512 8dabdc0d233f6edcf35d9fe1a06b6fd5bb5f589f455d6d53ad989c7eb368cefab4fee90e707bb8fa09f2caac6a27e67ee7aa3ada5709be43f2b649302e412efc
|
DIST s3transfer-0.4.2.tar.gz 129664 BLAKE2B fb3658efd7a6aa6ba42ca55a1f9efc19671806fa22db7f6f5a30aaf19615863e027cabd472345637fd41f2c0436ad8f6b034f6bdf75187a71d2c6eacdbdee914 SHA512 8dabdc0d233f6edcf35d9fe1a06b6fd5bb5f589f455d6d53ad989c7eb368cefab4fee90e707bb8fa09f2caac6a27e67ee7aa3ada5709be43f2b649302e412efc
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="An Amazon S3 Transfer Manager"
|
|
||||||
HOMEPAGE="https://github.com/boto/s3transfer"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/botocore[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
epytest tests/{unit,functional}
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="An Amazon S3 Transfer Manager"
|
|
||||||
HOMEPAGE="https://github.com/boto/s3transfer"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/botocore[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
epytest tests/{unit,functional}
|
|
||||||
}
|
|
@ -1,30 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="An Amazon S3 Transfer Manager"
|
|
||||||
HOMEPAGE="https://github.com/boto/s3transfer"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/botocore[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
epytest tests/{unit,functional}
|
|
||||||
}
|
|
@ -1,5 +1,2 @@
|
|||||||
DIST setuptools-53.1.0.tar.gz 2051159 BLAKE2B f4148df45f5c62acd6acae833619dcae50f131da91ece1a2e1231620d4800294f14dab6c72ca5b2ffd31191c4e3306a869abdba349adcec5746600fc067b340d SHA512 0ca02e9b997623268d8f73b73ee6a4b1ad513802cbc75c74124a85bd5ca7bfaea5cf7cccb706334c0dac2c8a0674a5bc2cea10f44f99f881ad893c8337af3da2
|
|
||||||
DIST setuptools-54.2.0.tar.gz 2054279 BLAKE2B 2a52e76808fb2bc6df4c59ac7476a9386401180ff6c0d52a5f3d87aedf976a3057cfa0a7ddf2a4497c4c1552d5ebe4810c4bbfa127e1293f950054bddbf7d835 SHA512 b18cd075cf59b8648611eef1874de41199ede6ffe6d7f5047586c6ac8783fe18b9a4f537783e590e7aec127033f612b93925e92f039bd6416a609fcfb262e354
|
|
||||||
DIST setuptools-56.0.0.tar.gz 2054762 BLAKE2B 3fc0f47304109f765ff0f8430dae735005d508aaa79609c5ca08217eb3802014267bd0f1a4f4678b417143f0d22b4b27f166573e41685229e0d4491b1789713d SHA512 951d43a0192b9dddacd7bd7ff6b76e281c14071771096db3c413fde6ea67b0c534f17a770cb3464cd3a6a4e8145b82f4cf5c0228e76e6f2cefe88d33748816e9
|
DIST setuptools-56.0.0.tar.gz 2054762 BLAKE2B 3fc0f47304109f765ff0f8430dae735005d508aaa79609c5ca08217eb3802014267bd0f1a4f4678b417143f0d22b4b27f166573e41685229e0d4491b1789713d SHA512 951d43a0192b9dddacd7bd7ff6b76e281c14071771096db3c413fde6ea67b0c534f17a770cb3464cd3a6a4e8145b82f4cf5c0228e76e6f2cefe88d33748816e9
|
||||||
DIST setuptools-56.1.0.tar.gz 2109659 BLAKE2B 2538391c7ee135f12550da9bb7c110aedcc1480616260195f3f8fc8b8a650651f5bb1f0244832801f897381a8663fc88e2b3840101c560595844af5b192259a2 SHA512 e490c61b4453678339ed3222b4ff39f218fdf515f6de0079b7e4343bf2e1a74a0c8d2f2c9108f462986cf06bc940f260bce29c3f61cc9e0c88471914de345ef1
|
|
||||||
DIST setuptools-56.2.0.tar.gz 2110133 BLAKE2B 90c75ba006becc9f564eecd7d46a9ce70c9ad17eacf2e17b3551116b962e08af0084919fccc18ec29a54b98e8fe2419d129554a7b38fdd1104f472fb2e6f9995 SHA512 858d46909335ff0b0441d5860788803100a8fe9f5a1d1f17353bf961bc77191c3237501c1838fdb6ec8e4b2c66874ffd4e8342b42cc2673cb866706660704ea6
|
DIST setuptools-56.2.0.tar.gz 2110133 BLAKE2B 90c75ba006becc9f564eecd7d46a9ce70c9ad17eacf2e17b3551116b962e08af0084919fccc18ec29a54b98e8fe2419d129554a7b38fdd1104f472fb2e6f9995 SHA512 858d46909335ff0b0441d5860788803100a8fe9f5a1d1f17353bf961bc77191c3237501c1838fdb6ec8e4b2c66874ffd4e8342b42cc2673cb866706660704ea6
|
||||||
|
@ -1,62 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
# Set to 'manual' to avoid triggering install QA check
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=manual
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
|
||||||
PYTHON_REQ_USE="xml(+)"
|
|
||||||
|
|
||||||
inherit distutils-r1 multiprocessing
|
|
||||||
|
|
||||||
DESCRIPTION="Collection of extensions to Distutils"
|
|
||||||
HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/jaraco-envs[${PYTHON_USEDEP}]
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pip[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/virtualenv-20[${PYTHON_USEDEP}]
|
|
||||||
dev-python/wheel[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
PDEPEND="
|
|
||||||
>=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
|
|
||||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
# Force in-source build because build system modifies sources.
|
|
||||||
DISTUTILS_IN_SOURCE_BUILD=1
|
|
||||||
|
|
||||||
DOCS=( {CHANGES,README}.rst )
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing --via-root
|
|
||||||
local deselect=(
|
|
||||||
# TODO
|
|
||||||
setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
|
|
||||||
# this one's unhappy about pytest-xdist but one test is not worth
|
|
||||||
# losing the speed gain
|
|
||||||
setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_sdist_relative_path_import
|
|
||||||
)
|
|
||||||
# test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
|
|
||||||
# It tries to sandbox the test in a tempdir
|
|
||||||
HOME="${PWD}" pytest -vv ${deselect[@]/#/--deselect } \
|
|
||||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \
|
|
||||||
setuptools || die "Tests failed under ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install() {
|
|
||||||
export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
|
|
||||||
distutils-r1_python_install
|
|
||||||
}
|
|
@ -1,68 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
# Set to 'manual' to avoid triggering install QA check
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=manual
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
|
||||||
PYTHON_REQ_USE="xml(+)"
|
|
||||||
|
|
||||||
inherit distutils-r1 multiprocessing
|
|
||||||
|
|
||||||
DESCRIPTION="Collection of extensions to Distutils"
|
|
||||||
HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-macos"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/jaraco-envs[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pip[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/virtualenv-20[${PYTHON_USEDEP}]
|
|
||||||
dev-python/wheel[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
PDEPEND="
|
|
||||||
>=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
|
|
||||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
# Force in-source build because build system modifies sources.
|
|
||||||
DISTUTILS_IN_SOURCE_BUILD=1
|
|
||||||
|
|
||||||
DOCS=( {CHANGES,README}.rst )
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing --via-root
|
|
||||||
local deselect=(
|
|
||||||
# network
|
|
||||||
'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
|
|
||||||
setuptools/tests/test_distutils_adoption.py
|
|
||||||
# TODO
|
|
||||||
setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
|
|
||||||
# this one's unhappy about pytest-xdist but one test is not worth
|
|
||||||
# losing the speed gain
|
|
||||||
setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_sdist_relative_path_import
|
|
||||||
)
|
|
||||||
|
|
||||||
# test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
|
|
||||||
# It tries to sandbox the test in a tempdir
|
|
||||||
HOME="${PWD}" pytest -vv ${deselect[@]/#/--deselect } \
|
|
||||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \
|
|
||||||
setuptools || die "Tests failed under ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install() {
|
|
||||||
export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
|
|
||||||
distutils-r1_python_install
|
|
||||||
}
|
|
@ -1,76 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
# Set to 'manual' to avoid triggering install QA check
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=manual
|
|
||||||
PYTHON_COMPAT=( python3_{7..10} pypy3 )
|
|
||||||
PYTHON_REQ_USE="xml(+)"
|
|
||||||
|
|
||||||
inherit distutils-r1 multiprocessing
|
|
||||||
|
|
||||||
DESCRIPTION="Collection of extensions to Distutils"
|
|
||||||
HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/jaraco-envs[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pip[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/virtualenv-20[${PYTHON_USEDEP}]
|
|
||||||
dev-python/wheel[${PYTHON_USEDEP}]
|
|
||||||
' python3_{7..9} pypy3)
|
|
||||||
)
|
|
||||||
"
|
|
||||||
PDEPEND="
|
|
||||||
>=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
|
||||||
' python3_{7..9} pypy3)"
|
|
||||||
|
|
||||||
# Force in-source build because build system modifies sources.
|
|
||||||
DISTUTILS_IN_SOURCE_BUILD=1
|
|
||||||
|
|
||||||
DOCS=( {CHANGES,README}.rst )
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
# temporarily skipped, until we port all test deps
|
|
||||||
[[ ${EPYTHON} == python3.10 ]] && continue
|
|
||||||
|
|
||||||
distutils_install_for_testing --via-root
|
|
||||||
local deselect=(
|
|
||||||
# network
|
|
||||||
'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
|
|
||||||
setuptools/tests/test_distutils_adoption.py
|
|
||||||
# TODO
|
|
||||||
setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
|
|
||||||
)
|
|
||||||
[[ ${EPYTHON} == pypy3 ]] && deselect+=(
|
|
||||||
setuptools/tests/test_develop.py::TestDevelop::test_2to3_user_mode
|
|
||||||
)
|
|
||||||
|
|
||||||
# test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
|
|
||||||
# It tries to sandbox the test in a tempdir
|
|
||||||
HOME="${PWD}" epytest ${deselect[@]/#/--deselect } \
|
|
||||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \
|
|
||||||
setuptools
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install() {
|
|
||||||
export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
|
|
||||||
distutils-r1_python_install
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue