dev-python/notifications-android-tv: remove olds, cleanup, enable pytest

This commit is contained in:
2022-10-16 14:27:22 +02:00
committed by Andreas Billmeier
parent e6895a322a
commit 2a5ff4a1cb
4 changed files with 8 additions and 43 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 1590 Ebuilds in total, 1583 of them have in total 1595 (34 different) licenses assigned.
There are 1589 Ebuilds in total, 1582 of them have in total 1594 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|944|
|MIT|943|
|Apache-2.0|313|
|GPL-3|95|
|BSD|90|

View File

@@ -1,5 +1,3 @@
DIST notifications-android-tv-0.1.3.tar.gz 3769 BLAKE2B 69ff0c15053b1aef6609b38b0d8a9054b3823fa334000b65bd364f9e26aaf0cb9981463860a81a81462994d8b0dc5c47059dcb4e998706d21edcd78915512a1a SHA512 a1598b818f0c3426e9422f6ab97d8affaa7e91fc243a079157602caa314ea6fe401004562e80dc12898e48e66773340162802deeb46f16d79a1409311cdc6f5d
DIST notifications-android-tv-0.1.5.tar.gz 4503 BLAKE2B 6940972deb34a9e8019f4738474cf0ad2cab5790ade353173c8337138c7be59056a5280f728645aba199091446f646c52873585b6f2f343eba66ca4312ffe0a9 SHA512 2cf443710e85c5dd9661ded01ee9e2c2c21a7a0e38fa3390dd45ac9364b966661177f54a37a09d128097fc6bd4046d38fa047c149cb3c3d47d937f0e9eb514b5
EBUILD notifications-android-tv-0.1.3.ebuild 851 BLAKE2B 64e9aa3c5296486e0631a69206e6d4f2b04fadd509f632f015fbcd51cd14b4d3660844433286df27fa87c632a9a6afa684289bf7057bcbaf8b90a6e2a28823e0 SHA512 edece3e60b1e6cfe22f72dc1feea559e3abdeba369d47dab3c8c0d56ba8d06821193c5e9f5d6606b451c8181914e069ccb5f6bad3bd375686f01a4cf92ccc0ef
EBUILD notifications-android-tv-0.1.5.ebuild 851 BLAKE2B 64e9aa3c5296486e0631a69206e6d4f2b04fadd509f632f015fbcd51cd14b4d3660844433286df27fa87c632a9a6afa684289bf7057bcbaf8b90a6e2a28823e0 SHA512 edece3e60b1e6cfe22f72dc1feea559e3abdeba369d47dab3c8c0d56ba8d06821193c5e9f5d6606b451c8181914e069ccb5f6bad3bd375686f01a4cf92ccc0ef
EBUILD notifications-android-tv-0.1.5.ebuild 858 BLAKE2B 33db07ad9d12c8a6f5fdb4a825efc4d4e8717ff559a8c51f5a73045a01d05cf15b50871db5ffa7ff0c64b7434b2ddc0f3e41a29dd6ba10829fb093f0597f36ba SHA512 d8973c13ab9fb0f7e1a593bee56be146a1e03d7bd78aa5e754e82870a6bfd4099a7115b3bfb9e3314bbfd0e3d0f453c500848fbabb394a7b9a69cae1d441b23d
MISC metadata.xml 467 BLAKE2B d998a214d138cb1e2ba57d33f76fdc6630e6e0a5a29fa0d64c513ff4bf56b8e53bf88edceaab7b01a242aee06bcea9354d86f37c120fb1c38430fbc9225cd532 SHA512 339eae83e7dd40c8244aa0dab61323ab5d6582a8c441a50458000d770fafc3559968fa426d392b299c2189d6c6b560a668dba5f9f9a096aaf5b9ae044e20e154

View File

@@ -1,35 +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="Notifications for Android/Fire TVs"
HOMEPAGE="https://github.com/engrbm87/notifications_android_tv https://pypi.org/project/notifications-android-tv/"
MY_PN=${PN//-/_}
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
#DOCS="README.MD"
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
}

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
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="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@@ -33,3 +33,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest