dev-python/google-cloud-pubsub: remove olds, cleanup, enable pytest
This commit is contained in:
@@ -538,12 +538,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
|
|||||||
|
|
||||||
## Licenses
|
## 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.
|
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 1633 Ebuilds in total, 1626 of them have in total 1638 (35 different) licenses assigned.
|
There are 1632 Ebuilds in total, 1625 of them have in total 1637 (35 different) licenses assigned.
|
||||||
|
|
||||||
|License| Ebuilds using it|
|
|License| Ebuilds using it|
|
||||||
|-------|-----|
|
|-------|-----|
|
||||||
|MIT|969|
|
|MIT|969|
|
||||||
|Apache-2.0|319|
|
|Apache-2.0|318|
|
||||||
|GPL-3|98|
|
|GPL-3|98|
|
||||||
|BSD|94|
|
|BSD|94|
|
||||||
|LGPL-3|26|
|
|LGPL-3|26|
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
DIST google-cloud-pubsub-2.11.0.tar.gz 252433 BLAKE2B e94df877e9d79adcdfc71f051ee883238c0e9bfa98d2c7265466c3ca20b7f3989b63b332107d4e7f3332fa449739b22dc1b1bd86c21ac8adfdaeec0c75651caf SHA512 93f767fa3548fdcfbb33e7c8aff71656e4169039f62ec00d1b5a231e196367403a5dd229798854ff55165744c1ca899b76e94ddcee13111185e41235fd668261
|
DIST google-cloud-pubsub-2.11.0.tar.gz 252433 BLAKE2B e94df877e9d79adcdfc71f051ee883238c0e9bfa98d2c7265466c3ca20b7f3989b63b332107d4e7f3332fa449739b22dc1b1bd86c21ac8adfdaeec0c75651caf SHA512 93f767fa3548fdcfbb33e7c8aff71656e4169039f62ec00d1b5a231e196367403a5dd229798854ff55165744c1ca899b76e94ddcee13111185e41235fd668261
|
||||||
DIST google-cloud-pubsub-2.9.0.tar.gz 233416 BLAKE2B 86243050587d5652b7cd26c80aa45b774e9f8aea709036b683f4b4d81ef4ce1876edb5df212a7d0d1c180c3b4122551a18208defa97499b271b2ff5b28fd4f74 SHA512 5381f9ac83cd19f7fc4cb288c2efc5b6e502a91266102396ba1f9aff69e5e5bbdd8087e629e4e74421a03d4ff81318a350b5f54fa077e4c4b96f102230b73c6a
|
EBUILD google-cloud-pubsub-2.11.0.ebuild 907 BLAKE2B 71ff9b838d642befe65c146c2fc06614e739485a5cd88e76f5f54fad15ac1f93335ae6875db80f037b3a1ae00c2d180f87c7af33899eb03a7567c9690c9c7135 SHA512 e0ff9b46724d72cf04f854f693391c92da5984757a8cb7adb1382a984ea0d99b3a676d84f5f4ca4f977dc5f78adac6e48344b4d7f04d6b1fa46eb641667a4e8b
|
||||||
EBUILD google-cloud-pubsub-2.11.0.ebuild 900 BLAKE2B b13d9b337afa5bf38b2719c43af4fafdd14392376868557c96a79c635a07ee4e4ace5e79068aaf89b9d240a7c13898fd2ac583cbdf9f5821c413f71c77d08552 SHA512 837acc536b3a97ff802ab5d9a95a3dd6bc8426ad0dd75e7b85c392a0b2b8e485486988e2e703bae5412cc8d2d3fedfb683d86a1a27e86e1d00e49ca8060d0a7e
|
|
||||||
EBUILD google-cloud-pubsub-2.9.0.ebuild 945 BLAKE2B 69d893af7b9a23568a678840fc8eb732e547703ea00607a418f8ea4c4c6517aff2aa329bc2ac0de39bc4b05eaa80cc79a7953299e6b94d0dfc60529a534546c4 SHA512 88bd46e609a8e8a7a892c64a10ecac4f2e0f3205316934139cb8921f581fb56be46f40d5c1333099f3f0b6438bdf5f5076105ddb74034544553e7da90671108a
|
|
||||||
MISC metadata.xml 472 BLAKE2B b77f5edd065e63bdf09b86d12c216544ff8942015968fdb45e8e3fe058bfb122d72f419cf8d2df1c5f587b743dbf8bf79f6a68edea3ec3b6ccf605a2e45350c6 SHA512 41359aa6793f1a2b438708ea516a4ba6975fa634fd5f287421088124573d007c44a784295a3bc7eefad042f2e5aae4373aec64937904b200ab4ad5120f7bc602
|
MISC metadata.xml 472 BLAKE2B b77f5edd065e63bdf09b86d12c216544ff8942015968fdb45e8e3fe058bfb122d72f419cf8d2df1c5f587b743dbf8bf79f6a68edea3ec3b6ccf605a2e45350c6 SHA512 41359aa6793f1a2b438708ea516a4ba6975fa634fd5f287421088124573d007c44a784295a3bc7eefad042f2e5aae4373aec64937904b200ab4ad5120f7bc602
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
PYTHON_COMPAT=( python3_{8..11} )
|
||||||
|
|
||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|||||||
|
|
||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
|
KEYWORDS="amd64 arm arm64 x86"
|
||||||
IUSE="test"
|
IUSE="test"
|
||||||
RESTRICT="!test? ( test )"
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
@@ -33,3 +33,5 @@ python_test() {
|
|||||||
nosetests --verbose || die
|
nosetests --verbose || die
|
||||||
py.test -v -v || die
|
py.test -v -v || die
|
||||||
}
|
}
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|||||||
@@ -1,36 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Google Cloud Pub/Sub API client library"
|
|
||||||
HOMEPAGE="https://github.com/googleapis/python-pubsub https://pypi.org/project/google-cloud-pubsub/"
|
|
||||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
DOCS="README.rst"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-python/google-api-core-1.28.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/libcst-0.3.10[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/proto-plus-1.7.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/grpc-google-iam-v1-0.12.3[${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
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user