diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
commit | d99093fb4bb5652015c06274d64083daa2439e4f (patch) | |
tree | cf61513204d97974179580065e85df5c8009087c /dev-python/raet | |
parent | 463397cf1e064185110fe57c568d73f99a06f5d1 (diff) |
gentoo resync : 03.03.2021
Diffstat (limited to 'dev-python/raet')
-rw-r--r-- | dev-python/raet/Manifest | 1 | ||||
-rw-r--r-- | dev-python/raet/raet-0.6.8-r2.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/raet/Manifest b/dev-python/raet/Manifest index 9d0bb2d8df16..35c618ed03b1 100644 --- a/dev-python/raet/Manifest +++ b/dev-python/raet/Manifest @@ -1,4 +1,5 @@ AUX raet-0.6.8-msgpack-1.0.patch 8061 BLAKE2B 90607848542b8ba5a219a872f6f4f4e12546ebf12e1d38cfc3c3259282eda97a641fcfa587646e83ffa5e98d5cc3b0e77c032ebf2358a5cd603e2ac58ad9a114 SHA512 524e2c787386a885796a3666dff792d7e2808585658227acbab51c90c7ebfdfb0435ea67bcdc23e9be6b43364452e23a085d4843e4c1ee1dd576e140007c4293 DIST raet-0.6.8.tar.gz 807419 BLAKE2B 2370eb55b76a52cf89363f9891a411ea7fa2f27b84bd216c44010fd9afb5dcd9261570f916db00ff7bd922c485cd6123b3a6522154b6e05f7869d7e790177f7b SHA512 01279e7414ec3edc9f2bc0641cb9e0606ebf5700b5ce37a05fd5919f3274b3b43aad64110baf4c4b1fda3843cb1a87b6be4ab592a8f62e82b3a716a86ae61b20 EBUILD raet-0.6.8-r1.ebuild 1036 BLAKE2B 63271bc77a2b97af77519efc7a1ed4e57ddcf99b6709f00906b5601ead93f2e07183ea311b107d882973afe9e30744e43ff7ad90f605833859d69430ff6e7eab SHA512 016824daf78e077ad3cd4ac011e2b71e7c4bb58acc3ae8a50cc0049a2448919ed45b1f1c159ebae65473f5b17b39d1e6d48b21479c8731086c2c7843cfdd9f61 +EBUILD raet-0.6.8-r2.ebuild 985 BLAKE2B 467063491306e27e27c918262a728079517147ff808852b6a08bfa3c50ff57946c0dd7249dc455664f57462d23af1911d914f2d569a7c6b3d5a05c83085eaee2 SHA512 c4673a51f64745dc8a20de0679f0104face0e555d5de3977e18ce513a1088cc2bdb699cd4b17a95326a333f12fd16ae9e1dc4cdcd2ee5985acd18a31171bbd65 MISC metadata.xml 474 BLAKE2B 8b186f4c18696c3df8e3d6b29f5d45d3c040156a473edb5066fa79f449642e4f1a3274974bbfc02733cf9ae3bc04b22c06cb8ef80b9962d14b4ee26dedc329d9 SHA512 33760bd0996fbe1d95e4f4ed658eb4a6c221b4c8911842db2e0f443d317c9c079ecb5a8e8f5cfea1c47531a944c6d79b4f4bd29775ddef6cb6c6008c4f359e15 diff --git a/dev-python/raet/raet-0.6.8-r2.ebuild b/dev-python/raet/raet-0.6.8-r2.ebuild new file mode 100644 index 000000000000..ccf39de3c9f7 --- /dev/null +++ b/dev-python/raet/raet-0.6.8-r2.ebuild @@ -0,0 +1,40 @@ +# 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="Reliable Asynchronous Event Transport Protocol" +HOMEPAGE="https://github.com/RaetProtocol/raet" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-python/six-1.6.1[${PYTHON_USEDEP}] + >=dev-python/libnacl-1.4.3[${PYTHON_USEDEP}] + >=dev-python/ioflo-2.0[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND} + test? ( + >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}/raet-0.6.8-msgpack-1.0.patch" +) + +python_prepare_all() { + distutils-r1_python_prepare_all + sed -i -e "/setuptools_git/d" setup.py || die +} + +python_test() { + pushd "${BUILD_DIR}"/lib || die + ${EPYTHON} ${PN}/test/__init__.py || die "tests failed for ${EPYTHON}" + popd || die +} |