add btsocket-0.2.0

This commit is contained in:
Andreas Billmeier 2022-09-03 08:55:36 +02:00 committed by Andreas Billmeier
parent a8b97708c3
commit 4c17cc5979
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 55 additions and 2 deletions

View File

@ -523,11 +523,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 1859 Ebuilds in total, 1852 of them have in total 1864 (35 different) licenses assigned.
There are 1860 Ebuilds in total, 1853 of them have in total 1865 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1125|
|MIT|1126|
|Apache-2.0|342|
|GPL-3|113|
|BSD|106|

View File

@ -0,0 +1,3 @@
DIST btsocket-0.2.0.tar.gz 17151 BLAKE2B 3787d5ccc058b96c2d49f3ea536d37e0381ccc95f49c47ab9091d431f98e49fd77dd874191dbe14a71b05f22f3af068542ef2d524a2a059deb87c74bc1aba356 SHA512 d691d3287e705b24c4ec0716337602b8adb6a105961fe7c957262327aee2011ba2425680dbf75e90a77fe06d0b691248ad505f6a3bd49287c5c070cf54231070
EBUILD btsocket-0.2.0.ebuild 735 BLAKE2B 7a5673cd46c2a7b6d1f771e9da86f21a7ecbd717c021b064d4e6311ff0d0341511bff80322837911499a25a27c4004cdcbc68368aa362733616deddf09b41ceb SHA512 361b62253b1ba44f437ceaa1ab3804c5e16d6c1c04ef834c3a191b2f01a7ec03b191ffdd19adcbf763392afd897db9ce4d26e5a7031b4decae8a20240f2adcfb
MISC metadata.xml 457 BLAKE2B 6414c3e88dc8ea34d4bac1fb7381b3f75aed26ef3508b9e3b65432f29b1b7e6a8ed8d9e7355bbca14625273809a8430e2c0948a7d2bf5a2dd734fe51be8a0e09 SHA512 585e9c5010c5f0f8b91738038776ea2373c37bdccc8b08d99dee94986b55f60b7a997f5a859ecde6c6316458a98ef83e0419430a87ff57b4fd937a3699ead6dd

View File

@ -0,0 +1,35 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Python library for BlueZ Bluetooth Management API"
HOMEPAGE="https://github.com/ukBaz/python-btsocket https://pypi.org/project/btsocket/"
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.rst"
RDEPEND=""
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
}
distutils_enable_tests pytest

View File

@ -0,0 +1,15 @@
<?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">btsocket</remote-id>
<maintainer status="unknown">
<email>barry_byford@yahoo.co.uk</email>
<name>Barry Byford</name>
</maintainer>
</upstream>
</pkgmetadata>