summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-08-10 15:13:30 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-08-10 15:14:00 +0200
commit9293e5599aac4a81708f52173a33fb8d04671d2b (patch)
treec8016b51de85c8436d2d84d126fe85b769d1be9e /dev-python/raet
parentdev-python/ioflo: Version bump to 1.7.0 (diff)
downloadgentoo-9293e5599aac4a81708f52173a33fb8d04671d2b.tar.gz
gentoo-9293e5599aac4a81708f52173a33fb8d04671d2b.tar.bz2
gentoo-9293e5599aac4a81708f52173a33fb8d04671d2b.zip
dev-python/raet: Version bump to 0.6.8
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-python/raet')
-rw-r--r--dev-python/raet/Manifest1
-rw-r--r--dev-python/raet/raet-0.6.8.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/raet/Manifest b/dev-python/raet/Manifest
index eca85287f17b..b3c434f1590f 100644
--- a/dev-python/raet/Manifest
+++ b/dev-python/raet/Manifest
@@ -1 +1,2 @@
DIST raet-0.6.7.tar.gz 806490 SHA256 d1b30e59bfeae1144f319baef4e9a3d5f5f9aaae4a92b9f301a5a3e8c5814870 SHA512 a6148424a18d216ab787801ef6cbc73431321ebe0b360808661b67159f895f351918c3f8a6922aacc560f7e610c1db90ee554823460120148eb493970b90c957 WHIRLPOOL 2c64c7576680ae36e4b5df1ea9e9fe8f1fb69e39719f77ad1b5232c908bc04156dbd83a7bbc3b6e9d99bdf56683b0712858aaa5b1ea82ec482039db2b758868a
+DIST raet-0.6.8.tar.gz 807419 SHA256 0643a8d3565d543b192f3fd50f00c93ceeb3b8a4a5c968fb5d0d5b98b4ba71a6 SHA512 01279e7414ec3edc9f2bc0641cb9e0606ebf5700b5ce37a05fd5919f3274b3b43aad64110baf4c4b1fda3843cb1a87b6be4ab592a8f62e82b3a716a86ae61b20 WHIRLPOOL fbaf66432a06d3b9dfc7fc23153024f7b6db00c674525b69b54e01ebd26cdabb86c3c43b7fa12785134b295ef405abdea618938593755dbb8e24065c7493732a
diff --git a/dev-python/raet/raet-0.6.8.ebuild b/dev-python/raet/raet-0.6.8.ebuild
new file mode 100644
index 000000000000..d249e5a23417
--- /dev/null
+++ b/dev-python/raet/raet-0.6.8.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
+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 ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-python/six-1.6.1[${PYTHON_USEDEP}]
+ >=dev-python/libnacl-1.4.3[${PYTHON_USEDEP}]
+ >=dev-python/ioflo-1.5[${PYTHON_USEDEP}]
+ python_targets_python2_7? ( >=dev-python/enum34-1.0.4[$(python_gen_usedep 'python2*')] )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/unittest2[${PYTHON_USEDEP}] )"
+
+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
+}