dev-python/dsmr-parser: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-15 23:31:14 +02:00 committed by Andreas Billmeier
parent 8fc6fb8fe4
commit 6f54c226ae
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 43 deletions

View File

@ -538,11 +538,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 1648 Ebuilds in total, 1641 of them have in total 1653 (35 different) licenses assigned.
There are 1647 Ebuilds in total, 1640 of them have in total 1652 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|979|
|MIT|978|
|Apache-2.0|321|
|GPL-3|99|
|BSD|94|

View File

@ -1,5 +1,3 @@
DIST dsmr-parser-0.32.tar.gz 23484 BLAKE2B a56a7642d9b58efb17a52e5084b0250314a56124df8e3ad19cba4341ad5a591e6515f05b4f3dda0c2d855f13238c9e922c7d91a410479386dc0de01a2d3fe122 SHA512 4b5d2d2413e286f8f7b4443e7ecef07a7597e75f7c1effb11382d9c637f1a853f50f1739264af9b10a65cffae64d3d7b29effe5b15babe1184bdcca873cb2e7e
DIST dsmr-parser-0.33.tar.gz 24537 BLAKE2B 90a1089d529aec9e1c39dc1f6c38e943331adbcef177c48d41002afed26e6c57d9f59b6b9bde2c71654a6c045695144896a6a4b199e7c45e6e48f9b65b862db6 SHA512 06632c5890ba20827220cf7057342e95f105222d386f66edbe188aa800a28e0eae27a29546f9a3a505d9dea6239f3b6e25f9e75a72e1696777a0d2ff65cbcb35
EBUILD dsmr-parser-0.32.ebuild 891 BLAKE2B 603df23533bb19e726b091c9f3ca631ddf02328a0e8b4c1936b7b86d61bbcbc0f01cbc9c7f4ff211e04c6b793a25e3aac54abcb95cacd1bb8e8a1c5421b13b5b SHA512 7d63257e9f56403065b9bdd1c2945e36ee28dcc37f8437a23c8503ca9861066ae7c1b56d37baabad732016974866f627ba4c7274679b6a861759d9734a814d4e
EBUILD dsmr-parser-0.33.ebuild 897 BLAKE2B a759099b609fff2d5a412b1d39b81641966d759855449eacfddd56fa138446ed43192b3d1efb1292a65180cd256533b7ca3d000fea67836b82921d097a0a02b7 SHA512 f03ff9446c55db74d9c1b4a887a92dff1655b289705e85d13ef21bd812f764867c1f8039afbc6207a4bf04c285ef4c5a7885046fe43612c15be8a22112618c58
EBUILD dsmr-parser-0.33.ebuild 904 BLAKE2B 67bf2e6a67d765959fd9c6211500d423baea1bdf410d8bc92267a55db263c0358faa275452587d0b3da9c3697967aba15988af2e30ff1b7f74ef859e035f2c42 SHA512 26e92bdd73c4aafe1c797a6b093f48146290dbca0e17299eb01907d74944f765d926669ab3624b039f9222774d9913a700fa01248268b1e0a309988454e69e7a
MISC metadata.xml 466 BLAKE2B bf4eacf83f14a631887dfb2272d74eb112a8672a47fae2248b242a5a15f57e901cee42c9c0e741aac71976fdfa5bf15bb7ef8476020d132a8896bdc41f704785 SHA512 a78899967344fef5b7b1e7e11ecba7a099131baff5a31271f8227edf5f92682c0f711a95b5f7cc2358fbc85ff3213b5012d8cc9186340266658ea399b5295925

View File

@ -1,36 +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="Library to parse Dutch Smart Meter Requirements (DSMR)"
HOMEPAGE="https://github.com/ndokter/dsmr_parser https://pypi.org/project/dsmr-parser/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS=""
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/pyserial-asyncio[${PYTHON_USEDEP}]
~dev-python/tailer-0.4.1[${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 )"
@ -34,3 +34,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest