From 4df3acb4664b2a9e01bb671c29349b73fe47ba91 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Tue, 18 Oct 2022 00:59:28 +0200 Subject: [PATCH] dev-python/ttls: remove olds, cleanup, enable pytest --- README.md | 4 ++-- dev-python/ttls/Manifest | 4 +--- dev-python/ttls/ttls-1.4.2.ebuild | 34 ------------------------------- dev-python/ttls/ttls-1.4.3.ebuild | 8 ++++---- 4 files changed, 7 insertions(+), 43 deletions(-) delete mode 100644 dev-python/ttls/ttls-1.4.2.ebuild diff --git a/README.md b/README.md index dfc173d04..6a8e505db 100644 --- a/README.md +++ b/README.md @@ -547,14 +547,14 @@ 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 1468 Ebuilds in total, 1461 of them have in total 1471 (34 different) licenses assigned. +There are 1467 Ebuilds in total, 1460 of them have in total 1470 (34 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|855| |Apache-2.0|298| |GPL-3|91| -|BSD|88| +|BSD|87| |LGPL-3|22| |GPL-2|19| |all-rights-reserved|14| diff --git a/dev-python/ttls/Manifest b/dev-python/ttls/Manifest index 5bfe3dd8b..fe58ef5c4 100644 --- a/dev-python/ttls/Manifest +++ b/dev-python/ttls/Manifest @@ -1,5 +1,3 @@ -DIST ttls-1.4.2.tar.gz 7576 BLAKE2B fa96e771940fed42653e41113c93c2d4d8a4b36f8b5d7975355b2aebe4b849c30e1cfa6855c1bc265614574a5b45d04a6f96d8c14e09f684aed379be94b66d9e SHA512 003dc7473a0a8454acb255516b812e8d3bd84c95c1efd9fdb656ceb1002c33031917adc7099458014375019dae7852d706fcc21a0fc6685fb700aa524647098d DIST ttls-1.4.3.tar.gz 7596 BLAKE2B cced9743df9798bcbc6fb0720aba71289fd24a42954e880143ac41523f19cbbb9b2335e27d3d4c850c7c65472750d5e2eb80028371a42135543945fb727beac2 SHA512 7903d6a66992e383b005d9ccee1f9d05af247914ed12a0df2156b1ad5936a9b21d8447bf1cbabb5959330d6894f8cc7457eedb592b3bc954437feb653e9080df -EBUILD ttls-1.4.2.ebuild 787 BLAKE2B 84aec3a5ec7807c8132ea8a6b76687dac88f3be53fc479d913df0daac71566dc4633896cac148fd517595534b1f727fe8c11823e0da48ce08ac06dc506e15004 SHA512 79014316ff0957c0760115aee19e94a8ffc41c61b65b80db7f9a459c79782f2978bdf0049b8d17009ddd3999c0114ea5850564eaade8fc79496c8d27fa34682e -EBUILD ttls-1.4.3.ebuild 787 BLAKE2B 84aec3a5ec7807c8132ea8a6b76687dac88f3be53fc479d913df0daac71566dc4633896cac148fd517595534b1f727fe8c11823e0da48ce08ac06dc506e15004 SHA512 79014316ff0957c0760115aee19e94a8ffc41c61b65b80db7f9a459c79782f2978bdf0049b8d17009ddd3999c0114ea5850564eaade8fc79496c8d27fa34682e +EBUILD ttls-1.4.3.ebuild 726 BLAKE2B 87151d8e59911a51744f3cf1af85a94e426b5fca60a42cb1331ec7a0bbcc96898fb34671e1ecc5a4dbfd1455340c11052418defb2b09974781fae97698e4f915 SHA512 6cdeb2c140c1a5add963006fbda67a28ca917c83cf2377bc1d0d1713ed31797d6185b60e24da7e8235a000f78762baaa65d6ea536d1628d3a616bd694ea45a53 MISC metadata.xml 448 BLAKE2B 047d640c36074a94bfe2c597110d1ff6501c181f8df62165766dcc70f68bf02b9de06eb8ce6c8cb2f805882760f59f90c21f5b04714f6183e6a348abc05d3c2f SHA512 2e5237db5de201a670c779110529036d634875174441c2f6afdf2c2b8170b67fdf413b681821014637d5c43ec53e73af56bfbd18ebb67899a3ea693c5c786b14 diff --git a/dev-python/ttls/ttls-1.4.2.ebuild b/dev-python/ttls/ttls-1.4.2.ebuild deleted file mode 100644 index b61a02014..000000000 --- a/dev-python/ttls/ttls-1.4.2.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="Twinkly Twinkly Little Star" -HOMEPAGE="https://github.com/jschlyter/ttls https://pypi.org/project/ttls/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -DOCS="README.md" - -RDEPEND=">=dev-python/aiohttp-3.7.3[${PYTHON_USEDEP}] - >=dev-python/colour-0.1.5[${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/ttls/ttls-1.4.3.ebuild b/dev-python/ttls/ttls-1.4.3.ebuild index b61a02014..57c351a19 100644 --- a/dev-python/ttls/ttls-1.4.3.ebuild +++ b/dev-python/ttls/ttls-1.4.3.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="BSD" 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/aiohttp-3.7.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 } + +distutils_enable_tests pytest