Skip to content

Commit

Permalink
dev-python/youless-api: add 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
onkelbeh committed Jun 8, 2024
1 parent 7fc2d54 commit 3c6b821
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -606,11 +606,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 1862 Ebuilds in total, 1851 of them have in total 1874 (42 different) licenses assigned.
There are 1863 Ebuilds in total, 1852 of them have in total 1875 (42 different) licenses assigned.

|License| Ebuilds using it|
|-------|-----|
|MIT|1068|
|MIT|1069|
|Apache-2.0|415|
|BSD|108|
|GPL-3|107|
Expand Down
6 changes: 4 additions & 2 deletions dev-python/youless-api/Manifest
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
DIST youless_api-1.0.1.tar.gz 7784 BLAKE2B 61661c06ec04752d6d88f13a1850dc889ad333b475e26d91350f2707fded17f50d231b80e86d0c6b7778ceab3ed6433b7768742268badf5326f377d97617de11 SHA512 9571c7e31d0417bb0ae4a6cf4b294e2a404ac55d61afb5e04b048036568cbea2c1dbaf61f48768ef1bb893bc09bc65fcab24821884c166f69dfa9637f316a3d1
EBUILD youless-api-1.0.1.ebuild 959 BLAKE2B 8ea7b99cac0fa6427c781246b42509d90f6d0c3b445259ac3731735130d4c19e18c5e7b668eb4b413ac21e23b1ffa4b4a8d404cfab1d3736058f494b45242de3 SHA512 25174bab0db6a3b0ece4c00556079e9184660044531cccbc9b0ce745be24030fec8abc97f332a28963492f0bf2e64da0d6a82867f0cb32f74f71f92232378b5c
MISC metadata.xml 408 BLAKE2B 6ba07122197befe079e1f0baa10bacd7a5840a7c17f18c7e4061fc03c65580574a335bce3a25ad842dbce218c0217ddbb3ca5f8ecb384e704b82c475dc97f8e4 SHA512 af31fc1ad27ddb6745ccb8ddaddd9e3166b5d3f8a75614e88544780529567d9aadabf459f96beef2a59e441b86138c4a0eef898e17b4e1a6fcd52a47df715dae
DIST youless_api-1.1.1.tar.gz 7707 BLAKE2B cefca702377a9e112b77c61ba5ec272e76afbaa68a629ce6d4fa68c3c8463d3ca41563469eddc7e4f2628d91d1d506c249bff00bab73c9fd3e92f76a21e9c1e1 SHA512 0f8a7b123a947e0d6ff06db96af7c2ab8e377acc15c8601155fc29bf91daae48ad2eb21632a03b8393a4f5d060bad306c3f08b6830665cfcb6cab1dbfa3ee787
EBUILD youless-api-1.0.1.ebuild 959 BLAKE2B 7c08e6f8c714f2f3b14bf79a859d6b32e3569125bdd700d911982b25b96a94add20b10fdbbe6981b7e6ea7fe027bc82921a03c7e21a2b551602d064e1225af06 SHA512 676de8a83acf6af825333320f92f357c691cbc5a021c96f5be40ae07b331ff6b4146e8b6957441e3256420f7ff8056424280e82a3a3c6a909db67520de545a1e
EBUILD youless-api-1.1.1.ebuild 767 BLAKE2B 6ced3e121d7432a11f286d9120ab811c95111cdc336cf951211a2fb7f4883a4961810cd7b64bb68d3ae634f12105719f06f7c522d9de22885ace2e5720463e1c SHA512 da975fb5aabec65937a32fc1515a9c8c095ba254e40dde18ca937d79b92d0c9021f64bef683c322ba4fa40e8c1fb31d01a4298c847a1de838404334a43508ef4
MISC metadata.xml 399 BLAKE2B 589ede74267af0cddd1211dfec3928bb17e2e678f3b1d10a84b90a7a8606e5aa6d92cb3af13a233a179f935c6e6629fe9d658edbc55394908239fdac9857457e SHA512 ac5e205de1f29022a36811af19e0c822bb0c05bd452cd54647b0ca89ed0b4401330f6aa8daa72aee62e0946a7b53bb625918a4d15cb02601577aa24f156e19c8
2 changes: 1 addition & 1 deletion dev-python/youless-api/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</maintainer>
<upstream>
<remote-id type="pypi">youless-api</remote-id>
<remote-id type="bitbucket">jongsoftdev/youless-python-bridge</remote-id>
<remote-id type="github">gjong/youless-python-bridge</remote-id>
</upstream>
</pkgmetadata>
4 changes: 2 additions & 2 deletions dev-python/youless-api/youless-api-1.0.1.ebuild
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi

Expand Down
34 changes: 34 additions & 0 deletions dev-python/youless-api/youless-api-1.1.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi

DESCRIPTION="A bridge for python to the YouLess sensor"
HOMEPAGE="https://github.com/gjong/youless-python-bridge/ https://pypi.org/project/youless-api/"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"

DOCS="README.md"

RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"

src_prepare() {
# Make it easy, this guy pins everything
cut -d "=" -f1 < requirements.txt > requirements_new.txt
mv requirements_new.txt requirements.txt
eapply_user
}

python_test() {
py.test -v -v || die
}

distutils_enable_tests pytest

0 comments on commit 3c6b821

Please sign in to comment.