Skip to content

Commit 6bf28da

Browse files
committed
Update to DISTUTILS_USE_PEP517
Change SRC_URI to github, in pypi are missing some files (test, etc..) Remove tests are broken Require ffmpeg to run
1 parent 84c2381 commit 6bf28da

File tree

3 files changed

+15
-21
lines changed

3 files changed

+15
-21
lines changed

dev-python/ha-ffmpeg/Manifest

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
DIST ha-ffmpeg-3.0.2.tar.gz 7547 BLAKE2B ea413c1ccdddd69f35b60a31f7c14be500fd1d796c3c9d1fca1db0e2fc3bd35bcff03ffada41f2807a53404852343bd22af5a9fe960cb714a6e4d91667613517 SHA512 113cd0bfbe147c6ac3f8b31b4fd493aa645de0316215f879aceadd7fb7a8eb0af774e59cf4135badb44e4c4e11a9e207a7925445558016a2d90bfe7752f7d991
2-
EBUILD ha-ffmpeg-3.0.2.ebuild 714 BLAKE2B b75e6011cda3f2c177614deb3adee27cbf8b73d8ee96d513939004cf392fe46593a732fae627a0220d6e5446a6f8348903c11cf3a442df8d9c8607fbcee27d53 SHA512 7132e4dcbdef0d55c9240dc4ef4302f8009514ba64e85545a91b19c35cd28ead4c427e7c2c87641151068f61f135f2729c65381f60d4cd8f4a2b72c2bbe53bb5
3-
MISC metadata.xml 512 BLAKE2B 7dcd395009223c1948420fc114c7f127ebf6a8e746417231d6c4a261ff93684f178a75bfea1306a65b7e1867b956250992c1ccc68c4b247c65b80bd05cf76657 SHA512 0f5fa4ccfeef386a0c178b8dce549c438c30f03f65ed46b0322d34ced54657d2d110a197e609d882c4a6617c9616bf0d5bdded658be8269cb190f1e71e4f9587
1+
DIST 3.0.2.gh.tar.gz 10142 BLAKE2B c96bd6c3eec745eb33c785e5e88d42bd1abc7898afb94a47e74e1bcdefeba553dd669a121d374a2bbc2513034879fd608736f7363813d657c7748089240f951d SHA512 589100bb88503142cbebda1f4a9df68d6a26683bf8b5774e3e5b9dc1128a38fbb6736f80adaf0512c949fe62e933f9d61b3c367d3b955011dead4c25e858266a
2+
EBUILD ha-ffmpeg-3.0.2.ebuild 700 BLAKE2B 043d47792ead551ace7ea7d7bf4927b81200ba480ea6ccb892459154b6976c6a879d25767e2f23e3cb3c0cb658fc013d0b8a9310e16de594a09e33bd6e934eff SHA512 e5b39149e63e2de7b12140910727c9d0892d4d77b9f9f8a788c499a63508a86a62e380d5a35a32d618b446e913d4594c98b9b21bc83ca32e5c30dcec84409c1d
3+
MISC metadata.xml 525 BLAKE2B 2c7c317e35e53bdedaa680d4a835e7cfa4111cab82e1c4f5dba60be73783af58e2707694beca908c78b7696894e77ea919e08f07b0a976c989125d679475ce38 SHA512 39bf730c33e2796b786456e9b4d6b74dd4b67a23249898bed5f6f4ffa620740cadaed6262fa2957a3b3b664c8e0dae1487d002212cbc14c38d76481342a57e47
Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,27 @@
1-
# Copyright 1999-2022 Gentoo Authors
1+
# Copyright 1999-2023 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=8
55

6+
DISTUTILS_USE_PEP517=setuptools
67
PYTHON_COMPAT=( python3_{9..11} )
78

89
inherit distutils-r1
910

1011
DESCRIPTION="A library that handling with ffmpeg for home-assistant"
11-
HOMEPAGE="https://github.com/pvizeli/ha-ffmpeg https://pypi.org/project/ha-ffmpeg/"
12-
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
12+
HOMEPAGE="https://github.com/home-assistant-libs/ha-ffmpeg https://pypi.org/project/ha-ffmpeg/"
13+
SRC_URI="https://github.com/home-assistant-libs/${PN}/archive/refs/tags/${PV}.tar.gz -> ${PV}.gh.tar.gz"
1314

1415
LICENSE="BSD"
1516
SLOT="0"
1617
KEYWORDS="amd64 arm arm64 x86"
17-
IUSE="test"
18-
RESTRICT="!test? ( test )"
18+
RESTRICT="test"
1919

2020
DOCS="README.md"
2121

22-
RDEPEND="dev-python/async-timeout[${PYTHON_USEDEP}]"
22+
RDEPEND="
23+
dev-python/async-timeout[${PYTHON_USEDEP}]
24+
media-video/ffmpeg
25+
"
2326
BDEPEND="
24-
dev-python/setuptools[${PYTHON_USEDEP}]
25-
test? (
26-
dev-python/pytest[${PYTHON_USEDEP}]
27-
)"
28-
29-
python_test() {
30-
py.test -v -v || die
31-
}
32-
33-
distutils_enable_tests pytest
27+
"

dev-python/ha-ffmpeg/metadata.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version='1.0' encoding='UTF-8'?>
2-
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
2+
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
33
<pkgmetadata>
44
<maintainer type="project">
55
<email>[email protected]</email>
66
<name>Andreas Billmeier</name>
77
</maintainer>
88
<upstream>
99
<remote-id type="pypi">ha-ffmpeg</remote-id>
10-
<remote-id type="github">pvizeli/ha-ffmpeg</remote-id>
10+
<remote-id type="github">home-assistant-libs/ha-ffmpeg</remote-id>
1111
<maintainer status="unknown">
1212
<email>[email protected]</email>
1313
<name>Pascal Vizeli</name>

0 commit comments

Comments
 (0)