From f44dad463b5766e1a8c27337d175da0ccc74f462 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 15 Oct 2022 20:41:14 +0200 Subject: [PATCH] dev-python/datapoint: remove olds, cleanup, enable pytest --- README.md | 4 +-- dev-python/datapoint/Manifest | 4 +-- dev-python/datapoint/datapoint-0.9.5.ebuild | 33 --------------------- dev-python/datapoint/datapoint-0.9.8.ebuild | 10 ++++--- 4 files changed, 9 insertions(+), 42 deletions(-) delete mode 100644 dev-python/datapoint/datapoint-0.9.5.ebuild diff --git a/README.md b/README.md index 58750c4a3..1dfbbcf18 100644 --- a/README.md +++ b/README.md @@ -538,13 +538,13 @@ 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 1652 Ebuilds in total, 1645 of them have in total 1657 (35 different) licenses assigned. +There are 1651 Ebuilds in total, 1644 of them have in total 1656 (35 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|981| |Apache-2.0|322| -|GPL-3|100| +|GPL-3|99| |BSD|94| |LGPL-3|26| |GPL-2|21| diff --git a/dev-python/datapoint/Manifest b/dev-python/datapoint/Manifest index 1212308c0..2e833f3d9 100644 --- a/dev-python/datapoint/Manifest +++ b/dev-python/datapoint/Manifest @@ -1,5 +1,3 @@ -DIST datapoint-0.9.5.tar.gz 29442 BLAKE2B d6222f24172536aaef3e1dd4631b0f66fecbc8a3aa717476ac8bde182e5239d6ce20fe14d4d9a21cf7d9e83325c6f2faa65e30d57697262ad5b6b77f03000826 SHA512 0f96ae1a77ee4bcf521c40e2f334fa402192316458676a62340772777a197de0f06a4670994c4b3e6b84a0e52a83c1c5c1e6d7ac8cc3e76747581cb48c5bf53a DIST datapoint-0.9.8.tar.gz 30103 BLAKE2B a4380b6bc3650dfb51fa666583dba030c8a76d8129c0403cfe66a3c2b61d5a46542d81c71769d29aec755cb5e734f2d4858c37eca918299e73124608ef4e68e9 SHA512 b6afc7895a52497bf058200e02808b7b83ff92bbba17d6453946e67e26df7fe460c3fa028a62d2b418cfc25409b15b245ff758feb04f4ce7645aeefb6aaacc72 -EBUILD datapoint-0.9.5.ebuild 837 BLAKE2B 8a02e532a687b79f563b40c0fc77cc52ab9b0c899cb7e088dfca3e402005b484fd6baed1c0580465d924d626ff86f5b4a1e1a2d497686f0e9197beea5c84077f SHA512 093091182ef597f7d668c8073ad7d8fad0ba67a5e5b0a0281643fbadbecac24b7fd001c5b38241fed128b430aa43fe7d486981a0ddfeac24e911bf240fe7194e -EBUILD datapoint-0.9.8.ebuild 856 BLAKE2B 5b9fa514e7a425d33ee68bd61eee9a1d3f0087ae665a0b548bd44b2148a8919604c4a8291fd97134a4784720768a89e8071b07a73f1a789ff140fb583d2371e9 SHA512 bcde19e3331a67356ca7ffa2675dfe232c1a433ff84be2acd2539a5c2233c24013e4fc9068f61cb6df3b4bd0dc9e00e7683efec801f490030065480614cae60e +EBUILD datapoint-0.9.8.ebuild 857 BLAKE2B 65d38a8e3da95d12a73dfd2447bd36f927afae8cd03635593b4db7acf6c91dee0dde1bd603ea205495510351c0b85b97142a2762fb16266ec15449fccf17f045 SHA512 f086c10c5325d83b339b419c6632aacbca54d53d60694b651ef18c389f8a3c83954e0f648f125b76966b61d6bf622ae53fd4e24a1bb1a0b087ef67629da3197e MISC metadata.xml 457 BLAKE2B e43ebd4be36ed0ad48e96a85d5d929f6f2880fe9a8af8001efc33317df1bfa90cb49866b97661fdb1af93de963f296833f6e8a70f36ef0498ddd6bd496e7a4cf SHA512 0e5e5089ca10d2d5a3bdf16473b46cb595e46682f81554ca9104bc15842c746daa4e1184aba9d08c4567321a80c045b428deda24c025ff6d85c1560746485da4 diff --git a/dev-python/datapoint/datapoint-0.9.5.ebuild b/dev-python/datapoint/datapoint-0.9.5.ebuild deleted file mode 100644 index c31252d04..000000000 --- a/dev-python/datapoint/datapoint-0.9.5.ebuild +++ /dev/null @@ -1,33 +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="Python interface to the Met Office's Datapoint API" -HOMEPAGE="https://github.com/ejep/datapoint-python https://pypi.org/project/datapoint/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-python/pytz[${PYTHON_USEDEP}] - >=dev-python/requests-2.20.0[${PYTHON_USEDEP}] - dev-python/appdirs[${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 -} diff --git a/dev-python/datapoint/datapoint-0.9.8.ebuild b/dev-python/datapoint/datapoint-0.9.8.ebuild index 602bc4036..f642c90f2 100644 --- a/dev-python/datapoint/datapoint-0.9.8.ebuild +++ b/dev-python/datapoint/datapoint-0.9.8.ebuild @@ -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="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 x86" IUSE="test" RESTRICT="!test? ( test )" @@ -33,3 +33,5 @@ python_test() { nosetests --verbose || die py.test -v -v || die } + +distutils_enable_tests pytest