diff options
Diffstat (limited to 'dev-python/python-mpv')
-rw-r--r-- | dev-python/python-mpv/Manifest | 2 | ||||
-rw-r--r-- | dev-python/python-mpv/python-mpv-1.0.3.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/python-mpv/Manifest b/dev-python/python-mpv/Manifest index 64965d749b6d..53f18fcdac53 100644 --- a/dev-python/python-mpv/Manifest +++ b/dev-python/python-mpv/Manifest @@ -1,5 +1,7 @@ DIST python-mpv-1.0.1.tar.gz 210008 BLAKE2B 3ba95ac4d3219615c80ea475c1f6dc3acd608a8ded919eea55efac8bb44a8946c959a2b39473e6c9e80fa1a4e52f525d6ef9871e3eb4b2664aeb1460208bc677 SHA512 16a6e93b63f30e535c1e3bd77702d7c703dd9c0a6a689f09e689663cac04e587bdc2135612062d791ffb38c709bc289d0297ebf9f1ddaf9b1771f25eae225f1b DIST python-mpv-1.0.2.gh.tar.gz 210975 BLAKE2B 1a364761405e430ed91f597e15aae7f6c221980c2ed9ce0152109486d1fb79ebb7b6257c79bfef34d72468bcf335e8e514324bdd10982096a64f8949b4bca261 SHA512 62a1c682de8d0308a80b66d6f435fba8563abc84b16670c3ef55cc3d9295fd3ead7c68d99e64c06734c5be9017549a53bd760ca201146427abcfbf7aca610b7a +DIST python-mpv-1.0.3.gh.tar.gz 211529 BLAKE2B 0701147415c920be4ec65151ed7844bb36c275bcc64ae07d4ece9a515a96ba09097a8f2282eb7bbb74e8dc143d14f9a0aebdfadad53e0e9e4d62fcde734c7d17 SHA512 30ed5751c5732eeda9150a1e0dc425d2846c1a5dcfd53b9568bca169e570401fc8b3d224c59a1a1f54c574a056ccb0f540a0dc389e47e0811b0a9a3de4fb7092 EBUILD python-mpv-1.0.1.ebuild 1045 BLAKE2B a417e236b8b175f80471a2a4c336fa8f3f0c0eeef35934715ead1089e33b5627280879da4447a78e3e095ff753c17793282f2ed0d056e6431668b43d8bbdffad SHA512 e1618ede7e7b164664c70fcaa7f4317746ef0a8f874f38ff0c71cde89a1e796ba5340ce9e97d1fe7bccec33018eba1ea63ba8df400dd10e727deb652c5752522 EBUILD python-mpv-1.0.2.ebuild 1048 BLAKE2B 040ec679210af427ad2203e8973f8f5e59d693d4465692197887816a41b7a056f9975acdf1e9a4a74b6141b24897b78e62137c5176577442c485de2ba5f01bb4 SHA512 6163020bf9905d632dc688982bfedea29f5efaa440ff1420b47b53d62677f957cf87c6e8306c7789e025c151af10cb6d3203f04c1d677b572b24a814cf659714 +EBUILD python-mpv-1.0.3.ebuild 1048 BLAKE2B 040ec679210af427ad2203e8973f8f5e59d693d4465692197887816a41b7a056f9975acdf1e9a4a74b6141b24897b78e62137c5176577442c485de2ba5f01bb4 SHA512 6163020bf9905d632dc688982bfedea29f5efaa440ff1420b47b53d62677f957cf87c6e8306c7789e025c151af10cb6d3203f04c1d677b572b24a814cf659714 MISC metadata.xml 413 BLAKE2B 3e6ced6a506525bd576741fbcb1b0ce6069492dd1e90295a46b029340b833d981b351ac717e3896f4b13f3e8635065e974317298711922ab131925d98d0447a3 SHA512 9426ddc828c6b8f420c3d0241f827dd7746ca797c45182b0324b8278a24e4038a856494b420de2de572ee2643082ae271a5c21030098432736255ff2f6798db3 diff --git a/dev-python/python-mpv/python-mpv-1.0.3.ebuild b/dev-python/python-mpv/python-mpv-1.0.3.ebuild new file mode 100644 index 000000000000..194d0f3edd53 --- /dev/null +++ b/dev-python/python-mpv/python-mpv-1.0.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 virtualx + +DESCRIPTION="Python interface to the mpv media player" +HOMEPAGE="https://github.com/jaseg/python-mpv" +SRC_URI="https://github.com/jaseg/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + media-video/mpv[libmpv] + dev-python/pillow[${PYTHON_USEDEP}] +" + +BDEPEND="test? ( dev-python/xvfbwrapper[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_test() { + # https://github.com/jaseg/python-mpv/issues/209 + EPYTEST_DESELECT=( + tests/test_mpv.py::TestLifecycle::test_wait_for_property_negative + tests/test_mpv.py::TestLifecycle::test_wait_for_property_positive + tests/test_mpv.py::TestLifecycle::test_wait_for_property_shutdown + tests/test_mpv.py::TestLifecycle::test_wait_for_prooperty_event_overflow + tests/test_mpv.py::TestLifecycle::test_event_callback + ) + virtx epytest +} |