From 4c17cc5979b1b8287adad7477680267f692976b5 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 3 Sep 2022 08:55:36 +0200 Subject: [PATCH] add btsocket-0.2.0 --- README.md | 4 +-- dev-python/btsocket/Manifest | 3 ++ dev-python/btsocket/btsocket-0.2.0.ebuild | 35 +++++++++++++++++++++++ dev-python/btsocket/metadata.xml | 15 ++++++++++ 4 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 dev-python/btsocket/Manifest create mode 100644 dev-python/btsocket/btsocket-0.2.0.ebuild create mode 100644 dev-python/btsocket/metadata.xml diff --git a/README.md b/README.md index 197b9fd22..1990db123 100644 --- a/README.md +++ b/README.md @@ -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| diff --git a/dev-python/btsocket/Manifest b/dev-python/btsocket/Manifest new file mode 100644 index 000000000..07c4eafa7 --- /dev/null +++ b/dev-python/btsocket/Manifest @@ -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 diff --git a/dev-python/btsocket/btsocket-0.2.0.ebuild b/dev-python/btsocket/btsocket-0.2.0.ebuild new file mode 100644 index 000000000..4eb7578f7 --- /dev/null +++ b/dev-python/btsocket/btsocket-0.2.0.ebuild @@ -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 diff --git a/dev-python/btsocket/metadata.xml b/dev-python/btsocket/metadata.xml new file mode 100644 index 000000000..82d3326df --- /dev/null +++ b/dev-python/btsocket/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + btsocket + + barry_byford@yahoo.co.uk + Barry Byford + + +