dev-python/librouteros: remove olds, cleanup, enable pytest
This commit is contained in:
parent
f8bd429d65
commit
6af8e52c48
@ -546,7 +546,7 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
|
||||
|
||||
## Licenses
|
||||
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
|
||||
There are 1605 Ebuilds in total, 1598 of them have in total 1610 (34 different) licenses assigned.
|
||||
There are 1604 Ebuilds in total, 1597 of them have in total 1609 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
@ -555,7 +555,7 @@ There are 1605 Ebuilds in total, 1598 of them have in total 1610 (34 different)
|
||||
|GPL-3|96|
|
||||
|BSD|90|
|
||||
|LGPL-3|26|
|
||||
|GPL-2|21|
|
||||
|GPL-2|20|
|
||||
|all-rights-reserved|14|
|
||||
|BSD-2|13|
|
||||
|GPL-3+|13|
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
DIST librouteros-3.0.0.tar.gz 6284 BLAKE2B b1d8935ea4ac6885c0e2d2eb83d314d1a422a9d5a14efa56a656c75e564f86b4afe3244744da5863b0c5ec23a0cd44632b1957f379df578d2c4615d94d0c3bd5 SHA512 421ddd50575a6e1befab1762321b0e8f39a878ebf81f149c0b158313882f15dbb02cc70c7d335ef59f08a03dc993e604a7394c883fd8a1c8e5aabef19305a95a
|
||||
DIST librouteros-3.2.0.tar.gz 13482 BLAKE2B ef355e98013421e550060947281101ca64761f42f72b1ccf8e826a02a7c67eac5e4c66ac4b3a91c418a55d36c4a1bf3fa197c35dc2c6352152730fc7e52e2828 SHA512 55f55ce38f88d353dabebad564e19f970acf94635728f3b76670413ed3864d740d58407ba84659a7a8fc33d6a60a00641c9f22089782709d5baddcef50671135
|
||||
EBUILD librouteros-3.0.0.ebuild 711 BLAKE2B f144a596f84d374a5d2e2e20f8637b36310b6a5ac272a1f2720af8db07ea442727362563f6eab66f2bf9ecdc9f761c570769836b0b171f579db9a8a3bf93f11f SHA512 3aadf48d88706e3bad8f6e20629f6e4016a157bb3f26ea0d2112fe1dd4c06a25ba601290de6670c0e8db5d608bf1797747567cd1918fa560d06f23dcd17a404b
|
||||
EBUILD librouteros-3.2.0.ebuild 709 BLAKE2B 4e9f928c61c804247638b2c92947fe92edb1e3555cca5c4ed8b30b70debf466beb340dfffeec5f57a414c2e2e77897f346979936b52a1b980d459240b2b4e526 SHA512 345d6bd6be46614726cd6c7617eab4a444b8576f606e38dcf6b61a6cb75c0e4f7b3f6822ad974f6627c333e61c2e0d769d9a864e8e8247ac2ffaed3777d6bec6
|
||||
EBUILD librouteros-3.2.0.ebuild 723 BLAKE2B e0365ab3b8eb7dd935d2dd6d80eec2b391c62d72d555c68f71a03152b69794522b598fcbc1422d3875a957862be89e10bf683c44835dd1e0368f0f0e5fab8c3d SHA512 b4eb174b25102588c08c0aacadba334af84c8aeb3b5934cee39be8e7def86d2ccbc89e8a8f113367e5086f092a1f2d0aa108a01b72c0fd010596ab9a36e08644
|
||||
MISC metadata.xml 460 BLAKE2B 8decbf1d101031d1cd638da932333ce0d39a8585dbfabb6d107f958709a374ac9e1a482a52e778a17c1734a8f7f3aee6620abc6ffa895caf4e5871f434aea0c9 SHA512 7678d1e0e5cb155ce2865498da65f776d35af63b58e218cc73e21217838d4a2de7f46a3bff759e37cd8926f9cad47c4e864e746670f993d05e6d3ae5ab871a91
|
||||
|
||||
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
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="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86 amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=""
|
||||
BDEPEND="
|
||||
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
|
||||
}
|
||||
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@ -13,11 +13,12 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86 amd64-linux ~x86-linux"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=""
|
||||
DOCS="README.rst"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
@ -29,3 +30,5 @@ python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user