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

This commit is contained in:
Andreas Billmeier 2022-10-17 07:05:58 +02:00 committed by Andreas Billmeier
parent d17caeacd4
commit ed5d04a310
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 42 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 1528 Ebuilds in total, 1521 of them have in total 1532 (34 different) licenses assigned.
There are 1527 Ebuilds in total, 1520 of them have in total 1531 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|896|
|MIT|895|
|Apache-2.0|307|
|GPL-3|93|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST Pysher-1.0.1.tar.gz 9760 BLAKE2B 7752d0b5847ca988f41775284c5a50129ab3824e18557482a8fa15272ce3bd9df05b945bc727660dbd8aae307de8e2b82a2fff1719e684de92dda241d3eb6264 SHA512 8f6e70760e6637cd123cfe2313b441b587e4e3ff51500b32919df3b027bdf4ed32081148bccc07b88e7cb81c974acf09b4bb88fd3f25771c66ee9c5aed2587a2
DIST Pysher-1.0.7.tar.gz 8806 BLAKE2B 489923298232883da521aee3380d220b4292e9ae951a624ab9c7568b2dce4cec5a7229bc6e98a5d41cfec370b8ca26f34c5a78383d3c05954c5d9f1dfa46988d SHA512 3ba9656622eda9161951c0db4e56578be30f14344a5e5a18b71e2ba095c21561f4b1744adc665520c21444649eab603b085300bf0b7d9e085fe5c92f7e0bed5f
EBUILD Pysher-1.0.1-r1.ebuild 920 BLAKE2B 248fe1b5979f940498394df9652dbb86d420b9087ab499c69903ce55850d4e7f17af51bb0af9e1cb1566025a165f315b58b95173096e2dc421ef68155f7d8c2e SHA512 8040437d6a7f8130dde6855962f7cc68d85fe816728e6a284ea4719e0719c6e744bbb88a3415643c805925d24c4fadc99dcb5e7ef66abc0d254d70d6d0c808b0
EBUILD Pysher-1.0.7.ebuild 805 BLAKE2B 844d17b8a230ad5055e285d1f73fd706b2db19ffc539b43e80ff46ffa704f525bc0b8c91bad8b84b7b851034cfc1fb92a8229c099774bc29c6c1847797b0bd44 SHA512 e584e0e65d38eb8d17705788396b7283f4fed4b605fc5e180cbb21d766421e58a4ffe70d2c5e3eac16ff7b0c47286ca54aabaa6c672c6c90b5db77afd87fd82b
EBUILD Pysher-1.0.7.ebuild 808 BLAKE2B 552993e33fbbb55ab9c5fdec38652e53f14870be62ed00675b8359bdfc8eaf0efd6deabd2d7ecfa16c4fc3fb3a4d12411d699bf534f841f660b1eabe7541cca3 SHA512 7b21a04e3adc7b5a12de499533114bef4b3386178e0e5a99fb6ce4281669551dc256d8c5a3c2d6f369eb250a849542247dc0ce5beb77d9de44b6000bb4e52e60
MISC metadata.xml 461 BLAKE2B c16baf898994a2cbaf2727008374ea37deff2ccb89949a84cd63491f0de10902415cd1b203e131129f2f6a5a38eb7ca275962079c3d9a50a0e659d036dcc4ea7 SHA512 d48998d1903af802aca022e09a3d20a13100fabc0b634f0c7bd3ccb0d34e13471f08d3e4e3d96e7331700a0d4b9cac760fbdbad9ce2470adb27d20b315b5287d

View File

@ -1,35 +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="Pusher websocket client for python, based on Erik Kulyk's PythonPusherClient"
HOMEPAGE="https://github.com/nlsdfnbch/Pysher https://pypi.org/project/Pysher/"
COMMIT="f73f8e5cf6f2556925030bf924e6adf9beef7943"
SRC_URI="https://github.com/deepbrook/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/websocket-client-0.48.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

@ -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 )"
@ -31,3 +31,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest