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

This commit is contained in:
Andreas Billmeier 2022-10-16 10:46:11 +02:00 committed by Andreas Billmeier
parent f166a044ee
commit f21cb001b8
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 16 additions and 15 deletions

View File

@ -1,3 +1,3 @@
DIST liffylights-0.9.4.tar.gz 4420 BLAKE2B bb1f3451ce9c61604cda4f0d1362a02e5fc92de44e989d0514cb0e8faa16e019f37876f0345c23305b7f24055e23bb2b1f5620bb3317791be93943ac4809aa7f SHA512 0095b8bec29fc127ec91355798531f92d6a88d4447de64e49b03132ca373f0fad8e4c576f6684ee9bd62e1db5250b08ed0c51a45548fb107abfc7c439711355f
EBUILD liffylights-0.9.4.ebuild 708 BLAKE2B e0ec95af12ffc17656f94f064c9fde12a192c9b1e700c83ae6cdf2d2d5edf76ba7b6cdb8c975abb21446c3db970420da0a4c0e757e2d9074d5c1a582d46666fa SHA512 51342515ad0d651622bb073902acc85022fd17be239265f74f2fc2963f6f658bcbe8011a5edab9d1e34bc35cb129e0c552c118c597d178ef74e6f8e00be8f5b9
EBUILD liffylights-0.9.4.ebuild 709 BLAKE2B 624e713b6532ac0a58b533c9ebee3244d6beb66f515435e29afc6e4fc0f3b69c232d89a7f5e8871b24f115d150f23244bd5c0ffdc4306c6eec6f9781bd5e49ed SHA512 ec8df64e656cecc0c46a497a169b188c22135740616c068b53487e038f7a9dcafdbc2fd247402d95cb6bb1d0cd600e0855d725af71707fcc429222f1607f554e
MISC metadata.xml 457 BLAKE2B 2ac2cd1babef13fecbcc7452d29fd4dd5b7988c910a69ae99a64599b0851255f82ce0575c675823cfaa5ea740935ea5fda1f1ee5e843009caf5be1d017669e49 SHA512 438f07c12d2ddd3475db7aa0082799a0adf4713b687aded81c52da4e421ee296a6e718de29c9ee8650140f04a12788ff784a4278ee743f74776091865d7f0e92

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="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

View File

@ -1,3 +1,3 @@
DIST lightify-1.0.7.3.tar.gz 16069 BLAKE2B 9be4ca616cdc72f4b9b3ac59f66a7798d85d2131e13642660a1b9ef4540a630162c1bcf891c896ca7565b32651bf4fd96b89efcfd0b59340bca3a07509db16e5 SHA512 71adfb0c8fd5ac0689c99bb38429b89f1fe9812dd9f276cd198ab4a2e7f2fd950774088a8801aca8080921bc2ac56f061906d33ca66f88950fe03cc9471a8b6f
EBUILD lightify-1.0.7.3.ebuild 821 BLAKE2B a3dabed8fde19868a9b648a9f69cc8010160a7818483a33e3f7d1296714c6434300c935408dff374dcff1c3045d62d1c13ee7e9f85acf29c1fcffb64a660b53b SHA512 30819b7b10719252cea1b9cffadfbf0ab0a808b8f658a3fdf677917e3b2d35230432e52ea735f7b7bc292363c2d676ccfdbb3f8f8cb9018ba516c499c88f5493
DIST lightify-1.0.7.3.gh.tar.gz 16069 BLAKE2B 9be4ca616cdc72f4b9b3ac59f66a7798d85d2131e13642660a1b9ef4540a630162c1bcf891c896ca7565b32651bf4fd96b89efcfd0b59340bca3a07509db16e5 SHA512 71adfb0c8fd5ac0689c99bb38429b89f1fe9812dd9f276cd198ab4a2e7f2fd950774088a8801aca8080921bc2ac56f061906d33ca66f88950fe03cc9471a8b6f
EBUILD lightify-1.0.7.3.ebuild 793 BLAKE2B 1299987b2f965ffe39af0d722b99fe7f61280e0e60e7d6d5163d9a68d5b1ac9ca0a5a838af8e7dacf89a81d252a88130bf0752752ba5ca89f23c02007b0e6d7a SHA512 c58643627d33fe6673ccf579d8e5f8c341700ce5121820717d7964338a4bc0ac0f97d01610b697e3a7e4244e975f6da7fddbdde12ccb77aedc52c2d81bedd90c
MISC metadata.xml 459 BLAKE2B 6227ce61e7a33658570193035db69412e159e99c64b5d2d27e52c3ed37cf9c1e82728d427169e14904533d1d59bdc691b830f165dcc499fba1d878c89ed9bc52 SHA512 539df4e251f7e2707749043d1e4d5dca0c72db13da8fbf94b5eb90074ac3d1beed7aec9181cb5889c117046679110e0913e8badbb235c9d8b1e66de83114a0ae

View File

@ -1,28 +1,25 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="A library to work with OSRAM lightify."
HOMEPAGE="https://github.com/tfriedel/python-lightify https://pypi.org/project/lightify/"
# no source on Pypi
SRC_URI="https://github.com/tfriedel/python-lightify/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/tfriedel/python-lightify/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/python-${P}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
@ -34,3 +31,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest