dev-python/python-gitlab: remove olds, cleanup, enable pytest
This commit is contained in:
parent
b6286cbbd5
commit
3d4fe581fa
@ -547,7 +547,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 1519 Ebuilds in total, 1512 of them have in total 1523 (34 different) licenses assigned.
|
||||
There are 1518 Ebuilds in total, 1511 of them have in total 1522 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
@ -555,7 +555,7 @@ There are 1519 Ebuilds in total, 1512 of them have in total 1523 (34 different)
|
||||
|Apache-2.0|307|
|
||||
|GPL-3|93|
|
||||
|BSD|89|
|
||||
|LGPL-3|25|
|
||||
|LGPL-3|24|
|
||||
|GPL-2|19|
|
||||
|all-rights-reserved|14|
|
||||
|GPL-3+|13|
|
||||
|
@ -1,5 +1,3 @@
|
||||
DIST python-gitlab-1.13.0.tar.gz 121434 BLAKE2B f8a9af4f389b4759891e26de305c48a70b4255667d4bda869e4e9738f37a1d9a99777a3aa3d1617df343e6b10fe58ad42d2f1d309da931c92690233347a21f2d SHA512 483133d6bc3244c28a2cfa7382262692ed5eef5be5217c5f9786883667d777bac7f952946c50cb8ca6bbe07f63691ec19be4fbfeb7d9cd733fb049a0c3378721
|
||||
DIST python-gitlab-1.6.0.tar.gz 110201 BLAKE2B 7df304e82e463404ae59f49b9056ae4f29f0cb05cd8ce411c675c735c05aaac8c3ccb6fb8648f32c7f8097c9834906b409cbb533968a458953632ee74d2679fb SHA512 b567845ccb3f7e759ec1718398b9f224da089c2033e346cda47ac4dc0b63e6302c48ee38e2b06b0df1976be483746f63d7d2375381f03f219cf4479a40baa9d1
|
||||
EBUILD python-gitlab-1.13.0.ebuild 782 BLAKE2B fbe6b39fd193157d8192248a547e1161cd191f11bbbfb0fbc304d28f4f02f93dcee152fa8b785c77192f4bcf8b7e7ece97cd43940520bc6bce48aea6ef6c7041 SHA512 bbba6034edd337dcfb6f59843e0b69a3bdc6b0e9ca39f7d2a1abe9122514d06d85873b5cfb4c29e038bd5a0ca80736239c24ac4f03285ccf3e3210330af8e4d6
|
||||
EBUILD python-gitlab-1.6.0.ebuild 782 BLAKE2B fbe6b39fd193157d8192248a547e1161cd191f11bbbfb0fbc304d28f4f02f93dcee152fa8b785c77192f4bcf8b7e7ece97cd43940520bc6bce48aea6ef6c7041 SHA512 bbba6034edd337dcfb6f59843e0b69a3bdc6b0e9ca39f7d2a1abe9122514d06d85873b5cfb4c29e038bd5a0ca80736239c24ac4f03285ccf3e3210330af8e4d6
|
||||
EBUILD python-gitlab-1.6.0.ebuild 689 BLAKE2B cf5fcfb021a83679dedaa3394b3ff7244f3a177f6a822d95d54f0f8cc53af118172d5e638d5feb176fcf062d148c8e12070b7b56648872d8f2dae911c8e7bb74 SHA512 ad4f2a3c34be2976dfc881f905b62fd5f5b09a0e7f72cd7ebc35ebf0b83c5ef88feaff0ab0e74dd75fff69556471c3d6707c92f3afec139234dfb5eb6af01402
|
||||
MISC metadata.xml 462 BLAKE2B a93cceccc7ba5384abc0aaf83a1777cd5fca6dc08b006e57140fcd2909f455251f4a31978c635d6a828e07bdd1b4ca15f955b590bbc7ccc0fa2064dd409c2850 SHA512 834afb6702ebf441de6e3b34e9a8dbcabd6bee7f8b6ac5e0633f41062600a87970697ab9dce8f08421323c4202587cf5c1660a6c5c28a5a2743825f54733f17b
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Interact with GitLab API"
|
||||
HOMEPAGE="https://github.com/python-gitlab/python-gitlab https://pypi.org/project/python-gitlab/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.4.2[${PYTHON_USEDEP}]"
|
||||
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="7"
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@ -22,11 +22,9 @@ RDEPEND="dev-python/six[${PYTHON_USEDEP}]
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user