From 8b3d0015572bd9f8feea19067a5f28195ab3f79a Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Tue, 18 Oct 2022 01:04:15 +0200 Subject: [PATCH] dev-python/TwitterAPI: remove olds, cleanup, enable pytest --- README.md | 4 +-- dev-python/TwitterAPI/Manifest | 4 +-- .../TwitterAPI/TwitterAPI-2.7.12.ebuild | 8 ++--- dev-python/TwitterAPI/TwitterAPI-2.7.5.ebuild | 34 ------------------- 4 files changed, 7 insertions(+), 43 deletions(-) delete mode 100644 dev-python/TwitterAPI/TwitterAPI-2.7.5.ebuild diff --git a/README.md b/README.md index dd54f8ba4..93d20759c 100644 --- a/README.md +++ b/README.md @@ -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 1465 Ebuilds in total, 1458 of them have in total 1468 (34 different) licenses assigned. +There are 1464 Ebuilds in total, 1457 of them have in total 1467 (34 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|854| +|MIT|853| |Apache-2.0|297| |GPL-3|91| |BSD|87| diff --git a/dev-python/TwitterAPI/Manifest b/dev-python/TwitterAPI/Manifest index 6acf0aebb..1e1d695d0 100644 --- a/dev-python/TwitterAPI/Manifest +++ b/dev-python/TwitterAPI/Manifest @@ -1,5 +1,3 @@ DIST TwitterAPI-2.7.12.tar.gz 12825 BLAKE2B b4d4a8d1815027549a28a4b57b54e98c54733d181723b25624073db03d76fbadcf27dc6a915ec60d13a657ce83a6de00efd748c67b547a77fc25736348ab9110 SHA512 2395eb8c199692a3e604a387c5a109c856fcecbeb9217a8d7ea0423937434da4f05df034a19eb582995f8614081695b0e3dba8eac7d99dccc62c02aac121a950 -DIST TwitterAPI-2.7.5.tar.gz 11985 BLAKE2B bdcfb381c57a73ce45158b3e9ba6db8918f9c777d96208fe452d7385d2cebda332315c5fc5a21df92763f0ea45cc752c8c94d0f86add15ee57caa5baebd881ee SHA512 bee4fa575679897d9bde9e92103776872e49380ca268f04d8a72c6828aa496ea335a1c0749f7fb811703e70beeff3873b7132736f84da4de907a3893c98c02b9 -EBUILD TwitterAPI-2.7.12.ebuild 817 BLAKE2B c4b5b9fae12e68ca686e142ecde8e5c8728dd9f79d4aa6da2d1ab5f10866ed94144dcea38fa3103ac7ebaeb6e29954692709045dbc744f93e83cfb4fac0c2ec3 SHA512 ef9d2a17bb62f48ac3ee4f05d38d347b9dfa736a9f953646e23ada0b395293a894acbd344d037da92a14653ab3c632e76fbe066972fa8a158b5c6ea14f5cc3f1 -EBUILD TwitterAPI-2.7.5.ebuild 817 BLAKE2B 87f1d4db6c38c771fe258998b2a0ff883767ba050d758574d3281e8064bc0e90d47783b02fcaac2a09e927e8a721ec766846a81472dd40a870a1ee1be312d1e0 SHA512 6cc589f6f11baa0674bba27e96446b36dc4339bf09efad236f172661aaaeeb7822926064314b649286f6323aa9288cb33abf2cfc39a0b4b17c350419de18c8e7 +EBUILD TwitterAPI-2.7.12.ebuild 760 BLAKE2B d195665d3e20e222a94c5e48746766877d919b71e26ceb594bd4463df1280f383ea49f5880b6e90a0fcee19ba65bc39fd8051564689184caca59ba1b2e5ed803 SHA512 dcc39aaaf40e7b555b5b87e773adedc4ebf96b7b74637a233e0c6217769a99d662b5560e3c554f23d5e636f7823f576ec1da71b405e85d785ae83ea4d383d2b2 MISC metadata.xml 504 BLAKE2B ab08c93c89e488765439a4616090193dcb08b66d9725b1dd08500a530841faaec2cfbcbfbde6c71570da9397bfbd7516ca0756809314a84829b2caa74f47af75 SHA512 d68ae376c06370658b11a81d6e9c85f87ab9200e48a0ec789b4a41992a1a9c7d89c7cc5d019bf810aa5fdf2a192bdf6ece5165f8146351b26138e017424c1471 diff --git a/dev-python/TwitterAPI/TwitterAPI-2.7.12.ebuild b/dev-python/TwitterAPI/TwitterAPI-2.7.12.ebuild index f9ba34428..f20329fd2 100644 --- a/dev-python/TwitterAPI/TwitterAPI-2.7.12.ebuild +++ b/dev-python/TwitterAPI/TwitterAPI-2.7.12.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 )" @@ -24,11 +24,11 @@ RDEPEND="dev-python/requests[${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 diff --git a/dev-python/TwitterAPI/TwitterAPI-2.7.5.ebuild b/dev-python/TwitterAPI/TwitterAPI-2.7.5.ebuild deleted file mode 100644 index f10d06d3c..000000000 --- a/dev-python/TwitterAPI/TwitterAPI-2.7.5.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Minimal wrapper for Twitter's REST and Streaming APIs" -HOMEPAGE="https://github.com/geduldig/TwitterAPI https://pypi.org/project/TwitterAPI/" -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/requests[${PYTHON_USEDEP}] - dev-python/requests-oauthlib[${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 -}