xiaomi-ble #1184

Merged
onkelbeh merged 3 commits from inode64/HomeAssistantRepository:xiaomi-ble into 2023.3.0 2023-02-27 19:41:47 +01:00
Contributor

This closes: #1175

This closes: #1175
inode64 added 3 commits 2023-02-26 20:11:36 +01:00
onkelbeh merged commit c4dade7fc1 into 2023.3.0 2023-02-27 19:41:47 +01:00
Owner

thanks, unsure why pkgcheck says:

dev-python/xiaomi-ble
UnusedInherits: version 0.16.4: unused eclass: pypi

thanks, unsure why pkgcheck says: dev-python/xiaomi-ble UnusedInherits: version 0.16.4: unused eclass: pypi
Owner

and buildtest says:

FileNotFoundError: [Errno 2] No such file or directory: b'CHANGELOG.md'

  • ERROR: dev-python/xiaomi-ble-0.16.4::HomeAssistantRepository failed (install phase):
  • dodoc failed
and buildtest says: FileNotFoundError: [Errno 2] No such file or directory: b'CHANGELOG.md' * ERROR: dev-python/xiaomi-ble-0.16.4::HomeAssistantRepository failed (install phase): * dodoc failed
Owner
https://git.edevau.net/onkelbeh/HomeAssistantRepository/commit/cc459c171aac1108372c41411add44b8e441b343
onkelbeh requested review from onkelbeh 2023-02-27 19:53:02 +01:00
Author
Contributor

and buildtest says:

FileNotFoundError: [Errno 2] No such file or directory: b'CHANGELOG.md'

  • ERROR: dev-python/xiaomi-ble-0.16.4::HomeAssistantRepository failed (install phase):
  • dodoc failed

If it is true, it does not exist in the pypi download, but it does exist in the official repository https://github.com/Bluetooth-Devices/xiaomi-ble

It seems that in pypi they cleanup by deleting documentation files and some test directories, that's why you can change the digest of the downloaded files because they change the content

> and buildtest says: > > FileNotFoundError: [Errno 2] No such file or directory: b'CHANGELOG.md' > * ERROR: dev-python/xiaomi-ble-0.16.4::HomeAssistantRepository failed (install phase): > * dodoc failed If it is true, it does not exist in the pypi download, but it does exist in the official repository https://github.com/Bluetooth-Devices/xiaomi-ble It seems that in pypi they cleanup by deleting documentation files and some test directories, that's why you can change the digest of the downloaded files because they change the content
Author
Contributor

thanks, unsure why pkgcheck says:

dev-python/xiaomi-ble
UnusedInherits: version 0.16.4: unused eclass: pypi

I use pkgcheck 0.10.22 and when i run pkgcheck scan --net , it shows this:

dev-python/xiaomi-ble
PythonInlinePyPIURI: version 0.10.0: inline PyPI URI found matching pypi.eclass default, inherit the eclass, set PYPI_NO_NORMALIZE=1, and remove SRC_URI instead
PythonInlinePyPIURI: version 0.12.2: inline PyPI URI found: https://files.pythonhosted.org/packages/source/x/xiaomi-ble/xiaomi_ble-0.12.2.tar.gz, inherit pypi.eclass and replace with $(pypi_sdist_url)
PythonInlinePyPIURI: version 0.16.1: inline PyPI URI found: https://files.pythonhosted.org/packages/source/x/xiaomi-ble/xiaomi_ble-0.16.1.tar.gz, inherit pypi.eclass and replace with $(pypi_sdist_url)
PythonInlinePyPIURI: version 0.16.3: inline PyPI URI found: https://files.pythonhosted.org/packages/source/x/xiaomi-ble/xiaomi_ble-0.16.3.tar.gz, inherit pypi.eclass and replace with $(pypi_sdist_url)

oops, now I see that I needed to add

SRC_URI="$(pypi_sdist_url)"

I should have downloaded the package first so it must have worked for me

> thanks, unsure why pkgcheck says: > > dev-python/xiaomi-ble > UnusedInherits: version 0.16.4: unused eclass: pypi I use pkgcheck 0.10.22 and when i run pkgcheck scan --net , it shows this: dev-python/xiaomi-ble PythonInlinePyPIURI: version 0.10.0: inline PyPI URI found matching pypi.eclass default, inherit the eclass, set PYPI_NO_NORMALIZE=1, and remove SRC_URI instead PythonInlinePyPIURI: version 0.12.2: inline PyPI URI found: https://files.pythonhosted.org/packages/source/x/xiaomi-ble/xiaomi_ble-0.12.2.tar.gz, inherit pypi.eclass and replace with $(pypi_sdist_url) PythonInlinePyPIURI: version 0.16.1: inline PyPI URI found: https://files.pythonhosted.org/packages/source/x/xiaomi-ble/xiaomi_ble-0.16.1.tar.gz, inherit pypi.eclass and replace with $(pypi_sdist_url) PythonInlinePyPIURI: version 0.16.3: inline PyPI URI found: https://files.pythonhosted.org/packages/source/x/xiaomi-ble/xiaomi_ble-0.16.3.tar.gz, inherit pypi.eclass and replace with $(pypi_sdist_url) oops, now I see that I needed to add SRC_URI="$(pypi_sdist_url)" I should have downloaded the package first so it must have worked for me
onkelbeh refused to review 2023-02-28 10:00:13 +01:00
Owner
https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/pypi.eclass looks manageable
Owner

biggest benefit of pypi Eclass here:

08fc22eba1/dev-python/meteofrance-api

biggest benefit of pypi Eclass here: https://git.edevau.net/onkelbeh/HomeAssistantRepository/src/commit/08fc22eba1ca2880eee6ef091c1832c2139207ea/dev-python/meteofrance-api
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: onkelbeh/HomeAssistantRepository#1184
No description provided.