From 6f9c5cf9eaeb6b39b3b3c2bda3cfbc62e4e6d929 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 15 Oct 2022 09:53:26 +0200 Subject: [PATCH] dev-python/pyplaato: rework, remove olds --- README.md | 4 +-- dev-python/pyplaato/Manifest | 6 +--- dev-python/pyplaato/pyplaato-0.0.15.ebuild | 34 ------------------- dev-python/pyplaato/pyplaato-0.0.16.ebuild | 39 ---------------------- dev-python/pyplaato/pyplaato-0.0.18.ebuild | 6 ++-- 5 files changed, 7 insertions(+), 82 deletions(-) delete mode 100644 dev-python/pyplaato/pyplaato-0.0.15.ebuild delete mode 100644 dev-python/pyplaato/pyplaato-0.0.16.ebuild diff --git a/README.md b/README.md index 6d965b675..2a3f9a358 100644 --- a/README.md +++ b/README.md @@ -538,11 +538,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 1829 Ebuilds in total, 1822 of them have in total 1834 (35 different) licenses assigned. +There are 1827 Ebuilds in total, 1820 of them have in total 1832 (35 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1101| +|MIT|1099| |Apache-2.0|344| |GPL-3|113| |BSD|101| diff --git a/dev-python/pyplaato/Manifest b/dev-python/pyplaato/Manifest index 18ca2ee41..4d58dea1b 100644 --- a/dev-python/pyplaato/Manifest +++ b/dev-python/pyplaato/Manifest @@ -1,7 +1,3 @@ -DIST pyplaato-0.0.15.tar.gz 6646 BLAKE2B 0c75adf7ee597b8325981ec1b6eab92f42ab3c92af5d9fbc76b8d845a72ec3cee3bc15874f1ae42fbf537eed5bccd39fffcc964b2d6be06baa581d3a312c02a1 SHA512 7184929c301e8f521c59baaf2c6d41ca6a05b0f88a53516d8e39e084384683a538c6d5ad7c640beee9aa0caa3e86856868dde1eb885921c29dd2d5c20af422d0 -DIST pyplaato-0.0.16.tar.gz 7498 BLAKE2B cabdf6b5472d14f1513654fe490a39d8a0e22e2d71c67d67eaeaa493011a7886b73d704bdf3a3693d4fdad3087bea4a91b3994c5203e393f5607c167f0d52ebe SHA512 797ca522fb78d65f244aa8e22d23a8e0d0b897d2cf65f1547ae70824dd2c509116c4b45fff41304a4016d746c9ace065eb6c3f2dbb9f9a38931d94e1d88542fb DIST pyplaato-0.0.18.tar.gz 7199 BLAKE2B 25877d87be10d99dac5d6806dc6cd8541d749aa4eb8904ca831ec02585a473a9aaef6c06c82f9608070cc70cd5c574b6e62e901764366e73405d5c82b37a2a0f SHA512 894821ed22263b02ad5b09b10dc3921d10726bd633b2b116a5df221af5024e1756afc3f43bd1b8bc39a722ea5bf36c88fbcf220ae5de413a27a5a39acea07103 -EBUILD pyplaato-0.0.15.ebuild 824 BLAKE2B 94f9142d65e1bd581194f02e23a11ea774a368d285d2157e31126ffee11170c47b4e8a07189be3aa298b4fec7c20133d3fa268ce3789932680fc80803742dd95 SHA512 194df00c1b2595eaeec9a6cf8e781fad8b7d33677e71a42f296d59b4590b2c0a22ba90df83fd44bd72734ae3b8ba929e0c198373280abcb248d70e6961df4b3e -EBUILD pyplaato-0.0.16.ebuild 985 BLAKE2B 9fdae9aa2dc4564fa6fae51ef887b95a45509d2fe4673f63bb9c633ad3d1265339be11787e80fa964b8fef08e915118215af27b8a5764393aedc71dfef64c3e7 SHA512 0946f15be1d43b1543f24b6d4d179a9df82f6ab9c7355e4656b2b9c6538631a2bdf6f083ae811b4193d03166d6d9ae85cd1f698f6420881551d24d7cfd8ec3ca -EBUILD pyplaato-0.0.18.ebuild 824 BLAKE2B 94f9142d65e1bd581194f02e23a11ea774a368d285d2157e31126ffee11170c47b4e8a07189be3aa298b4fec7c20133d3fa268ce3789932680fc80803742dd95 SHA512 194df00c1b2595eaeec9a6cf8e781fad8b7d33677e71a42f296d59b4590b2c0a22ba90df83fd44bd72734ae3b8ba929e0c198373280abcb248d70e6961df4b3e +EBUILD pyplaato-0.0.18.ebuild 827 BLAKE2B c07be88df36fa11399676a3f384b12db574133537604997dd9cea91c2980524995e4df76dfebc4a70c25e837b3d6585e7a555a6b4230fd042c6626d6a34d8044 SHA512 1efc58480e4a884e0c9d8538d0c44548cad6ff7d359ff19b8f299a24aa6b382bc5fdc4bf2cb05eeecf91c6dd7c70833e45d130767038eec00b30aa3fd2c9ff0c MISC metadata.xml 449 BLAKE2B 1bcd1aed3b272e5aefeb9133720b86928f1fbb3c84e9b523795a0f9d0a28a11c2aa9acb382167c8081c957fd0d3e6efa10976ca16a6a8220841bcfa99b8d87e4 SHA512 ec7cd40056ae00f0656bdb0b44c9f1db14ed8152cc25ff967707a9e9c3101d7af9da683c718c30657801a6b395d0fdf11b60d04883a36360bba86c4dba32ef2f diff --git a/dev-python/pyplaato/pyplaato-0.0.15.ebuild b/dev-python/pyplaato/pyplaato-0.0.15.ebuild deleted file mode 100644 index 056a7c1cc..000000000 --- a/dev-python/pyplaato/pyplaato-0.0.15.ebuild +++ /dev/null @@ -1,34 +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="Asynchronous Python client for getting Plaato Airlock and Keg data" -HOMEPAGE="https://github.com/JohNan/pyplaato https://pypi.org/project/pyplaato/" -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.md" - -RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/python-dateutil[${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/pyplaato/pyplaato-0.0.16.ebuild b/dev-python/pyplaato/pyplaato-0.0.16.ebuild deleted file mode 100644 index 95a4a0f9d..000000000 --- a/dev-python/pyplaato/pyplaato-0.0.16.ebuild +++ /dev/null @@ -1,39 +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="Asynchronous Python client for getting Plaato Airlock and Keg data" -HOMEPAGE="https://github.com/JohNan/pyplaato https://pypi.org/project/pyplaato/" -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.md" - -RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/python-dateutil[${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 -} - -src_prepare() { - sed -i "s/packages=setuptools.find_packages()/packages=setuptools.find_packages(exclude=['tests','tests.*'])/g" setup.py || die - eapply_user -} diff --git a/dev-python/pyplaato/pyplaato-0.0.18.ebuild b/dev-python/pyplaato/pyplaato-0.0.18.ebuild index 056a7c1cc..b878ae02d 100644 --- a/dev-python/pyplaato/pyplaato-0.0.18.ebuild +++ b/dev-python/pyplaato/pyplaato-0.0.18.ebuild @@ -3,7 +3,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 )" @@ -32,3 +32,5 @@ python_test() { nosetests --verbose || die py.test -v -v || die } + +distutils_enable_tests pytest