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

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

View File

@ -538,7 +538,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 1647 Ebuilds in total, 1640 of them have in total 1652 (35 different) licenses assigned.
There are 1646 Ebuilds in total, 1639 of them have in total 1651 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
@ -554,9 +554,9 @@ There are 1647 Ebuilds in total, 1640 of them have in total 1652 (35 different)
|LGPL-3+|13|
|LGPL-2.1|6|
|Unlicense|5|
|EPL-1.0|5|
|LGPL-2.1+|4|
|public-domain|4|
|EPL-1.0|4|
|MPL-2.0|3|
|LGPL-2+|3|
|PSF-2|3|

View File

@ -1,5 +1,3 @@
DIST dtlssocket-0.1.11.tar.gz 198930 BLAKE2B a6ea2105f570ccdad56431fd21be49b1448297670cf097130127624bd0cff61f8d6641b28388a747dad45e13881f0a7fda10e7db10dd023db52aab5b39a26ad0 SHA512 857a492921cbe59d9761a4ae009e92213a2c7508b23caf52dbd7e64f794698e0e7e4221fcf6a5af61002639d2dea08ac72dd25e97aefbd8d354d456a2776fbfa
DIST dtlssocket-0.1.12.tar.gz 150357 BLAKE2B 651e59f5de80b1685e68887efcaec8fd9e744c69cb549043f1659ad6417bd46a9ce2fa5516944afa368d2de2349f7d369e63b8d2a7f7127d50201182dac5e6ad SHA512 e66387f206f640cd7bb92b6dd43b9e51cafc7d3412a29b093e381f971e438dfa0650b10b398f1794f1620b9555442bb8274e751634b43446a9cb8cef599184db
EBUILD dtlssocket-0.1.11.ebuild 860 BLAKE2B 75495417aa654c60e4122437e5186b97b3daea8393d92ba4d1b7342b8a709dfcb81faa67d714e03782085b731e5abdb9562c272d71533d23101e6afc0fb7804a SHA512 c4e752fa75097aa6d4dd26e8d2c2d962101586a71293f6eb383e80e6a97a8d6693ece191c5d66e6dc03c8a27fc6f2fe37b342b746acbc14b06c2f816ad7b8504
EBUILD dtlssocket-0.1.12.ebuild 860 BLAKE2B 157abe767e9cf22faf519da37e3f253d6db352baaa1e8a655e22a79d3dedb19328118fab65bb47154f681e483062f4f8701b985dd712bbfda2ec425851b07fd2 SHA512 e737d086b98ccc62293ca470fb0aaaf7fdeb0472d0315c416b1ab801fff079607e7a7dfacb4491ef3a35e4f7d3b6fc9bd31dfb61e68170f6d09630015e178212
EBUILD dtlssocket-0.1.12.ebuild 892 BLAKE2B d357d49082cf4f026c236a343e8c685ea5e2c7082a23d125361ad880d63d77122b407f8fb6b6ef96adc8800cfa689cd1cdf3d341be32d59a9d6af631a2cf9d51 SHA512 029544f9ab0b5ba6a272333a9999d4c5e65484be26399222e847698e22fc8c46fc7083175dd692833425a1eb83ca43acd4b2062964ccffb12b85204f64c0bf71
MISC metadata.xml 458 BLAKE2B 59fe0ee96f18d3c85098938f82be3ad409d98d163cc56be5904cea392b0d4bfd5cc8c14e56605762edd77749878f28dfbe0c4842009638d09d1c831c09bde967 SHA512 2354fb8d3a565cf32647001340c0d75e1787636a55d509e03135d697c4cd3a25b4d718c260c589feb16dd7a81f00d5b1f00f5efb86d2b4c744f5cbc5753d4e44

View File

@ -1,35 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="DTLSSocket is a cython wrapper for tinydtls with a Socket like interface"
HOMEPAGE="https://git.fslab.de/jkonra2m/tinydtls-cython https://pypi.org/project/DTLSSocket/"
MY_PN="DTLSSocket"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="EPL-1.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
BDEPEND="
>=dev-python/setuptools-18.0[${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,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -33,3 +33,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest