dev-python/sendgrid: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-17 23:27:58 +02:00 committed by Andreas Billmeier
parent ae566b8627
commit c473d05bbd
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 9 additions and 45 deletions

View File

@ -547,11 +547,11 @@ 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 1491 Ebuilds in total, 1484 of them have in total 1495 (34 different) licenses assigned.
There are 1490 Ebuilds in total, 1483 of them have in total 1494 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|873|
|MIT|872|
|Apache-2.0|302|
|GPL-3|91|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST sendgrid-6.7.0.tar.gz 48912 BLAKE2B a9aae13af98f7ffd20542a1287ba34f3b13d167b48b20c62a224a6087cd9241157f3fbb7bc78494b8f92d3053658498a197484c3abe6d62f78375bbb2251908a SHA512 bf5b36046203f935f747ddbb94ce4d143cdeda54282886119916d22c2f9d60b23bb2ec4e2d19377286b6f258e3fe30af9354322474d07539e1a5bd7f903b07e3
DIST sendgrid-6.8.2.tar.gz 47681 BLAKE2B 7f9d03f57278f86e8f51598bb58b715958e8ddb1f685e1a831bd47f21e78609297258bad5bde835cb42fbc95495171d42857f30e3612ed8e38d560447196fb6a SHA512 d7f93fdecdf60b423598468e4b773a9cdeda0dc85e22275ab6d9ddadaab25cd80ab710fdf9890ed053efc4e099c2a691b214edafb3b7c77c2914e3a2efd883c2
EBUILD sendgrid-6.7.0.ebuild 832 BLAKE2B 0c1122037dab2bd1282bcacf0493a4bd22485bbc514026576a5b3dd581693a4fad5041319c238eb1a1e249a05e631c6759d2b3c92ef5e7605f51c07815037651 SHA512 85549137af15dcaf89a0c2b022dbbfe749fef11e56fd7be8c4b37235497a6c1e2859e59bbbfa6b0abfccbff7707656a614461eaaebc8189a4eb5a2b387d8e654
EBUILD sendgrid-6.8.2.ebuild 832 BLAKE2B 0c1122037dab2bd1282bcacf0493a4bd22485bbc514026576a5b3dd581693a4fad5041319c238eb1a1e249a05e631c6759d2b3c92ef5e7605f51c07815037651 SHA512 85549137af15dcaf89a0c2b022dbbfe749fef11e56fd7be8c4b37235497a6c1e2859e59bbbfa6b0abfccbff7707656a614461eaaebc8189a4eb5a2b387d8e654
EBUILD sendgrid-6.8.2.ebuild 769 BLAKE2B 746178a8d050d74b935a9342069e76866bc93ded03117615bec18332e7e9232af8bd07e77a2d00690882e297ffbb6049f726953d749f4d91fcd5d4c112af7325 SHA512 d5bd6a0b8ce070b8175dd21a2e5a51c72e286d64dbeba8cc414aefd22635b18a0bc68cd1382af8aeba07a0cffe83203172ef29f2c483e52d214c0822aea99413
MISC metadata.xml 462 BLAKE2B db8abbe2ca74b4556e5f725474472f89c137bfeacb8324913193b407b1c1cbeaca252bee5160fc304bded2f58fe6cfd2ef509e39bc48933bf13207fde74851cc SHA512 6c6f34fba2e8aa0800e53250f964318e4e70239bca4e7ebcba8f5796320e0e4a2c368f70e03ea920753a02226f36483a3c30c9a8708d08889c87ace8eb14c679

View File

@ -1,34 +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="Twilio SendGrid library for Python"
HOMEPAGE="https://github.com/sendgrid/sendgrid-python/ https://pypi.org/project/sendgrid/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND=">=dev-python/python-http-client-3.2.1[${PYTHON_USEDEP}]
>=dev-python/starkbank-ecdsa-1.0.0[${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
}

View File

@ -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..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@ -24,11 +24,11 @@ RDEPEND=">=dev-python/python-http-client-3.2.1[${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
}
distutils_enable_tests pytest