Commit 80e84823 authored by Martin Samek's avatar Martin Samek
Browse files

Merge branch 'master' of gitlab.fel.cvut.cz:samekma1/marsark

parents a78ffc39 10281fc5
DIST ncclient-0.6.7.tar.gz 113813 SHA256 aa15ae1d5a99ebfacffb0f5f9ad1655d7ff00fe9a285fde08891c1dbceff3f48 SHA512 d4b9996d849d2ae815d40507cfefe74b6184ca23924773a4340f1be85a3751b0976c38f5091aeb20531037d1274ca35c1d1640c02222842b8197d800a938b71b WHIRLPOOL 66b7f8a9d090b3421277f1fbd31266498c2fc3f0fb910b28ca094afc694c937bcf7e4a6427fc5e09ffe0ff85dbe42a50e8e51c33754b4e92e7cfed3101bd7807
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="Python library for NETCONF clients"
HOMEPAGE="https://github.com/ncclient/ncclient"
SRC_URI="https://github.com/ncclient/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]
dev-python/paramiko[${PYTHON_USEDEP}]
dev-python/selectors2[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}]
virtual/python-unittest-mock[${PYTHON_USEDEP}] )"
python_prepare_all() {
distutils-r1_python_prepare_all
# Package installs 'test' package which is forbidden and likely a bug in the build system
rm -rf "${S}/test" || die
}
python_test() {
nosetests -v || die "tests failed with ${EPYTHON}"
}
DIST selectors2-2.0.1.tar.gz 19996 SHA256 482ee6168dad08fc46db82d99bc28be4b4256512809d39191d232c412d6293b4 SHA512 662afeb1ca30642f258b49885eed6616581d90418f2bd347cab450d7a994bf62087269b1f4d01b3762b97a99699efc2acfb23a213d5c7a49186afff3e16be859 WHIRLPOOL 6fde6923537f31e7f4e4b3c5b16efde4ba32585675094fbd1b11f01cd68c1e2dd0b1230f91c602ef776ea0586a3a896193f6d01e2703f5b5c85c60c3eda9f911
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="Portable replacement to the standard library selectors module"
HOMEPAGE="https://github.com/SethMichaelLarson/selectors2"
SRC_URI="https://github.com/SethMichaelLarson/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]
dev-python/paramiko[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
DEPEND="test? ( dev-python/psutil[${PYTHON_USEDEP}]
virtual/python-futures[${PYTHON_USEDEP}]
virtual/python-unittest-mock[${PYTHON_USEDEP}] )"
python_test() {
"${PYTHON}" -m unittest discover -v || die "tests failed with ${EPYTHON}"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment