dev-python/pyps4-2ndscreen: remove olds, cleanup, enable pytest

This commit is contained in:
2022-10-17 06:47:28 +02:00
committed by Andreas Billmeier
parent feb7ee3830
commit 866ef5abc5
4 changed files with 7 additions and 47 deletions

View File

@@ -547,7 +547,7 @@ 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 1533 Ebuilds in total, 1526 of them have in total 1538 (34 different) licenses assigned.
There are 1532 Ebuilds in total, 1525 of them have in total 1537 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
@@ -566,12 +566,12 @@ There are 1533 Ebuilds in total, 1526 of them have in total 1538 (34 different)
|LGPL-2.1+|5|
|public-domain|4|
|MPL-2.0|3|
|LGPL-2+|3|
|PSF-2|3|
|EPL-1.0|3|
|GPL-2+|3|
|AGPL-3+|2|
|ZPL|2|
|LGPL-2+|2|
|ISC|2|
|BSD-4|2|
|CC-BY-NC-SA-3.0|2|

View File

@@ -1,5 +1,3 @@
DIST pyps4-2ndscreen-1.2.0.tar.gz 66397 BLAKE2B 0b3ac6e9b92281fbd5e8f3c8d7e730e93dd97bef45a5869a0da22fb9791548eabf87f32064fe84adce3fe83c53667a89e9f7f9b29990e2dd4392868fb127744c SHA512 065ae4a0e1f1f326ed7a9241da819ff2c33070c3cf6ecbd51b27694be28ab5ef0dee5524df60eabdb3f4f9d8d64f09b474e142972d71907babecabf895788ad1
DIST pyps4-2ndscreen-1.3.1.tar.gz 41864 BLAKE2B 3f7f3ab8906d2fe0883e2373101e98f8b69dd39e4d93f36a600e2abe94d9124ec3d59a8104de6020e19e904ea2567b871b9b700aeeaf6bcfdd20091e561b7e28 SHA512 2a5de541658421b0cdc43dd7c304f6a343d4257406d7301cf546b6fe71d8f383b85b677f604fb0f8967708ef203f432fa05d83edbf320d0074e523a72e308fb2
EBUILD pyps4-2ndscreen-1.2.0.ebuild 1091 BLAKE2B 63530920603436f394253b2173d39bccecdf433712889cced7a99a0d5b8503004279cd21abbe26bca453d793272207f8c75a81b3b066233f560050c552274332 SHA512 79d3886b18573e3b806efd66c5d369f909fdbcfec46bd05b0c9b07134d694b74ac9d1eb260f31da9e022ca5a32cc65b169145b8f579426344399ab5cd76bbbfe
EBUILD pyps4-2ndscreen-1.3.1.ebuild 980 BLAKE2B 6121df328c63f84c19055fabb8443423732e217fe383037e63f9309be795e66972268fc3381c6eb15e8a0402b5455b36218eeb8ef9048645209c8bdb7e10f5a9 SHA512 a3db2c2a9a16ac046ccfb5a87ca66e2de4501b8512bc8286372360244d10d05571ea2b1b90f3434946c399fbaa8d14a14b79c843c1ef08886d33827e760dfeb4
EBUILD pyps4-2ndscreen-1.3.1.ebuild 987 BLAKE2B bf10978ece9fd5d5d409acb578b6a865792422ffb932ecb9ee4243890baf39b53425e180a58e0fdfb44120c86582a43d7170ad19145aa1694e225cf8546cc223 SHA512 ad8ece2b11450cc18381eb7642327eb3899daf1d0b60d447d118cf81b9cf9ce89fb9440761972673804f723364a2bd941b57ca7cd802edba2551a5db5628d956
MISC metadata.xml 455 BLAKE2B bd32eaf8b9de65350bc7f6a65ffca3f823c5fd74c31c1ee6d2627f03b2d0ee35c08a8734c09f6ecdd13a2b9dcb342d5570fe9274990869b6b170b7efbe2599b6 SHA512 a9dd3488be496973e578b96541ce2b49c13aaaa1d338bdf71ad751deb712735ee37e33f9ed1ce7f94dba3c2f9c51f86e9c6e83ab8db9047e83914ad229738eda

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="PS4 2nd Screen Python Library"
HOMEPAGE="https://github.com/ktnrg45/pyps4-2ndscreen https://pypi.org/project/pyps4-2ndscreen/"
# Pypi SDIST is incomplete
# https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/68
# https://github.com/ktnrg45/pyps4-2ndscreen/pull/46
SRC_URI="https://github.com/ktnrg45/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND=">=dev-python/construct-2.9.45[${PYTHON_USEDEP}]
>=dev-python/pycryptodomex-3.7.2[${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.5.4[${PYTHON_USEDEP}]
>=dev-python/click-7.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
@@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="LGPL-2+"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@@ -36,3 +36,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest