add librouteros
This commit is contained in:
2
dev-python/librouteros/Manifest
Normal file
2
dev-python/librouteros/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST librouteros-2.2.0.tar.gz 5861 BLAKE2B d5ca07b7f8379c18484ebf49cbbead6b9a726c5ddbc3e8b2f945f052da91f373d369e611370b16bb46c656d5e82a5b171c237eb019aa7dfa7ca7a6306f6dd503 SHA512 d49ddb0a9374cc5a033be46fc8b0f624ddaccc6ea91257bf160803c350628f9920c981b5fe628552e54f83f9bad3d0f175be26dec7d480b57d0ad0254895bdfc
|
||||
EBUILD librouteros-2.2.0.ebuild 727 BLAKE2B e079e6caf3db4bbe7445b55c50c896dba97cfaeb1dc8856531fed8fcb6aec5f57e430abfbd01f544e3b358783d51a4b02c478855dc68d2d25b05260cef47736c SHA512 0d4f5f308379e943c2ef314fa62f17254834aabfc2bca62dcb73834905566056b39eaaeed565e015f673d24570c6d91ffd6f3aae29ab1d81ada8deecb9272aaa
|
||||
30
dev-python/librouteros/librouteros-2.2.0.ebuild
Normal file
30
dev-python/librouteros/librouteros-2.2.0.ebuild
Normal file
@@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net
|
||||
# Distributed under the terms of the GNU General Public License v3.0
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python implementation of MikroTik RouterOS API"
|
||||
HOMEPAGE="https://github.com/luqasz/librouteros https://pypi.org/project/librouteros/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GNU GPLv2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${REDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
Reference in New Issue
Block a user