add sensorpro-ble-0.5.0

This commit is contained in:
Andreas Billmeier 2022-09-03 17:37:27 +02:00 committed by Andreas Billmeier
parent 223cc9fa11
commit b0acda3cd5
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 57 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 1864 Ebuilds in total, 1857 of them have in total 1869 (35 different) licenses assigned.
There are 1865 Ebuilds in total, 1858 of them have in total 1870 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1132|
|MIT|1133|
|Apache-2.0|344|
|GPL-3|113|
|BSD|104|

View File

@ -0,0 +1,3 @@
DIST sensorpro-ble-0.5.0.tar.gz 5804 BLAKE2B 0dcd859dc008d754ada0955ce8dc87a5fd329d6fdd7584cb01280a1ea3339d4a58095f1a2f88d25c762cdaaea62d188c603ba827138e8db32d16f768cc79a3c2 SHA512 cc7182239ad0d05f7fe7034dfc57d694c04cd12dadaafc0cc31992bb961802a7a34d33517732ace571c998472bc08bfa1710fa4c1ab821f0ecf78c54b748208c
EBUILD sensorpro-ble-0.5.0.ebuild 900 BLAKE2B 3f43410c25b075be83364ee65624233b4e6c842b510493fd1c63a826bfd047c9d4207db322fa968e31f43f2bf2a4cb637b6144000c35f6901789534ae8183fa1 SHA512 c83b1e65b550dc6d9f15b30e2cc279434124297d4353f2c9ec5933b5089a6ff73b826bbc562a289a7e139036f03f206e036b97cc40139dd42db015c59a6d77c2
MISC metadata.xml 455 BLAKE2B d308f1c82558d919b38a40957a4b1d8a64199c9e38ce63bb202f3f6c6ae68b5e24783ec068076c03187dc8adbb24212d756bd91674c85287b0fc499305ebb054 SHA512 51594212d0e9950d8995af630f75cd27886e35d738c114d5c36ec2049d124564fb46405b0eb640962a696337a57824b4d8497c5491e3f09b40c133c2ae3547c9

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">sensorpro-ble</remote-id>
<maintainer status="unknown">
<email>nick@koston.org</email>
<name>J. Nick Koston</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,37 @@
# 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="SensorPro BLE Devices"
HOMEPAGE="https://github.com/bluetooth-devices/sensorpro-ble https://pypi.org/project/sensorpro-ble/"
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/bluetooth-data-tools-0.1.2[${PYTHON_USEDEP}]
>=dev-python/sensor-state-data-2.6.0[${PYTHON_USEDEP}]
>=dev-python/bluetooth-sensor-state-data-1.6.0[${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
}
distutils_enable_tests pytest