dev-python/py-dormakaba-dkey: new package, add 1.0.2

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-02-28 20:10:09 +01:00 committed by Andreas Billmeier
parent a6c76cf6e7
commit f51495c5aa
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 52 additions and 2 deletions

View File

@ -573,11 +573,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 1749 Ebuilds in total, 1738 of them have in total 1742 (34 different) licenses assigned.
There are 1750 Ebuilds in total, 1739 of them have in total 1743 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1020|
|MIT|1021|
|Apache-2.0|377|
|GPL-3|107|
|BSD|92|

View File

@ -0,0 +1,3 @@
DIST py-dormakaba-dkey-1.0.2.tar.gz 17587 BLAKE2B 45caed7518795214156fa1e653b33e2befcc9db454dddeb4e3fddce0e96e19c6d8e781542beaf450bc96c1055f2fc940b20d312b662724cd520df49bd8e4d5c7 SHA512 d3ffea2b54a76995a20dd1ac4d9f6eafd0f6adc72ff48300b676a70ccaf3749cc6f822b3f9a235070fec8238873ba15a3539f93cc9b603d0b6af320c69e4672f
EBUILD py-dormakaba-dkey-1.0.2.ebuild 854 BLAKE2B b7cee1b033d00b0faa98c7d071c80cc633d3a9d595d99124952813e52715091b067b35afd51492c0a1f6b9c72f925b181247e2a4509994a0825edf8d5c891170 SHA512 e9d87d2113ccbf07e677c7c8710bcbb6acd6f80b6c3715526993403cb671b1a030119962ba824aabb944c09747e0516fb1872eb7310145ca8a903e24ae08d9a7
MISC metadata.xml 407 BLAKE2B 643a6bc34739b72937687d0488263e0d3b569bff71a19928931ad5e9fb2dd693f50ec5dac7f125f23bedcfd01055b819b343100d2ee7a70576e5de47f10de310 SHA512 c7398058a7ce226127fae3a28217ce05458142633dc58fa372983651450e4fa191807e6d280873245ff75c7bd1896570245d1ca0bbe86dabecf3a873abd8e7ee

View File

@ -0,0 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">py-dormakaba-dkey</remote-id>
<remote-id type="github">emontnemery/py-dormakaba-dkey</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,35 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="API to interact with a Dormakaba dkey lock via bluetooth"
HOMEPAGE="https://github.com/emontnemery/py-dormakaba-dkey https://pypi.org/project/py-dormakaba-dkey/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/bleak[${PYTHON_USEDEP}]
dev-python/bleak-retry-connector[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest